@fedify/fedify 2.0.0-dev.1799 → 2.0.0-dev.1801
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/dist/{actor-DZI2Eq6g.js → actor-BYsunto-.js} +1 -1
- package/dist/{actor-BpUS1sl7.js → actor-DJDdZ9QY.js} +185 -185
- package/dist/{actor-CTwhkcnW.cjs → actor-Xxm87sNV.cjs} +185 -185
- package/dist/{builder-S2ysz7GA.js → builder-23cF1CCJ.js} +3 -3
- package/dist/compat/transformers.test.js +14 -14
- package/dist/{docloader-Bnd94aU-.js → docloader-688f1Rtc.js} +2 -2
- package/dist/{esm-BB3LjTmr.js → esm-DGvwcINi.js} +1 -1
- package/dist/federation/builder.test.js +4 -4
- package/dist/federation/collection.test.js +2 -2
- package/dist/federation/handler.test.js +15 -15
- package/dist/federation/idempotency.test.js +15 -15
- package/dist/federation/inbox.test.js +3 -3
- package/dist/federation/keycache.test.js +3 -3
- package/dist/federation/kv.test.js +2 -2
- package/dist/federation/middleware.test.js +16 -16
- package/dist/federation/mod.cjs +7 -7
- package/dist/federation/mod.js +7 -7
- package/dist/federation/mq.test.js +2 -2
- package/dist/federation/negotiation.test.js +2 -2
- package/dist/federation/retry.test.js +2 -2
- package/dist/federation/router.test.js +2 -2
- package/dist/federation/send.test.js +9 -9
- package/dist/{http-CnIS4WaO.js → http-BKsCWyXw.js} +2 -2
- package/dist/{http-VDN7GIgq.js → http-Dtvz_l02.js} +2 -2
- package/dist/{http-rrDo85mK.cjs → http-q7JEmnll.cjs} +2 -2
- package/dist/{inbox-ChZYH0_S.js → inbox-BsTwebfx.js} +1 -1
- package/dist/{key-DFZXpDVU.js → key-CDaiE8vG.js} +2 -2
- package/dist/{keycache-CRn2fJ8O.js → keycache-BAEdrnjb.js} +1 -1
- package/dist/{keys-CNnanOyx.js → keys-BQH24O24.js} +1 -1
- package/dist/{kv-cache-DJXRF9ps.js → kv-cache-B241yYUo.js} +1 -1
- package/dist/{kv-cache-GEfUw91f.cjs → kv-cache-D03Fy5HG.cjs} +1 -1
- package/dist/{ld-tQ1R72-f.js → ld-C8SpJBDb.js} +2 -2
- package/dist/{lookup-CmHKc2w4.js → lookup-BPqLyt44.js} +188 -190
- package/dist/{lookup-DDrfNO6P.cjs → lookup-Bntu02E5.cjs} +4 -6
- package/dist/{lookup-DDylqgix.js → lookup-Cu6UTmU_.js} +4 -6
- package/dist/middleware-BVgl-huh.js +15 -0
- package/dist/middleware-BmZumJ38.js +26 -0
- package/dist/{middleware-DUY0M3NM.js → middleware-CJBERXGQ.js} +7 -7
- package/dist/{middleware-QmbsVHb9.cjs → middleware-CdZ6rVyd.cjs} +7 -7
- package/dist/middleware-CnJCEqHa.cjs +15 -0
- package/dist/{middleware-j8P8mr9K.js → middleware-p-MJrwX8.js} +11 -11
- package/dist/mod.cjs +7 -7
- package/dist/mod.js +7 -7
- package/dist/nodeinfo/client.test.js +3 -3
- package/dist/nodeinfo/handler.test.js +14 -14
- package/dist/nodeinfo/types.test.js +2 -2
- package/dist/{owner-DboWqOzn.js → owner-DLTKaIst.js} +2 -2
- package/dist/{proof-CLU5-_T9.js → proof-BXw9s0bX.js} +3 -3
- package/dist/{proof-KpX2IIfN.cjs → proof-C_cJgsB7.cjs} +3 -3
- package/dist/{proof-DWNlmskq.js → proof-h6fP-tBA.js} +2 -2
- package/dist/{send-cWF9KreR.js → send-CTdEP29w.js} +2 -2
- package/dist/sig/http.test.js +7 -7
- package/dist/sig/key.test.js +5 -5
- package/dist/sig/ld.test.js +6 -6
- package/dist/sig/mod.cjs +4 -4
- package/dist/sig/mod.js +4 -4
- package/dist/sig/owner.test.js +6 -6
- package/dist/sig/proof.test.js +6 -6
- package/dist/src/vocab/accept.yaml +1 -1
- package/dist/src/vocab/activity.yaml +1 -1
- package/dist/src/vocab/add.yaml +1 -1
- package/dist/src/vocab/announce.yaml +1 -1
- package/dist/src/vocab/application.yaml +1 -1
- package/dist/src/vocab/arrive.yaml +1 -1
- package/dist/src/vocab/article.yaml +1 -1
- package/dist/src/vocab/audio.yaml +1 -1
- package/dist/src/vocab/block.yaml +1 -1
- package/dist/src/vocab/chatmessage.yaml +1 -1
- package/dist/src/vocab/collection.yaml +1 -1
- package/dist/src/vocab/collectionpage.yaml +1 -1
- package/dist/src/vocab/create.yaml +1 -1
- package/dist/src/vocab/dataintegrityproof.yaml +1 -1
- package/dist/src/vocab/delete.yaml +1 -1
- package/dist/src/vocab/didservice.yaml +1 -1
- package/dist/src/vocab/dislike.yaml +1 -1
- package/dist/src/vocab/document.yaml +1 -1
- package/dist/src/vocab/emoji.yaml +1 -1
- package/dist/src/vocab/emojireact.yaml +1 -1
- package/dist/src/vocab/endpoints.yaml +1 -1
- package/dist/src/vocab/event.yaml +1 -1
- package/dist/src/vocab/export.yaml +1 -1
- package/dist/src/vocab/flag.yaml +1 -1
- package/dist/src/vocab/follow.yaml +1 -1
- package/dist/src/vocab/group.yaml +1 -1
- package/dist/src/vocab/hashtag.yaml +1 -1
- package/dist/src/vocab/ignore.yaml +1 -1
- package/dist/src/vocab/image.yaml +1 -1
- package/dist/src/vocab/intransitiveactivity.yaml +1 -1
- package/dist/src/vocab/invite.yaml +1 -1
- package/dist/src/vocab/join.yaml +1 -1
- package/dist/src/vocab/key.yaml +1 -1
- package/dist/src/vocab/leave.yaml +1 -1
- package/dist/src/vocab/like.yaml +1 -1
- package/dist/src/vocab/link.yaml +1 -1
- package/dist/src/vocab/listen.yaml +1 -1
- package/dist/src/vocab/mention.yaml +1 -1
- package/dist/src/vocab/move.yaml +1 -1
- package/dist/src/vocab/multikey.yaml +1 -1
- package/dist/src/vocab/note.yaml +1 -1
- package/dist/src/vocab/object.yaml +1 -1
- package/dist/src/vocab/offer.yaml +1 -1
- package/dist/src/vocab/orderedcollection.yaml +1 -1
- package/dist/src/vocab/orderedcollectionpage.yaml +1 -1
- package/dist/src/vocab/organization.yaml +1 -1
- package/dist/src/vocab/page.yaml +1 -1
- package/dist/src/vocab/person.yaml +1 -1
- package/dist/src/vocab/place.yaml +1 -1
- package/dist/src/vocab/profile.yaml +1 -1
- package/dist/src/vocab/propertyvalue.yaml +1 -1
- package/dist/src/vocab/question.yaml +1 -1
- package/dist/src/vocab/read.yaml +1 -1
- package/dist/src/vocab/reject.yaml +1 -1
- package/dist/src/vocab/relationship.yaml +1 -1
- package/dist/src/vocab/remove.yaml +1 -1
- package/dist/src/vocab/service.yaml +1 -1
- package/dist/src/vocab/source.yaml +1 -1
- package/dist/src/vocab/tentativeaccept.yaml +1 -1
- package/dist/src/vocab/tentativereject.yaml +1 -1
- package/dist/src/vocab/tombstone.yaml +1 -1
- package/dist/src/vocab/travel.yaml +1 -1
- package/dist/src/vocab/undo.yaml +1 -1
- package/dist/src/vocab/update.yaml +1 -1
- package/dist/src/vocab/video.yaml +1 -1
- package/dist/src/vocab/view.yaml +1 -1
- package/dist/testing/docloader.test.js +2 -2
- package/dist/testing/mod.js +2 -2
- package/dist/{testing--mggiiCg.js → testing-BbflKVj1.js} +1 -1
- package/dist/utils/docloader.test.js +8 -8
- package/dist/utils/kv-cache.test.js +2 -2
- package/dist/utils/mod.cjs +4 -4
- package/dist/utils/mod.js +4 -4
- package/dist/vocab/actor.test.js +4 -4
- package/dist/vocab/lookup.test.js +3 -3
- package/dist/vocab/mod.cjs +3 -3
- package/dist/vocab/mod.js +3 -3
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.test.js +7601 -1990
- package/dist/{vocab-D0dGzR9p.cjs → vocab-Di3w-WdC.cjs} +2 -2
- package/dist/{vocab-c8VtERiU.js → vocab-xT6UNFDe.js} +2 -2
- package/dist/webfinger/handler.test.js +14 -14
- package/dist/webfinger/lookup.test.js +3 -3
- package/dist/webfinger/mod.cjs +1 -1
- package/dist/webfinger/mod.js +1 -1
- package/dist/x/cfworkers.test.js +2 -2
- package/package.json +5 -5
- package/dist/middleware-BWvYGjVw.cjs +0 -15
- package/dist/middleware-D1T7z2JI.js +0 -26
- package/dist/middleware-DyBSgA4h.js +0 -15
- package/dist/vocab/schema.yaml +0 -247
@@ -3,8 +3,8 @@
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
5
|
const require_chunk = require('./chunk-DqRYRqnO.cjs');
|
6
|
-
const require_lookup = require('./lookup-
|
7
|
-
const require_actor = require('./actor-
|
6
|
+
const require_lookup = require('./lookup-Bntu02E5.cjs');
|
7
|
+
const require_actor = require('./actor-Xxm87sNV.cjs');
|
8
8
|
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
9
9
|
const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
|
10
10
|
const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runtime"));
|
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { deno_default, lookupWebFinger } from "./lookup-
|
6
|
-
import { Object as Object$1, getTypeId } from "./actor-
|
5
|
+
import { deno_default, lookupWebFinger } from "./lookup-Cu6UTmU_.js";
|
6
|
+
import { Object as Object$1, getTypeId } from "./actor-DJDdZ9QY.js";
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
8
8
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
9
9
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
@@ -3,30 +3,30 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Image, Link, Person } from "../lookup-
|
6
|
+
import { Image, Link, Person } from "../lookup-BPqLyt44.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
10
|
import { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
11
|
-
import { createFederation, handleWebFinger } from "../middleware-
|
11
|
+
import { createFederation, handleWebFinger } from "../middleware-p-MJrwX8.js";
|
12
12
|
import "../client-pY7-3icS.js";
|
13
13
|
import "../types-C2XVl6gj.js";
|
14
|
-
import "../actor-
|
15
|
-
import "../key-
|
16
|
-
import "../http-
|
17
|
-
import "../ld-
|
18
|
-
import "../owner-
|
19
|
-
import "../proof-
|
20
|
-
import "../docloader-
|
14
|
+
import "../actor-BYsunto-.js";
|
15
|
+
import "../key-CDaiE8vG.js";
|
16
|
+
import "../http-BKsCWyXw.js";
|
17
|
+
import "../ld-C8SpJBDb.js";
|
18
|
+
import "../owner-DLTKaIst.js";
|
19
|
+
import "../proof-h6fP-tBA.js";
|
20
|
+
import "../docloader-688f1Rtc.js";
|
21
21
|
import "../kv-cache-DN9pfMBe.js";
|
22
|
-
import "../inbox-
|
23
|
-
import "../builder-
|
22
|
+
import "../inbox-BsTwebfx.js";
|
23
|
+
import "../builder-23cF1CCJ.js";
|
24
24
|
import "../collection-BzWsN9pB.js";
|
25
|
-
import "../keycache-
|
25
|
+
import "../keycache-BAEdrnjb.js";
|
26
26
|
import "../negotiation-C4nFufNk.js";
|
27
27
|
import "../retry-CfF8Gn4d.js";
|
28
|
-
import "../send-
|
29
|
-
import { createRequestContext, test } from "../testing
|
28
|
+
import "../send-CTdEP29w.js";
|
29
|
+
import { createRequestContext, test } from "../testing-BbflKVj1.js";
|
30
30
|
import "../std__assert-DWivtrGR.js";
|
31
31
|
import "../assert_rejects-Ce45JcFg.js";
|
32
32
|
import "../assert_throws-BNXdRGWP.js";
|
@@ -3,16 +3,16 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { lookupWebFinger } from "../lookup-
|
6
|
+
import { lookupWebFinger } from "../lookup-BPqLyt44.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import { test } from "../testing
|
10
|
+
import { test } from "../testing-BbflKVj1.js";
|
11
11
|
import "../std__assert-DWivtrGR.js";
|
12
12
|
import "../assert_rejects-Ce45JcFg.js";
|
13
13
|
import "../assert_throws-BNXdRGWP.js";
|
14
14
|
import "../assert_not_equals-C80BG-_5.js";
|
15
|
-
import { esm_default } from "../esm-
|
15
|
+
import { esm_default } from "../esm-DGvwcINi.js";
|
16
16
|
import { withTimeout } from "es-toolkit";
|
17
17
|
|
18
18
|
//#region src/webfinger/lookup.test.ts
|
package/dist/webfinger/mod.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
|
-
const require_lookup = require('../lookup-
|
5
|
+
const require_lookup = require('../lookup-Bntu02E5.cjs');
|
6
6
|
require('../webfinger-vAtLmxOF.cjs');
|
7
7
|
|
8
8
|
exports.lookupWebFinger = require_lookup.lookupWebFinger;
|
package/dist/webfinger/mod.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { lookupWebFinger } from "../lookup-
|
5
|
+
import { lookupWebFinger } from "../lookup-Cu6UTmU_.js";
|
6
6
|
import "../webfinger-C72Y8lrh.js";
|
7
7
|
|
8
8
|
export { lookupWebFinger };
|
package/dist/x/cfworkers.test.js
CHANGED
@@ -3,11 +3,11 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../lookup-
|
6
|
+
import "../lookup-BPqLyt44.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import { test } from "../testing
|
10
|
+
import { test } from "../testing-BbflKVj1.js";
|
11
11
|
import "../std__assert-DWivtrGR.js";
|
12
12
|
import "../assert_rejects-Ce45JcFg.js";
|
13
13
|
import "../assert_throws-BNXdRGWP.js";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fedify/fedify",
|
3
|
-
"version": "2.0.0-dev.
|
3
|
+
"version": "2.0.0-dev.1801+bca8ab87",
|
4
4
|
"description": "An ActivityPub server framework",
|
5
5
|
"keywords": [
|
6
6
|
"ActivityPub",
|
@@ -150,7 +150,6 @@
|
|
150
150
|
}
|
151
151
|
},
|
152
152
|
"dependencies": {
|
153
|
-
"@cfworker/json-schema": "^4.1.1",
|
154
153
|
"@js-temporal/polyfill": "^0.5.1",
|
155
154
|
"@logtape/logtape": "^1.1.1",
|
156
155
|
"@multiformats/base-x": "^4.0.1",
|
@@ -167,7 +166,7 @@
|
|
167
166
|
"uri-template-router": "^0.0.17",
|
168
167
|
"url-template": "^3.1.1",
|
169
168
|
"urlpattern-polyfill": "^10.1.0",
|
170
|
-
"@fedify/vocab-runtime": "2.0.0-dev.
|
169
|
+
"@fedify/vocab-runtime": "2.0.0-dev.1801+bca8ab87"
|
171
170
|
},
|
172
171
|
"devDependencies": {
|
173
172
|
"@cloudflare/workers-types": "^4.20250529.0",
|
@@ -182,10 +181,11 @@
|
|
182
181
|
"tsdown": "^0.12.9",
|
183
182
|
"tsx": "^4.19.4",
|
184
183
|
"typescript": "^5.9.2",
|
185
|
-
"wrangler": "^4.17.0"
|
184
|
+
"wrangler": "^4.17.0",
|
185
|
+
"@fedify/vocab-tools": "^2.0.0-dev.1801+bca8ab87"
|
186
186
|
},
|
187
187
|
"scripts": {
|
188
|
-
"build": "deno task codegen && pnpm run --filter vocab-runtime build && tsdown",
|
188
|
+
"build": "deno task codegen && pnpm run --filter vocab-runtime build && pnpm run --filter vocab-tools build && tsdown",
|
189
189
|
"prepublish": "pnpm run build",
|
190
190
|
"test": "deno task codegen && tsdown && cd dist/ && node --test",
|
191
191
|
"test:bun": "deno task codegen && deno task pnpm:build-vocab && tsdown && cd dist/ && bun test --timeout 60000",
|
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
const { Temporal } = require("@js-temporal/polyfill");
|
3
|
-
const { URLPattern } = require("urlpattern-polyfill");
|
4
|
-
|
5
|
-
require('./transformers-CoBS-oFG.cjs');
|
6
|
-
require('./lookup-DDrfNO6P.cjs');
|
7
|
-
require('./actor-CTwhkcnW.cjs');
|
8
|
-
const require_middleware = require('./middleware-QmbsVHb9.cjs');
|
9
|
-
require('./http-rrDo85mK.cjs');
|
10
|
-
require('./proof-KpX2IIfN.cjs');
|
11
|
-
require('./types-CWgzGaqk.cjs');
|
12
|
-
require('./kv-cache-GEfUw91f.cjs');
|
13
|
-
require('./vocab-D0dGzR9p.cjs');
|
14
|
-
|
15
|
-
exports.FederationImpl = require_middleware.FederationImpl;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
globalThis.addEventListener = () => {};
|
5
|
-
|
6
|
-
import "./lookup-CmHKc2w4.js";
|
7
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-j8P8mr9K.js";
|
8
|
-
import "./client-pY7-3icS.js";
|
9
|
-
import "./types-C2XVl6gj.js";
|
10
|
-
import "./actor-DZI2Eq6g.js";
|
11
|
-
import "./key-DFZXpDVU.js";
|
12
|
-
import "./http-CnIS4WaO.js";
|
13
|
-
import "./ld-tQ1R72-f.js";
|
14
|
-
import "./owner-DboWqOzn.js";
|
15
|
-
import "./proof-DWNlmskq.js";
|
16
|
-
import "./docloader-Bnd94aU-.js";
|
17
|
-
import "./kv-cache-DN9pfMBe.js";
|
18
|
-
import "./inbox-ChZYH0_S.js";
|
19
|
-
import "./builder-S2ysz7GA.js";
|
20
|
-
import "./collection-BzWsN9pB.js";
|
21
|
-
import "./keycache-CRn2fJ8O.js";
|
22
|
-
import "./negotiation-C4nFufNk.js";
|
23
|
-
import "./retry-CfF8Gn4d.js";
|
24
|
-
import "./send-cWF9KreR.js";
|
25
|
-
|
26
|
-
export { FederationImpl };
|
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import "./transformers-BFT6d7J5.js";
|
6
|
-
import "./lookup-DDylqgix.js";
|
7
|
-
import "./actor-BpUS1sl7.js";
|
8
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-DUY0M3NM.js";
|
9
|
-
import "./http-VDN7GIgq.js";
|
10
|
-
import "./proof-CLU5-_T9.js";
|
11
|
-
import "./types-BtUjyi5y.js";
|
12
|
-
import "./kv-cache-DJXRF9ps.js";
|
13
|
-
import "./vocab-c8VtERiU.js";
|
14
|
-
|
15
|
-
export { FederationImpl };
|
package/dist/vocab/schema.yaml
DELETED
@@ -1,247 +0,0 @@
|
|
1
|
-
$schema: "https://json-schema.org/draft/2020-12/schema"
|
2
|
-
title: Fedify model schema
|
3
|
-
|
4
|
-
$defs:
|
5
|
-
property:
|
6
|
-
description: >-
|
7
|
-
The schema of a property. It is used to generate property accessors of
|
8
|
-
a class.
|
9
|
-
anyOf:
|
10
|
-
- allOf:
|
11
|
-
- $ref: "#/$defs/property-base"
|
12
|
-
- $ref: "#/$defs/property-typing"
|
13
|
-
- type: object
|
14
|
-
properties:
|
15
|
-
functional:
|
16
|
-
description: &functional-description >-
|
17
|
-
Marks the property that it can have only one value. Turning on
|
18
|
-
this flag will generate only singular property accessors,
|
19
|
-
so pluralName and singularAccessor should not be specified.
|
20
|
-
const: false
|
21
|
-
pluralName:
|
22
|
-
description: >-
|
23
|
-
The plural form of the property name. It is used as the name of
|
24
|
-
the generated property accessors.
|
25
|
-
type: string
|
26
|
-
singularAccessor:
|
27
|
-
description: >-
|
28
|
-
Whether to generate singular property accessors. Regardless of
|
29
|
-
this flag, plural property accessors are generated
|
30
|
-
(unless functional is turned on).
|
31
|
-
type: boolean
|
32
|
-
container:
|
33
|
-
description: >-
|
34
|
-
The container type of the property values. It can be unspecified.
|
35
|
-
enum:
|
36
|
-
- graph
|
37
|
-
- list
|
38
|
-
required:
|
39
|
-
- pluralName
|
40
|
-
- allOf:
|
41
|
-
- $ref: "#/$defs/property-base"
|
42
|
-
- $ref: "#/$defs/property-typing"
|
43
|
-
- type: object
|
44
|
-
properties:
|
45
|
-
functional:
|
46
|
-
description: *functional-description
|
47
|
-
const: true
|
48
|
-
redundantProperties::
|
49
|
-
description: >-
|
50
|
-
If it's present, those redundant properties are also filled with
|
51
|
-
the same value altogether when the object is serialized into
|
52
|
-
JSON-LD. When it's deserialized from JSON-LD, it tries to
|
53
|
-
parse the values of the specified properties in order.
|
54
|
-
type: array
|
55
|
-
items:
|
56
|
-
type: object
|
57
|
-
properties:
|
58
|
-
uri:
|
59
|
-
description: The qualified URI of the property.
|
60
|
-
type: string
|
61
|
-
format: uri
|
62
|
-
compactName:
|
63
|
-
description: >-
|
64
|
-
The property name used in the compacted JSON-LD document.
|
65
|
-
It is used as the key of the property.
|
66
|
-
type: string
|
67
|
-
required:
|
68
|
-
- uri
|
69
|
-
required:
|
70
|
-
- functional
|
71
|
-
|
72
|
-
property-base:
|
73
|
-
type: object
|
74
|
-
properties:
|
75
|
-
singularName:
|
76
|
-
description: >-
|
77
|
-
The singular form of the property name. It is used as the name of the
|
78
|
-
generated property accessors.
|
79
|
-
type: string
|
80
|
-
uri:
|
81
|
-
description: The qualified URI of the property.
|
82
|
-
type: string
|
83
|
-
format: uri
|
84
|
-
compactName:
|
85
|
-
description: >-
|
86
|
-
The property name used in the compacted JSON-LD document. It is used
|
87
|
-
as the key of the property.
|
88
|
-
type: string
|
89
|
-
subpropertyOf:
|
90
|
-
description: >-
|
91
|
-
The qualified URI of the superproperty of the property (if any).
|
92
|
-
It means that the property is a specialization of the referenced
|
93
|
-
property.
|
94
|
-
type: string
|
95
|
-
format: uri
|
96
|
-
description:
|
97
|
-
description: >-
|
98
|
-
The description of the property. It is used as the doc comment of
|
99
|
-
the generated property accessors.
|
100
|
-
type: string
|
101
|
-
embedContext:
|
102
|
-
description: >-
|
103
|
-
Whether the enclosed object should have its own context when
|
104
|
-
the document is compacted.
|
105
|
-
type: object
|
106
|
-
properties:
|
107
|
-
compactName:
|
108
|
-
description: >-
|
109
|
-
The compact name of the property that contains the context.
|
110
|
-
type: string
|
111
|
-
inherit:
|
112
|
-
description: >-
|
113
|
-
Whether the embedded context should be the same as the context of
|
114
|
-
the enclosing document.
|
115
|
-
const: true
|
116
|
-
required:
|
117
|
-
- singularName
|
118
|
-
- uri
|
119
|
-
- description
|
120
|
-
|
121
|
-
property-typing:
|
122
|
-
anyOf:
|
123
|
-
- type: object
|
124
|
-
properties:
|
125
|
-
untyped:
|
126
|
-
description: >-
|
127
|
-
Whether the property value has @type field. If true, the range must
|
128
|
-
have only one element.
|
129
|
-
const: false
|
130
|
-
range:
|
131
|
-
description: >-
|
132
|
-
The qualified URIs of all possible types of the property values.
|
133
|
-
type: array
|
134
|
-
items:
|
135
|
-
$ref: "#/$defs/typeUri"
|
136
|
-
minItems: 1
|
137
|
-
uniqueItems: true
|
138
|
-
required:
|
139
|
-
- range
|
140
|
-
- type: object
|
141
|
-
properties:
|
142
|
-
untyped:
|
143
|
-
description: >-
|
144
|
-
Whether the property value has @type field. If true, the range must
|
145
|
-
have only one element.
|
146
|
-
const: true
|
147
|
-
range:
|
148
|
-
description: >-
|
149
|
-
The qualified URIs of all possible types of the property values.
|
150
|
-
type: array
|
151
|
-
items:
|
152
|
-
$ref: "#/$defs/typeUri"
|
153
|
-
minItems: 1
|
154
|
-
maxItems: 1
|
155
|
-
required:
|
156
|
-
- untyped
|
157
|
-
- range
|
158
|
-
|
159
|
-
typeUri:
|
160
|
-
description: >-
|
161
|
-
The qualified URI of a type. It is used as the range of a property.
|
162
|
-
anyOf:
|
163
|
-
- type: string
|
164
|
-
format: uri
|
165
|
-
- enum:
|
166
|
-
- fedify:langTag
|
167
|
-
|
168
|
-
ldContext:
|
169
|
-
anyOf:
|
170
|
-
- type: string
|
171
|
-
format: uri
|
172
|
-
- $ref: "#/$defs/ldEmbeddedContext"
|
173
|
-
- type: array
|
174
|
-
items:
|
175
|
-
anyOf:
|
176
|
-
- type: string
|
177
|
-
format: uri
|
178
|
-
- $ref: "#/$defs/ldEmbeddedContext"
|
179
|
-
uniqueItems: true
|
180
|
-
|
181
|
-
ldEmbeddedContext:
|
182
|
-
type: object
|
183
|
-
patternProperties:
|
184
|
-
"^.+$":
|
185
|
-
$ref: "#/$defs/ldTermDefinition"
|
186
|
-
|
187
|
-
ldTermDefinition:
|
188
|
-
anyOf:
|
189
|
-
- type: string
|
190
|
-
format: uri
|
191
|
-
- type: object
|
192
|
-
patternProperties:
|
193
|
-
"^.+$":
|
194
|
-
anyOf:
|
195
|
-
- type: string
|
196
|
-
format: uri
|
197
|
-
- const: "@id"
|
198
|
-
|
199
|
-
description: The schema of a type. It is used to generate a class.
|
200
|
-
type: object
|
201
|
-
properties:
|
202
|
-
name:
|
203
|
-
description: The type name. It is used as the name of the generated class.
|
204
|
-
type: string
|
205
|
-
uri:
|
206
|
-
description: The qualified URI of the type.
|
207
|
-
type: string
|
208
|
-
format: uri
|
209
|
-
compactName:
|
210
|
-
description: >-
|
211
|
-
The type name used in the compacted JSON-LD document. It is used as the
|
212
|
-
value of the `type` field.
|
213
|
-
type: string
|
214
|
-
extends:
|
215
|
-
description: The qualified URIs of the base type of the type (if any).
|
216
|
-
type: string
|
217
|
-
format: uri
|
218
|
-
entity:
|
219
|
-
description: >-
|
220
|
-
Marks the type an entity type rather than a value type. Turning on this
|
221
|
-
flag will make property accessors for the type asynchronous, so that they
|
222
|
-
can load the values of the properties from the remote server.
|
223
|
-
|
224
|
-
The extended subtypes must have the consistent value of this flag.
|
225
|
-
type: boolean
|
226
|
-
description:
|
227
|
-
description: >-
|
228
|
-
The description of the type. It is used as the doc comment of
|
229
|
-
the generated class.
|
230
|
-
type: string
|
231
|
-
properties:
|
232
|
-
description: The possible properties of the type.
|
233
|
-
type: array
|
234
|
-
items:
|
235
|
-
$ref: "#/$defs/property"
|
236
|
-
uniqueItems: true
|
237
|
-
defaultContext:
|
238
|
-
description: >-
|
239
|
-
The default JSON-LD context of the type. It is used as the default
|
240
|
-
context of the generated toJsonLd() method.
|
241
|
-
$ref: "#/$defs/ldContext"
|
242
|
-
required:
|
243
|
-
- name
|
244
|
-
- uri
|
245
|
-
- entity
|
246
|
-
- description
|
247
|
-
- properties
|