@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 +17 -0
- package/esm/deno.js +1 -1
- package/esm/runtime/contexts.js +33 -0
- package/esm/vocab/announce.yaml +3 -0
- package/esm/vocab/article.yaml +3 -0
- package/esm/vocab/chatmessage.yaml +3 -0
- package/esm/vocab/collection.yaml +10 -0
- package/esm/vocab/collectionpage.yaml +10 -0
- package/esm/vocab/create.yaml +3 -0
- package/esm/vocab/note.yaml +3 -0
- package/esm/vocab/object.yaml +15 -1
- package/esm/vocab/orderedcollection.yaml +10 -0
- package/esm/vocab/orderedcollectionpage.yaml +10 -0
- package/esm/vocab/question.yaml +3 -0
- package/esm/vocab/update.yaml +3 -0
- package/esm/vocab/vocab.js +512 -175
- package/package.json +1 -1
- package/types/runtime/contexts.d.ts.map +1 -1
- package/types/vocab/vocab.d.ts +125 -0
- package/types/vocab/vocab.d.ts.map +1 -1
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
package/esm/runtime/contexts.js
CHANGED
@@ -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;
|
package/esm/vocab/announce.yaml
CHANGED
package/esm/vocab/article.yaml
CHANGED
@@ -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
|
package/esm/vocab/create.yaml
CHANGED
package/esm/vocab/note.yaml
CHANGED
package/esm/vocab/object.yaml
CHANGED
@@ -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
|
-
-
|
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
|
package/esm/vocab/question.yaml
CHANGED
package/esm/vocab/update.yaml
CHANGED