@fedify/fedify 0.10.0-dev.196 → 0.10.0-dev.198
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGES.md +15 -0
- package/esm/testing/fixtures/w3id.org/security/data-integrity/v1 +74 -0
- package/esm/vocab/accept.yaml +3 -1
- package/esm/vocab/activity.yaml +1 -0
- package/esm/vocab/add.yaml +3 -1
- package/esm/vocab/announce.yaml +1 -0
- package/esm/vocab/application.yaml +1 -0
- package/esm/vocab/article.yaml +1 -0
- package/esm/vocab/audio.yaml +3 -1
- package/esm/vocab/block.yaml +3 -1
- package/esm/vocab/create.yaml +1 -0
- package/esm/vocab/dataintegrityproof.yaml +56 -0
- package/esm/vocab/delete.yaml +3 -1
- package/esm/vocab/dislike.yaml +3 -1
- package/esm/vocab/document.yaml +4 -2
- package/esm/vocab/event.yaml +3 -1
- package/esm/vocab/flag.yaml +3 -1
- package/esm/vocab/follow.yaml +3 -1
- package/esm/vocab/group.yaml +1 -0
- package/esm/vocab/ignore.yaml +3 -1
- package/esm/vocab/intransitiveactivity.yaml +3 -1
- package/esm/vocab/like.yaml +3 -1
- package/esm/vocab/note.yaml +1 -0
- package/esm/vocab/object.yaml +10 -0
- package/esm/vocab/organization.yaml +1 -0
- package/esm/vocab/page.yaml +3 -1
- package/esm/vocab/person.yaml +1 -0
- package/esm/vocab/place.yaml +3 -1
- package/esm/vocab/profile.yaml +3 -1
- package/esm/vocab/reject.yaml +3 -1
- package/esm/vocab/relationship.yaml +3 -1
- package/esm/vocab/remove.yaml +3 -1
- package/esm/vocab/service.yaml +1 -0
- package/esm/vocab/tombstone.yaml +3 -1
- package/esm/vocab/undo.yaml +4 -2
- package/esm/vocab/update.yaml +1 -0
- package/esm/vocab/video.yaml +3 -1
- package/esm/vocab/vocab.js +632 -36
- package/package.json +1 -1
- package/types/codegen/type.d.ts.map +1 -1
- package/types/vocab/vocab.d.ts +282 -0
- package/types/vocab/vocab.d.ts.map +1 -1
package/CHANGES.md
CHANGED
@@ -70,6 +70,19 @@ To be released.
|
|
70
70
|
- `Service.clone()` method now accepts `assertionMethod` option.
|
71
71
|
- `Service.clone()` method now accepts `assertionMethods` option.
|
72
72
|
|
73
|
+
- Added `DataIntegrityProof` class to Activity Vocabulary API.
|
74
|
+
[[FEP-8b32], [#54]]
|
75
|
+
|
76
|
+
- Added `proof` property to the `Object` class in the Activity
|
77
|
+
Vocabulary API. [[FEP-8b32], [#54]]
|
78
|
+
|
79
|
+
- Added `Object.getProof()` method.
|
80
|
+
- Added `Object.getProofs()` method.
|
81
|
+
- `new Object()` constructor now accepts `proof` option.
|
82
|
+
- `new Object()` constructor now accepts `proofs` option.
|
83
|
+
- `Object.clone()` method now accepts `proof` option.
|
84
|
+
- `Object.clone()` method now accepts `proofs` option.
|
85
|
+
|
73
86
|
- Deprecated `treatHttps` option in `FederationParameters` interface.
|
74
87
|
Instead, use the [x-forwarded-fetch] library to recognize the
|
75
88
|
`X-Forwarded-Host` and `X-Forwarded-Proto` headers.
|
@@ -81,8 +94,10 @@ To be released.
|
|
81
94
|
`following`, `followers`, `outbox`, `manuallyApprovesFollowers`, and
|
82
95
|
`url`.
|
83
96
|
|
97
|
+
[#54]: https://github.com/dahlia/fedify/issues/54
|
84
98
|
[#55]: https://github.com/dahlia/fedify/issues/55
|
85
99
|
[FEP-521a]: https://codeberg.org/fediverse/fep/src/branch/main/fep/521a/fep-521a.md
|
100
|
+
[FEP-8b32]: https://codeberg.org/fediverse/fep/src/branch/main/fep/8b32/fep-8b32.md
|
86
101
|
[x-forwarded-fetch]: https://github.com/dahlia/x-forwarded-fetch
|
87
102
|
|
88
103
|
|
@@ -0,0 +1,74 @@
|
|
1
|
+
{
|
2
|
+
"@context": {
|
3
|
+
"id": "@id",
|
4
|
+
"type": "@type",
|
5
|
+
"@protected": true,
|
6
|
+
"proof": {
|
7
|
+
"@id": "https://w3id.org/security#proof",
|
8
|
+
"@type": "@id",
|
9
|
+
"@container": "@graph"
|
10
|
+
},
|
11
|
+
"DataIntegrityProof": {
|
12
|
+
"@id": "https://w3id.org/security#DataIntegrityProof",
|
13
|
+
"@context": {
|
14
|
+
"@protected": true,
|
15
|
+
"id": "@id",
|
16
|
+
"type": "@type",
|
17
|
+
"challenge": "https://w3id.org/security#challenge",
|
18
|
+
"created": {
|
19
|
+
"@id": "http://purl.org/dc/terms/created",
|
20
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
21
|
+
},
|
22
|
+
"domain": "https://w3id.org/security#domain",
|
23
|
+
"expires": {
|
24
|
+
"@id": "https://w3id.org/security#expiration",
|
25
|
+
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
26
|
+
},
|
27
|
+
"nonce": "https://w3id.org/security#nonce",
|
28
|
+
"proofPurpose": {
|
29
|
+
"@id": "https://w3id.org/security#proofPurpose",
|
30
|
+
"@type": "@vocab",
|
31
|
+
"@context": {
|
32
|
+
"@protected": true,
|
33
|
+
"id": "@id",
|
34
|
+
"type": "@type",
|
35
|
+
"assertionMethod": {
|
36
|
+
"@id": "https://w3id.org/security#assertionMethod",
|
37
|
+
"@type": "@id",
|
38
|
+
"@container": "@set"
|
39
|
+
},
|
40
|
+
"authentication": {
|
41
|
+
"@id": "https://w3id.org/security#authenticationMethod",
|
42
|
+
"@type": "@id",
|
43
|
+
"@container": "@set"
|
44
|
+
},
|
45
|
+
"capabilityInvocation": {
|
46
|
+
"@id": "https://w3id.org/security#capabilityInvocationMethod",
|
47
|
+
"@type": "@id",
|
48
|
+
"@container": "@set"
|
49
|
+
},
|
50
|
+
"capabilityDelegation": {
|
51
|
+
"@id": "https://w3id.org/security#capabilityDelegationMethod",
|
52
|
+
"@type": "@id",
|
53
|
+
"@container": "@set"
|
54
|
+
},
|
55
|
+
"keyAgreement": {
|
56
|
+
"@id": "https://w3id.org/security#keyAgreementMethod",
|
57
|
+
"@type": "@id",
|
58
|
+
"@container": "@set"
|
59
|
+
}
|
60
|
+
}
|
61
|
+
},
|
62
|
+
"cryptosuite": "https://w3id.org/security#cryptosuite",
|
63
|
+
"proofValue": {
|
64
|
+
"@id": "https://w3id.org/security#proofValue",
|
65
|
+
"@type": "https://w3id.org/security#multibase"
|
66
|
+
},
|
67
|
+
"verificationMethod": {
|
68
|
+
"@id": "https://w3id.org/security#verificationMethod",
|
69
|
+
"@type": "@id"
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
package/esm/vocab/accept.yaml
CHANGED
@@ -7,5 +7,7 @@ description: |
|
|
7
7
|
Indicates that the `actor` accepts the `object`. The `target` property can be
|
8
8
|
used in certain circumstances to indicate the context into which the `object`
|
9
9
|
has been accepted.
|
10
|
-
defaultContext:
|
10
|
+
defaultContext:
|
11
|
+
- "https://www.w3.org/ns/activitystreams"
|
12
|
+
- "https://w3id.org/security/data-integrity/v1"
|
11
13
|
properties: []
|
package/esm/vocab/activity.yaml
CHANGED
package/esm/vocab/add.yaml
CHANGED
@@ -8,5 +8,7 @@ description: |
|
|
8
8
|
If the `target` property is not explicitly specified, the target would need
|
9
9
|
to be determined implicitly by context. The `origin` can be used to identify
|
10
10
|
the context from which the `object` originated.
|
11
|
-
defaultContext:
|
11
|
+
defaultContext:
|
12
|
+
- "https://www.w3.org/ns/activitystreams"
|
13
|
+
- "https://w3id.org/security/data-integrity/v1"
|
12
14
|
properties: []
|
package/esm/vocab/announce.yaml
CHANGED
@@ -9,6 +9,7 @@ description: |
|
|
9
9
|
The `origin` typically has no defined meaning.
|
10
10
|
defaultContext:
|
11
11
|
- "https://www.w3.org/ns/activitystreams"
|
12
|
+
- "https://w3id.org/security/data-integrity/v1"
|
12
13
|
- toot: "http://joinmastodon.org/ns#"
|
13
14
|
sensitive: "as:sensitive"
|
14
15
|
Emoji: "toot:Emoji"
|
@@ -7,6 +7,7 @@ description: Describes a software application.
|
|
7
7
|
defaultContext:
|
8
8
|
- "https://www.w3.org/ns/activitystreams"
|
9
9
|
- "https://w3id.org/security/v1"
|
10
|
+
- "https://w3id.org/security/data-integrity/v1"
|
10
11
|
- "https://www.w3.org/ns/did/v1"
|
11
12
|
- "https://w3id.org/security/multikey/v1"
|
12
13
|
- manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
|
package/esm/vocab/article.yaml
CHANGED
@@ -6,6 +6,7 @@ entity: true
|
|
6
6
|
description: Represents any kind of multi-paragraph written work.
|
7
7
|
defaultContext:
|
8
8
|
- "https://www.w3.org/ns/activitystreams"
|
9
|
+
- "https://w3id.org/security/data-integrity/v1"
|
9
10
|
- toot: "http://joinmastodon.org/ns#"
|
10
11
|
sensitive: "as:sensitive"
|
11
12
|
Emoji: "toot:Emoji"
|
package/esm/vocab/audio.yaml
CHANGED
@@ -4,5 +4,7 @@ uri: "https://www.w3.org/ns/activitystreams#Audio"
|
|
4
4
|
extends: "https://www.w3.org/ns/activitystreams#Document"
|
5
5
|
entity: true
|
6
6
|
description: Represents an audio document of any kind.
|
7
|
-
defaultContext:
|
7
|
+
defaultContext:
|
8
|
+
- "https://www.w3.org/ns/activitystreams"
|
9
|
+
- "https://w3id.org/security/data-integrity/v1"
|
8
10
|
properties: []
|
package/esm/vocab/block.yaml
CHANGED
@@ -8,5 +8,7 @@ description: |
|
|
8
8
|
form of {@link Ignore}. The typical use is to support social systems that
|
9
9
|
allow one user to block activities or content of other users. The `target`
|
10
10
|
and `origin` typically have no defined meaning.
|
11
|
-
defaultContext:
|
11
|
+
defaultContext:
|
12
|
+
- "https://www.w3.org/ns/activitystreams"
|
13
|
+
- "https://w3id.org/security/data-integrity/v1"
|
12
14
|
properties: []
|
package/esm/vocab/create.yaml
CHANGED
@@ -6,6 +6,7 @@ entity: true
|
|
6
6
|
description: Indicates that the `actor` has created the `object`.
|
7
7
|
defaultContext:
|
8
8
|
- "https://www.w3.org/ns/activitystreams"
|
9
|
+
- "https://w3id.org/security/data-integrity/v1"
|
9
10
|
- toot: "http://joinmastodon.org/ns#"
|
10
11
|
sensitive: "as:sensitive"
|
11
12
|
Emoji: "toot:Emoji"
|
@@ -0,0 +1,56 @@
|
|
1
|
+
$schema: ../codegen/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://codeberg.org/fediverse/fep/src/branch/main/fep/521a/fep-521a.md
|
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: "https://www.w3.org/ns/activitystreams#published"
|
54
|
+
description: The date and time the proof was created.
|
55
|
+
range:
|
56
|
+
- "http://www.w3.org/2001/XMLSchema#dateTime"
|
package/esm/vocab/delete.yaml
CHANGED
@@ -6,5 +6,7 @@ entity: true
|
|
6
6
|
description: |
|
7
7
|
Indicates that the `actor` has deleted the `object`. If specified,
|
8
8
|
the `origin` indicates the context from which the `object` was deleted.
|
9
|
-
defaultContext:
|
9
|
+
defaultContext:
|
10
|
+
- "https://www.w3.org/ns/activitystreams"
|
11
|
+
- "https://w3id.org/security/data-integrity/v1"
|
10
12
|
properties: []
|
package/esm/vocab/dislike.yaml
CHANGED
@@ -4,5 +4,7 @@ uri: "https://www.w3.org/ns/activitystreams#Dislike"
|
|
4
4
|
extends: "https://www.w3.org/ns/activitystreams#Activity"
|
5
5
|
entity: true
|
6
6
|
description: Indicates that the `actor` dislikes the `object`.
|
7
|
-
defaultContext:
|
7
|
+
defaultContext:
|
8
|
+
- "https://www.w3.org/ns/activitystreams"
|
9
|
+
- "https://w3id.org/security/data-integrity/v1"
|
8
10
|
properties: []
|
package/esm/vocab/document.yaml
CHANGED
@@ -4,7 +4,9 @@ uri: "https://www.w3.org/ns/activitystreams#Document"
|
|
4
4
|
extends: "https://www.w3.org/ns/activitystreams#Object"
|
5
5
|
entity: true
|
6
6
|
description: Represents a document of any kind.
|
7
|
-
defaultContext:
|
7
|
+
defaultContext:
|
8
|
+
- "https://www.w3.org/ns/activitystreams"
|
9
|
+
- "https://w3id.org/security/data-integrity/v1"
|
8
10
|
|
9
11
|
properties:
|
10
12
|
- singularName: width
|
@@ -21,6 +23,6 @@ properties:
|
|
21
23
|
uri: "https://www.w3.org/ns/activitystreams#height"
|
22
24
|
description: |
|
23
25
|
Specifies a hint as to the rendering height in
|
24
|
-
device-independent pixels of the linked resource.
|
26
|
+
device-independent pixels of the linked resource.
|
25
27
|
range:
|
26
28
|
- "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
|
package/esm/vocab/event.yaml
CHANGED
@@ -4,5 +4,7 @@ uri: "https://www.w3.org/ns/activitystreams#Event"
|
|
4
4
|
extends: "https://www.w3.org/ns/activitystreams#Object"
|
5
5
|
entity: true
|
6
6
|
description: Represents any kind of event.
|
7
|
-
defaultContext:
|
7
|
+
defaultContext:
|
8
|
+
- "https://www.w3.org/ns/activitystreams"
|
9
|
+
- "https://w3id.org/security/data-integrity/v1"
|
8
10
|
properties: []
|
package/esm/vocab/flag.yaml
CHANGED
@@ -7,5 +7,7 @@ description: |
|
|
7
7
|
Indicates that the `actor` is "flagging" the `object`. Flagging is defined
|
8
8
|
in the sense common to many social platforms as reporting content as being
|
9
9
|
inappropriate for any number of reasons.
|
10
|
-
defaultContext:
|
10
|
+
defaultContext:
|
11
|
+
- "https://www.w3.org/ns/activitystreams"
|
12
|
+
- "https://w3id.org/security/data-integrity/v1"
|
11
13
|
properties: []
|
package/esm/vocab/follow.yaml
CHANGED
@@ -8,5 +8,7 @@ description: |
|
|
8
8
|
in the sense typically used within Social systems in which the actor is
|
9
9
|
interested in any activity performed by or on the object. The `target` and
|
10
10
|
`origin` typically have no defined meaning.
|
11
|
-
defaultContext:
|
11
|
+
defaultContext:
|
12
|
+
- "https://www.w3.org/ns/activitystreams"
|
13
|
+
- "https://w3id.org/security/data-integrity/v1"
|
12
14
|
properties: []
|
package/esm/vocab/group.yaml
CHANGED
@@ -7,6 +7,7 @@ description: Represents a formal or informal collective of Actors.
|
|
7
7
|
defaultContext:
|
8
8
|
- "https://www.w3.org/ns/activitystreams"
|
9
9
|
- "https://w3id.org/security/v1"
|
10
|
+
- "https://w3id.org/security/data-integrity/v1"
|
10
11
|
- "https://www.w3.org/ns/did/v1"
|
11
12
|
- "https://w3id.org/security/multikey/v1"
|
12
13
|
- manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
|
package/esm/vocab/ignore.yaml
CHANGED
@@ -6,5 +6,7 @@ entity: true
|
|
6
6
|
description: |
|
7
7
|
Indicates that the `actor` is ignoring the `object`. The `target` and
|
8
8
|
`origin` typically have no defined meaning.
|
9
|
-
defaultContext:
|
9
|
+
defaultContext:
|
10
|
+
- "https://www.w3.org/ns/activitystreams"
|
11
|
+
- "https://w3id.org/security/data-integrity/v1"
|
10
12
|
properties: []
|
@@ -7,5 +7,7 @@ description: |
|
|
7
7
|
Instances of `IntransitiveActivity` are a subtype of {@link Activity}
|
8
8
|
representing intransitive actions. The `object` property is therefore
|
9
9
|
inappropriate for these activities.
|
10
|
-
defaultContext:
|
10
|
+
defaultContext:
|
11
|
+
- "https://www.w3.org/ns/activitystreams"
|
12
|
+
- "https://w3id.org/security/data-integrity/v1"
|
11
13
|
properties: []
|
package/esm/vocab/like.yaml
CHANGED
@@ -6,5 +6,7 @@ entity: true
|
|
6
6
|
description: |
|
7
7
|
Indicates that the `actor` likes, recommends or endorses the `object`.
|
8
8
|
The `target` and `origin` typically have no defined meaning.
|
9
|
-
defaultContext:
|
9
|
+
defaultContext:
|
10
|
+
- "https://www.w3.org/ns/activitystreams"
|
11
|
+
- "https://w3id.org/security/data-integrity/v1"
|
10
12
|
properties: []
|
package/esm/vocab/note.yaml
CHANGED
package/esm/vocab/object.yaml
CHANGED
@@ -10,6 +10,7 @@ description: |
|
|
10
10
|
{@link OrderedCollection}.
|
11
11
|
defaultContext:
|
12
12
|
- "https://www.w3.org/ns/activitystreams"
|
13
|
+
- "https://w3id.org/security/data-integrity/v1"
|
13
14
|
- sensitive: "as:sensitive"
|
14
15
|
|
15
16
|
properties:
|
@@ -300,3 +301,12 @@ properties:
|
|
300
301
|
description: Whether it contains any sensitive contents.
|
301
302
|
range:
|
302
303
|
- "http://www.w3.org/2001/XMLSchema#boolean"
|
304
|
+
|
305
|
+
- singularName: proof
|
306
|
+
pluralName: proofs
|
307
|
+
singularAccessor: true
|
308
|
+
uri: "https://w3id.org/security#proof"
|
309
|
+
description: |
|
310
|
+
A cryptographic proof that can be used to verify the integrity of an object.
|
311
|
+
range:
|
312
|
+
- "https://w3id.org/security#DataIntegrityProof"
|
@@ -7,6 +7,7 @@ description: Represents an organization.
|
|
7
7
|
defaultContext:
|
8
8
|
- "https://www.w3.org/ns/activitystreams"
|
9
9
|
- "https://w3id.org/security/v1"
|
10
|
+
- "https://w3id.org/security/data-integrity/v1"
|
10
11
|
- "https://www.w3.org/ns/did/v1"
|
11
12
|
- "https://w3id.org/security/multikey/v1"
|
12
13
|
- manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
|
package/esm/vocab/page.yaml
CHANGED
@@ -4,5 +4,7 @@ uri: "https://www.w3.org/ns/activitystreams#Page"
|
|
4
4
|
extends: "https://www.w3.org/ns/activitystreams#Document"
|
5
5
|
entity: true
|
6
6
|
description: Represents a Web Page.
|
7
|
-
defaultContext:
|
7
|
+
defaultContext:
|
8
|
+
- "https://www.w3.org/ns/activitystreams"
|
9
|
+
- "https://w3id.org/security/data-integrity/v1"
|
8
10
|
properties: []
|
package/esm/vocab/person.yaml
CHANGED
@@ -7,6 +7,7 @@ description: Represents an individual person.
|
|
7
7
|
defaultContext:
|
8
8
|
- "https://www.w3.org/ns/activitystreams"
|
9
9
|
- "https://w3id.org/security/v1"
|
10
|
+
- "https://w3id.org/security/data-integrity/v1"
|
10
11
|
- "https://www.w3.org/ns/did/v1"
|
11
12
|
- "https://w3id.org/security/multikey/v1"
|
12
13
|
- manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
|
package/esm/vocab/place.yaml
CHANGED
@@ -7,7 +7,9 @@ description: |
|
|
7
7
|
Represents a logical or physical location. See [5.3 Representing
|
8
8
|
Places](https://www.w3.org/TR/activitystreams-vocabulary/#places)
|
9
9
|
for additional information.
|
10
|
-
defaultContext:
|
10
|
+
defaultContext:
|
11
|
+
- "https://www.w3.org/ns/activitystreams"
|
12
|
+
- "https://w3id.org/security/data-integrity/v1"
|
11
13
|
|
12
14
|
properties:
|
13
15
|
- singularName: accuracy
|
package/esm/vocab/profile.yaml
CHANGED
@@ -9,7 +9,9 @@ description: |
|
|
9
9
|
Type](https://www.w3.org/TR/activitystreams-vocabulary/#actor-types) objects.
|
10
10
|
The {@link Profile.describes} property is used to reference the object being
|
11
11
|
described by the profile.
|
12
|
-
defaultContext:
|
12
|
+
defaultContext:
|
13
|
+
- "https://www.w3.org/ns/activitystreams"
|
14
|
+
- "https://w3id.org/security/data-integrity/v1"
|
13
15
|
|
14
16
|
properties:
|
15
17
|
- singularName: describes
|
package/esm/vocab/reject.yaml
CHANGED
@@ -6,5 +6,7 @@ entity: true
|
|
6
6
|
description: |
|
7
7
|
Indicates that the `actor` is rejecting the `object`. The `target` and
|
8
8
|
`origin` typically have no defined meaning.
|
9
|
-
defaultContext:
|
9
|
+
defaultContext:
|
10
|
+
- "https://www.w3.org/ns/activitystreams"
|
11
|
+
- "https://w3id.org/security/data-integrity/v1"
|
10
12
|
properties: []
|
@@ -11,7 +11,9 @@ description: |
|
|
11
11
|
See [5.2 Representing Relationships Between
|
12
12
|
Entities](https://www.w3.org/TR/activitystreams-vocabulary/#connections)
|
13
13
|
for additional information.
|
14
|
-
defaultContext:
|
14
|
+
defaultContext:
|
15
|
+
- "https://www.w3.org/ns/activitystreams"
|
16
|
+
- "https://w3id.org/security/data-integrity/v1"
|
15
17
|
|
16
18
|
properties:
|
17
19
|
- singularName: subject
|
package/esm/vocab/remove.yaml
CHANGED
@@ -6,5 +6,7 @@ entity: true
|
|
6
6
|
description: |
|
7
7
|
Indicates that the `actor` is removing the `object`. If specified,
|
8
8
|
the `origin` indicates the context from which the `object` is being removed.
|
9
|
-
defaultContext:
|
9
|
+
defaultContext:
|
10
|
+
- "https://www.w3.org/ns/activitystreams"
|
11
|
+
- "https://w3id.org/security/data-integrity/v1"
|
10
12
|
properties: []
|
package/esm/vocab/service.yaml
CHANGED
@@ -7,6 +7,7 @@ description: Represents a service of any kind.
|
|
7
7
|
defaultContext:
|
8
8
|
- "https://www.w3.org/ns/activitystreams"
|
9
9
|
- "https://w3id.org/security/v1"
|
10
|
+
- "https://w3id.org/security/data-integrity/v1"
|
10
11
|
- "https://www.w3.org/ns/did/v1"
|
11
12
|
- "https://w3id.org/security/multikey/v1"
|
12
13
|
- manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
|
package/esm/vocab/tombstone.yaml
CHANGED
@@ -7,7 +7,9 @@ description: |
|
|
7
7
|
A `Tombstone` represents a content object that has been deleted.
|
8
8
|
It can be used in {@link Collection}s to signify that there used to be
|
9
9
|
an object at this position, but it has been deleted.
|
10
|
-
defaultContext:
|
10
|
+
defaultContext:
|
11
|
+
- "https://www.w3.org/ns/activitystreams"
|
12
|
+
- "https://w3id.org/security/data-integrity/v1"
|
11
13
|
|
12
14
|
properties:
|
13
15
|
- singularName: deleted
|
package/esm/vocab/undo.yaml
CHANGED
@@ -10,6 +10,8 @@ description: |
|
|
10
10
|
for whatever reason, might choose to undo that like at some later point in
|
11
11
|
time).
|
12
12
|
|
13
|
-
The `target` and `origin` typically have no defined meaning.
|
14
|
-
defaultContext:
|
13
|
+
The `target` and `origin` typically have no defined meaning.
|
14
|
+
defaultContext:
|
15
|
+
- "https://www.w3.org/ns/activitystreams"
|
16
|
+
- "https://w3id.org/security/data-integrity/v1"
|
15
17
|
properties: []
|
package/esm/vocab/update.yaml
CHANGED
@@ -11,6 +11,7 @@ description: |
|
|
11
11
|
The `target` and `origin` typically have no defined meaning.
|
12
12
|
defaultContext:
|
13
13
|
- "https://www.w3.org/ns/activitystreams"
|
14
|
+
- "https://w3id.org/security/data-integrity/v1"
|
14
15
|
- toot: "http://joinmastodon.org/ns#"
|
15
16
|
sensitive: "as:sensitive"
|
16
17
|
Emoji: "toot:Emoji"
|
package/esm/vocab/video.yaml
CHANGED
@@ -4,5 +4,7 @@ uri: "https://www.w3.org/ns/activitystreams#Video"
|
|
4
4
|
extends: "https://www.w3.org/ns/activitystreams#Document"
|
5
5
|
entity: true
|
6
6
|
description: Represents a video document of any kind.
|
7
|
-
defaultContext:
|
7
|
+
defaultContext:
|
8
|
+
- "https://www.w3.org/ns/activitystreams"
|
9
|
+
- "https://w3id.org/security/data-integrity/v1"
|
8
10
|
properties: []
|