@fedify/vocab 2.4.0-dev.1618 → 2.4.0-dev.1655

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.
@@ -1,6 +1,6 @@
1
1
  import "temporal-polyfill";
2
2
  globalThis.addEventListener = () => {};
3
- import { A as Organization, K as __toESM, R as Service, W as __commonJSMin, a as Application, j as Person, v as Group } from "./vocab-OU5GYbNg.mjs";
3
+ import { G as __commonJSMin, M as Person, a as Application, j as Organization, q as __toESM, v as Group, z as Service } from "./vocab-Bjwctrxn.mjs";
4
4
  import { t as getTypeId } from "./type-_BlsfT3S.mjs";
5
5
  import { lookupWebFinger } from "@fedify/webfinger";
6
6
  import { SpanStatusCode, trace } from "@opentelemetry/api";
@@ -1206,7 +1206,7 @@ var esm_default = new class FetchMock {
1206
1206
  //#endregion
1207
1207
  //#region deno.json
1208
1208
  var name = "@fedify/vocab";
1209
- var version = "2.4.0-dev.1618+58858243";
1209
+ var version = "2.4.0-dev.1655+b8f3c3d5";
1210
1210
  //#endregion
1211
1211
  //#region src/actor.ts
1212
1212
  const ACTOR_DISCOVERY_HISTOGRAM_BUCKETS = [
@@ -1,7 +1,7 @@
1
1
  import "temporal-polyfill";
2
2
  globalThis.addEventListener = () => {};
3
- import { A as Organization, G as __exportAll, R as Service, a as Application, j as Person, v as Group } from "./vocab-OU5GYbNg.mjs";
4
- import { a as normalizeActorHandle, c as esm_default, i as isActor, n as getActorHandle, r as getActorTypeName, t as getActorClassByTypeName } from "./actor-COnJgcOw.mjs";
3
+ import { K as __exportAll, M as Person, a as Application, j as Organization, v as Group, z as Service } from "./vocab-Bjwctrxn.mjs";
4
+ import { a as normalizeActorHandle, c as esm_default, i as isActor, n as getActorHandle, r as getActorTypeName, t as getActorClassByTypeName } from "./actor-D_oGj9t4.mjs";
5
5
  import { createTestMeterProvider, test } from "@fedify/fixture";
6
6
  import { deepStrictEqual, ok, rejects, strictEqual, throws } from "node:assert/strict";
7
7
  //#region ../../node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
@@ -7,6 +7,7 @@ entity: true
7
7
  description: Describes a software application.
8
8
  defaultContext:
9
9
  - "https://www.w3.org/ns/activitystreams"
10
+ - "https://w3id.org/fep/ef61"
10
11
  - "https://w3id.org/security/v1"
11
12
  - "https://w3id.org/security/data-integrity/v1"
12
13
  - "https://www.w3.org/ns/did/v1"
@@ -78,6 +79,20 @@ properties:
78
79
  range:
79
80
  - "https://w3id.org/security#Multikey"
80
81
 
82
+ - pluralName: gateways
83
+ singularName: gateway
84
+ singularAccessor: true
85
+ compactName: gateways
86
+ uri: "https://w3id.org/fep/ef61/gateways"
87
+ container: list
88
+ description: |
89
+ Gateways where the latest version of this portable actor object can be
90
+ retrieved.
91
+
92
+ See [FEP-ef61](https://w3id.org/fep/ef61) for details.
93
+ range:
94
+ - "fedify:gatewayUrl"
95
+
81
96
  - singularName: manuallyApprovesFollowers
82
97
  functional: true
83
98
  compactName: manuallyApprovesFollowers
@@ -7,6 +7,7 @@ entity: true
7
7
  description: Represents an audio document of any kind.
8
8
  defaultContext:
9
9
  - "https://www.w3.org/ns/activitystreams"
10
- - "https://w3id.org/security/data-integrity/v1"
10
+ - "https://w3id.org/security/data-integrity/v2"
11
+ - digestMultibase: "https://www.w3.org/ns/credentials/v2#digestMultibase"
11
12
  - "https://gotosocial.org/ns"
12
13
  properties: []
@@ -7,7 +7,8 @@ entity: true
7
7
  description: Represents a document of any kind.
8
8
  defaultContext:
9
9
  - "https://www.w3.org/ns/activitystreams"
10
- - "https://w3id.org/security/data-integrity/v1"
10
+ - "https://w3id.org/security/data-integrity/v2"
11
+ - digestMultibase: "https://www.w3.org/ns/credentials/v2#digestMultibase"
11
12
  - "https://gotosocial.org/ns"
12
13
 
13
14
  properties:
@@ -30,3 +31,15 @@ properties:
30
31
  device-independent pixels of the linked resource.
31
32
  range:
32
33
  - "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
34
+
35
+ - singularName: digestMultibase
36
+ functional: true
37
+ compactName: digestMultibase
38
+ uri: "https://www.w3.org/ns/credentials/v2#digestMultibase"
39
+ description: |
40
+ The multibase-encoded integrity digest of an external resource represented
41
+ by this document.
42
+
43
+ See [FEP-ef61](https://w3id.org/fep/ef61) for details.
44
+ range:
45
+ - "http://www.w3.org/2001/XMLSchema#string"
@@ -7,6 +7,7 @@ entity: true
7
7
  description: Represents a formal or informal collective of Actors.
8
8
  defaultContext:
9
9
  - "https://www.w3.org/ns/activitystreams"
10
+ - "https://w3id.org/fep/ef61"
10
11
  - "https://w3id.org/security/v1"
11
12
  - "https://w3id.org/security/data-integrity/v1"
12
13
  - "https://www.w3.org/ns/did/v1"
@@ -78,6 +79,20 @@ properties:
78
79
  range:
79
80
  - "https://w3id.org/security#Multikey"
80
81
 
82
+ - pluralName: gateways
83
+ singularName: gateway
84
+ singularAccessor: true
85
+ compactName: gateways
86
+ uri: "https://w3id.org/fep/ef61/gateways"
87
+ container: list
88
+ description: |
89
+ Gateways where the latest version of this portable actor object can be
90
+ retrieved.
91
+
92
+ See [FEP-ef61](https://w3id.org/fep/ef61) for details.
93
+ range:
94
+ - "fedify:gatewayUrl"
95
+
81
96
  - singularName: manuallyApprovesFollowers
82
97
  functional: true
83
98
  compactName: manuallyApprovesFollowers
@@ -7,6 +7,7 @@ entity: true
7
7
  description: An image document of any kind.
8
8
  defaultContext:
9
9
  - "https://www.w3.org/ns/activitystreams"
10
- - "https://w3id.org/security/data-integrity/v1"
10
+ - "https://w3id.org/security/data-integrity/v2"
11
+ - digestMultibase: "https://www.w3.org/ns/credentials/v2#digestMultibase"
11
12
  - "https://gotosocial.org/ns"
12
13
  properties: []
@@ -12,7 +12,9 @@ description: |
12
12
  object) to the resource identified by the `href`. Properties of
13
13
  the {@link Link} are properties of the reference as opposed to properties of
14
14
  the resource.
15
- defaultContext: "https://www.w3.org/ns/activitystreams"
15
+ defaultContext:
16
+ - "https://www.w3.org/ns/activitystreams"
17
+ - "https://w3id.org/fep/ef61"
16
18
 
17
19
  properties:
18
20
  - singularName: href
@@ -48,6 +50,17 @@ properties:
48
50
  range:
49
51
  - "http://www.w3.org/2001/XMLSchema#string"
50
52
 
53
+ - singularName: digestMultibase
54
+ functional: true
55
+ compactName: digestMultibase
56
+ uri: "https://www.w3.org/ns/credentials/v2#digestMultibase"
57
+ description: |
58
+ The multibase-encoded integrity digest of the linked resource.
59
+
60
+ See [FEP-ef61](https://w3id.org/fep/ef61) for details.
61
+ range:
62
+ - "http://www.w3.org/2001/XMLSchema#string"
63
+
51
64
  - pluralName: names
52
65
  singularName: name
53
66
  singularAccessor: true
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "temporal-polyfill";
2
2
  globalThis.addEventListener = () => {};
3
- import { D as Object$1, E as Note, j as Person, o as Collection } from "./vocab-OU5GYbNg.mjs";
4
- import { c as esm_default, i as isActor, o as name, s as version } from "./actor-COnJgcOw.mjs";
3
+ import { D as Note, M as Person, O as Object$1, o as Collection } from "./vocab-Bjwctrxn.mjs";
4
+ import { c as esm_default, i as isActor, o as name, s as version } from "./actor-D_oGj9t4.mjs";
5
5
  import { t as getTypeId } from "./type-_BlsfT3S.mjs";
6
6
  import { t as assertInstanceOf } from "./utils-CQjrpUkt.mjs";
7
7
  import { createTestMeterProvider, createTestTracerProvider, mockDocumentLoader, test } from "@fedify/fixture";
@@ -7,6 +7,7 @@ entity: true
7
7
  description: Represents an organization.
8
8
  defaultContext:
9
9
  - "https://www.w3.org/ns/activitystreams"
10
+ - "https://w3id.org/fep/ef61"
10
11
  - "https://w3id.org/security/v1"
11
12
  - "https://w3id.org/security/data-integrity/v1"
12
13
  - "https://www.w3.org/ns/did/v1"
@@ -78,6 +79,20 @@ properties:
78
79
  range:
79
80
  - "https://w3id.org/security#Multikey"
80
81
 
82
+ - pluralName: gateways
83
+ singularName: gateway
84
+ singularAccessor: true
85
+ compactName: gateways
86
+ uri: "https://w3id.org/fep/ef61/gateways"
87
+ container: list
88
+ description: |
89
+ Gateways where the latest version of this portable actor object can be
90
+ retrieved.
91
+
92
+ See [FEP-ef61](https://w3id.org/fep/ef61) for details.
93
+ range:
94
+ - "fedify:gatewayUrl"
95
+
81
96
  - singularName: manuallyApprovesFollowers
82
97
  functional: true
83
98
  compactName: manuallyApprovesFollowers
@@ -7,6 +7,7 @@ entity: true
7
7
  description: Represents a Web Page.
8
8
  defaultContext:
9
9
  - "https://www.w3.org/ns/activitystreams"
10
- - "https://w3id.org/security/data-integrity/v1"
10
+ - "https://w3id.org/security/data-integrity/v2"
11
+ - digestMultibase: "https://www.w3.org/ns/credentials/v2#digestMultibase"
11
12
  - "https://gotosocial.org/ns"
12
13
  properties: []
@@ -7,6 +7,7 @@ entity: true
7
7
  description: Represents an individual person.
8
8
  defaultContext:
9
9
  - "https://www.w3.org/ns/activitystreams"
10
+ - "https://w3id.org/fep/ef61"
10
11
  - "https://w3id.org/security/v1"
11
12
  - "https://w3id.org/security/data-integrity/v1"
12
13
  - "https://www.w3.org/ns/did/v1"
@@ -78,6 +79,20 @@ properties:
78
79
  range:
79
80
  - "https://w3id.org/security#Multikey"
80
81
 
82
+ - pluralName: gateways
83
+ singularName: gateway
84
+ singularAccessor: true
85
+ compactName: gateways
86
+ uri: "https://w3id.org/fep/ef61/gateways"
87
+ container: list
88
+ description: |
89
+ Gateways where the latest version of this portable actor object can be
90
+ retrieved.
91
+
92
+ See [FEP-ef61](https://w3id.org/fep/ef61) for details.
93
+ range:
94
+ - "fedify:gatewayUrl"
95
+
81
96
  - singularName: manuallyApprovesFollowers
82
97
  functional: true
83
98
  compactName: manuallyApprovesFollowers
@@ -7,6 +7,7 @@ entity: true
7
7
  description: Represents a service of any kind.
8
8
  defaultContext:
9
9
  - "https://www.w3.org/ns/activitystreams"
10
+ - "https://w3id.org/fep/ef61"
10
11
  - "https://w3id.org/security/v1"
11
12
  - "https://w3id.org/security/data-integrity/v1"
12
13
  - "https://www.w3.org/ns/did/v1"
@@ -78,6 +79,20 @@ properties:
78
79
  range:
79
80
  - "https://w3id.org/security#Multikey"
80
81
 
82
+ - pluralName: gateways
83
+ singularName: gateway
84
+ singularAccessor: true
85
+ compactName: gateways
86
+ uri: "https://w3id.org/fep/ef61/gateways"
87
+ container: list
88
+ description: |
89
+ Gateways where the latest version of this portable actor object can be
90
+ retrieved.
91
+
92
+ See [FEP-ef61](https://w3id.org/fep/ef61) for details.
93
+ range:
94
+ - "fedify:gatewayUrl"
95
+
81
96
  - singularName: manuallyApprovesFollowers
82
97
  functional: true
83
98
  compactName: manuallyApprovesFollowers
@@ -1,6 +1,6 @@
1
1
  import "temporal-polyfill";
2
2
  globalThis.addEventListener = () => {};
3
- import { C as Link, H as isEntityType, V as getEntityTypeById, j as Person } from "./vocab-OU5GYbNg.mjs";
3
+ import { H as getEntityTypeById, M as Person, U as isEntityType, w as Link } from "./vocab-Bjwctrxn.mjs";
4
4
  import { t as getTypeId } from "./type-_BlsfT3S.mjs";
5
5
  import { test } from "@fedify/fixture";
6
6
  import { deepStrictEqual } from "node:assert/strict";
@@ -7,6 +7,7 @@ entity: true
7
7
  description: Represents a video document of any kind.
8
8
  defaultContext:
9
9
  - "https://www.w3.org/ns/activitystreams"
10
- - "https://w3id.org/security/data-integrity/v1"
10
+ - "https://w3id.org/security/data-integrity/v2"
11
+ - digestMultibase: "https://www.w3.org/ns/credentials/v2#digestMultibase"
11
12
  - "https://gotosocial.org/ns"
12
13
  properties: []