Loading .vscode/settings.json +1 −0 Original line number Diff line number Diff line Loading @@ -96,6 +96,7 @@ "keypair", "langstr", "Lemmy", "litepub", "logtape", "lume", "lumocs", Loading CHANGES.md +4 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,10 @@ Version 1.1.0 To be released. - Added `EmojiReact` class to Activity Vocabulary API. [[FEP-c0e0]] [FEP-c0e0]: https://w3id.org/fep/c0e0 Version 1.0.2 ------------- Loading FEDERATION.md +2 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ Supported FEPs - [FEP-521a][]: Representing actor's public keys - [FEP-5feb][]: Search indexing consent for actors - [FEP-c7d3][]: Ownership - [FEP-c0e0][]: Emoji reactions [FEP-67ff]: https://w3id.org/fep/67ff [FEP-8fcf]: https://w3id.org/fep/8fcf Loading @@ -37,6 +38,7 @@ Supported FEPs [FEP-521a]: https://w3id.org/fep/521a [FEP-5feb]: https://w3id.org/fep/5feb [FEP-c7d3]: https://w3id.org/fep/c7d3 [FEP-c0e0]: https://w3id.org/fep/c0e0 ActivityPub Loading src/codegen/__snapshots__/class.test.ts.snap +3202 −2925 File changed.Preview size limit exceeded, changes collapsed. Show changes src/vocab/__snapshots__/vocab.test.ts.snap +123 −0 Original line number Diff line number Diff line Loading @@ -213,6 +213,129 @@ snapshot[`Deno.inspect(ChatMessage) [auto] 3`] = ` }' `; snapshot[`Deno.inspect(EmojiReact) [auto] 1`] = ` 'EmojiReact { id: URL "https://example.com/", attachments: [ Object {}, Link {}, PropertyValue {} ], attributions: [ Application {}, Group {}, Organization {}, Person {}, Service {} ], audience: Object {}, contents: [ "hello", <en> "hello" ], contexts: [ Object {}, Link {} ], names: [ "hello", <en> "hello" ], endTime: 2024-03-03T08:30:06.796196096Z, generators: [ Object {}, Link {} ], icon: Image {}, image: Image {}, replyTargets: [ Object {}, Link {} ], locations: [ Object {}, Link {} ], previews: [ Link {}, Object {} ], published: 2024-03-03T08:30:06.796196096Z, replies: Collection {}, startTime: 2024-03-03T08:30:06.796196096Z, summaries: [ "hello", <en> "hello" ], tags: [ Object {}, Link {} ], updated: 2024-03-03T08:30:06.796196096Z, urls: [ URL "https://example.com/", Link {} ], to: Object {}, bto: Object {}, cc: Object {}, bcc: Object {}, mediaType: "hello", duration: PT1H, sensitive: true, source: Source {}, proof: DataIntegrityProof {}, actors: [ Application {}, Group {}, Organization {}, Person {}, Service {} ], object: Object {}, target: Object {}, result: Object {}, origin: Object {}, instrument: Object {} }' `; snapshot[`Deno.inspect(EmojiReact) [auto] 2`] = ` 'EmojiReact { id: URL "https://example.com/", attachments: [ URL "https://example.com/" ], attribution: URL "https://example.com/", audience: URL "https://example.com/", contents: [ "hello", <en> "hello" ], contexts: [ URL "https://example.com/" ], names: [ "hello", <en> "hello" ], endTime: 2024-03-03T08:30:06.796196096Z, generators: [ URL "https://example.com/" ], icon: URL "https://example.com/", image: URL "https://example.com/", replyTarget: URL "https://example.com/", location: URL "https://example.com/", preview: URL "https://example.com/", published: 2024-03-03T08:30:06.796196096Z, replies: URL "https://example.com/", startTime: 2024-03-03T08:30:06.796196096Z, summaries: [ "hello", <en> "hello" ], tags: [ URL "https://example.com/" ], updated: 2024-03-03T08:30:06.796196096Z, urls: [ URL "https://example.com/", Link {} ], to: URL "https://example.com/", bto: URL "https://example.com/", cc: URL "https://example.com/", bcc: URL "https://example.com/", mediaType: "hello", duration: PT1H, sensitive: true, source: Source {}, proof: URL "https://example.com/", actor: URL "https://example.com/", object: URL "https://example.com/", target: URL "https://example.com/", result: URL "https://example.com/", origin: URL "https://example.com/", instrument: URL "https://example.com/" }' `; snapshot[`Deno.inspect(EmojiReact) [auto] 3`] = ` 'EmojiReact { id: URL "https://example.com/", attachments: [ Object {}, Object {} ], attributions: [ Application {}, Application {} ], audiences: [ Object {}, Object {} ], contents: [ "hello", "hello" ], contexts: [ Object {}, Object {} ], names: [ "hello", "hello" ], endTime: 2024-03-03T08:30:06.796196096Z, generators: [ Object {}, Object {} ], icons: [ Image {}, Image {} ], images: [ Image {}, Image {} ], replyTargets: [ Object {}, Object {} ], locations: [ Object {}, Object {} ], previews: [ Link {}, Link {} ], published: 2024-03-03T08:30:06.796196096Z, replies: Collection {}, startTime: 2024-03-03T08:30:06.796196096Z, summaries: [ "hello", "hello" ], tags: [ Object {}, Object {} ], updated: 2024-03-03T08:30:06.796196096Z, urls: [ URL "https://example.com/", URL "https://example.com/" ], tos: [ Object {}, Object {} ], btos: [ Object {}, Object {} ], ccs: [ Object {}, Object {} ], bccs: [ Object {}, Object {} ], mediaType: "hello", duration: PT1H, sensitive: true, source: Source {}, proofs: [ DataIntegrityProof {}, DataIntegrityProof {} ], actors: [ Application {}, Application {} ], objects: [ Object {}, Object {} ], targets: [ Object {}, Object {} ], results: [ Object {}, Object {} ], origins: [ Object {}, Object {} ], instruments: [ Object {}, Object {} ] }' `; snapshot[`Deno.inspect(PropertyValue) [auto] 1`] = `'PropertyValue { id: URL "https://example.com/", name: "hello", value: "hello" }'`; snapshot[`Deno.inspect(PropertyValue) [auto] 2`] = `'PropertyValue { id: URL "https://example.com/", name: "hello", value: "hello" }'`; Loading Loading
.vscode/settings.json +1 −0 Original line number Diff line number Diff line Loading @@ -96,6 +96,7 @@ "keypair", "langstr", "Lemmy", "litepub", "logtape", "lume", "lumocs", Loading
CHANGES.md +4 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,10 @@ Version 1.1.0 To be released. - Added `EmojiReact` class to Activity Vocabulary API. [[FEP-c0e0]] [FEP-c0e0]: https://w3id.org/fep/c0e0 Version 1.0.2 ------------- Loading
FEDERATION.md +2 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ Supported FEPs - [FEP-521a][]: Representing actor's public keys - [FEP-5feb][]: Search indexing consent for actors - [FEP-c7d3][]: Ownership - [FEP-c0e0][]: Emoji reactions [FEP-67ff]: https://w3id.org/fep/67ff [FEP-8fcf]: https://w3id.org/fep/8fcf Loading @@ -37,6 +38,7 @@ Supported FEPs [FEP-521a]: https://w3id.org/fep/521a [FEP-5feb]: https://w3id.org/fep/5feb [FEP-c7d3]: https://w3id.org/fep/c7d3 [FEP-c0e0]: https://w3id.org/fep/c0e0 ActivityPub Loading
src/codegen/__snapshots__/class.test.ts.snap +3202 −2925 File changed.Preview size limit exceeded, changes collapsed. Show changes
src/vocab/__snapshots__/vocab.test.ts.snap +123 −0 Original line number Diff line number Diff line Loading @@ -213,6 +213,129 @@ snapshot[`Deno.inspect(ChatMessage) [auto] 3`] = ` }' `; snapshot[`Deno.inspect(EmojiReact) [auto] 1`] = ` 'EmojiReact { id: URL "https://example.com/", attachments: [ Object {}, Link {}, PropertyValue {} ], attributions: [ Application {}, Group {}, Organization {}, Person {}, Service {} ], audience: Object {}, contents: [ "hello", <en> "hello" ], contexts: [ Object {}, Link {} ], names: [ "hello", <en> "hello" ], endTime: 2024-03-03T08:30:06.796196096Z, generators: [ Object {}, Link {} ], icon: Image {}, image: Image {}, replyTargets: [ Object {}, Link {} ], locations: [ Object {}, Link {} ], previews: [ Link {}, Object {} ], published: 2024-03-03T08:30:06.796196096Z, replies: Collection {}, startTime: 2024-03-03T08:30:06.796196096Z, summaries: [ "hello", <en> "hello" ], tags: [ Object {}, Link {} ], updated: 2024-03-03T08:30:06.796196096Z, urls: [ URL "https://example.com/", Link {} ], to: Object {}, bto: Object {}, cc: Object {}, bcc: Object {}, mediaType: "hello", duration: PT1H, sensitive: true, source: Source {}, proof: DataIntegrityProof {}, actors: [ Application {}, Group {}, Organization {}, Person {}, Service {} ], object: Object {}, target: Object {}, result: Object {}, origin: Object {}, instrument: Object {} }' `; snapshot[`Deno.inspect(EmojiReact) [auto] 2`] = ` 'EmojiReact { id: URL "https://example.com/", attachments: [ URL "https://example.com/" ], attribution: URL "https://example.com/", audience: URL "https://example.com/", contents: [ "hello", <en> "hello" ], contexts: [ URL "https://example.com/" ], names: [ "hello", <en> "hello" ], endTime: 2024-03-03T08:30:06.796196096Z, generators: [ URL "https://example.com/" ], icon: URL "https://example.com/", image: URL "https://example.com/", replyTarget: URL "https://example.com/", location: URL "https://example.com/", preview: URL "https://example.com/", published: 2024-03-03T08:30:06.796196096Z, replies: URL "https://example.com/", startTime: 2024-03-03T08:30:06.796196096Z, summaries: [ "hello", <en> "hello" ], tags: [ URL "https://example.com/" ], updated: 2024-03-03T08:30:06.796196096Z, urls: [ URL "https://example.com/", Link {} ], to: URL "https://example.com/", bto: URL "https://example.com/", cc: URL "https://example.com/", bcc: URL "https://example.com/", mediaType: "hello", duration: PT1H, sensitive: true, source: Source {}, proof: URL "https://example.com/", actor: URL "https://example.com/", object: URL "https://example.com/", target: URL "https://example.com/", result: URL "https://example.com/", origin: URL "https://example.com/", instrument: URL "https://example.com/" }' `; snapshot[`Deno.inspect(EmojiReact) [auto] 3`] = ` 'EmojiReact { id: URL "https://example.com/", attachments: [ Object {}, Object {} ], attributions: [ Application {}, Application {} ], audiences: [ Object {}, Object {} ], contents: [ "hello", "hello" ], contexts: [ Object {}, Object {} ], names: [ "hello", "hello" ], endTime: 2024-03-03T08:30:06.796196096Z, generators: [ Object {}, Object {} ], icons: [ Image {}, Image {} ], images: [ Image {}, Image {} ], replyTargets: [ Object {}, Object {} ], locations: [ Object {}, Object {} ], previews: [ Link {}, Link {} ], published: 2024-03-03T08:30:06.796196096Z, replies: Collection {}, startTime: 2024-03-03T08:30:06.796196096Z, summaries: [ "hello", "hello" ], tags: [ Object {}, Object {} ], updated: 2024-03-03T08:30:06.796196096Z, urls: [ URL "https://example.com/", URL "https://example.com/" ], tos: [ Object {}, Object {} ], btos: [ Object {}, Object {} ], ccs: [ Object {}, Object {} ], bccs: [ Object {}, Object {} ], mediaType: "hello", duration: PT1H, sensitive: true, source: Source {}, proofs: [ DataIntegrityProof {}, DataIntegrityProof {} ], actors: [ Application {}, Application {} ], objects: [ Object {}, Object {} ], targets: [ Object {}, Object {} ], results: [ Object {}, Object {} ], origins: [ Object {}, Object {} ], instruments: [ Object {}, Object {} ] }' `; snapshot[`Deno.inspect(PropertyValue) [auto] 1`] = `'PropertyValue { id: URL "https://example.com/", name: "hello", value: "hello" }'`; snapshot[`Deno.inspect(PropertyValue) [auto] 2`] = `'PropertyValue { id: URL "https://example.com/", name: "hello", value: "hello" }'`; Loading