Loading CHANGES.md +3 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,9 @@ Version 1.3.3 To be released. - The `fetchDocumentLoader()` function now preloads the following JSON-LD context: <https://gotosocial.org/ns>. Version 1.3.2 ------------- Loading src/runtime/contexts.ts +33 −0 Original line number Diff line number Diff line Loading @@ -4163,6 +4163,39 @@ const preloadedContexts: Record<string, unknown> = { "yield": { "@id": "schema:yield" }, }, }, "https://gotosocial.org/ns": { "@context": { "gts": "https://gotosocial.org/ns#", "interactionPolicy": { "@id": "gts:interactionPolicy", "@type": "@id", }, "canLike": { "@id": "gts:canLike", "@type": "@id", }, "canReply": { "@id": "gts:canReply", "@type": "@id", }, "canAnnounce": { "@id": "gts:canAnnounce", "@type": "@id", }, "always": { "@id": "gts:always", "@type": "@id", }, "approvalRequired": { "@id": "gts:approvalRequired", "@type": "@id", }, "approvedBy": { "@id": "gts:approvedBy", "@type": "@id", }, }, }, }; export default preloadedContexts; Loading
CHANGES.md +3 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,9 @@ Version 1.3.3 To be released. - The `fetchDocumentLoader()` function now preloads the following JSON-LD context: <https://gotosocial.org/ns>. Version 1.3.2 ------------- Loading
src/runtime/contexts.ts +33 −0 Original line number Diff line number Diff line Loading @@ -4163,6 +4163,39 @@ const preloadedContexts: Record<string, unknown> = { "yield": { "@id": "schema:yield" }, }, }, "https://gotosocial.org/ns": { "@context": { "gts": "https://gotosocial.org/ns#", "interactionPolicy": { "@id": "gts:interactionPolicy", "@type": "@id", }, "canLike": { "@id": "gts:canLike", "@type": "@id", }, "canReply": { "@id": "gts:canReply", "@type": "@id", }, "canAnnounce": { "@id": "gts:canAnnounce", "@type": "@id", }, "always": { "@id": "gts:always", "@type": "@id", }, "approvalRequired": { "@id": "gts:approvalRequired", "@type": "@id", }, "approvedBy": { "@id": "gts:approvedBy", "@type": "@id", }, }, }, }; export default preloadedContexts;