@fedify/fedify 1.4.0-dev.595 → 1.4.0-dev.598

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGES.md CHANGED
@@ -17,6 +17,14 @@ To be released.
17
17
  - Added `ActorCallbackSetters.mapAlias()` method.
18
18
  - Added `ActorAliasMapper` type.
19
19
 
20
+ - Added `emojiReactions` property to `Object` class in Activity Vocabulary
21
+ API.
22
+
23
+ - Added `Object.emojiReactionsId` property
24
+ - Added `Object.getEmojiReactions()` method.
25
+ - `new Object()` constructor now accepts `emojiReactions` option.
26
+ - `Object.clone()` method now accepts `emojiReactions` option.
27
+
20
28
  - Added `-t`/`--traverse` option to the `fedify lookup` subcommand. [[#195]]
21
29
 
22
30
  - Added `-S`/`--suppress-errors` option to the `fedify lookup` subcommand.
@@ -26,6 +34,15 @@ To be released.
26
34
  [#195]: https://github.com/dahlia/fedify/issues/195
27
35
 
28
36
 
37
+ Version 1.3.3
38
+ -------------
39
+
40
+ Released on December 30, 2024.
41
+
42
+ - The `fetchDocumentLoader()` function now preloads the following JSON-LD
43
+ context: <https://gotosocial.org/ns>.
44
+
45
+
29
46
  Version 1.3.2
30
47
  -------------
31
48
 
package/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.4.0-dev.595+6b1e5e70",
3
+ "version": "1.4.0-dev.598+fbf64060",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./mod.ts",
@@ -4154,5 +4154,38 @@ const preloadedContexts = {
4154
4154
  "yield": { "@id": "schema:yield" },
4155
4155
  },
4156
4156
  },
4157
+ "https://gotosocial.org/ns": {
4158
+ "@context": {
4159
+ "gts": "https://gotosocial.org/ns#",
4160
+ "interactionPolicy": {
4161
+ "@id": "gts:interactionPolicy",
4162
+ "@type": "@id",
4163
+ },
4164
+ "canLike": {
4165
+ "@id": "gts:canLike",
4166
+ "@type": "@id",
4167
+ },
4168
+ "canReply": {
4169
+ "@id": "gts:canReply",
4170
+ "@type": "@id",
4171
+ },
4172
+ "canAnnounce": {
4173
+ "@id": "gts:canAnnounce",
4174
+ "@type": "@id",
4175
+ },
4176
+ "always": {
4177
+ "@id": "gts:always",
4178
+ "@type": "@id",
4179
+ },
4180
+ "approvalRequired": {
4181
+ "@id": "gts:approvalRequired",
4182
+ "@type": "@id",
4183
+ },
4184
+ "approvedBy": {
4185
+ "@id": "gts:approvedBy",
4186
+ "@type": "@id",
4187
+ },
4188
+ },
4189
+ },
4157
4190
  };
4158
4191
  export default preloadedContexts;
@@ -22,4 +22,7 @@ defaultContext:
22
22
  quoteUrl: "as:quoteUrl"
23
23
  _misskey_quote: "misskey:_misskey_quote"
24
24
  quoteUri: "fedibird:quoteUri"
25
+ emojiReactions:
26
+ "@id": "fedibird:emojiReactions"
27
+ "@type": "@id"
25
28
  properties: []
@@ -17,6 +17,9 @@ defaultContext:
17
17
  quoteUrl: "as:quoteUrl"
18
18
  _misskey_quote: "misskey:_misskey_quote"
19
19
  quoteUri: "fedibird:quoteUri"
20
+ emojiReactions:
21
+ "@id": "fedibird:emojiReactions"
22
+ "@type": "@id"
20
23
 
21
24
  properties:
22
25
  - singularName: quoteUrl
@@ -21,6 +21,9 @@ defaultContext:
21
21
  quoteUrl: "as:quoteUrl"
22
22
  _misskey_quote: "misskey:_misskey_quote"
23
23
  quoteUri: "fedibird:quoteUri"
24
+ emojiReactions:
25
+ "@id": "fedibird:emojiReactions"
26
+ "@type": "@id"
24
27
 
25
28
  properties:
26
29
  - singularName: quoteUrl
@@ -14,9 +14,19 @@ defaultContext:
14
14
  - "https://www.w3.org/ns/activitystreams"
15
15
  - "https://w3id.org/security/data-integrity/v1"
16
16
  - toot: "http://joinmastodon.org/ns#"
17
+ misskey: "https://misskey-hub.net/ns#"
18
+ fedibird: "http://fedibird.com/ns#"
19
+ ChatMessage: "http://litepub.social/ns#ChatMessage"
17
20
  sensitive: "as:sensitive"
21
+ votersCount: "toot:votersCount"
18
22
  Emoji: "toot:Emoji"
19
23
  Hashtag: "as:Hashtag"
24
+ quoteUrl: "as:quoteUrl"
25
+ _misskey_quote: "misskey:_misskey_quote"
26
+ quoteUri: "fedibird:quoteUri"
27
+ emojiReactions:
28
+ "@id": "fedibird:emojiReactions"
29
+ "@type": "@id"
20
30
 
21
31
  properties:
22
32
  - singularName: totalItems
@@ -12,9 +12,19 @@ defaultContext:
12
12
  - "https://www.w3.org/ns/activitystreams"
13
13
  - "https://w3id.org/security/data-integrity/v1"
14
14
  - toot: "http://joinmastodon.org/ns#"
15
+ misskey: "https://misskey-hub.net/ns#"
16
+ fedibird: "http://fedibird.com/ns#"
17
+ ChatMessage: "http://litepub.social/ns#ChatMessage"
15
18
  sensitive: "as:sensitive"
19
+ votersCount: "toot:votersCount"
16
20
  Emoji: "toot:Emoji"
17
21
  Hashtag: "as:Hashtag"
22
+ quoteUrl: "as:quoteUrl"
23
+ _misskey_quote: "misskey:_misskey_quote"
24
+ quoteUri: "fedibird:quoteUri"
25
+ emojiReactions:
26
+ "@id": "fedibird:emojiReactions"
27
+ "@type": "@id"
18
28
 
19
29
  properties:
20
30
  - singularName: partOf
@@ -20,4 +20,7 @@ defaultContext:
20
20
  quoteUrl: "as:quoteUrl"
21
21
  _misskey_quote: "misskey:_misskey_quote"
22
22
  quoteUri: "fedibird:quoteUri"
23
+ emojiReactions:
24
+ "@id": "fedibird:emojiReactions"
25
+ "@type": "@id"
23
26
  properties: []
@@ -19,6 +19,9 @@ defaultContext:
19
19
  quoteUrl: "as:quoteUrl"
20
20
  _misskey_quote: "misskey:_misskey_quote"
21
21
  quoteUri: "fedibird:quoteUri"
22
+ emojiReactions:
23
+ "@id": "fedibird:emojiReactions"
24
+ "@type": "@id"
22
25
 
23
26
  properties:
24
27
  - singularName: quoteUrl
@@ -12,7 +12,11 @@ description: |
12
12
  defaultContext:
13
13
  - "https://www.w3.org/ns/activitystreams"
14
14
  - "https://w3id.org/security/data-integrity/v1"
15
- - sensitive: "as:sensitive"
15
+ - fedibird: "http://fedibird.com/ns#"
16
+ sensitive: "as:sensitive"
17
+ emojiReactions:
18
+ "@id": "fedibird:emojiReactions"
19
+ "@type": "@id"
16
20
 
17
21
  properties:
18
22
  - pluralName: attachments
@@ -198,6 +202,16 @@ properties:
198
202
  range:
199
203
  - "https://www.w3.org/ns/activitystreams#Collection"
200
204
 
205
+ - singularName: emojiReactions
206
+ functional: true
207
+ compactName: emojiReactions
208
+ uri: "http://fedibird.com/ns#emojiReactions"
209
+ description: |
210
+ Identifies a {@link Collection} containing objects considered to be
211
+ emoji reactions to this object.
212
+ range:
213
+ - "https://www.w3.org/ns/activitystreams#Collection"
214
+
201
215
  - singularName: startTime
202
216
  functional: true
203
217
  compactName: startTime
@@ -11,9 +11,19 @@ defaultContext:
11
11
  - "https://www.w3.org/ns/activitystreams"
12
12
  - "https://w3id.org/security/data-integrity/v1"
13
13
  - toot: "http://joinmastodon.org/ns#"
14
+ misskey: "https://misskey-hub.net/ns#"
15
+ fedibird: "http://fedibird.com/ns#"
16
+ ChatMessage: "http://litepub.social/ns#ChatMessage"
14
17
  sensitive: "as:sensitive"
18
+ votersCount: "toot:votersCount"
15
19
  Emoji: "toot:Emoji"
16
20
  Hashtag: "as:Hashtag"
21
+ quoteUrl: "as:quoteUrl"
22
+ _misskey_quote: "misskey:_misskey_quote"
23
+ quoteUri: "fedibird:quoteUri"
24
+ emojiReactions:
25
+ "@id": "fedibird:emojiReactions"
26
+ "@type": "@id"
17
27
 
18
28
  properties:
19
29
  - pluralName: items
@@ -12,9 +12,19 @@ defaultContext:
12
12
  - "https://www.w3.org/ns/activitystreams"
13
13
  - "https://w3id.org/security/data-integrity/v1"
14
14
  - toot: "http://joinmastodon.org/ns#"
15
+ misskey: "https://misskey-hub.net/ns#"
16
+ fedibird: "http://fedibird.com/ns#"
17
+ ChatMessage: "http://litepub.social/ns#ChatMessage"
15
18
  sensitive: "as:sensitive"
19
+ votersCount: "toot:votersCount"
16
20
  Emoji: "toot:Emoji"
17
21
  Hashtag: "as:Hashtag"
22
+ quoteUrl: "as:quoteUrl"
23
+ _misskey_quote: "misskey:_misskey_quote"
24
+ quoteUri: "fedibird:quoteUri"
25
+ emojiReactions:
26
+ "@id": "fedibird:emojiReactions"
27
+ "@type": "@id"
18
28
 
19
29
  properties:
20
30
  - pluralName: items
@@ -27,6 +27,9 @@ defaultContext:
27
27
  quoteUrl: "as:quoteUrl"
28
28
  _misskey_quote: "misskey:_misskey_quote"
29
29
  quoteUri: "fedibird:quoteUri"
30
+ emojiReactions:
31
+ "@id": "fedibird:emojiReactions"
32
+ "@type": "@id"
30
33
 
31
34
  properties:
32
35
  - pluralName: exclusiveOptions
@@ -47,4 +47,7 @@ defaultContext:
47
47
  _misskey_quote: "misskey:_misskey_quote"
48
48
  _misskey_followedMessage: "misskey:_misskey_followedMessage"
49
49
  isCat: "misskey:isCat"
50
+ emojiReactions:
51
+ "@id": "fedibird:emojiReactions"
52
+ "@type": "@id"
50
53
  properties: []