Loading CHANGES.md +2 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,8 @@ Version 0.9.0 To be released. - Added `Tombstone` class to Activity Vocabulary API. - Added `Hashtag` class to Activity Vocabulary API. [[#48]] - Added `Emoji` class to Activity Vocabulary API. [[#48]] Loading codegen/__snapshots__/class.test.ts.snap +266 −9 File changed.Preview size limit exceeded, changes collapsed. Show changes vocab/__snapshots__/vocab.test.ts.snap +100 −0 Original line number Diff line number Diff line Loading @@ -4193,6 +4193,106 @@ snapshot[`Deno.inspect(Service) [auto] 3`] = ` }' `; snapshot[`Deno.inspect(Tombstone) [auto] 1`] = ` 'Tombstone { 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, deleted: 2024-03-03T08:30:06.796196096Z }' `; snapshot[`Deno.inspect(Tombstone) [auto] 2`] = ` 'Tombstone { 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, deleted: 2024-03-03T08:30:06.796196096Z }' `; snapshot[`Deno.inspect(Tombstone) [auto] 3`] = ` 'Tombstone { 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, deleted: 2024-03-03T08:30:06.796196096Z }' `; snapshot[`Deno.inspect(Undo) [auto] 1`] = ` 'Undo { id: URL "https://example.com/", Loading vocab/tombstone.yaml 0 → 100644 +20 −0 Original line number Diff line number Diff line $schema: ../codegen/schema.yaml name: Tombstone uri: "https://www.w3.org/ns/activitystreams#Tombstone" extends: "https://www.w3.org/ns/activitystreams#Object" entity: true description: | A `Tombstone` represents a content object that has been deleted. It can be used in {@link Collection}s to signify that there used to be an object at this position, but it has been deleted. defaultContext: "https://www.w3.org/ns/activitystreams" properties: - singularName: deleted functional: true uri: "https://www.w3.org/ns/activitystreams#deleted" description: | On a `Tombstone` object, the `deleted` property is a timestamp for when the object was deleted. range: - "http://www.w3.org/2001/XMLSchema#dateTime" Loading
CHANGES.md +2 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,8 @@ Version 0.9.0 To be released. - Added `Tombstone` class to Activity Vocabulary API. - Added `Hashtag` class to Activity Vocabulary API. [[#48]] - Added `Emoji` class to Activity Vocabulary API. [[#48]] Loading
codegen/__snapshots__/class.test.ts.snap +266 −9 File changed.Preview size limit exceeded, changes collapsed. Show changes
vocab/__snapshots__/vocab.test.ts.snap +100 −0 Original line number Diff line number Diff line Loading @@ -4193,6 +4193,106 @@ snapshot[`Deno.inspect(Service) [auto] 3`] = ` }' `; snapshot[`Deno.inspect(Tombstone) [auto] 1`] = ` 'Tombstone { 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, deleted: 2024-03-03T08:30:06.796196096Z }' `; snapshot[`Deno.inspect(Tombstone) [auto] 2`] = ` 'Tombstone { 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, deleted: 2024-03-03T08:30:06.796196096Z }' `; snapshot[`Deno.inspect(Tombstone) [auto] 3`] = ` 'Tombstone { 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, deleted: 2024-03-03T08:30:06.796196096Z }' `; snapshot[`Deno.inspect(Undo) [auto] 1`] = ` 'Undo { id: URL "https://example.com/", Loading
vocab/tombstone.yaml 0 → 100644 +20 −0 Original line number Diff line number Diff line $schema: ../codegen/schema.yaml name: Tombstone uri: "https://www.w3.org/ns/activitystreams#Tombstone" extends: "https://www.w3.org/ns/activitystreams#Object" entity: true description: | A `Tombstone` represents a content object that has been deleted. It can be used in {@link Collection}s to signify that there used to be an object at this position, but it has been deleted. defaultContext: "https://www.w3.org/ns/activitystreams" properties: - singularName: deleted functional: true uri: "https://www.w3.org/ns/activitystreams#deleted" description: | On a `Tombstone` object, the `deleted` property is a timestamp for when the object was deleted. range: - "http://www.w3.org/2001/XMLSchema#dateTime"