@fedify/vocab-tools 2.0.36-dev.2551 → 2.0.36-dev.2598
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 +3 -1
- package/dist/mod.js +3 -1
- package/package.json +1 -1
- package/src/__snapshots__/class.test.ts.deno.snap +31 -31
- package/src/__snapshots__/class.test.ts.node.snap +31 -31
- package/src/__snapshots__/class.test.ts.snap +31 -31
- package/src/type.ts +6 -0
package/deno.json
CHANGED
package/dist/mod.cjs
CHANGED
|
@@ -8,7 +8,7 @@ let yaml = require("yaml");
|
|
|
8
8
|
let es_toolkit = require("es-toolkit");
|
|
9
9
|
//#region deno.json
|
|
10
10
|
var name = "@fedify/vocab-tools";
|
|
11
|
-
var version = "2.0.36-dev.
|
|
11
|
+
var version = "2.0.36-dev.2598+90504ae2";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/type.ts
|
|
14
14
|
const HEURISTICS_CONTEXTS = [
|
|
@@ -18,6 +18,7 @@ const HEURISTICS_CONTEXTS = [
|
|
|
18
18
|
"https://www.w3.org/ns/did/v1",
|
|
19
19
|
"https://w3id.org/security/multikey/v1"
|
|
20
20
|
];
|
|
21
|
+
const ACTIVITY_TYPE_URI = "https://www.w3.org/ns/activitystreams#Activity";
|
|
21
22
|
const scalarTypes = {
|
|
22
23
|
"http://www.w3.org/2001/XMLSchema#boolean": {
|
|
23
24
|
name: "boolean",
|
|
@@ -434,6 +435,7 @@ function areAllScalarTypes(typeUris, types) {
|
|
|
434
435
|
return typeUris.every((typeUri) => isScalarType(typeUri, types));
|
|
435
436
|
}
|
|
436
437
|
function isCompactableType(typeUri, types) {
|
|
438
|
+
if (typeUri === ACTIVITY_TYPE_URI) return false;
|
|
437
439
|
if (typeUri in scalarTypes) return scalarTypes[typeUri].compactEncoder != null;
|
|
438
440
|
else if (typeUri in types) {
|
|
439
441
|
const type = types[typeUri];
|
package/dist/mod.js
CHANGED
|
@@ -7,7 +7,7 @@ import { parse } from "yaml";
|
|
|
7
7
|
import { pascalCase } from "es-toolkit";
|
|
8
8
|
//#region deno.json
|
|
9
9
|
var name = "@fedify/vocab-tools";
|
|
10
|
-
var version = "2.0.36-dev.
|
|
10
|
+
var version = "2.0.36-dev.2598+90504ae2";
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/type.ts
|
|
13
13
|
const HEURISTICS_CONTEXTS = [
|
|
@@ -17,6 +17,7 @@ const HEURISTICS_CONTEXTS = [
|
|
|
17
17
|
"https://www.w3.org/ns/did/v1",
|
|
18
18
|
"https://w3id.org/security/multikey/v1"
|
|
19
19
|
];
|
|
20
|
+
const ACTIVITY_TYPE_URI = "https://www.w3.org/ns/activitystreams#Activity";
|
|
20
21
|
const scalarTypes = {
|
|
21
22
|
"http://www.w3.org/2001/XMLSchema#boolean": {
|
|
22
23
|
name: "boolean",
|
|
@@ -433,6 +434,7 @@ function areAllScalarTypes(typeUris, types) {
|
|
|
433
434
|
return typeUris.every((typeUri) => isScalarType(typeUri, types));
|
|
434
435
|
}
|
|
435
436
|
function isCompactableType(typeUri, types) {
|
|
437
|
+
if (typeUri === ACTIVITY_TYPE_URI) return false;
|
|
436
438
|
if (typeUri in scalarTypes) return scalarTypes[typeUri].compactEncoder != null;
|
|
437
439
|
else if (typeUri in types) {
|
|
438
440
|
const type = types[typeUri];
|
package/package.json
CHANGED
|
@@ -15403,7 +15403,7 @@ instruments?: (Object | URL)[];}
|
|
|
15403
15403
|
);
|
|
15404
15404
|
}
|
|
15405
15405
|
const docContext = options.context ??
|
|
15406
|
-
[\\"https://
|
|
15406
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
15407
15407
|
const compacted = await jsonld.compact(
|
|
15408
15408
|
values,
|
|
15409
15409
|
docContext,
|
|
@@ -16275,7 +16275,7 @@ instruments?: (Object | URL)[];}
|
|
|
16275
16275
|
);
|
|
16276
16276
|
}
|
|
16277
16277
|
const docContext = options.context ??
|
|
16278
|
-
[\\"https://
|
|
16278
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",{\\"litepub\\":\\"http://litepub.social/ns#\\",\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"EmojiReact\\":\\"litepub:EmojiReact\\",\\"Emoji\\":\\"toot:Emoji\\"}];
|
|
16279
16279
|
const compacted = await jsonld.compact(
|
|
16280
16280
|
values,
|
|
16281
16281
|
docContext,
|
|
@@ -21036,7 +21036,7 @@ instruments?: (Object | URL)[];}
|
|
|
21036
21036
|
);
|
|
21037
21037
|
}
|
|
21038
21038
|
const docContext = options.context ??
|
|
21039
|
-
[\\"https://
|
|
21039
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
21040
21040
|
const compacted = await jsonld.compact(
|
|
21041
21041
|
values,
|
|
21042
21042
|
docContext,
|
|
@@ -21383,7 +21383,7 @@ instruments?: (Object | URL)[];}
|
|
|
21383
21383
|
);
|
|
21384
21384
|
}
|
|
21385
21385
|
const docContext = options.context ??
|
|
21386
|
-
[\\"https://
|
|
21386
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
21387
21387
|
const compacted = await jsonld.compact(
|
|
21388
21388
|
values,
|
|
21389
21389
|
docContext,
|
|
@@ -21725,7 +21725,7 @@ instruments?: (Object | URL)[];}
|
|
|
21725
21725
|
);
|
|
21726
21726
|
}
|
|
21727
21727
|
const docContext = options.context ??
|
|
21728
|
-
[\\"https://
|
|
21728
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",{\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"misskey\\":\\"https://misskey-hub.net/ns#\\",\\"fedibird\\":\\"http://fedibird.com/ns#\\",\\"sensitive\\":\\"as:sensitive\\",\\"votersCount\\":{\\"@id\\":\\"toot:votersCount\\",\\"@type\\":\\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\\"},\\"Emoji\\":\\"toot:Emoji\\",\\"Hashtag\\":\\"as:Hashtag\\",\\"quoteUrl\\":\\"as:quoteUrl\\",\\"_misskey_quote\\":\\"misskey:_misskey_quote\\",\\"quoteUri\\":\\"fedibird:quoteUri\\",\\"emojiReactions\\":{\\"@id\\":\\"fedibird:emojiReactions\\",\\"@type\\":\\"@id\\"}}];
|
|
21729
21729
|
const compacted = await jsonld.compact(
|
|
21730
21730
|
values,
|
|
21731
21731
|
docContext,
|
|
@@ -29011,7 +29011,7 @@ instruments?: (Object | URL)[];}
|
|
|
29011
29011
|
);
|
|
29012
29012
|
}
|
|
29013
29013
|
const docContext = options.context ??
|
|
29014
|
-
[\\"https://
|
|
29014
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
29015
29015
|
const compacted = await jsonld.compact(
|
|
29016
29016
|
values,
|
|
29017
29017
|
docContext,
|
|
@@ -29365,7 +29365,7 @@ instruments?: (Object | URL)[];}
|
|
|
29365
29365
|
);
|
|
29366
29366
|
}
|
|
29367
29367
|
const docContext = options.context ??
|
|
29368
|
-
[\\"https://
|
|
29368
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
29369
29369
|
const compacted = await jsonld.compact(
|
|
29370
29370
|
values,
|
|
29371
29371
|
docContext,
|
|
@@ -31150,7 +31150,7 @@ instruments?: (Object | URL)[];}
|
|
|
31150
31150
|
);
|
|
31151
31151
|
}
|
|
31152
31152
|
const docContext = options.context ??
|
|
31153
|
-
[\\"https://
|
|
31153
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
31154
31154
|
const compacted = await jsonld.compact(
|
|
31155
31155
|
values,
|
|
31156
31156
|
docContext,
|
|
@@ -31497,7 +31497,7 @@ instruments?: (Object | URL)[];}
|
|
|
31497
31497
|
);
|
|
31498
31498
|
}
|
|
31499
31499
|
const docContext = options.context ??
|
|
31500
|
-
[\\"https://
|
|
31500
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
31501
31501
|
const compacted = await jsonld.compact(
|
|
31502
31502
|
values,
|
|
31503
31503
|
docContext,
|
|
@@ -37920,7 +37920,7 @@ instruments?: (Object | URL)[];}
|
|
|
37920
37920
|
);
|
|
37921
37921
|
}
|
|
37922
37922
|
const docContext = options.context ??
|
|
37923
|
-
[\\"https://
|
|
37923
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",{\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"misskey\\":\\"https://misskey-hub.net/ns#\\",\\"fedibird\\":\\"http://fedibird.com/ns#\\",\\"sensitive\\":\\"as:sensitive\\",\\"votersCount\\":{\\"@id\\":\\"toot:votersCount\\",\\"@type\\":\\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\\"},\\"Emoji\\":\\"toot:Emoji\\",\\"Hashtag\\":\\"as:Hashtag\\",\\"ChatMessage\\":\\"http://litepub.social/ns#ChatMessage\\",\\"quoteUrl\\":\\"as:quoteUrl\\",\\"_misskey_quote\\":\\"misskey:_misskey_quote\\",\\"quoteUri\\":\\"fedibird:quoteUri\\",\\"emojiReactions\\":{\\"@id\\":\\"fedibird:emojiReactions\\",\\"@type\\":\\"@id\\"}}];
|
|
37924
37924
|
const compacted = await jsonld.compact(
|
|
37925
37925
|
values,
|
|
37926
37926
|
docContext,
|
|
@@ -38261,7 +38261,7 @@ instruments?: (Object | URL)[];}
|
|
|
38261
38261
|
);
|
|
38262
38262
|
}
|
|
38263
38263
|
const docContext = options.context ??
|
|
38264
|
-
[\\"https://
|
|
38264
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",{\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"misskey\\":\\"https://misskey-hub.net/ns#\\",\\"fedibird\\":\\"http://fedibird.com/ns#\\",\\"sensitive\\":\\"as:sensitive\\",\\"votersCount\\":{\\"@id\\":\\"toot:votersCount\\",\\"@type\\":\\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\\"},\\"Emoji\\":\\"toot:Emoji\\",\\"Hashtag\\":\\"as:Hashtag\\",\\"ChatMessage\\":\\"http://litepub.social/ns#ChatMessage\\",\\"quoteUrl\\":\\"as:quoteUrl\\",\\"_misskey_quote\\":\\"misskey:_misskey_quote\\",\\"quoteUri\\":\\"fedibird:quoteUri\\"}];
|
|
38265
38265
|
const compacted = await jsonld.compact(
|
|
38266
38266
|
values,
|
|
38267
38267
|
docContext,
|
|
@@ -38600,7 +38600,7 @@ instruments?: (Object | URL)[];}
|
|
|
38600
38600
|
);
|
|
38601
38601
|
}
|
|
38602
38602
|
const docContext = options.context ??
|
|
38603
|
-
[\\"https://
|
|
38603
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",{\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"Emoji\\":\\"toot:Emoji\\"}];
|
|
38604
38604
|
const compacted = await jsonld.compact(
|
|
38605
38605
|
values,
|
|
38606
38606
|
docContext,
|
|
@@ -40471,7 +40471,7 @@ instruments?: (Object | URL)[];}
|
|
|
40471
40471
|
);
|
|
40472
40472
|
}
|
|
40473
40473
|
const docContext = options.context ??
|
|
40474
|
-
[\\"https://
|
|
40474
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
40475
40475
|
const compacted = await jsonld.compact(
|
|
40476
40476
|
values,
|
|
40477
40477
|
docContext,
|
|
@@ -40814,7 +40814,7 @@ instruments?: (Object | URL)[];}
|
|
|
40814
40814
|
);
|
|
40815
40815
|
}
|
|
40816
40816
|
const docContext = options.context ??
|
|
40817
|
-
[\\"https://
|
|
40817
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",\\"https://www.w3.org/ns/did/v1\\",\\"https://w3id.org/security/multikey/v1\\"];
|
|
40818
40818
|
const compacted = await jsonld.compact(
|
|
40819
40819
|
values,
|
|
40820
40820
|
docContext,
|
|
@@ -50524,7 +50524,7 @@ instruments?: (Object | URL)[];}
|
|
|
50524
50524
|
);
|
|
50525
50525
|
}
|
|
50526
50526
|
const docContext = options.context ??
|
|
50527
|
-
[\\"https://
|
|
50527
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
50528
50528
|
const compacted = await jsonld.compact(
|
|
50529
50529
|
values,
|
|
50530
50530
|
docContext,
|
|
@@ -50869,7 +50869,7 @@ instruments?: (Object | URL)[];}
|
|
|
50869
50869
|
);
|
|
50870
50870
|
}
|
|
50871
50871
|
const docContext = options.context ??
|
|
50872
|
-
[\\"https://
|
|
50872
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
50873
50873
|
const compacted = await jsonld.compact(
|
|
50874
50874
|
values,
|
|
50875
50875
|
docContext,
|
|
@@ -51210,7 +51210,7 @@ instruments?: (Object | URL)[];}
|
|
|
51210
51210
|
);
|
|
51211
51211
|
}
|
|
51212
51212
|
const docContext = options.context ??
|
|
51213
|
-
[\\"https://
|
|
51213
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
51214
51214
|
const compacted = await jsonld.compact(
|
|
51215
51215
|
values,
|
|
51216
51216
|
docContext,
|
|
@@ -51551,7 +51551,7 @@ instruments?: (Object | URL)[];}
|
|
|
51551
51551
|
);
|
|
51552
51552
|
}
|
|
51553
51553
|
const docContext = options.context ??
|
|
51554
|
-
[\\"https://
|
|
51554
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
51555
51555
|
const compacted = await jsonld.compact(
|
|
51556
51556
|
values,
|
|
51557
51557
|
docContext,
|
|
@@ -51892,7 +51892,7 @@ instruments?: (Object | URL)[];}
|
|
|
51892
51892
|
);
|
|
51893
51893
|
}
|
|
51894
51894
|
const docContext = options.context ??
|
|
51895
|
-
[\\"https://
|
|
51895
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",{\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"Emoji\\":\\"toot:Emoji\\"}];
|
|
51896
51896
|
const compacted = await jsonld.compact(
|
|
51897
51897
|
values,
|
|
51898
51898
|
docContext,
|
|
@@ -52231,7 +52231,7 @@ instruments?: (Object | URL)[];}
|
|
|
52231
52231
|
);
|
|
52232
52232
|
}
|
|
52233
52233
|
const docContext = options.context ??
|
|
52234
|
-
[\\"https://
|
|
52234
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
52235
52235
|
const compacted = await jsonld.compact(
|
|
52236
52236
|
values,
|
|
52237
52237
|
docContext,
|
|
@@ -52878,7 +52878,7 @@ instruments?: (Object | URL)[];}
|
|
|
52878
52878
|
);
|
|
52879
52879
|
}
|
|
52880
52880
|
const docContext = options.context ??
|
|
52881
|
-
[\\"https://
|
|
52881
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
52882
52882
|
const compacted = await jsonld.compact(
|
|
52883
52883
|
values,
|
|
52884
52884
|
docContext,
|
|
@@ -72089,7 +72089,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
72089
72089
|
);
|
|
72090
72090
|
}
|
|
72091
72091
|
const docContext = options.context ??
|
|
72092
|
-
[\\"https://
|
|
72092
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",{\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"misskey\\":\\"https://misskey-hub.net/ns#\\",\\"fedibird\\":\\"http://fedibird.com/ns#\\",\\"sensitive\\":\\"as:sensitive\\",\\"votersCount\\":{\\"@id\\":\\"toot:votersCount\\",\\"@type\\":\\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\\"},\\"Emoji\\":\\"toot:Emoji\\",\\"Hashtag\\":\\"as:Hashtag\\",\\"quoteUrl\\":\\"as:quoteUrl\\",\\"_misskey_quote\\":\\"misskey:_misskey_quote\\",\\"quoteUri\\":\\"fedibird:quoteUri\\",\\"emojiReactions\\":{\\"@id\\":\\"fedibird:emojiReactions\\",\\"@type\\":\\"@id\\"}}];
|
|
72093
72093
|
const compacted = await jsonld.compact(
|
|
72094
72094
|
values,
|
|
72095
72095
|
docContext,
|
|
@@ -72714,7 +72714,7 @@ instruments?: (Object | URL)[];}
|
|
|
72714
72714
|
);
|
|
72715
72715
|
}
|
|
72716
72716
|
const docContext = options.context ??
|
|
72717
|
-
[\\"https://
|
|
72717
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
72718
72718
|
const compacted = await jsonld.compact(
|
|
72719
72719
|
values,
|
|
72720
72720
|
docContext,
|
|
@@ -73055,7 +73055,7 @@ instruments?: (Object | URL)[];}
|
|
|
73055
73055
|
);
|
|
73056
73056
|
}
|
|
73057
73057
|
const docContext = options.context ??
|
|
73058
|
-
[\\"https://
|
|
73058
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
73059
73059
|
const compacted = await jsonld.compact(
|
|
73060
73060
|
values,
|
|
73061
73061
|
docContext,
|
|
@@ -75133,7 +75133,7 @@ instruments?: (Object | URL)[];}
|
|
|
75133
75133
|
);
|
|
75134
75134
|
}
|
|
75135
75135
|
const docContext = options.context ??
|
|
75136
|
-
[\\"https://
|
|
75136
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
75137
75137
|
const compacted = await jsonld.compact(
|
|
75138
75138
|
values,
|
|
75139
75139
|
docContext,
|
|
@@ -83104,7 +83104,7 @@ instruments?: (Object | URL)[];}
|
|
|
83104
83104
|
);
|
|
83105
83105
|
}
|
|
83106
83106
|
const docContext = options.context ??
|
|
83107
|
-
[\\"https://
|
|
83107
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
83108
83108
|
const compacted = await jsonld.compact(
|
|
83109
83109
|
values,
|
|
83110
83110
|
docContext,
|
|
@@ -83445,7 +83445,7 @@ instruments?: (Object | URL)[];}
|
|
|
83445
83445
|
);
|
|
83446
83446
|
}
|
|
83447
83447
|
const docContext = options.context ??
|
|
83448
|
-
[\\"https://
|
|
83448
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
83449
83449
|
const compacted = await jsonld.compact(
|
|
83450
83450
|
values,
|
|
83451
83451
|
docContext,
|
|
@@ -84255,7 +84255,7 @@ instruments?: (Object | URL)[];}
|
|
|
84255
84255
|
);
|
|
84256
84256
|
}
|
|
84257
84257
|
const docContext = options.context ??
|
|
84258
|
-
[\\"https://
|
|
84258
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
84259
84259
|
const compacted = await jsonld.compact(
|
|
84260
84260
|
values,
|
|
84261
84261
|
docContext,
|
|
@@ -84601,7 +84601,7 @@ instruments?: (Object | URL)[];}
|
|
|
84601
84601
|
);
|
|
84602
84602
|
}
|
|
84603
84603
|
const docContext = options.context ??
|
|
84604
|
-
[\\"https://
|
|
84604
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",\\"https://www.w3.org/ns/did/v1\\",\\"https://w3id.org/security/multikey/v1\\",{\\"litepub\\":\\"http://litepub.social/ns#\\",\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"EmojiReact\\":\\"litepub:EmojiReact\\",\\"Emoji\\":\\"toot:Emoji\\"}];
|
|
84605
84605
|
const compacted = await jsonld.compact(
|
|
84606
84606
|
values,
|
|
84607
84607
|
docContext,
|
|
@@ -84945,7 +84945,7 @@ instruments?: (Object | URL)[];}
|
|
|
84945
84945
|
);
|
|
84946
84946
|
}
|
|
84947
84947
|
const docContext = options.context ??
|
|
84948
|
-
[\\"https://
|
|
84948
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",\\"https://www.w3.org/ns/did/v1\\",\\"https://w3id.org/security/multikey/v1\\",{\\"alsoKnownAs\\":{\\"@id\\":\\"as:alsoKnownAs\\",\\"@type\\":\\"@id\\"},\\"manuallyApprovesFollowers\\":\\"as:manuallyApprovesFollowers\\",\\"sensitive\\":\\"as:sensitive\\",\\"movedTo\\":{\\"@id\\":\\"as:movedTo\\",\\"@type\\":\\"@id\\"},\\"quoteUrl\\":\\"as:quoteUrl\\",\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"featured\\":{\\"@id\\":\\"toot:featured\\",\\"@type\\":\\"@id\\"},\\"featuredTags\\":{\\"@id\\":\\"toot:featuredTags\\",\\"@type\\":\\"@id\\"},\\"discoverable\\":\\"toot:discoverable\\",\\"suspended\\":\\"toot:suspended\\",\\"memorial\\":\\"toot:memorial\\",\\"indexable\\":\\"toot:indexable\\",\\"votersCount\\":{\\"@id\\":\\"toot:votersCount\\",\\"@type\\":\\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\\"},\\"Emoji\\":\\"toot:Emoji\\",\\"Hashtag\\":\\"as:Hashtag\\",\\"schema\\":\\"http://schema.org#\\",\\"PropertyValue\\":\\"schema:PropertyValue\\",\\"value\\":\\"schema:value\\",\\"ChatMessage\\":\\"http://litepub.social/ns#ChatMessage\\",\\"fedibird\\":\\"http://fedibird.com/ns#\\",\\"quoteUri\\":\\"fedibird:quoteUri\\",\\"misskey\\":\\"https://misskey-hub.net/ns#\\",\\"_misskey_quote\\":\\"misskey:_misskey_quote\\",\\"_misskey_followedMessage\\":\\"misskey:_misskey_followedMessage\\",\\"isCat\\":\\"misskey:isCat\\",\\"emojiReactions\\":{\\"@id\\":\\"fedibird:emojiReactions\\",\\"@type\\":\\"@id\\"}}];
|
|
84949
84949
|
const compacted = await jsonld.compact(
|
|
84950
84950
|
values,
|
|
84951
84951
|
docContext,
|
|
@@ -85629,7 +85629,7 @@ instruments?: (Object | URL)[];}
|
|
|
85629
85629
|
);
|
|
85630
85630
|
}
|
|
85631
85631
|
const docContext = options.context ??
|
|
85632
|
-
[\\"https://
|
|
85632
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
85633
85633
|
const compacted = await jsonld.compact(
|
|
85634
85634
|
values,
|
|
85635
85635
|
docContext,
|
|
@@ -15401,7 +15401,7 @@ instruments?: (Object | URL)[];}
|
|
|
15401
15401
|
);
|
|
15402
15402
|
}
|
|
15403
15403
|
const docContext = options.context ??
|
|
15404
|
-
[\\"https://
|
|
15404
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
15405
15405
|
const compacted = await jsonld.compact(
|
|
15406
15406
|
values,
|
|
15407
15407
|
docContext,
|
|
@@ -16273,7 +16273,7 @@ instruments?: (Object | URL)[];}
|
|
|
16273
16273
|
);
|
|
16274
16274
|
}
|
|
16275
16275
|
const docContext = options.context ??
|
|
16276
|
-
[\\"https://
|
|
16276
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",{\\"litepub\\":\\"http://litepub.social/ns#\\",\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"EmojiReact\\":\\"litepub:EmojiReact\\",\\"Emoji\\":\\"toot:Emoji\\"}];
|
|
16277
16277
|
const compacted = await jsonld.compact(
|
|
16278
16278
|
values,
|
|
16279
16279
|
docContext,
|
|
@@ -21034,7 +21034,7 @@ instruments?: (Object | URL)[];}
|
|
|
21034
21034
|
);
|
|
21035
21035
|
}
|
|
21036
21036
|
const docContext = options.context ??
|
|
21037
|
-
[\\"https://
|
|
21037
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
21038
21038
|
const compacted = await jsonld.compact(
|
|
21039
21039
|
values,
|
|
21040
21040
|
docContext,
|
|
@@ -21381,7 +21381,7 @@ instruments?: (Object | URL)[];}
|
|
|
21381
21381
|
);
|
|
21382
21382
|
}
|
|
21383
21383
|
const docContext = options.context ??
|
|
21384
|
-
[\\"https://
|
|
21384
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
21385
21385
|
const compacted = await jsonld.compact(
|
|
21386
21386
|
values,
|
|
21387
21387
|
docContext,
|
|
@@ -21723,7 +21723,7 @@ instruments?: (Object | URL)[];}
|
|
|
21723
21723
|
);
|
|
21724
21724
|
}
|
|
21725
21725
|
const docContext = options.context ??
|
|
21726
|
-
[\\"https://
|
|
21726
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",{\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"misskey\\":\\"https://misskey-hub.net/ns#\\",\\"fedibird\\":\\"http://fedibird.com/ns#\\",\\"sensitive\\":\\"as:sensitive\\",\\"votersCount\\":{\\"@id\\":\\"toot:votersCount\\",\\"@type\\":\\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\\"},\\"Emoji\\":\\"toot:Emoji\\",\\"Hashtag\\":\\"as:Hashtag\\",\\"quoteUrl\\":\\"as:quoteUrl\\",\\"_misskey_quote\\":\\"misskey:_misskey_quote\\",\\"quoteUri\\":\\"fedibird:quoteUri\\",\\"emojiReactions\\":{\\"@id\\":\\"fedibird:emojiReactions\\",\\"@type\\":\\"@id\\"}}];
|
|
21727
21727
|
const compacted = await jsonld.compact(
|
|
21728
21728
|
values,
|
|
21729
21729
|
docContext,
|
|
@@ -29009,7 +29009,7 @@ instruments?: (Object | URL)[];}
|
|
|
29009
29009
|
);
|
|
29010
29010
|
}
|
|
29011
29011
|
const docContext = options.context ??
|
|
29012
|
-
[\\"https://
|
|
29012
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
29013
29013
|
const compacted = await jsonld.compact(
|
|
29014
29014
|
values,
|
|
29015
29015
|
docContext,
|
|
@@ -29363,7 +29363,7 @@ instruments?: (Object | URL)[];}
|
|
|
29363
29363
|
);
|
|
29364
29364
|
}
|
|
29365
29365
|
const docContext = options.context ??
|
|
29366
|
-
[\\"https://
|
|
29366
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
29367
29367
|
const compacted = await jsonld.compact(
|
|
29368
29368
|
values,
|
|
29369
29369
|
docContext,
|
|
@@ -31148,7 +31148,7 @@ instruments?: (Object | URL)[];}
|
|
|
31148
31148
|
);
|
|
31149
31149
|
}
|
|
31150
31150
|
const docContext = options.context ??
|
|
31151
|
-
[\\"https://
|
|
31151
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
31152
31152
|
const compacted = await jsonld.compact(
|
|
31153
31153
|
values,
|
|
31154
31154
|
docContext,
|
|
@@ -31495,7 +31495,7 @@ instruments?: (Object | URL)[];}
|
|
|
31495
31495
|
);
|
|
31496
31496
|
}
|
|
31497
31497
|
const docContext = options.context ??
|
|
31498
|
-
[\\"https://
|
|
31498
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
31499
31499
|
const compacted = await jsonld.compact(
|
|
31500
31500
|
values,
|
|
31501
31501
|
docContext,
|
|
@@ -37918,7 +37918,7 @@ instruments?: (Object | URL)[];}
|
|
|
37918
37918
|
);
|
|
37919
37919
|
}
|
|
37920
37920
|
const docContext = options.context ??
|
|
37921
|
-
[\\"https://
|
|
37921
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",{\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"misskey\\":\\"https://misskey-hub.net/ns#\\",\\"fedibird\\":\\"http://fedibird.com/ns#\\",\\"sensitive\\":\\"as:sensitive\\",\\"votersCount\\":{\\"@id\\":\\"toot:votersCount\\",\\"@type\\":\\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\\"},\\"Emoji\\":\\"toot:Emoji\\",\\"Hashtag\\":\\"as:Hashtag\\",\\"ChatMessage\\":\\"http://litepub.social/ns#ChatMessage\\",\\"quoteUrl\\":\\"as:quoteUrl\\",\\"_misskey_quote\\":\\"misskey:_misskey_quote\\",\\"quoteUri\\":\\"fedibird:quoteUri\\",\\"emojiReactions\\":{\\"@id\\":\\"fedibird:emojiReactions\\",\\"@type\\":\\"@id\\"}}];
|
|
37922
37922
|
const compacted = await jsonld.compact(
|
|
37923
37923
|
values,
|
|
37924
37924
|
docContext,
|
|
@@ -38259,7 +38259,7 @@ instruments?: (Object | URL)[];}
|
|
|
38259
38259
|
);
|
|
38260
38260
|
}
|
|
38261
38261
|
const docContext = options.context ??
|
|
38262
|
-
[\\"https://
|
|
38262
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",{\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"misskey\\":\\"https://misskey-hub.net/ns#\\",\\"fedibird\\":\\"http://fedibird.com/ns#\\",\\"sensitive\\":\\"as:sensitive\\",\\"votersCount\\":{\\"@id\\":\\"toot:votersCount\\",\\"@type\\":\\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\\"},\\"Emoji\\":\\"toot:Emoji\\",\\"Hashtag\\":\\"as:Hashtag\\",\\"ChatMessage\\":\\"http://litepub.social/ns#ChatMessage\\",\\"quoteUrl\\":\\"as:quoteUrl\\",\\"_misskey_quote\\":\\"misskey:_misskey_quote\\",\\"quoteUri\\":\\"fedibird:quoteUri\\"}];
|
|
38263
38263
|
const compacted = await jsonld.compact(
|
|
38264
38264
|
values,
|
|
38265
38265
|
docContext,
|
|
@@ -38598,7 +38598,7 @@ instruments?: (Object | URL)[];}
|
|
|
38598
38598
|
);
|
|
38599
38599
|
}
|
|
38600
38600
|
const docContext = options.context ??
|
|
38601
|
-
[\\"https://
|
|
38601
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",{\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"Emoji\\":\\"toot:Emoji\\"}];
|
|
38602
38602
|
const compacted = await jsonld.compact(
|
|
38603
38603
|
values,
|
|
38604
38604
|
docContext,
|
|
@@ -40469,7 +40469,7 @@ instruments?: (Object | URL)[];}
|
|
|
40469
40469
|
);
|
|
40470
40470
|
}
|
|
40471
40471
|
const docContext = options.context ??
|
|
40472
|
-
[\\"https://
|
|
40472
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
40473
40473
|
const compacted = await jsonld.compact(
|
|
40474
40474
|
values,
|
|
40475
40475
|
docContext,
|
|
@@ -40812,7 +40812,7 @@ instruments?: (Object | URL)[];}
|
|
|
40812
40812
|
);
|
|
40813
40813
|
}
|
|
40814
40814
|
const docContext = options.context ??
|
|
40815
|
-
[\\"https://
|
|
40815
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",\\"https://www.w3.org/ns/did/v1\\",\\"https://w3id.org/security/multikey/v1\\"];
|
|
40816
40816
|
const compacted = await jsonld.compact(
|
|
40817
40817
|
values,
|
|
40818
40818
|
docContext,
|
|
@@ -50522,7 +50522,7 @@ instruments?: (Object | URL)[];}
|
|
|
50522
50522
|
);
|
|
50523
50523
|
}
|
|
50524
50524
|
const docContext = options.context ??
|
|
50525
|
-
[\\"https://
|
|
50525
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
50526
50526
|
const compacted = await jsonld.compact(
|
|
50527
50527
|
values,
|
|
50528
50528
|
docContext,
|
|
@@ -50867,7 +50867,7 @@ instruments?: (Object | URL)[];}
|
|
|
50867
50867
|
);
|
|
50868
50868
|
}
|
|
50869
50869
|
const docContext = options.context ??
|
|
50870
|
-
[\\"https://
|
|
50870
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
50871
50871
|
const compacted = await jsonld.compact(
|
|
50872
50872
|
values,
|
|
50873
50873
|
docContext,
|
|
@@ -51208,7 +51208,7 @@ instruments?: (Object | URL)[];}
|
|
|
51208
51208
|
);
|
|
51209
51209
|
}
|
|
51210
51210
|
const docContext = options.context ??
|
|
51211
|
-
[\\"https://
|
|
51211
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
51212
51212
|
const compacted = await jsonld.compact(
|
|
51213
51213
|
values,
|
|
51214
51214
|
docContext,
|
|
@@ -51549,7 +51549,7 @@ instruments?: (Object | URL)[];}
|
|
|
51549
51549
|
);
|
|
51550
51550
|
}
|
|
51551
51551
|
const docContext = options.context ??
|
|
51552
|
-
[\\"https://
|
|
51552
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
51553
51553
|
const compacted = await jsonld.compact(
|
|
51554
51554
|
values,
|
|
51555
51555
|
docContext,
|
|
@@ -51890,7 +51890,7 @@ instruments?: (Object | URL)[];}
|
|
|
51890
51890
|
);
|
|
51891
51891
|
}
|
|
51892
51892
|
const docContext = options.context ??
|
|
51893
|
-
[\\"https://
|
|
51893
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",{\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"Emoji\\":\\"toot:Emoji\\"}];
|
|
51894
51894
|
const compacted = await jsonld.compact(
|
|
51895
51895
|
values,
|
|
51896
51896
|
docContext,
|
|
@@ -52229,7 +52229,7 @@ instruments?: (Object | URL)[];}
|
|
|
52229
52229
|
);
|
|
52230
52230
|
}
|
|
52231
52231
|
const docContext = options.context ??
|
|
52232
|
-
[\\"https://
|
|
52232
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
52233
52233
|
const compacted = await jsonld.compact(
|
|
52234
52234
|
values,
|
|
52235
52235
|
docContext,
|
|
@@ -52876,7 +52876,7 @@ instruments?: (Object | URL)[];}
|
|
|
52876
52876
|
);
|
|
52877
52877
|
}
|
|
52878
52878
|
const docContext = options.context ??
|
|
52879
|
-
[\\"https://
|
|
52879
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
52880
52880
|
const compacted = await jsonld.compact(
|
|
52881
52881
|
values,
|
|
52882
52882
|
docContext,
|
|
@@ -72087,7 +72087,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
72087
72087
|
);
|
|
72088
72088
|
}
|
|
72089
72089
|
const docContext = options.context ??
|
|
72090
|
-
[\\"https://
|
|
72090
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",{\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"misskey\\":\\"https://misskey-hub.net/ns#\\",\\"fedibird\\":\\"http://fedibird.com/ns#\\",\\"sensitive\\":\\"as:sensitive\\",\\"votersCount\\":{\\"@id\\":\\"toot:votersCount\\",\\"@type\\":\\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\\"},\\"Emoji\\":\\"toot:Emoji\\",\\"Hashtag\\":\\"as:Hashtag\\",\\"quoteUrl\\":\\"as:quoteUrl\\",\\"_misskey_quote\\":\\"misskey:_misskey_quote\\",\\"quoteUri\\":\\"fedibird:quoteUri\\",\\"emojiReactions\\":{\\"@id\\":\\"fedibird:emojiReactions\\",\\"@type\\":\\"@id\\"}}];
|
|
72091
72091
|
const compacted = await jsonld.compact(
|
|
72092
72092
|
values,
|
|
72093
72093
|
docContext,
|
|
@@ -72712,7 +72712,7 @@ instruments?: (Object | URL)[];}
|
|
|
72712
72712
|
);
|
|
72713
72713
|
}
|
|
72714
72714
|
const docContext = options.context ??
|
|
72715
|
-
[\\"https://
|
|
72715
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
72716
72716
|
const compacted = await jsonld.compact(
|
|
72717
72717
|
values,
|
|
72718
72718
|
docContext,
|
|
@@ -73053,7 +73053,7 @@ instruments?: (Object | URL)[];}
|
|
|
73053
73053
|
);
|
|
73054
73054
|
}
|
|
73055
73055
|
const docContext = options.context ??
|
|
73056
|
-
[\\"https://
|
|
73056
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
73057
73057
|
const compacted = await jsonld.compact(
|
|
73058
73058
|
values,
|
|
73059
73059
|
docContext,
|
|
@@ -75131,7 +75131,7 @@ instruments?: (Object | URL)[];}
|
|
|
75131
75131
|
);
|
|
75132
75132
|
}
|
|
75133
75133
|
const docContext = options.context ??
|
|
75134
|
-
[\\"https://
|
|
75134
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
75135
75135
|
const compacted = await jsonld.compact(
|
|
75136
75136
|
values,
|
|
75137
75137
|
docContext,
|
|
@@ -83102,7 +83102,7 @@ instruments?: (Object | URL)[];}
|
|
|
83102
83102
|
);
|
|
83103
83103
|
}
|
|
83104
83104
|
const docContext = options.context ??
|
|
83105
|
-
[\\"https://
|
|
83105
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
83106
83106
|
const compacted = await jsonld.compact(
|
|
83107
83107
|
values,
|
|
83108
83108
|
docContext,
|
|
@@ -83443,7 +83443,7 @@ instruments?: (Object | URL)[];}
|
|
|
83443
83443
|
);
|
|
83444
83444
|
}
|
|
83445
83445
|
const docContext = options.context ??
|
|
83446
|
-
[\\"https://
|
|
83446
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
83447
83447
|
const compacted = await jsonld.compact(
|
|
83448
83448
|
values,
|
|
83449
83449
|
docContext,
|
|
@@ -84253,7 +84253,7 @@ instruments?: (Object | URL)[];}
|
|
|
84253
84253
|
);
|
|
84254
84254
|
}
|
|
84255
84255
|
const docContext = options.context ??
|
|
84256
|
-
[\\"https://
|
|
84256
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
84257
84257
|
const compacted = await jsonld.compact(
|
|
84258
84258
|
values,
|
|
84259
84259
|
docContext,
|
|
@@ -84599,7 +84599,7 @@ instruments?: (Object | URL)[];}
|
|
|
84599
84599
|
);
|
|
84600
84600
|
}
|
|
84601
84601
|
const docContext = options.context ??
|
|
84602
|
-
[\\"https://
|
|
84602
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",\\"https://www.w3.org/ns/did/v1\\",\\"https://w3id.org/security/multikey/v1\\",{\\"litepub\\":\\"http://litepub.social/ns#\\",\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"EmojiReact\\":\\"litepub:EmojiReact\\",\\"Emoji\\":\\"toot:Emoji\\"}];
|
|
84603
84603
|
const compacted = await jsonld.compact(
|
|
84604
84604
|
values,
|
|
84605
84605
|
docContext,
|
|
@@ -84943,7 +84943,7 @@ instruments?: (Object | URL)[];}
|
|
|
84943
84943
|
);
|
|
84944
84944
|
}
|
|
84945
84945
|
const docContext = options.context ??
|
|
84946
|
-
[\\"https://
|
|
84946
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\",\\"https://www.w3.org/ns/did/v1\\",\\"https://w3id.org/security/multikey/v1\\",{\\"alsoKnownAs\\":{\\"@id\\":\\"as:alsoKnownAs\\",\\"@type\\":\\"@id\\"},\\"manuallyApprovesFollowers\\":\\"as:manuallyApprovesFollowers\\",\\"sensitive\\":\\"as:sensitive\\",\\"movedTo\\":{\\"@id\\":\\"as:movedTo\\",\\"@type\\":\\"@id\\"},\\"quoteUrl\\":\\"as:quoteUrl\\",\\"toot\\":\\"http://joinmastodon.org/ns#\\",\\"featured\\":{\\"@id\\":\\"toot:featured\\",\\"@type\\":\\"@id\\"},\\"featuredTags\\":{\\"@id\\":\\"toot:featuredTags\\",\\"@type\\":\\"@id\\"},\\"discoverable\\":\\"toot:discoverable\\",\\"suspended\\":\\"toot:suspended\\",\\"memorial\\":\\"toot:memorial\\",\\"indexable\\":\\"toot:indexable\\",\\"votersCount\\":{\\"@id\\":\\"toot:votersCount\\",\\"@type\\":\\"http://www.w3.org/2001/XMLSchema#nonNegativeInteger\\"},\\"Emoji\\":\\"toot:Emoji\\",\\"Hashtag\\":\\"as:Hashtag\\",\\"schema\\":\\"http://schema.org#\\",\\"PropertyValue\\":\\"schema:PropertyValue\\",\\"value\\":\\"schema:value\\",\\"ChatMessage\\":\\"http://litepub.social/ns#ChatMessage\\",\\"fedibird\\":\\"http://fedibird.com/ns#\\",\\"quoteUri\\":\\"fedibird:quoteUri\\",\\"misskey\\":\\"https://misskey-hub.net/ns#\\",\\"_misskey_quote\\":\\"misskey:_misskey_quote\\",\\"_misskey_followedMessage\\":\\"misskey:_misskey_followedMessage\\",\\"isCat\\":\\"misskey:isCat\\",\\"emojiReactions\\":{\\"@id\\":\\"fedibird:emojiReactions\\",\\"@type\\":\\"@id\\"}}];
|
|
84947
84947
|
const compacted = await jsonld.compact(
|
|
84948
84948
|
values,
|
|
84949
84949
|
docContext,
|
|
@@ -85627,7 +85627,7 @@ instruments?: (Object | URL)[];}
|
|
|
85627
85627
|
);
|
|
85628
85628
|
}
|
|
85629
85629
|
const docContext = options.context ??
|
|
85630
|
-
[\\"https://
|
|
85630
|
+
[\\"https://www.w3.org/ns/activitystreams\\",\\"https://w3id.org/security/v1\\",\\"https://w3id.org/security/data-integrity/v1\\"];
|
|
85631
85631
|
const compacted = await jsonld.compact(
|
|
85632
85632
|
values,
|
|
85633
85633
|
docContext,
|
|
@@ -15403,7 +15403,7 @@ instruments?: (Object | URL)[];}
|
|
|
15403
15403
|
);
|
|
15404
15404
|
}
|
|
15405
15405
|
const docContext = options.context ??
|
|
15406
|
-
["https://
|
|
15406
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
15407
15407
|
const compacted = await jsonld.compact(
|
|
15408
15408
|
values,
|
|
15409
15409
|
docContext,
|
|
@@ -16275,7 +16275,7 @@ instruments?: (Object | URL)[];}
|
|
|
16275
16275
|
);
|
|
16276
16276
|
}
|
|
16277
16277
|
const docContext = options.context ??
|
|
16278
|
-
["https://
|
|
16278
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1",{"litepub":"http://litepub.social/ns#","toot":"http://joinmastodon.org/ns#","EmojiReact":"litepub:EmojiReact","Emoji":"toot:Emoji"}];
|
|
16279
16279
|
const compacted = await jsonld.compact(
|
|
16280
16280
|
values,
|
|
16281
16281
|
docContext,
|
|
@@ -21036,7 +21036,7 @@ instruments?: (Object | URL)[];}
|
|
|
21036
21036
|
);
|
|
21037
21037
|
}
|
|
21038
21038
|
const docContext = options.context ??
|
|
21039
|
-
["https://
|
|
21039
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
21040
21040
|
const compacted = await jsonld.compact(
|
|
21041
21041
|
values,
|
|
21042
21042
|
docContext,
|
|
@@ -21383,7 +21383,7 @@ instruments?: (Object | URL)[];}
|
|
|
21383
21383
|
);
|
|
21384
21384
|
}
|
|
21385
21385
|
const docContext = options.context ??
|
|
21386
|
-
["https://
|
|
21386
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
21387
21387
|
const compacted = await jsonld.compact(
|
|
21388
21388
|
values,
|
|
21389
21389
|
docContext,
|
|
@@ -21725,7 +21725,7 @@ instruments?: (Object | URL)[];}
|
|
|
21725
21725
|
);
|
|
21726
21726
|
}
|
|
21727
21727
|
const docContext = options.context ??
|
|
21728
|
-
["https://
|
|
21728
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1",{"toot":"http://joinmastodon.org/ns#","misskey":"https://misskey-hub.net/ns#","fedibird":"http://fedibird.com/ns#","sensitive":"as:sensitive","votersCount":{"@id":"toot:votersCount","@type":"http://www.w3.org/2001/XMLSchema#nonNegativeInteger"},"Emoji":"toot:Emoji","Hashtag":"as:Hashtag","quoteUrl":"as:quoteUrl","_misskey_quote":"misskey:_misskey_quote","quoteUri":"fedibird:quoteUri","emojiReactions":{"@id":"fedibird:emojiReactions","@type":"@id"}}];
|
|
21729
21729
|
const compacted = await jsonld.compact(
|
|
21730
21730
|
values,
|
|
21731
21731
|
docContext,
|
|
@@ -29011,7 +29011,7 @@ instruments?: (Object | URL)[];}
|
|
|
29011
29011
|
);
|
|
29012
29012
|
}
|
|
29013
29013
|
const docContext = options.context ??
|
|
29014
|
-
["https://
|
|
29014
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
29015
29015
|
const compacted = await jsonld.compact(
|
|
29016
29016
|
values,
|
|
29017
29017
|
docContext,
|
|
@@ -29365,7 +29365,7 @@ instruments?: (Object | URL)[];}
|
|
|
29365
29365
|
);
|
|
29366
29366
|
}
|
|
29367
29367
|
const docContext = options.context ??
|
|
29368
|
-
["https://
|
|
29368
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
29369
29369
|
const compacted = await jsonld.compact(
|
|
29370
29370
|
values,
|
|
29371
29371
|
docContext,
|
|
@@ -31150,7 +31150,7 @@ instruments?: (Object | URL)[];}
|
|
|
31150
31150
|
);
|
|
31151
31151
|
}
|
|
31152
31152
|
const docContext = options.context ??
|
|
31153
|
-
["https://
|
|
31153
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
31154
31154
|
const compacted = await jsonld.compact(
|
|
31155
31155
|
values,
|
|
31156
31156
|
docContext,
|
|
@@ -31497,7 +31497,7 @@ instruments?: (Object | URL)[];}
|
|
|
31497
31497
|
);
|
|
31498
31498
|
}
|
|
31499
31499
|
const docContext = options.context ??
|
|
31500
|
-
["https://
|
|
31500
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
31501
31501
|
const compacted = await jsonld.compact(
|
|
31502
31502
|
values,
|
|
31503
31503
|
docContext,
|
|
@@ -37920,7 +37920,7 @@ instruments?: (Object | URL)[];}
|
|
|
37920
37920
|
);
|
|
37921
37921
|
}
|
|
37922
37922
|
const docContext = options.context ??
|
|
37923
|
-
["https://
|
|
37923
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1",{"toot":"http://joinmastodon.org/ns#","misskey":"https://misskey-hub.net/ns#","fedibird":"http://fedibird.com/ns#","sensitive":"as:sensitive","votersCount":{"@id":"toot:votersCount","@type":"http://www.w3.org/2001/XMLSchema#nonNegativeInteger"},"Emoji":"toot:Emoji","Hashtag":"as:Hashtag","ChatMessage":"http://litepub.social/ns#ChatMessage","quoteUrl":"as:quoteUrl","_misskey_quote":"misskey:_misskey_quote","quoteUri":"fedibird:quoteUri","emojiReactions":{"@id":"fedibird:emojiReactions","@type":"@id"}}];
|
|
37924
37924
|
const compacted = await jsonld.compact(
|
|
37925
37925
|
values,
|
|
37926
37926
|
docContext,
|
|
@@ -38261,7 +38261,7 @@ instruments?: (Object | URL)[];}
|
|
|
38261
38261
|
);
|
|
38262
38262
|
}
|
|
38263
38263
|
const docContext = options.context ??
|
|
38264
|
-
["https://
|
|
38264
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1",{"toot":"http://joinmastodon.org/ns#","misskey":"https://misskey-hub.net/ns#","fedibird":"http://fedibird.com/ns#","sensitive":"as:sensitive","votersCount":{"@id":"toot:votersCount","@type":"http://www.w3.org/2001/XMLSchema#nonNegativeInteger"},"Emoji":"toot:Emoji","Hashtag":"as:Hashtag","ChatMessage":"http://litepub.social/ns#ChatMessage","quoteUrl":"as:quoteUrl","_misskey_quote":"misskey:_misskey_quote","quoteUri":"fedibird:quoteUri"}];
|
|
38265
38265
|
const compacted = await jsonld.compact(
|
|
38266
38266
|
values,
|
|
38267
38267
|
docContext,
|
|
@@ -38600,7 +38600,7 @@ instruments?: (Object | URL)[];}
|
|
|
38600
38600
|
);
|
|
38601
38601
|
}
|
|
38602
38602
|
const docContext = options.context ??
|
|
38603
|
-
["https://
|
|
38603
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1",{"toot":"http://joinmastodon.org/ns#","Emoji":"toot:Emoji"}];
|
|
38604
38604
|
const compacted = await jsonld.compact(
|
|
38605
38605
|
values,
|
|
38606
38606
|
docContext,
|
|
@@ -40471,7 +40471,7 @@ instruments?: (Object | URL)[];}
|
|
|
40471
40471
|
);
|
|
40472
40472
|
}
|
|
40473
40473
|
const docContext = options.context ??
|
|
40474
|
-
["https://
|
|
40474
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
40475
40475
|
const compacted = await jsonld.compact(
|
|
40476
40476
|
values,
|
|
40477
40477
|
docContext,
|
|
@@ -40814,7 +40814,7 @@ instruments?: (Object | URL)[];}
|
|
|
40814
40814
|
);
|
|
40815
40815
|
}
|
|
40816
40816
|
const docContext = options.context ??
|
|
40817
|
-
["https://
|
|
40817
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1","https://www.w3.org/ns/did/v1","https://w3id.org/security/multikey/v1"];
|
|
40818
40818
|
const compacted = await jsonld.compact(
|
|
40819
40819
|
values,
|
|
40820
40820
|
docContext,
|
|
@@ -50524,7 +50524,7 @@ instruments?: (Object | URL)[];}
|
|
|
50524
50524
|
);
|
|
50525
50525
|
}
|
|
50526
50526
|
const docContext = options.context ??
|
|
50527
|
-
["https://
|
|
50527
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
50528
50528
|
const compacted = await jsonld.compact(
|
|
50529
50529
|
values,
|
|
50530
50530
|
docContext,
|
|
@@ -50869,7 +50869,7 @@ instruments?: (Object | URL)[];}
|
|
|
50869
50869
|
);
|
|
50870
50870
|
}
|
|
50871
50871
|
const docContext = options.context ??
|
|
50872
|
-
["https://
|
|
50872
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
50873
50873
|
const compacted = await jsonld.compact(
|
|
50874
50874
|
values,
|
|
50875
50875
|
docContext,
|
|
@@ -51210,7 +51210,7 @@ instruments?: (Object | URL)[];}
|
|
|
51210
51210
|
);
|
|
51211
51211
|
}
|
|
51212
51212
|
const docContext = options.context ??
|
|
51213
|
-
["https://
|
|
51213
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
51214
51214
|
const compacted = await jsonld.compact(
|
|
51215
51215
|
values,
|
|
51216
51216
|
docContext,
|
|
@@ -51551,7 +51551,7 @@ instruments?: (Object | URL)[];}
|
|
|
51551
51551
|
);
|
|
51552
51552
|
}
|
|
51553
51553
|
const docContext = options.context ??
|
|
51554
|
-
["https://
|
|
51554
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
51555
51555
|
const compacted = await jsonld.compact(
|
|
51556
51556
|
values,
|
|
51557
51557
|
docContext,
|
|
@@ -51892,7 +51892,7 @@ instruments?: (Object | URL)[];}
|
|
|
51892
51892
|
);
|
|
51893
51893
|
}
|
|
51894
51894
|
const docContext = options.context ??
|
|
51895
|
-
["https://
|
|
51895
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1",{"toot":"http://joinmastodon.org/ns#","Emoji":"toot:Emoji"}];
|
|
51896
51896
|
const compacted = await jsonld.compact(
|
|
51897
51897
|
values,
|
|
51898
51898
|
docContext,
|
|
@@ -52231,7 +52231,7 @@ instruments?: (Object | URL)[];}
|
|
|
52231
52231
|
);
|
|
52232
52232
|
}
|
|
52233
52233
|
const docContext = options.context ??
|
|
52234
|
-
["https://
|
|
52234
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
52235
52235
|
const compacted = await jsonld.compact(
|
|
52236
52236
|
values,
|
|
52237
52237
|
docContext,
|
|
@@ -52878,7 +52878,7 @@ instruments?: (Object | URL)[];}
|
|
|
52878
52878
|
);
|
|
52879
52879
|
}
|
|
52880
52880
|
const docContext = options.context ??
|
|
52881
|
-
["https://
|
|
52881
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
52882
52882
|
const compacted = await jsonld.compact(
|
|
52883
52883
|
values,
|
|
52884
52884
|
docContext,
|
|
@@ -72089,7 +72089,7 @@ instruments?: (Object | URL)[];exclusiveOptions?: (Object | URL)[];inclusiveOpti
|
|
|
72089
72089
|
);
|
|
72090
72090
|
}
|
|
72091
72091
|
const docContext = options.context ??
|
|
72092
|
-
["https://
|
|
72092
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1",{"toot":"http://joinmastodon.org/ns#","misskey":"https://misskey-hub.net/ns#","fedibird":"http://fedibird.com/ns#","sensitive":"as:sensitive","votersCount":{"@id":"toot:votersCount","@type":"http://www.w3.org/2001/XMLSchema#nonNegativeInteger"},"Emoji":"toot:Emoji","Hashtag":"as:Hashtag","quoteUrl":"as:quoteUrl","_misskey_quote":"misskey:_misskey_quote","quoteUri":"fedibird:quoteUri","emojiReactions":{"@id":"fedibird:emojiReactions","@type":"@id"}}];
|
|
72093
72093
|
const compacted = await jsonld.compact(
|
|
72094
72094
|
values,
|
|
72095
72095
|
docContext,
|
|
@@ -72714,7 +72714,7 @@ instruments?: (Object | URL)[];}
|
|
|
72714
72714
|
);
|
|
72715
72715
|
}
|
|
72716
72716
|
const docContext = options.context ??
|
|
72717
|
-
["https://
|
|
72717
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
72718
72718
|
const compacted = await jsonld.compact(
|
|
72719
72719
|
values,
|
|
72720
72720
|
docContext,
|
|
@@ -73055,7 +73055,7 @@ instruments?: (Object | URL)[];}
|
|
|
73055
73055
|
);
|
|
73056
73056
|
}
|
|
73057
73057
|
const docContext = options.context ??
|
|
73058
|
-
["https://
|
|
73058
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
73059
73059
|
const compacted = await jsonld.compact(
|
|
73060
73060
|
values,
|
|
73061
73061
|
docContext,
|
|
@@ -75133,7 +75133,7 @@ instruments?: (Object | URL)[];}
|
|
|
75133
75133
|
);
|
|
75134
75134
|
}
|
|
75135
75135
|
const docContext = options.context ??
|
|
75136
|
-
["https://
|
|
75136
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
75137
75137
|
const compacted = await jsonld.compact(
|
|
75138
75138
|
values,
|
|
75139
75139
|
docContext,
|
|
@@ -83104,7 +83104,7 @@ instruments?: (Object | URL)[];}
|
|
|
83104
83104
|
);
|
|
83105
83105
|
}
|
|
83106
83106
|
const docContext = options.context ??
|
|
83107
|
-
["https://
|
|
83107
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
83108
83108
|
const compacted = await jsonld.compact(
|
|
83109
83109
|
values,
|
|
83110
83110
|
docContext,
|
|
@@ -83445,7 +83445,7 @@ instruments?: (Object | URL)[];}
|
|
|
83445
83445
|
);
|
|
83446
83446
|
}
|
|
83447
83447
|
const docContext = options.context ??
|
|
83448
|
-
["https://
|
|
83448
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
83449
83449
|
const compacted = await jsonld.compact(
|
|
83450
83450
|
values,
|
|
83451
83451
|
docContext,
|
|
@@ -84255,7 +84255,7 @@ instruments?: (Object | URL)[];}
|
|
|
84255
84255
|
);
|
|
84256
84256
|
}
|
|
84257
84257
|
const docContext = options.context ??
|
|
84258
|
-
["https://
|
|
84258
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
84259
84259
|
const compacted = await jsonld.compact(
|
|
84260
84260
|
values,
|
|
84261
84261
|
docContext,
|
|
@@ -84601,7 +84601,7 @@ instruments?: (Object | URL)[];}
|
|
|
84601
84601
|
);
|
|
84602
84602
|
}
|
|
84603
84603
|
const docContext = options.context ??
|
|
84604
|
-
["https://
|
|
84604
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1","https://www.w3.org/ns/did/v1","https://w3id.org/security/multikey/v1",{"litepub":"http://litepub.social/ns#","toot":"http://joinmastodon.org/ns#","EmojiReact":"litepub:EmojiReact","Emoji":"toot:Emoji"}];
|
|
84605
84605
|
const compacted = await jsonld.compact(
|
|
84606
84606
|
values,
|
|
84607
84607
|
docContext,
|
|
@@ -84945,7 +84945,7 @@ instruments?: (Object | URL)[];}
|
|
|
84945
84945
|
);
|
|
84946
84946
|
}
|
|
84947
84947
|
const docContext = options.context ??
|
|
84948
|
-
["https://
|
|
84948
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1","https://www.w3.org/ns/did/v1","https://w3id.org/security/multikey/v1",{"alsoKnownAs":{"@id":"as:alsoKnownAs","@type":"@id"},"manuallyApprovesFollowers":"as:manuallyApprovesFollowers","sensitive":"as:sensitive","movedTo":{"@id":"as:movedTo","@type":"@id"},"quoteUrl":"as:quoteUrl","toot":"http://joinmastodon.org/ns#","featured":{"@id":"toot:featured","@type":"@id"},"featuredTags":{"@id":"toot:featuredTags","@type":"@id"},"discoverable":"toot:discoverable","suspended":"toot:suspended","memorial":"toot:memorial","indexable":"toot:indexable","votersCount":{"@id":"toot:votersCount","@type":"http://www.w3.org/2001/XMLSchema#nonNegativeInteger"},"Emoji":"toot:Emoji","Hashtag":"as:Hashtag","schema":"http://schema.org#","PropertyValue":"schema:PropertyValue","value":"schema:value","ChatMessage":"http://litepub.social/ns#ChatMessage","fedibird":"http://fedibird.com/ns#","quoteUri":"fedibird:quoteUri","misskey":"https://misskey-hub.net/ns#","_misskey_quote":"misskey:_misskey_quote","_misskey_followedMessage":"misskey:_misskey_followedMessage","isCat":"misskey:isCat","emojiReactions":{"@id":"fedibird:emojiReactions","@type":"@id"}}];
|
|
84949
84949
|
const compacted = await jsonld.compact(
|
|
84950
84950
|
values,
|
|
84951
84951
|
docContext,
|
|
@@ -85629,7 +85629,7 @@ instruments?: (Object | URL)[];}
|
|
|
85629
85629
|
);
|
|
85630
85630
|
}
|
|
85631
85631
|
const docContext = options.context ??
|
|
85632
|
-
["https://
|
|
85632
|
+
["https://www.w3.org/ns/activitystreams","https://w3id.org/security/v1","https://w3id.org/security/data-integrity/v1"];
|
|
85633
85633
|
const compacted = await jsonld.compact(
|
|
85634
85634
|
values,
|
|
85635
85635
|
docContext,
|
package/src/type.ts
CHANGED
|
@@ -10,6 +10,11 @@ const HEURISTICS_CONTEXTS: string[] = [
|
|
|
10
10
|
"https://w3id.org/security/multikey/v1",
|
|
11
11
|
];
|
|
12
12
|
|
|
13
|
+
// Activities are serialized through the JSON-LD processor rather than the
|
|
14
|
+
// compact fast path, which would embed a separate @context in every nested
|
|
15
|
+
// object and change the wire format of every activity.
|
|
16
|
+
const ACTIVITY_TYPE_URI = "https://www.w3.org/ns/activitystreams#Activity";
|
|
17
|
+
|
|
13
18
|
interface ScalarType {
|
|
14
19
|
name: string;
|
|
15
20
|
typeGuard(variable: string): string;
|
|
@@ -468,6 +473,7 @@ export function isCompactableType(
|
|
|
468
473
|
typeUri: string,
|
|
469
474
|
types: Record<string, TypeSchema>,
|
|
470
475
|
): boolean {
|
|
476
|
+
if (typeUri === ACTIVITY_TYPE_URI) return false;
|
|
471
477
|
if (typeUri in scalarTypes) {
|
|
472
478
|
return scalarTypes[typeUri].compactEncoder != null;
|
|
473
479
|
} else if (typeUri in types) {
|