@fedify/vocab 2.0.0-dev.0
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/LICENSE +20 -0
- package/deno.json +31 -0
- package/dist/accept.yaml +15 -0
- package/dist/activity.yaml +98 -0
- package/dist/actor.test.d.ts +2 -0
- package/dist/actor.test.js +6095 -0
- package/dist/add.yaml +16 -0
- package/dist/announce.yaml +30 -0
- package/dist/application.yaml +324 -0
- package/dist/arrive.yaml +15 -0
- package/dist/article.yaml +46 -0
- package/dist/audio.yaml +11 -0
- package/dist/block.yaml +16 -0
- package/dist/chatmessage.yaml +50 -0
- package/dist/collection.yaml +154 -0
- package/dist/collectionpage.yaml +55 -0
- package/dist/create.yaml +28 -0
- package/dist/dataintegrityproof.yaml +56 -0
- package/dist/delete.yaml +27 -0
- package/dist/deno-B-ypIMwF.js +1282 -0
- package/dist/didservice.yaml +22 -0
- package/dist/dislike.yaml +14 -0
- package/dist/document.yaml +31 -0
- package/dist/emoji.yaml +12 -0
- package/dist/emojireact.yaml +17 -0
- package/dist/endpoints.yaml +85 -0
- package/dist/event.yaml +11 -0
- package/dist/export.yaml +9 -0
- package/dist/flag.yaml +15 -0
- package/dist/follow.yaml +19 -0
- package/dist/group.yaml +324 -0
- package/dist/hashtag.yaml +14 -0
- package/dist/ignore.yaml +14 -0
- package/dist/image.yaml +9 -0
- package/dist/intransitiveactivity.yaml +15 -0
- package/dist/invite.yaml +14 -0
- package/dist/join.yaml +14 -0
- package/dist/key.yaml +28 -0
- package/dist/leave.yaml +14 -0
- package/dist/like.yaml +16 -0
- package/dist/link.yaml +101 -0
- package/dist/listen.yaml +12 -0
- package/dist/lookup.test.d.ts +2 -0
- package/dist/lookup.test.js +690 -0
- package/dist/mention.yaml +9 -0
- package/dist/mod.cjs +42036 -0
- package/dist/mod.d.cts +15329 -0
- package/dist/mod.d.ts +15330 -0
- package/dist/mod.js +41936 -0
- package/dist/move.yaml +15 -0
- package/dist/multikey.yaml +36 -0
- package/dist/note.yaml +48 -0
- package/dist/object.yaml +404 -0
- package/dist/offer.yaml +15 -0
- package/dist/orderedcollection.yaml +39 -0
- package/dist/orderedcollectionpage.yaml +50 -0
- package/dist/organization.yaml +324 -0
- package/dist/page.yaml +11 -0
- package/dist/person.yaml +324 -0
- package/dist/place.yaml +75 -0
- package/dist/profile.yaml +26 -0
- package/dist/propertyvalue.yaml +32 -0
- package/dist/question.yaml +103 -0
- package/dist/read.yaml +13 -0
- package/dist/reject.yaml +14 -0
- package/dist/relationship.yaml +52 -0
- package/dist/remove.yaml +14 -0
- package/dist/service.yaml +324 -0
- package/dist/source.yaml +26 -0
- package/dist/tentativeaccept.yaml +14 -0
- package/dist/tentativereject.yaml +14 -0
- package/dist/tombstone.yaml +24 -0
- package/dist/travel.yaml +16 -0
- package/dist/type-CNuABalk.js +13 -0
- package/dist/type.test.d.ts +2 -0
- package/dist/type.test.js +24 -0
- package/dist/undo.yaml +26 -0
- package/dist/update.yaml +58 -0
- package/dist/utils-BSWXlrig.js +13 -0
- package/dist/video.yaml +11 -0
- package/dist/view.yaml +13 -0
- package/dist/vocab-DBispxj5.js +41603 -0
- package/dist/vocab.test.d.ts +2 -0
- package/dist/vocab.test.js +1304 -0
- package/package.json +79 -0
- package/scripts/codegen.ts +20 -0
- package/src/__snapshots__/vocab.test.ts.snap +7903 -0
- package/src/accept.yaml +15 -0
- package/src/activity.yaml +98 -0
- package/src/actor.test.ts +263 -0
- package/src/actor.ts +293 -0
- package/src/add.yaml +16 -0
- package/src/announce.yaml +30 -0
- package/src/application.yaml +324 -0
- package/src/arrive.yaml +15 -0
- package/src/article.yaml +46 -0
- package/src/audio.yaml +11 -0
- package/src/block.yaml +16 -0
- package/src/chatmessage.yaml +50 -0
- package/src/collection.yaml +154 -0
- package/src/collectionpage.yaml +55 -0
- package/src/constants.ts +11 -0
- package/src/create.yaml +28 -0
- package/src/dataintegrityproof.yaml +56 -0
- package/src/delete.yaml +27 -0
- package/src/didservice.yaml +22 -0
- package/src/dislike.yaml +14 -0
- package/src/document.yaml +31 -0
- package/src/emoji.yaml +12 -0
- package/src/emojireact.yaml +17 -0
- package/src/endpoints.yaml +85 -0
- package/src/event.yaml +11 -0
- package/src/export.yaml +9 -0
- package/src/flag.yaml +15 -0
- package/src/follow.yaml +19 -0
- package/src/group.yaml +324 -0
- package/src/handle.ts +104 -0
- package/src/hashtag.yaml +14 -0
- package/src/ignore.yaml +14 -0
- package/src/image.yaml +9 -0
- package/src/intransitiveactivity.yaml +15 -0
- package/src/invite.yaml +14 -0
- package/src/join.yaml +14 -0
- package/src/key.yaml +28 -0
- package/src/keys.ts +50 -0
- package/src/leave.yaml +14 -0
- package/src/like.yaml +16 -0
- package/src/link.yaml +101 -0
- package/src/listen.yaml +12 -0
- package/src/lookup.test.ts +681 -0
- package/src/lookup.ts +318 -0
- package/src/mention.yaml +9 -0
- package/src/mod.ts +57 -0
- package/src/move.yaml +15 -0
- package/src/multikey.yaml +36 -0
- package/src/note.yaml +48 -0
- package/src/object.yaml +404 -0
- package/src/offer.yaml +15 -0
- package/src/orderedcollection.yaml +39 -0
- package/src/orderedcollectionpage.yaml +50 -0
- package/src/organization.yaml +324 -0
- package/src/page.yaml +11 -0
- package/src/person.yaml +324 -0
- package/src/place.yaml +75 -0
- package/src/profile.yaml +26 -0
- package/src/propertyvalue.yaml +32 -0
- package/src/question.yaml +103 -0
- package/src/read.yaml +13 -0
- package/src/reject.yaml +14 -0
- package/src/relationship.yaml +52 -0
- package/src/remove.yaml +14 -0
- package/src/service.yaml +324 -0
- package/src/source.yaml +26 -0
- package/src/tentativeaccept.yaml +14 -0
- package/src/tentativereject.yaml +14 -0
- package/src/tombstone.yaml +24 -0
- package/src/travel.yaml +16 -0
- package/src/type.test.ts +20 -0
- package/src/type.ts +102 -0
- package/src/undo.yaml +26 -0
- package/src/update.yaml +58 -0
- package/src/utils.ts +9 -0
- package/src/video.yaml +11 -0
- package/src/view.yaml +13 -0
- package/src/vocab.bench.ts +204 -0
- package/src/vocab.test.ts +2014 -0
- package/tsdown.config.ts +65 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
$schema: ../../vocab-tools/schema.yaml
|
|
2
|
+
name: CollectionPage
|
|
3
|
+
compactName: CollectionPage
|
|
4
|
+
uri: "https://www.w3.org/ns/activitystreams#CollectionPage"
|
|
5
|
+
extends: "https://www.w3.org/ns/activitystreams#Collection"
|
|
6
|
+
entity: true
|
|
7
|
+
description: |
|
|
8
|
+
Used to represent distinct subsets of items from a `Collection`.
|
|
9
|
+
Refer to the Activity Streams 2.0 Core for a complete description of
|
|
10
|
+
the `CollectionPage` object.
|
|
11
|
+
defaultContext:
|
|
12
|
+
- "https://www.w3.org/ns/activitystreams"
|
|
13
|
+
- "https://w3id.org/security/data-integrity/v1"
|
|
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"
|
|
18
|
+
sensitive: "as:sensitive"
|
|
19
|
+
votersCount: "toot:votersCount"
|
|
20
|
+
Emoji: "toot:Emoji"
|
|
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"
|
|
28
|
+
|
|
29
|
+
properties:
|
|
30
|
+
- singularName: partOf
|
|
31
|
+
functional: true
|
|
32
|
+
compactName: partOf
|
|
33
|
+
uri: "https://www.w3.org/ns/activitystreams#partOf"
|
|
34
|
+
description: |
|
|
35
|
+
Identifies the {@link Collection} to which a {@link CollectionPage} objects
|
|
36
|
+
items belong.
|
|
37
|
+
range:
|
|
38
|
+
- "https://www.w3.org/ns/activitystreams#Collection"
|
|
39
|
+
|
|
40
|
+
- singularName: next
|
|
41
|
+
functional: true
|
|
42
|
+
compactName: next
|
|
43
|
+
uri: "https://www.w3.org/ns/activitystreams#next"
|
|
44
|
+
description: In a paged {@link Collection}, indicates the next page of items.
|
|
45
|
+
range:
|
|
46
|
+
- "https://www.w3.org/ns/activitystreams#CollectionPage"
|
|
47
|
+
|
|
48
|
+
- singularName: prev
|
|
49
|
+
functional: true
|
|
50
|
+
compactName: prev
|
|
51
|
+
uri: "https://www.w3.org/ns/activitystreams#prev"
|
|
52
|
+
description: |
|
|
53
|
+
In a paged {@link Collection}, identifies the previous page of items.
|
|
54
|
+
range:
|
|
55
|
+
- "https://www.w3.org/ns/activitystreams#CollectionPage"
|
package/dist/create.yaml
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
$schema: ../../vocab-tools/schema.yaml
|
|
2
|
+
name: Create
|
|
3
|
+
compactName: Create
|
|
4
|
+
uri: "https://www.w3.org/ns/activitystreams#Create"
|
|
5
|
+
extends: "https://www.w3.org/ns/activitystreams#Activity"
|
|
6
|
+
entity: true
|
|
7
|
+
description: Indicates that the `actor` has created the `object`.
|
|
8
|
+
defaultContext:
|
|
9
|
+
- "https://w3id.org/identity/v1"
|
|
10
|
+
- "https://www.w3.org/ns/activitystreams"
|
|
11
|
+
- "https://w3id.org/security/data-integrity/v1"
|
|
12
|
+
- toot: "http://joinmastodon.org/ns#"
|
|
13
|
+
misskey: "https://misskey-hub.net/ns#"
|
|
14
|
+
fedibird: "http://fedibird.com/ns#"
|
|
15
|
+
sensitive: "as:sensitive"
|
|
16
|
+
votersCount:
|
|
17
|
+
"@id": "toot:votersCount"
|
|
18
|
+
"@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
|
|
19
|
+
Emoji: "toot:Emoji"
|
|
20
|
+
Hashtag: "as:Hashtag"
|
|
21
|
+
ChatMessage: "http://litepub.social/ns#ChatMessage"
|
|
22
|
+
quoteUrl: "as:quoteUrl"
|
|
23
|
+
_misskey_quote: "misskey:_misskey_quote"
|
|
24
|
+
quoteUri: "fedibird:quoteUri"
|
|
25
|
+
emojiReactions:
|
|
26
|
+
"@id": "fedibird:emojiReactions"
|
|
27
|
+
"@type": "@id"
|
|
28
|
+
properties: []
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
$schema: ../../vocab-tools/schema.yaml
|
|
2
|
+
name: DataIntegrityProof
|
|
3
|
+
uri: "https://w3id.org/security#DataIntegrityProof"
|
|
4
|
+
entity: true
|
|
5
|
+
description: |
|
|
6
|
+
A proof that can be added to any activity or object, allowing recipients to
|
|
7
|
+
verify the identity of the actor and the integrity of the data.
|
|
8
|
+
defaultContext: "https://w3id.org/security/data-integrity/v1"
|
|
9
|
+
|
|
10
|
+
properties:
|
|
11
|
+
- singularName: cryptosuite
|
|
12
|
+
functional: true
|
|
13
|
+
uri: "https://w3id.org/security#cryptosuite"
|
|
14
|
+
description: |
|
|
15
|
+
The cryptographic suite used to create the proof.
|
|
16
|
+
range:
|
|
17
|
+
- "https://w3id.org/security#cryptosuiteString"
|
|
18
|
+
|
|
19
|
+
- singularName: verificationMethod
|
|
20
|
+
functional: true
|
|
21
|
+
uri: "https://w3id.org/security#verificationMethod"
|
|
22
|
+
description: |
|
|
23
|
+
A key owned by an actor according to [FEP-521a: Representing actor's public
|
|
24
|
+
keys][1].
|
|
25
|
+
|
|
26
|
+
[1]: https://w3id.org/fep/521a
|
|
27
|
+
range:
|
|
28
|
+
- "https://w3id.org/security#Multikey"
|
|
29
|
+
|
|
30
|
+
- singularName: proofPurpose
|
|
31
|
+
functional: true
|
|
32
|
+
uri: "https://w3id.org/security#proofPurpose"
|
|
33
|
+
description: |
|
|
34
|
+
The reason the proof was created.
|
|
35
|
+
|
|
36
|
+
- `"assertionMethod"`
|
|
37
|
+
- `"authentication"`
|
|
38
|
+
- `"capabilityInvocation"`
|
|
39
|
+
- `"capabilityDelegation"`
|
|
40
|
+
- `"keyAgreement"`
|
|
41
|
+
range:
|
|
42
|
+
- fedify:proofPurpose
|
|
43
|
+
|
|
44
|
+
- singularName: proofValue
|
|
45
|
+
functional: true
|
|
46
|
+
uri: "https://w3id.org/security#proofValue"
|
|
47
|
+
description: The proof value.
|
|
48
|
+
range:
|
|
49
|
+
- "https://w3id.org/security#multibase"
|
|
50
|
+
|
|
51
|
+
- singularName: created
|
|
52
|
+
functional: true
|
|
53
|
+
uri: "http://purl.org/dc/terms/created"
|
|
54
|
+
description: The date and time the proof was created.
|
|
55
|
+
range:
|
|
56
|
+
- "http://www.w3.org/2001/XMLSchema#dateTime"
|
package/dist/delete.yaml
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
$schema: ../../vocab-tools/schema.yaml
|
|
2
|
+
name: Delete
|
|
3
|
+
compactName: Delete
|
|
4
|
+
uri: "https://www.w3.org/ns/activitystreams#Delete"
|
|
5
|
+
extends: "https://www.w3.org/ns/activitystreams#Activity"
|
|
6
|
+
entity: true
|
|
7
|
+
description: |
|
|
8
|
+
Indicates that the `actor` has deleted the `object`. If specified,
|
|
9
|
+
the `origin` indicates the context from which the `object` was deleted.
|
|
10
|
+
defaultContext:
|
|
11
|
+
- "https://w3id.org/identity/v1"
|
|
12
|
+
- "https://www.w3.org/ns/activitystreams"
|
|
13
|
+
- "https://w3id.org/security/data-integrity/v1"
|
|
14
|
+
- toot: "http://joinmastodon.org/ns#"
|
|
15
|
+
misskey: "https://misskey-hub.net/ns#"
|
|
16
|
+
fedibird: "http://fedibird.com/ns#"
|
|
17
|
+
sensitive: "as:sensitive"
|
|
18
|
+
votersCount:
|
|
19
|
+
"@id": "toot:votersCount"
|
|
20
|
+
"@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
|
|
21
|
+
Emoji: "toot:Emoji"
|
|
22
|
+
Hashtag: "as:Hashtag"
|
|
23
|
+
ChatMessage: "http://litepub.social/ns#ChatMessage"
|
|
24
|
+
quoteUrl: "as:quoteUrl"
|
|
25
|
+
_misskey_quote: "misskey:_misskey_quote"
|
|
26
|
+
quoteUri: "fedibird:quoteUri"
|
|
27
|
+
properties: []
|