@fedify/vocab 2.4.0-dev.1567 → 2.4.0-dev.1570
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/deno.json +1 -1
- package/dist/mod.cjs +9909 -13825
- package/dist/mod.d.cts +676 -1629
- package/dist/mod.d.ts +676 -1629
- package/dist/mod.js +9911 -13823
- package/dist-tests/{actor-CrOFIIiE.mjs → actor-BTMC-aMT.mjs} +2 -2
- package/dist-tests/actor.test.mjs +2 -2
- package/dist-tests/application.yaml +0 -13
- package/dist-tests/group.yaml +0 -13
- package/dist-tests/interactionpolicy.yaml +1 -16
- package/dist-tests/lookup.test.mjs +5 -7
- package/dist-tests/organization.yaml +0 -13
- package/dist-tests/person.yaml +0 -13
- package/dist-tests/service.yaml +0 -13
- package/dist-tests/type.test.mjs +1 -1
- package/dist-tests/{vocab-DOHLQ4UQ.mjs → vocab-XnSGFOqq.mjs} +9908 -13822
- package/dist-tests/vocab.test.mjs +1 -986
- package/package.json +4 -4
- package/src/__snapshots__/vocab.test.ts.snap +0 -609
- package/src/application.yaml +0 -13
- package/src/group.yaml +0 -13
- package/src/interactionpolicy.yaml +1 -16
- package/src/lookup.ts +2 -6
- package/src/organization.yaml +0 -13
- package/src/person.yaml +0 -13
- package/src/service.yaml +0 -13
- package/src/vocab.test.ts +121 -1539
- package/dist-tests/featureauthorization.yaml +0 -33
- package/dist-tests/featuredcollection.yaml +0 -41
- package/dist-tests/featureditem.yaml +0 -34
- package/dist-tests/featurerequest.yaml +0 -21
- package/src/featureauthorization.yaml +0 -33
- package/src/featuredcollection.yaml +0 -41
- package/src/featureditem.yaml +0 -34
- package/src/featurerequest.yaml +0 -21
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
$schema: ../../vocab-tools/schema.yaml
|
|
2
|
-
name: FeatureAuthorization
|
|
3
|
-
compactName: FeatureAuthorization
|
|
4
|
-
uri: "https://w3id.org/fep/7aa9#FeatureAuthorization"
|
|
5
|
-
extends: "https://www.w3.org/ns/activitystreams#Object"
|
|
6
|
-
entity: true
|
|
7
|
-
description: |
|
|
8
|
-
Proves that an actor consented to being included in a
|
|
9
|
-
{@link FeaturedCollection}.
|
|
10
|
-
|
|
11
|
-
See [FEP-7aa9](https://w3id.org/fep/7aa9) for details.
|
|
12
|
-
defaultContext:
|
|
13
|
-
- "https://www.w3.org/ns/activitystreams"
|
|
14
|
-
- "https://w3id.org/security/data-integrity/v1"
|
|
15
|
-
- "https://gotosocial.org/ns"
|
|
16
|
-
- "https://w3id.org/fep/7aa9"
|
|
17
|
-
|
|
18
|
-
properties:
|
|
19
|
-
- singularName: interactingObject
|
|
20
|
-
functional: true
|
|
21
|
-
compactName: interactingObject
|
|
22
|
-
uri: "https://gotosocial.org/ns#interactingObject"
|
|
23
|
-
description: The featured collection for which the authorization was granted.
|
|
24
|
-
range:
|
|
25
|
-
- "https://www.w3.org/ns/activitystreams#Object"
|
|
26
|
-
|
|
27
|
-
- singularName: interactionTarget
|
|
28
|
-
functional: true
|
|
29
|
-
compactName: interactionTarget
|
|
30
|
-
uri: "https://gotosocial.org/ns#interactionTarget"
|
|
31
|
-
description: The actor that was authorized to be featured.
|
|
32
|
-
range:
|
|
33
|
-
- "https://www.w3.org/ns/activitystreams#Object"
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
$schema: ../../vocab-tools/schema.yaml
|
|
2
|
-
name: FeaturedCollection
|
|
3
|
-
compactName: FeaturedCollection
|
|
4
|
-
uri: "https://w3id.org/fep/7aa9#FeaturedCollection"
|
|
5
|
-
extends: "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
|
6
|
-
entity: true
|
|
7
|
-
description: |
|
|
8
|
-
A curated collection of recommended actors or other objects.
|
|
9
|
-
|
|
10
|
-
See [FEP-7aa9](https://w3id.org/fep/7aa9) for details.
|
|
11
|
-
defaultContext:
|
|
12
|
-
- "https://www.w3.org/ns/activitystreams"
|
|
13
|
-
- "https://w3id.org/security/data-integrity/v1"
|
|
14
|
-
- "https://gotosocial.org/ns"
|
|
15
|
-
- "https://w3id.org/fep/7aa9"
|
|
16
|
-
- toot: "http://joinmastodon.org/ns#"
|
|
17
|
-
sensitive: "as:sensitive"
|
|
18
|
-
discoverable: "toot:discoverable"
|
|
19
|
-
Hashtag: "as:Hashtag"
|
|
20
|
-
|
|
21
|
-
properties:
|
|
22
|
-
- singularName: topic
|
|
23
|
-
functional: true
|
|
24
|
-
compactName: topic
|
|
25
|
-
uri: "https://w3id.org/fep/7aa9#topic"
|
|
26
|
-
description: |
|
|
27
|
-
A single {@link Hashtag} object that represents the main topic or category
|
|
28
|
-
of this featured collection.
|
|
29
|
-
range:
|
|
30
|
-
- "https://www.w3.org/ns/activitystreams#Hashtag"
|
|
31
|
-
|
|
32
|
-
- singularName: discoverable
|
|
33
|
-
functional: true
|
|
34
|
-
compactName: discoverable
|
|
35
|
-
uri: "http://joinmastodon.org/ns#discoverable"
|
|
36
|
-
description: |
|
|
37
|
-
When present and set to `false`, signals that this featured collection is
|
|
38
|
-
not meant to be discovered by search, onboarding, or similar discovery
|
|
39
|
-
features.
|
|
40
|
-
range:
|
|
41
|
-
- "http://www.w3.org/2001/XMLSchema#boolean"
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
$schema: ../../vocab-tools/schema.yaml
|
|
2
|
-
name: FeaturedItem
|
|
3
|
-
compactName: FeaturedItem
|
|
4
|
-
uri: "https://w3id.org/fep/7aa9#FeaturedItem"
|
|
5
|
-
extends: "https://www.w3.org/ns/activitystreams#Object"
|
|
6
|
-
entity: true
|
|
7
|
-
description: |
|
|
8
|
-
A single entry in a {@link FeaturedCollection}.
|
|
9
|
-
|
|
10
|
-
See [FEP-7aa9](https://w3id.org/fep/7aa9) for details.
|
|
11
|
-
defaultContext:
|
|
12
|
-
- "https://www.w3.org/ns/activitystreams"
|
|
13
|
-
- "https://w3id.org/security/data-integrity/v1"
|
|
14
|
-
- "https://gotosocial.org/ns"
|
|
15
|
-
- "https://w3id.org/fep/7aa9"
|
|
16
|
-
|
|
17
|
-
properties:
|
|
18
|
-
- singularName: featuredObject
|
|
19
|
-
functional: true
|
|
20
|
-
compactName: featuredObject
|
|
21
|
-
uri: "https://w3id.org/fep/7aa9#featuredObject"
|
|
22
|
-
description: The object being featured.
|
|
23
|
-
range:
|
|
24
|
-
- "https://www.w3.org/ns/activitystreams#Object"
|
|
25
|
-
|
|
26
|
-
- singularName: featureAuthorization
|
|
27
|
-
functional: true
|
|
28
|
-
compactName: featureAuthorization
|
|
29
|
-
uri: "https://w3id.org/fep/7aa9#featureAuthorization"
|
|
30
|
-
description: |
|
|
31
|
-
The {@link FeatureAuthorization} proving that the featured actor consented
|
|
32
|
-
to inclusion in the featured collection.
|
|
33
|
-
range:
|
|
34
|
-
- "https://w3id.org/fep/7aa9#FeatureAuthorization"
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
$schema: ../../vocab-tools/schema.yaml
|
|
2
|
-
name: FeatureRequest
|
|
3
|
-
compactName: FeatureRequest
|
|
4
|
-
uri: "https://w3id.org/fep/7aa9#FeatureRequest"
|
|
5
|
-
extends: "https://www.w3.org/ns/activitystreams#Activity"
|
|
6
|
-
entity: true
|
|
7
|
-
description: |
|
|
8
|
-
A request for consent before featuring an actor in a
|
|
9
|
-
{@link FeaturedCollection}.
|
|
10
|
-
|
|
11
|
-
The `object` property references the actor to be included, and the
|
|
12
|
-
`instrument` property references the featured collection.
|
|
13
|
-
|
|
14
|
-
See [FEP-7aa9](https://w3id.org/fep/7aa9) for details.
|
|
15
|
-
defaultContext:
|
|
16
|
-
- "https://w3id.org/identity/v1"
|
|
17
|
-
- "https://www.w3.org/ns/activitystreams"
|
|
18
|
-
- "https://w3id.org/security/data-integrity/v1"
|
|
19
|
-
- "https://gotosocial.org/ns"
|
|
20
|
-
- "https://w3id.org/fep/7aa9"
|
|
21
|
-
properties: []
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
$schema: ../../vocab-tools/schema.yaml
|
|
2
|
-
name: FeatureAuthorization
|
|
3
|
-
compactName: FeatureAuthorization
|
|
4
|
-
uri: "https://w3id.org/fep/7aa9#FeatureAuthorization"
|
|
5
|
-
extends: "https://www.w3.org/ns/activitystreams#Object"
|
|
6
|
-
entity: true
|
|
7
|
-
description: |
|
|
8
|
-
Proves that an actor consented to being included in a
|
|
9
|
-
{@link FeaturedCollection}.
|
|
10
|
-
|
|
11
|
-
See [FEP-7aa9](https://w3id.org/fep/7aa9) for details.
|
|
12
|
-
defaultContext:
|
|
13
|
-
- "https://www.w3.org/ns/activitystreams"
|
|
14
|
-
- "https://w3id.org/security/data-integrity/v1"
|
|
15
|
-
- "https://gotosocial.org/ns"
|
|
16
|
-
- "https://w3id.org/fep/7aa9"
|
|
17
|
-
|
|
18
|
-
properties:
|
|
19
|
-
- singularName: interactingObject
|
|
20
|
-
functional: true
|
|
21
|
-
compactName: interactingObject
|
|
22
|
-
uri: "https://gotosocial.org/ns#interactingObject"
|
|
23
|
-
description: The featured collection for which the authorization was granted.
|
|
24
|
-
range:
|
|
25
|
-
- "https://www.w3.org/ns/activitystreams#Object"
|
|
26
|
-
|
|
27
|
-
- singularName: interactionTarget
|
|
28
|
-
functional: true
|
|
29
|
-
compactName: interactionTarget
|
|
30
|
-
uri: "https://gotosocial.org/ns#interactionTarget"
|
|
31
|
-
description: The actor that was authorized to be featured.
|
|
32
|
-
range:
|
|
33
|
-
- "https://www.w3.org/ns/activitystreams#Object"
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
$schema: ../../vocab-tools/schema.yaml
|
|
2
|
-
name: FeaturedCollection
|
|
3
|
-
compactName: FeaturedCollection
|
|
4
|
-
uri: "https://w3id.org/fep/7aa9#FeaturedCollection"
|
|
5
|
-
extends: "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
|
6
|
-
entity: true
|
|
7
|
-
description: |
|
|
8
|
-
A curated collection of recommended actors or other objects.
|
|
9
|
-
|
|
10
|
-
See [FEP-7aa9](https://w3id.org/fep/7aa9) for details.
|
|
11
|
-
defaultContext:
|
|
12
|
-
- "https://www.w3.org/ns/activitystreams"
|
|
13
|
-
- "https://w3id.org/security/data-integrity/v1"
|
|
14
|
-
- "https://gotosocial.org/ns"
|
|
15
|
-
- "https://w3id.org/fep/7aa9"
|
|
16
|
-
- toot: "http://joinmastodon.org/ns#"
|
|
17
|
-
sensitive: "as:sensitive"
|
|
18
|
-
discoverable: "toot:discoverable"
|
|
19
|
-
Hashtag: "as:Hashtag"
|
|
20
|
-
|
|
21
|
-
properties:
|
|
22
|
-
- singularName: topic
|
|
23
|
-
functional: true
|
|
24
|
-
compactName: topic
|
|
25
|
-
uri: "https://w3id.org/fep/7aa9#topic"
|
|
26
|
-
description: |
|
|
27
|
-
A single {@link Hashtag} object that represents the main topic or category
|
|
28
|
-
of this featured collection.
|
|
29
|
-
range:
|
|
30
|
-
- "https://www.w3.org/ns/activitystreams#Hashtag"
|
|
31
|
-
|
|
32
|
-
- singularName: discoverable
|
|
33
|
-
functional: true
|
|
34
|
-
compactName: discoverable
|
|
35
|
-
uri: "http://joinmastodon.org/ns#discoverable"
|
|
36
|
-
description: |
|
|
37
|
-
When present and set to `false`, signals that this featured collection is
|
|
38
|
-
not meant to be discovered by search, onboarding, or similar discovery
|
|
39
|
-
features.
|
|
40
|
-
range:
|
|
41
|
-
- "http://www.w3.org/2001/XMLSchema#boolean"
|
package/src/featureditem.yaml
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
$schema: ../../vocab-tools/schema.yaml
|
|
2
|
-
name: FeaturedItem
|
|
3
|
-
compactName: FeaturedItem
|
|
4
|
-
uri: "https://w3id.org/fep/7aa9#FeaturedItem"
|
|
5
|
-
extends: "https://www.w3.org/ns/activitystreams#Object"
|
|
6
|
-
entity: true
|
|
7
|
-
description: |
|
|
8
|
-
A single entry in a {@link FeaturedCollection}.
|
|
9
|
-
|
|
10
|
-
See [FEP-7aa9](https://w3id.org/fep/7aa9) for details.
|
|
11
|
-
defaultContext:
|
|
12
|
-
- "https://www.w3.org/ns/activitystreams"
|
|
13
|
-
- "https://w3id.org/security/data-integrity/v1"
|
|
14
|
-
- "https://gotosocial.org/ns"
|
|
15
|
-
- "https://w3id.org/fep/7aa9"
|
|
16
|
-
|
|
17
|
-
properties:
|
|
18
|
-
- singularName: featuredObject
|
|
19
|
-
functional: true
|
|
20
|
-
compactName: featuredObject
|
|
21
|
-
uri: "https://w3id.org/fep/7aa9#featuredObject"
|
|
22
|
-
description: The object being featured.
|
|
23
|
-
range:
|
|
24
|
-
- "https://www.w3.org/ns/activitystreams#Object"
|
|
25
|
-
|
|
26
|
-
- singularName: featureAuthorization
|
|
27
|
-
functional: true
|
|
28
|
-
compactName: featureAuthorization
|
|
29
|
-
uri: "https://w3id.org/fep/7aa9#featureAuthorization"
|
|
30
|
-
description: |
|
|
31
|
-
The {@link FeatureAuthorization} proving that the featured actor consented
|
|
32
|
-
to inclusion in the featured collection.
|
|
33
|
-
range:
|
|
34
|
-
- "https://w3id.org/fep/7aa9#FeatureAuthorization"
|
package/src/featurerequest.yaml
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
$schema: ../../vocab-tools/schema.yaml
|
|
2
|
-
name: FeatureRequest
|
|
3
|
-
compactName: FeatureRequest
|
|
4
|
-
uri: "https://w3id.org/fep/7aa9#FeatureRequest"
|
|
5
|
-
extends: "https://www.w3.org/ns/activitystreams#Activity"
|
|
6
|
-
entity: true
|
|
7
|
-
description: |
|
|
8
|
-
A request for consent before featuring an actor in a
|
|
9
|
-
{@link FeaturedCollection}.
|
|
10
|
-
|
|
11
|
-
The `object` property references the actor to be included, and the
|
|
12
|
-
`instrument` property references the featured collection.
|
|
13
|
-
|
|
14
|
-
See [FEP-7aa9](https://w3id.org/fep/7aa9) for details.
|
|
15
|
-
defaultContext:
|
|
16
|
-
- "https://w3id.org/identity/v1"
|
|
17
|
-
- "https://www.w3.org/ns/activitystreams"
|
|
18
|
-
- "https://w3id.org/security/data-integrity/v1"
|
|
19
|
-
- "https://gotosocial.org/ns"
|
|
20
|
-
- "https://w3id.org/fep/7aa9"
|
|
21
|
-
properties: []
|