@twin.org/standards-w3c-activity-streams 0.0.3-next.9 → 0.9.0

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.
Files changed (190) hide show
  1. package/README.md +1 -1
  2. package/dist/es/dataTypes/activityStreamsDataTypes.js +275 -16
  3. package/dist/es/dataTypes/activityStreamsDataTypes.js.map +1 -1
  4. package/dist/es/index.js +33 -0
  5. package/dist/es/index.js.map +1 -1
  6. package/dist/es/models/IActivityStreamsActivity.js.map +1 -1
  7. package/dist/es/models/IActivityStreamsActor.js +2 -0
  8. package/dist/es/models/IActivityStreamsActor.js.map +1 -0
  9. package/dist/es/models/IActivityStreamsApplication.js +2 -0
  10. package/dist/es/models/IActivityStreamsApplication.js.map +1 -0
  11. package/dist/es/models/IActivityStreamsArticle.js +2 -0
  12. package/dist/es/models/IActivityStreamsArticle.js.map +1 -0
  13. package/dist/es/models/IActivityStreamsAudio.js +2 -0
  14. package/dist/es/models/IActivityStreamsAudio.js.map +1 -0
  15. package/dist/es/models/IActivityStreamsCollection.js +2 -0
  16. package/dist/es/models/IActivityStreamsCollection.js.map +1 -0
  17. package/dist/es/models/IActivityStreamsCollectionPage.js +2 -0
  18. package/dist/es/models/IActivityStreamsCollectionPage.js.map +1 -0
  19. package/dist/es/models/IActivityStreamsDocument.js +2 -0
  20. package/dist/es/models/IActivityStreamsDocument.js.map +1 -0
  21. package/dist/es/models/IActivityStreamsEvent.js +2 -0
  22. package/dist/es/models/IActivityStreamsEvent.js.map +1 -0
  23. package/dist/es/models/IActivityStreamsGroup.js +2 -0
  24. package/dist/es/models/IActivityStreamsGroup.js.map +1 -0
  25. package/dist/es/models/IActivityStreamsImage.js +2 -0
  26. package/dist/es/models/IActivityStreamsImage.js.map +1 -0
  27. package/dist/es/models/IActivityStreamsIntransitiveActivity.js +2 -0
  28. package/dist/es/models/IActivityStreamsIntransitiveActivity.js.map +1 -0
  29. package/dist/es/models/IActivityStreamsLink.js +2 -0
  30. package/dist/es/models/IActivityStreamsLink.js.map +1 -0
  31. package/dist/es/models/IActivityStreamsMention.js +2 -0
  32. package/dist/es/models/IActivityStreamsMention.js.map +1 -0
  33. package/dist/es/models/IActivityStreamsNote.js +2 -0
  34. package/dist/es/models/IActivityStreamsNote.js.map +1 -0
  35. package/dist/es/models/IActivityStreamsObject.js +2 -0
  36. package/dist/es/models/IActivityStreamsObject.js.map +1 -0
  37. package/dist/es/models/IActivityStreamsOrderedCollection.js +2 -0
  38. package/dist/es/models/IActivityStreamsOrderedCollection.js.map +1 -0
  39. package/dist/es/models/IActivityStreamsOrderedCollectionPage.js +2 -0
  40. package/dist/es/models/IActivityStreamsOrderedCollectionPage.js.map +1 -0
  41. package/dist/es/models/IActivityStreamsOrganization.js +2 -0
  42. package/dist/es/models/IActivityStreamsOrganization.js.map +1 -0
  43. package/dist/es/models/IActivityStreamsPage.js +2 -0
  44. package/dist/es/models/IActivityStreamsPage.js.map +1 -0
  45. package/dist/es/models/IActivityStreamsPerson.js +2 -0
  46. package/dist/es/models/IActivityStreamsPerson.js.map +1 -0
  47. package/dist/es/models/IActivityStreamsPlace.js +2 -0
  48. package/dist/es/models/IActivityStreamsPlace.js.map +1 -0
  49. package/dist/es/models/IActivityStreamsProfile.js +2 -0
  50. package/dist/es/models/IActivityStreamsProfile.js.map +1 -0
  51. package/dist/es/models/IActivityStreamsQuestion.js +2 -0
  52. package/dist/es/models/IActivityStreamsQuestion.js.map +1 -0
  53. package/dist/es/models/IActivityStreamsQuestionAnyOfChoice.js +2 -0
  54. package/dist/es/models/IActivityStreamsQuestionAnyOfChoice.js.map +1 -0
  55. package/dist/es/models/IActivityStreamsQuestionBase.js +2 -0
  56. package/dist/es/models/IActivityStreamsQuestionBase.js.map +1 -0
  57. package/dist/es/models/IActivityStreamsQuestionNeitherChoice.js +4 -0
  58. package/dist/es/models/IActivityStreamsQuestionNeitherChoice.js.map +1 -0
  59. package/dist/es/models/IActivityStreamsQuestionOneOfChoice.js +2 -0
  60. package/dist/es/models/IActivityStreamsQuestionOneOfChoice.js.map +1 -0
  61. package/dist/es/models/IActivityStreamsRelationship.js +2 -0
  62. package/dist/es/models/IActivityStreamsRelationship.js.map +1 -0
  63. package/dist/es/models/IActivityStreamsService.js +2 -0
  64. package/dist/es/models/IActivityStreamsService.js.map +1 -0
  65. package/dist/es/models/IActivityStreamsTombstone.js +2 -0
  66. package/dist/es/models/IActivityStreamsTombstone.js.map +1 -0
  67. package/dist/es/models/IActivityStreamsVideo.js +2 -0
  68. package/dist/es/models/IActivityStreamsVideo.js.map +1 -0
  69. package/dist/es/models/activityStreamsContextType.js.map +1 -1
  70. package/dist/es/models/activityStreamsContexts.js +13 -7
  71. package/dist/es/models/activityStreamsContexts.js.map +1 -1
  72. package/dist/es/models/activityStreamsLinkTypes.js +21 -0
  73. package/dist/es/models/activityStreamsLinkTypes.js.map +1 -0
  74. package/dist/es/models/activityStreamsObjectTypes.js +141 -0
  75. package/dist/es/models/activityStreamsObjectTypes.js.map +1 -0
  76. package/dist/es/models/activityStreamsTypes.js +88 -30
  77. package/dist/es/models/activityStreamsTypes.js.map +1 -1
  78. package/dist/es/schemas/ActivityStreamsActivity.json +116 -127
  79. package/dist/es/schemas/ActivityStreamsActor.json +68 -0
  80. package/dist/es/schemas/ActivityStreamsApplication.json +41 -0
  81. package/dist/es/schemas/ActivityStreamsArticle.json +41 -0
  82. package/dist/es/schemas/ActivityStreamsAudio.json +41 -0
  83. package/dist/es/schemas/ActivityStreamsCollection.json +102 -0
  84. package/dist/es/schemas/ActivityStreamsCollectionPage.json +74 -0
  85. package/dist/es/schemas/ActivityStreamsContextType.json +30 -0
  86. package/dist/es/schemas/ActivityStreamsDocument.json +41 -0
  87. package/dist/es/schemas/ActivityStreamsEvent.json +41 -0
  88. package/dist/es/schemas/ActivityStreamsGroup.json +41 -0
  89. package/dist/es/schemas/ActivityStreamsImage.json +41 -0
  90. package/dist/es/schemas/ActivityStreamsIntransitiveActivity.json +167 -0
  91. package/dist/es/schemas/ActivityStreamsLink.json +112 -0
  92. package/dist/es/schemas/ActivityStreamsMention.json +41 -0
  93. package/dist/es/schemas/ActivityStreamsNote.json +41 -0
  94. package/dist/es/schemas/ActivityStreamsObject.json +507 -0
  95. package/dist/es/schemas/ActivityStreamsObjectTypes.json +112 -0
  96. package/dist/es/schemas/ActivityStreamsOrderedCollection.json +65 -0
  97. package/dist/es/schemas/ActivityStreamsOrderedCollectionPage.json +48 -0
  98. package/dist/es/schemas/ActivityStreamsOrganization.json +41 -0
  99. package/dist/es/schemas/ActivityStreamsPage.json +41 -0
  100. package/dist/es/schemas/ActivityStreamsPerson.json +41 -0
  101. package/dist/es/schemas/ActivityStreamsPlace.json +65 -0
  102. package/dist/es/schemas/ActivityStreamsProfile.json +52 -0
  103. package/dist/es/schemas/ActivityStreamsRelationship.json +67 -0
  104. package/dist/es/schemas/ActivityStreamsService.json +41 -0
  105. package/dist/es/schemas/ActivityStreamsTombstone.json +60 -0
  106. package/dist/es/schemas/ActivityStreamsTypes.json +119 -32
  107. package/dist/es/schemas/ActivityStreamsVideo.json +41 -0
  108. package/dist/types/dataTypes/activityStreamsDataTypes.d.ts +5 -1
  109. package/dist/types/index.d.ts +33 -0
  110. package/dist/types/models/IActivityStreamsActivity.d.ts +17 -13
  111. package/dist/types/models/IActivityStreamsActor.d.ts +16 -0
  112. package/dist/types/models/IActivityStreamsApplication.d.ts +15 -0
  113. package/dist/types/models/IActivityStreamsArticle.d.ts +15 -0
  114. package/dist/types/models/IActivityStreamsAudio.d.ts +15 -0
  115. package/dist/types/models/IActivityStreamsCollection.d.ts +42 -0
  116. package/dist/types/models/IActivityStreamsCollectionPage.d.ts +32 -0
  117. package/dist/types/models/IActivityStreamsDocument.d.ts +15 -0
  118. package/dist/types/models/IActivityStreamsEvent.d.ts +15 -0
  119. package/dist/types/models/IActivityStreamsGroup.d.ts +15 -0
  120. package/dist/types/models/IActivityStreamsImage.d.ts +15 -0
  121. package/dist/types/models/IActivityStreamsIntransitiveActivity.d.ts +42 -0
  122. package/dist/types/models/IActivityStreamsLink.d.ts +62 -0
  123. package/dist/types/models/IActivityStreamsMention.d.ts +16 -0
  124. package/dist/types/models/IActivityStreamsNote.d.ts +15 -0
  125. package/dist/types/models/IActivityStreamsObject.d.ts +187 -0
  126. package/dist/types/models/IActivityStreamsOrderedCollection.d.ts +21 -0
  127. package/dist/types/models/IActivityStreamsOrderedCollectionPage.d.ts +23 -0
  128. package/dist/types/models/IActivityStreamsOrganization.d.ts +15 -0
  129. package/dist/types/models/IActivityStreamsPage.d.ts +15 -0
  130. package/dist/types/models/IActivityStreamsPerson.d.ts +15 -0
  131. package/dist/types/models/IActivityStreamsPlace.d.ts +60 -0
  132. package/dist/types/models/IActivityStreamsProfile.d.ts +23 -0
  133. package/dist/types/models/IActivityStreamsQuestion.d.ts +13 -0
  134. package/dist/types/models/IActivityStreamsQuestionAnyOfChoice.d.ts +17 -0
  135. package/dist/types/models/IActivityStreamsQuestionBase.d.ts +22 -0
  136. package/dist/types/models/IActivityStreamsQuestionNeitherChoice.d.ts +13 -0
  137. package/dist/types/models/IActivityStreamsQuestionOneOfChoice.d.ts +17 -0
  138. package/dist/types/models/IActivityStreamsRelationship.d.ts +35 -0
  139. package/dist/types/models/IActivityStreamsService.d.ts +15 -0
  140. package/dist/types/models/IActivityStreamsTombstone.d.ts +27 -0
  141. package/dist/types/models/IActivityStreamsVideo.d.ts +15 -0
  142. package/dist/types/models/activityStreamsContextType.d.ts +2 -1
  143. package/dist/types/models/activityStreamsContexts.d.ts +12 -6
  144. package/dist/types/models/activityStreamsLinkTypes.d.ts +21 -0
  145. package/dist/types/models/activityStreamsObjectTypes.d.ts +141 -0
  146. package/dist/types/models/activityStreamsTypes.d.ts +87 -29
  147. package/docs/changelog.md +526 -40
  148. package/docs/examples.md +29 -1
  149. package/docs/reference/classes/ActivityStreamsDataTypes.md +14 -2
  150. package/docs/reference/index.md +35 -0
  151. package/docs/reference/interfaces/IActivityStreamsActivity.md +497 -26
  152. package/docs/reference/interfaces/IActivityStreamsActor.md +534 -0
  153. package/docs/reference/interfaces/IActivityStreamsApplication.md +525 -0
  154. package/docs/reference/interfaces/IActivityStreamsArticle.md +525 -0
  155. package/docs/reference/interfaces/IActivityStreamsAudio.md +525 -0
  156. package/docs/reference/interfaces/IActivityStreamsCollection.md +591 -0
  157. package/docs/reference/interfaces/IActivityStreamsCollectionPage.md +646 -0
  158. package/docs/reference/interfaces/IActivityStreamsDocument.md +532 -0
  159. package/docs/reference/interfaces/IActivityStreamsEvent.md +525 -0
  160. package/docs/reference/interfaces/IActivityStreamsGroup.md +525 -0
  161. package/docs/reference/interfaces/IActivityStreamsImage.md +525 -0
  162. package/docs/reference/interfaces/IActivityStreamsIntransitiveActivity.md +589 -0
  163. package/docs/reference/interfaces/IActivityStreamsLink.md +126 -0
  164. package/docs/reference/interfaces/IActivityStreamsMention.md +166 -0
  165. package/docs/reference/interfaces/IActivityStreamsNote.md +525 -0
  166. package/docs/reference/interfaces/IActivityStreamsObject.md +411 -0
  167. package/docs/reference/interfaces/IActivityStreamsOrderedCollection.md +621 -0
  168. package/docs/reference/interfaces/IActivityStreamsOrderedCollectionPage.md +683 -0
  169. package/docs/reference/interfaces/IActivityStreamsOrganization.md +525 -0
  170. package/docs/reference/interfaces/IActivityStreamsPage.md +525 -0
  171. package/docs/reference/interfaces/IActivityStreamsPerson.md +525 -0
  172. package/docs/reference/interfaces/IActivityStreamsPlace.md +612 -0
  173. package/docs/reference/interfaces/IActivityStreamsProfile.md +539 -0
  174. package/docs/reference/interfaces/IActivityStreamsQuestionAnyOfChoice.md +27 -0
  175. package/docs/reference/interfaces/IActivityStreamsQuestionBase.md +619 -0
  176. package/docs/reference/interfaces/IActivityStreamsQuestionNeitherChoice.md +19 -0
  177. package/docs/reference/interfaces/IActivityStreamsQuestionOneOfChoice.md +27 -0
  178. package/docs/reference/interfaces/IActivityStreamsRelationship.md +565 -0
  179. package/docs/reference/interfaces/IActivityStreamsService.md +525 -0
  180. package/docs/reference/interfaces/IActivityStreamsTombstone.md +550 -0
  181. package/docs/reference/interfaces/IActivityStreamsVideo.md +525 -0
  182. package/docs/reference/type-aliases/ActivityStreamsContextType.md +1 -1
  183. package/docs/reference/type-aliases/ActivityStreamsLinkTypes.md +5 -0
  184. package/docs/reference/type-aliases/ActivityStreamsObjectTypes.md +5 -0
  185. package/docs/reference/type-aliases/IActivityStreamsQuestion.md +13 -0
  186. package/docs/reference/variables/ActivityStreamsContexts.md +17 -9
  187. package/docs/reference/variables/ActivityStreamsLinkTypes.md +32 -0
  188. package/docs/reference/variables/ActivityStreamsObjectTypes.md +272 -0
  189. package/docs/reference/variables/ActivityStreamsTypes.md +116 -58
  190. package/package.json +7 -7
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IActivityStreamsOrderedCollectionPage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IActivityStreamsOrderedCollectionPage.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsOrderedCollectionPage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { ActivityStreamsObjectTypes } from \"./activityStreamsObjectTypes.js\";\nimport type { IActivityStreamsCollectionPage } from \"./IActivityStreamsCollectionPage.js\";\nimport type { IActivityStreamsOrderedCollection } from \"./IActivityStreamsOrderedCollection.js\";\n\n/**\n * A W3C Activity Streams OrderedCollectionPage.\n *\n * An `OrderedCollectionPage` is a page from an `OrderedCollection`. When\n * `orderedItems` are present, `startIndex` can be used as an offset for the first\n * item in the page.\n * @see https://www.w3.org/TR/activitystreams-core/#collections\n */\nexport interface IActivityStreamsOrderedCollectionPage\n\textends IActivityStreamsCollectionPage, IActivityStreamsOrderedCollection {\n\t/**\n\t * OrderedCollectionPage type.\n\t */\n\ttype: ObjectOrArray<typeof ActivityStreamsObjectTypes.OrderedCollectionPage | string>;\n\n\t/**\n\t * Relative index position of the first item in this page.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-startindex\n\t */\n\tstartIndex?: number;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IActivityStreamsOrganization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IActivityStreamsOrganization.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsOrganization.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { ActivityStreamsObjectTypes } from \"./activityStreamsObjectTypes.js\";\nimport type { IActivityStreamsActor } from \"./IActivityStreamsActor.js\";\n\n/**\n * A W3C Activity Streams Organization.\n *\n * An `Organization` represents an organization.\n * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-organization\n */\nexport interface IActivityStreamsOrganization extends IActivityStreamsActor {\n\t/**\n\t * Organization type.\n\t */\n\ttype: ObjectOrArray<typeof ActivityStreamsObjectTypes.Organization | string>;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IActivityStreamsPage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IActivityStreamsPage.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsPage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { ActivityStreamsObjectTypes } from \"./activityStreamsObjectTypes.js\";\nimport type { IActivityStreamsDocument } from \"./IActivityStreamsDocument.js\";\n\n/**\n * A W3C Activity Streams Page.\n *\n * A `Page` is a `Document` that represents a Web Page.\n * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-page\n */\nexport interface IActivityStreamsPage extends IActivityStreamsDocument {\n\t/**\n\t * Page type.\n\t */\n\ttype: ObjectOrArray<typeof ActivityStreamsObjectTypes.Page | string>;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IActivityStreamsPerson.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IActivityStreamsPerson.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsPerson.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { ActivityStreamsObjectTypes } from \"./activityStreamsObjectTypes.js\";\nimport type { IActivityStreamsActor } from \"./IActivityStreamsActor.js\";\n\n/**\n * A W3C Activity Streams Person.\n *\n * A `Person` represents an individual person.\n * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-person\n */\nexport interface IActivityStreamsPerson extends IActivityStreamsActor {\n\t/**\n\t * Person type.\n\t */\n\ttype: ObjectOrArray<typeof ActivityStreamsObjectTypes.Person | string>;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IActivityStreamsPlace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IActivityStreamsPlace.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsPlace.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { ActivityStreamsObjectTypes } from \"./activityStreamsObjectTypes.js\";\nimport type { IActivityStreamsObject } from \"./IActivityStreamsObject.js\";\n\n/**\n * A W3C Activity Streams Place.\n * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-place\n */\nexport interface IActivityStreamsPlace extends IActivityStreamsObject {\n\t/**\n\t * Place type.\n\t */\n\ttype: ObjectOrArray<typeof ActivityStreamsObjectTypes.Place | string>;\n\n\t/**\n\t * The latitude of the Place.\n\t *\n\t * The Activity Streams vocabulary defines this as an `xsd:float`.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-latitude\n\t */\n\tlatitude?: number;\n\n\t/**\n\t * The longitude of the Place.\n\t *\n\t * The Activity Streams vocabulary defines this as an `xsd:float`.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-longitude\n\t */\n\tlongitude?: number;\n\n\t/**\n\t * The altitude of the Place.\n\t *\n\t * Measurement units are specified using the `units` property. If `units` is not specified,\n\t * the default is assumed to be \"m\" (meters).\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-altitude\n\t */\n\taltitude?: number;\n\n\t/**\n\t * The accuracy of the Place.\n\t *\n\t * Indicates the accuracy of position coordinates on a Place objects.\n\t * Expressed in properties of percentage. e.g. \"94.0\" means \"94.0% accurate\".\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-accuracy\n\t */\n\taccuracy?: number;\n\n\t/**\n\t * The radius from the given `latitude` and `longitude`.\n\t *\n\t * Measurement units are specified using the `units` property. If `units` is not specified,\n\t * the default is assumed to be \"m\" (meters).\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-radius\n\t */\n\tradius?: number;\n\n\t/**\n\t * Measurement units for the `radius` and `altitude` properties.\n\t *\n\t * If not specified, the default is assumed to be \"m\" (meters). The Activity Streams\n\t * vocabulary allows values such as \"cm\", \"feet\", \"inches\", \"km\", \"m\", \"miles\", or any\n\t * other unit expressed as a URI.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-units\n\t */\n\tunits?: string;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IActivityStreamsProfile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IActivityStreamsProfile.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsProfile.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { ActivityStreamsObjectTypes } from \"./activityStreamsObjectTypes.js\";\nimport type { IActivityStreamsObject } from \"./IActivityStreamsObject.js\";\n\n/**\n * A W3C Activity Streams Profile.\n *\n * A `Profile` is a content object that describes another `Object`.\n * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-profile\n */\nexport interface IActivityStreamsProfile extends IActivityStreamsObject {\n\t/**\n\t * Profile type.\n\t */\n\ttype: ObjectOrArray<typeof ActivityStreamsObjectTypes.Profile | string>;\n\n\t/**\n\t * The object being described.\n\t *\n\t * This is the target entity that the `Profile` is about.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-describes\n\t */\n\tdescribes?: string | IJsonLdNodeObject;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IActivityStreamsQuestion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IActivityStreamsQuestion.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsQuestion.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IActivityStreamsQuestionAnyOfChoice } from \"./IActivityStreamsQuestionAnyOfChoice.js\";\nimport type { IActivityStreamsQuestionBase } from \"./IActivityStreamsQuestionBase.js\";\nimport type { IActivityStreamsQuestionNeitherChoice } from \"./IActivityStreamsQuestionNeitherChoice.js\";\nimport type { IActivityStreamsQuestionOneOfChoice } from \"./IActivityStreamsQuestionOneOfChoice.js\";\n\n/**\n * A W3C Activity Streams Question.\n *\n * A `Question` represents a question being asked. Use `oneOf` for exclusive\n * choices, `anyOf` for inclusive choices, and `closed` to indicate when the question\n * is closed.\n * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-question\n */\nexport type IActivityStreamsQuestion = IActivityStreamsQuestionBase &\n\t(\n\t\t| IActivityStreamsQuestionAnyOfChoice\n\t\t| IActivityStreamsQuestionOneOfChoice\n\t\t| IActivityStreamsQuestionNeitherChoice\n\t);\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IActivityStreamsQuestionAnyOfChoice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IActivityStreamsQuestionAnyOfChoice.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsQuestionAnyOfChoice.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\n\n/**\n * Represents a Question with an inclusive list of possible answers, but not an exclusive list.\n */\nexport interface IActivityStreamsQuestionAnyOfChoice {\n\t/**\n\t * Specifies an inclusive list of possible answers.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-anyof\n\t */\n\tanyOf: ObjectOrArray<IJsonLdNodeObject>;\n\n\t/**\n\t * Specifies an exclusive list of possible answers.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-oneof\n\t */\n\toneOf?: never;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IActivityStreamsQuestionBase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IActivityStreamsQuestionBase.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsQuestionBase.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { ActivityStreamsTypes } from \"./activityStreamsTypes.js\";\nimport type { IActivityStreamsIntransitiveActivity } from \"./IActivityStreamsIntransitiveActivity.js\";\n\n/**\n * A W3C Activity Streams Question base.\n *\n * A `Question` represents a question being asked. Use `oneOf` for exclusive\n * choices, `anyOf` for inclusive choices, and `closed` to indicate when the question\n * is closed.\n * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-question\n */\nexport interface IActivityStreamsQuestionBase extends IActivityStreamsIntransitiveActivity {\n\t/**\n\t * Question type.\n\t */\n\ttype: ObjectOrArray<typeof ActivityStreamsTypes.Question | string>;\n\n\t/**\n\t * Indicates that the Question has been closed.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-closed\n\t */\n\tclosed?: boolean | string;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IActivityStreamsQuestionNeitherChoice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IActivityStreamsQuestionNeitherChoice.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsQuestionNeitherChoice.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Represents a Question with neither anyOf nor oneOf.\n */\nexport interface IActivityStreamsQuestionNeitherChoice {\n\t/**\n\t * Specifies an inclusive list of possible answers.\n\t */\n\tanyOf?: never;\n\n\t/**\n\t * Specifies an exclusive list of possible answers.\n\t */\n\toneOf?: never;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IActivityStreamsQuestionOneOfChoice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IActivityStreamsQuestionOneOfChoice.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsQuestionOneOfChoice.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\n\n/**\n * Represents a Question with an exclusive list of possible answers, but not an inclusive list.\n */\nexport interface IActivityStreamsQuestionOneOfChoice {\n\t/**\n\t * Specifies an inclusive list of possible answers.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-anyof\n\t */\n\tanyOf?: never;\n\n\t/**\n\t * Specifies an exclusive list of possible answers.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-oneof\n\t */\n\toneOf: ObjectOrArray<IJsonLdNodeObject>;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IActivityStreamsRelationship.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IActivityStreamsRelationship.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsRelationship.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { ActivityStreamsObjectTypes } from \"./activityStreamsObjectTypes.js\";\nimport type { IActivityStreamsObject } from \"./IActivityStreamsObject.js\";\n\n/**\n * A W3C Activity Streams Relationship.\n *\n * A `Relationship` can be used to describe a relationship between two entities.\n * It is commonly used as a reified statement, using `subject` (subject), `relationship`\n * (predicate), and `object` (object).\n * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-relationship\n */\nexport interface IActivityStreamsRelationship extends IActivityStreamsObject {\n\t/**\n\t * Relationship type.\n\t */\n\ttype: ObjectOrArray<typeof ActivityStreamsObjectTypes.Relationship | string>;\n\n\t/**\n\t * Subject of the relationship.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-subject\n\t */\n\tsubject?: string | IJsonLdNodeObject;\n\n\t/**\n\t * Object of the relationship.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object-term\n\t */\n\tobject?: IJsonLdNodeObject;\n\n\t/**\n\t * The relationship predicate.\n\t *\n\t * For example, a URI identifying the relationship type.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-relationship\n\t */\n\trelationship?: string | IJsonLdNodeObject;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IActivityStreamsService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IActivityStreamsService.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsService.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { ActivityStreamsObjectTypes } from \"./activityStreamsObjectTypes.js\";\nimport type { IActivityStreamsActor } from \"./IActivityStreamsActor.js\";\n\n/**\n * A W3C Activity Streams Service.\n *\n * A `Service` represents a service of any kind.\n * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-service\n */\nexport interface IActivityStreamsService extends IActivityStreamsActor {\n\t/**\n\t * Service type.\n\t */\n\ttype: ObjectOrArray<typeof ActivityStreamsObjectTypes.Service | string>;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IActivityStreamsTombstone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IActivityStreamsTombstone.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsTombstone.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { ActivityStreamsObjectTypes } from \"./activityStreamsObjectTypes.js\";\nimport type { IActivityStreamsObject } from \"./IActivityStreamsObject.js\";\n\n/**\n * A W3C Activity Streams Tombstone.\n *\n * A `Tombstone` represents an object that has been deleted. Implementations can\n * include `formerType` and `deleted` to provide additional context.\n * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tombstone\n */\nexport interface IActivityStreamsTombstone extends IActivityStreamsObject {\n\t/**\n\t * Tombstone type.\n\t */\n\ttype: ObjectOrArray<typeof ActivityStreamsObjectTypes.Tombstone | string>;\n\n\t/**\n\t * The date and time at which the object was deleted.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-deleted\n\t * @json-schema format:date-time\n\t */\n\tdeleted?: string;\n\n\t/**\n\t * The former type of the deleted object.\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-formertype\n\t */\n\tformerType?: ObjectOrArray<string>;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IActivityStreamsVideo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IActivityStreamsVideo.js","sourceRoot":"","sources":["../../../src/models/IActivityStreamsVideo.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { ActivityStreamsObjectTypes } from \"./activityStreamsObjectTypes.js\";\nimport type { IActivityStreamsDocument } from \"./IActivityStreamsDocument.js\";\n\n/**\n * A W3C Activity Streams Video.\n *\n * A `Video` is a video document of any kind.\n * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-video\n */\nexport interface IActivityStreamsVideo extends IActivityStreamsDocument {\n\t/**\n\t * Video type.\n\t */\n\ttype: ObjectOrArray<typeof ActivityStreamsObjectTypes.Video | string>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"activityStreamsContextType.js","sourceRoot":"","sources":["../../../src/models/activityStreamsContextType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { ActivityStreamsContexts } from \"./activityStreamsContexts.js\";\n\n/**\n * The Activity Streams JSON-LD context type.\n */\nexport type ActivityStreamsContextType =\n\t| typeof ActivityStreamsContexts.ContextRoot\n\t| [typeof ActivityStreamsContexts.ContextRoot]\n\t| [...IJsonLdContextDefinitionElement[], typeof ActivityStreamsContexts.ContextRoot];\n"]}
1
+ {"version":3,"file":"activityStreamsContextType.js","sourceRoot":"","sources":["../../../src/models/activityStreamsContextType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { SingleOccurrenceArray } from \"@twin.org/core\";\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { ActivityStreamsContexts } from \"./activityStreamsContexts.js\";\n\n/**\n * The Activity Streams JSON-LD context type.\n */\nexport type ActivityStreamsContextType =\n\t| typeof ActivityStreamsContexts.Context\n\t| SingleOccurrenceArray<IJsonLdContextDefinitionElement, typeof ActivityStreamsContexts.Context>;\n"]}
@@ -1,4 +1,4 @@
1
- // Copyright 2024 IOTA Stiftung.
1
+ // Copyright 2026 IOTA Stiftung.
2
2
  // SPDX-License-Identifier: Apache-2.0.
3
3
  /**
4
4
  * The LD Contexts concerning Activity Streams.
@@ -6,16 +6,22 @@
6
6
  // eslint-disable-next-line @typescript-eslint/naming-convention
7
7
  export const ActivityStreamsContexts = {
8
8
  /**
9
- * The Activity Streams LD Context.
9
+ * The canonical RDF namespace URI.
10
10
  */
11
- ContextRoot: "https://www.w3.org/ns/activitystreams",
11
+ Namespace: "https://www.w3.org/ns/activitystreams#",
12
12
  /**
13
- * The Activity Streams namespace.
13
+ * The value to use in @context.
14
+ * Note: Context differs from Namespace (no trailing #) as per Activity Streams 2.0 specification.
15
+ * The Activity Streams JSON-LD context URL format does not include a trailing hash.
14
16
  */
15
- ActivityStreamsNamespace: "https://www.w3.org/ns/activitystreams#",
17
+ Context: "https://www.w3.org/ns/activitystreams",
16
18
  /**
17
- * The TWIN context for Activity Streams.
19
+ * The JSON-LD Context URL.
18
20
  */
19
- TwinContext: "https://schema.twindev.org/w3c-activity-streams"
21
+ JsonLdContext: "https://www.w3.org/ns/activitystreams.jsonld",
22
+ /**
23
+ * The namespace location of the hosted version of the JSON Schema.
24
+ */
25
+ JsonSchemaNamespace: "https://schema.twindev.org/w3c-activity-streams/"
20
26
  };
21
27
  //# sourceMappingURL=activityStreamsContexts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"activityStreamsContexts.js","sourceRoot":"","sources":["../../../src/models/activityStreamsContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACtC;;OAEG;IACH,WAAW,EAAE,uCAAuC;IAEpD;;OAEG;IACH,wBAAwB,EAAE,wCAAwC;IAElE;;OAEG;IACH,WAAW,EAAE,iDAAiD;CACrD,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The LD Contexts concerning Activity Streams.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ActivityStreamsContexts = {\n\t/**\n\t * The Activity Streams LD Context.\n\t */\n\tContextRoot: \"https://www.w3.org/ns/activitystreams\",\n\n\t/**\n\t * The Activity Streams namespace.\n\t */\n\tActivityStreamsNamespace: \"https://www.w3.org/ns/activitystreams#\",\n\n\t/**\n\t * The TWIN context for Activity Streams.\n\t */\n\tTwinContext: \"https://schema.twindev.org/w3c-activity-streams\"\n} as const;\n\n/**\n * The LD Contexts concerning Activity Streams.\n */\nexport type ActivityStreamsContexts =\n\t(typeof ActivityStreamsContexts)[keyof typeof ActivityStreamsContexts];\n"]}
1
+ {"version":3,"file":"activityStreamsContexts.js","sourceRoot":"","sources":["../../../src/models/activityStreamsContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACtC;;OAEG;IACH,SAAS,EAAE,wCAAwC;IAEnD;;;;OAIG;IACH,OAAO,EAAE,uCAAuC;IAEhD;;OAEG;IACH,aAAa,EAAE,8CAA8C;IAE7D;;OAEG;IACH,mBAAmB,EAAE,kDAAkD;CAC9D,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The LD Contexts concerning Activity Streams.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ActivityStreamsContexts = {\n\t/**\n\t * The canonical RDF namespace URI.\n\t */\n\tNamespace: \"https://www.w3.org/ns/activitystreams#\",\n\n\t/**\n\t * The value to use in @context.\n\t * Note: Context differs from Namespace (no trailing #) as per Activity Streams 2.0 specification.\n\t * The Activity Streams JSON-LD context URL format does not include a trailing hash.\n\t */\n\tContext: \"https://www.w3.org/ns/activitystreams\",\n\n\t/**\n\t * The JSON-LD Context URL.\n\t */\n\tJsonLdContext: \"https://www.w3.org/ns/activitystreams.jsonld\",\n\n\t/**\n\t * The namespace location of the hosted version of the JSON Schema.\n\t */\n\tJsonSchemaNamespace: \"https://schema.twindev.org/w3c-activity-streams/\"\n} as const;\n\n/**\n * The LD Contexts concerning Activity Streams.\n */\nexport type ActivityStreamsContexts =\n\t(typeof ActivityStreamsContexts)[keyof typeof ActivityStreamsContexts];\n"]}
@@ -0,0 +1,21 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * The link types concerning Activity Streams.
5
+ * @see https://www.w3.org/TR/activitystreams-core/#link
6
+ * @see https://www.w3.org/TR/activitystreams-vocabulary/#link
7
+ */
8
+ // eslint-disable-next-line @typescript-eslint/naming-convention
9
+ export const ActivityStreamsLinkTypes = {
10
+ /**
11
+ * Link
12
+ * @see https://www.w3.org/TR/activitystreams-core/#link
13
+ */
14
+ Link: "Link",
15
+ /**
16
+ * Mention
17
+ * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-mention
18
+ */
19
+ Mention: "Mention"
20
+ };
21
+ //# sourceMappingURL=activityStreamsLinkTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activityStreamsLinkTypes.js","sourceRoot":"","sources":["../../../src/models/activityStreamsLinkTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;;GAIG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACvC;;;OAGG;IACH,IAAI,EAAE,MAAM;IAEZ;;;OAGG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The link types concerning Activity Streams.\n * @see https://www.w3.org/TR/activitystreams-core/#link\n * @see https://www.w3.org/TR/activitystreams-vocabulary/#link\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ActivityStreamsLinkTypes = {\n\t/**\n\t * Link\n\t * @see https://www.w3.org/TR/activitystreams-core/#link\n\t */\n\tLink: \"Link\",\n\n\t/**\n\t * Mention\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-mention\n\t */\n\tMention: \"Mention\"\n} as const;\n\n/**\n * The link types concerning Activity Streams.\n */\nexport type ActivityStreamsLinkTypes =\n\t(typeof ActivityStreamsLinkTypes)[keyof typeof ActivityStreamsLinkTypes];\n"]}
@@ -0,0 +1,141 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * The object types concerning Activity Streams.
5
+ * @see https://www.w3.org/TR/activitystreams-core/#model
6
+ * @see https://www.w3.org/TR/activitystreams-vocabulary/
7
+ */
8
+ // eslint-disable-next-line @typescript-eslint/naming-convention
9
+ export const ActivityStreamsObjectTypes = {
10
+ /**
11
+ * Object
12
+ * @see https://www.w3.org/TR/activitystreams-core/#object
13
+ */
14
+ Object: "Object",
15
+ /**
16
+ * Activity
17
+ * @see https://www.w3.org/TR/activitystreams-core/#activities
18
+ */
19
+ Activity: "Activity",
20
+ /**
21
+ * IntransitiveActivity
22
+ * @see https://www.w3.org/TR/activitystreams-core/#intransitiveactivities
23
+ */
24
+ IntransitiveActivity: "IntransitiveActivity",
25
+ /**
26
+ * Collection
27
+ * @see https://www.w3.org/TR/activitystreams-core/#collections
28
+ */
29
+ Collection: "Collection",
30
+ /**
31
+ * OrderedCollection
32
+ * @see https://www.w3.org/TR/activitystreams-core/#collections
33
+ */
34
+ OrderedCollection: "OrderedCollection",
35
+ /**
36
+ * CollectionPage
37
+ * @see https://www.w3.org/TR/activitystreams-core/#collections
38
+ */
39
+ CollectionPage: "CollectionPage",
40
+ /**
41
+ * OrderedCollectionPage
42
+ * @see https://www.w3.org/TR/activitystreams-core/#collections
43
+ */
44
+ OrderedCollectionPage: "OrderedCollectionPage",
45
+ /**
46
+ * Actor
47
+ * @see https://www.w3.org/TR/activitystreams-core/#actors
48
+ */
49
+ Actor: "Actor",
50
+ /**
51
+ * Application
52
+ * @see https://www.w3.org/TR/activitystreams-core/#actors
53
+ */
54
+ Application: "Application",
55
+ /**
56
+ * Group
57
+ * @see https://www.w3.org/TR/activitystreams-core/#actors
58
+ */
59
+ Group: "Group",
60
+ /**
61
+ * Organization
62
+ * @see https://www.w3.org/TR/activitystreams-core/#actors
63
+ */
64
+ Organization: "Organization",
65
+ /**
66
+ * Person
67
+ * @see https://www.w3.org/TR/activitystreams-core/#actors
68
+ */
69
+ Person: "Person",
70
+ /**
71
+ * Service
72
+ * @see https://www.w3.org/TR/activitystreams-core/#actors
73
+ */
74
+ Service: "Service",
75
+ /**
76
+ * Article
77
+ * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-article
78
+ */
79
+ Article: "Article",
80
+ /**
81
+ * Audio
82
+ * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-audio
83
+ */
84
+ Audio: "Audio",
85
+ /**
86
+ * Document
87
+ * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-document
88
+ */
89
+ Document: "Document",
90
+ /**
91
+ * Event
92
+ * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-event
93
+ */
94
+ Event: "Event",
95
+ /**
96
+ * Image
97
+ * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-image
98
+ */
99
+ Image: "Image",
100
+ /**
101
+ * Note
102
+ * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-note
103
+ */
104
+ Note: "Note",
105
+ /**
106
+ * Page
107
+ * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-page
108
+ */
109
+ Page: "Page",
110
+ /**
111
+ * Question
112
+ * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-question
113
+ */
114
+ Question: "Question",
115
+ /**
116
+ * Place
117
+ * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-place
118
+ */
119
+ Place: "Place",
120
+ /**
121
+ * Profile
122
+ * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-profile
123
+ */
124
+ Profile: "Profile",
125
+ /**
126
+ * Relationship
127
+ * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-relationship
128
+ */
129
+ Relationship: "Relationship",
130
+ /**
131
+ * Tombstone
132
+ * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tombstone
133
+ */
134
+ Tombstone: "Tombstone",
135
+ /**
136
+ * Video
137
+ * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-video
138
+ */
139
+ Video: "Video"
140
+ };
141
+ //# sourceMappingURL=activityStreamsObjectTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activityStreamsObjectTypes.js","sourceRoot":"","sources":["../../../src/models/activityStreamsObjectTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;;GAIG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACzC;;;OAGG;IACH,MAAM,EAAE,QAAQ;IAEhB;;;OAGG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,oBAAoB,EAAE,sBAAsB;IAE5C;;;OAGG;IACH,UAAU,EAAE,YAAY;IAExB;;;OAGG;IACH,iBAAiB,EAAE,mBAAmB;IAEtC;;;OAGG;IACH,cAAc,EAAE,gBAAgB;IAEhC;;;OAGG;IACH,qBAAqB,EAAE,uBAAuB;IAE9C;;;OAGG;IACH,KAAK,EAAE,OAAO;IAEd;;;OAGG;IACH,WAAW,EAAE,aAAa;IAE1B;;;OAGG;IACH,KAAK,EAAE,OAAO;IAEd;;;OAGG;IACH,YAAY,EAAE,cAAc;IAE5B;;;OAGG;IACH,MAAM,EAAE,QAAQ;IAEhB;;;OAGG;IACH,OAAO,EAAE,SAAS;IAElB;;;OAGG;IACH,OAAO,EAAE,SAAS;IAElB;;;OAGG;IACH,KAAK,EAAE,OAAO;IAEd;;;OAGG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,KAAK,EAAE,OAAO;IAEd;;;OAGG;IACH,KAAK,EAAE,OAAO;IAEd;;;OAGG;IACH,IAAI,EAAE,MAAM;IAEZ;;;OAGG;IACH,IAAI,EAAE,MAAM;IAEZ;;;OAGG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,KAAK,EAAE,OAAO;IAEd;;;OAGG;IACH,OAAO,EAAE,SAAS;IAElB;;;OAGG;IACH,YAAY,EAAE,cAAc;IAE5B;;;OAGG;IACH,SAAS,EAAE,WAAW;IAEtB;;;OAGG;IACH,KAAK,EAAE,OAAO;CACL,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The object types concerning Activity Streams.\n * @see https://www.w3.org/TR/activitystreams-core/#model\n * @see https://www.w3.org/TR/activitystreams-vocabulary/\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ActivityStreamsObjectTypes = {\n\t/**\n\t * Object\n\t * @see https://www.w3.org/TR/activitystreams-core/#object\n\t */\n\tObject: \"Object\",\n\n\t/**\n\t * Activity\n\t * @see https://www.w3.org/TR/activitystreams-core/#activities\n\t */\n\tActivity: \"Activity\",\n\n\t/**\n\t * IntransitiveActivity\n\t * @see https://www.w3.org/TR/activitystreams-core/#intransitiveactivities\n\t */\n\tIntransitiveActivity: \"IntransitiveActivity\",\n\n\t/**\n\t * Collection\n\t * @see https://www.w3.org/TR/activitystreams-core/#collections\n\t */\n\tCollection: \"Collection\",\n\n\t/**\n\t * OrderedCollection\n\t * @see https://www.w3.org/TR/activitystreams-core/#collections\n\t */\n\tOrderedCollection: \"OrderedCollection\",\n\n\t/**\n\t * CollectionPage\n\t * @see https://www.w3.org/TR/activitystreams-core/#collections\n\t */\n\tCollectionPage: \"CollectionPage\",\n\n\t/**\n\t * OrderedCollectionPage\n\t * @see https://www.w3.org/TR/activitystreams-core/#collections\n\t */\n\tOrderedCollectionPage: \"OrderedCollectionPage\",\n\n\t/**\n\t * Actor\n\t * @see https://www.w3.org/TR/activitystreams-core/#actors\n\t */\n\tActor: \"Actor\",\n\n\t/**\n\t * Application\n\t * @see https://www.w3.org/TR/activitystreams-core/#actors\n\t */\n\tApplication: \"Application\",\n\n\t/**\n\t * Group\n\t * @see https://www.w3.org/TR/activitystreams-core/#actors\n\t */\n\tGroup: \"Group\",\n\n\t/**\n\t * Organization\n\t * @see https://www.w3.org/TR/activitystreams-core/#actors\n\t */\n\tOrganization: \"Organization\",\n\n\t/**\n\t * Person\n\t * @see https://www.w3.org/TR/activitystreams-core/#actors\n\t */\n\tPerson: \"Person\",\n\n\t/**\n\t * Service\n\t * @see https://www.w3.org/TR/activitystreams-core/#actors\n\t */\n\tService: \"Service\",\n\n\t/**\n\t * Article\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-article\n\t */\n\tArticle: \"Article\",\n\n\t/**\n\t * Audio\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-audio\n\t */\n\tAudio: \"Audio\",\n\n\t/**\n\t * Document\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-document\n\t */\n\tDocument: \"Document\",\n\n\t/**\n\t * Event\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-event\n\t */\n\tEvent: \"Event\",\n\n\t/**\n\t * Image\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-image\n\t */\n\tImage: \"Image\",\n\n\t/**\n\t * Note\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-note\n\t */\n\tNote: \"Note\",\n\n\t/**\n\t * Page\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-page\n\t */\n\tPage: \"Page\",\n\n\t/**\n\t * Question\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-question\n\t */\n\tQuestion: \"Question\",\n\n\t/**\n\t * Place\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-place\n\t */\n\tPlace: \"Place\",\n\n\t/**\n\t * Profile\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-profile\n\t */\n\tProfile: \"Profile\",\n\n\t/**\n\t * Relationship\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-relationship\n\t */\n\tRelationship: \"Relationship\",\n\n\t/**\n\t * Tombstone\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tombstone\n\t */\n\tTombstone: \"Tombstone\",\n\n\t/**\n\t * Video\n\t * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-video\n\t */\n\tVideo: \"Video\"\n} as const;\n\n/**\n * The object types concerning Activity Streams.\n */\nexport type ActivityStreamsObjectTypes =\n\t(typeof ActivityStreamsObjectTypes)[keyof typeof ActivityStreamsObjectTypes];\n"]}
@@ -1,4 +1,4 @@
1
- // Copyright 2024 IOTA Stiftung.
1
+ // Copyright 2026 IOTA Stiftung.
2
2
  // SPDX-License-Identifier: Apache-2.0.
3
3
  /**
4
4
  * The types concerning Activity Streams.
@@ -7,147 +7,205 @@
7
7
  // eslint-disable-next-line @typescript-eslint/naming-convention
8
8
  export const ActivityStreamsTypes = {
9
9
  /**
10
- * Activity
10
+ * Activity.
11
+ *
12
+ * Generic base type for activities (actions) in Activity Streams.
11
13
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-activity
12
14
  */
13
15
  Activity: "Activity",
14
16
  /**
15
- * Accept
17
+ * Accept.
18
+ *
19
+ * Indicates that the actor accepts the object.
16
20
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-accept
17
21
  */
18
22
  Accept: "Accept",
19
23
  /**
20
- * Add
24
+ * Add.
25
+ *
26
+ * Indicates that the actor added the object to the target.
21
27
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-add
22
28
  */
23
29
  Add: "Add",
24
30
  /**
25
- * Announce
31
+ * Announce.
32
+ *
33
+ * Indicates that the actor is calling attention to the object.
26
34
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-announce
27
35
  */
28
36
  Announce: "Announce",
29
37
  /**
30
- * Arrive
38
+ * Arrive.
39
+ *
40
+ * Intransitive activity indicating that the actor arrived at a location.
31
41
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-arrive
32
42
  */
33
43
  Arrive: "Arrive",
34
44
  /**
35
- * Block
45
+ * Block.
46
+ *
47
+ * Indicates that the actor is blocking the object (a stronger form of Ignore).
36
48
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-block
37
49
  */
38
50
  Block: "Block",
39
51
  /**
40
- * Create
52
+ * Create.
53
+ *
54
+ * Indicates that the actor has created the object.
41
55
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-create
42
56
  */
43
57
  Create: "Create",
44
58
  /**
45
- * Delete
59
+ * Delete.
60
+ *
61
+ * Indicates that the actor has deleted the object.
46
62
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-delete
47
63
  */
48
64
  Delete: "Delete",
49
65
  /**
50
- * Dislike
66
+ * Dislike.
67
+ *
68
+ * Indicates that the actor dislikes the object.
51
69
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-dislike
52
70
  */
53
71
  Dislike: "Dislike",
54
72
  /**
55
- * Flag
73
+ * Flag.
74
+ *
75
+ * Indicates that the actor is flagging the object (e.g., reporting it).
56
76
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-flag
57
77
  */
58
78
  Flag: "Flag",
59
79
  /**
60
- * Follow
80
+ * Follow.
81
+ *
82
+ * Indicates that the actor is following the object.
61
83
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-follow
62
84
  */
63
85
  Follow: "Follow",
64
86
  /**
65
- * Ignore
87
+ * Ignore.
88
+ *
89
+ * Indicates that the actor is ignoring the object.
66
90
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-ignore
67
91
  */
68
92
  Ignore: "Ignore",
69
93
  /**
70
- * Invite
94
+ * Invite.
95
+ *
96
+ * Specialization of Offer in which the actor is extending an invitation.
71
97
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-invite
72
98
  */
73
99
  Invite: "Invite",
74
100
  /**
75
- * Join
101
+ * Join.
102
+ *
103
+ * Indicates that the actor has joined the object.
76
104
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-join
77
105
  */
78
106
  Join: "Join",
79
107
  /**
80
- * Leave
108
+ * Leave.
109
+ *
110
+ * Indicates that the actor has left the object.
81
111
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-leave
82
112
  */
83
113
  Leave: "Leave",
84
114
  /**
85
- * Like
115
+ * Like.
116
+ *
117
+ * Indicates that the actor likes, recommends, or endorses the object.
86
118
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-like
87
119
  */
88
120
  Like: "Like",
89
121
  /**
90
- * Listen
122
+ * Listen.
123
+ *
124
+ * Indicates that the actor has listened to the object.
91
125
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-listen
92
126
  */
93
127
  Listen: "Listen",
94
128
  /**
95
- * Move
129
+ * Move.
130
+ *
131
+ * Indicates that the actor has moved the object from `origin` to `target`.
96
132
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-move
97
133
  */
98
134
  Move: "Move",
99
135
  /**
100
- * Offer
136
+ * Offer.
137
+ *
138
+ * Indicates that the actor is offering the object (optionally to a target).
101
139
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-offer
102
140
  */
103
141
  Offer: "Offer",
104
142
  /**
105
- * Question
143
+ * Question.
144
+ *
145
+ * Intransitive activity representing a question; can express options via `oneOf`/`anyOf`.
106
146
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-question
107
147
  */
108
148
  Question: "Question",
109
149
  /**
110
- * Reject
150
+ * Reject.
151
+ *
152
+ * Indicates that the actor is rejecting the object.
111
153
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-reject
112
154
  */
113
155
  Reject: "Reject",
114
156
  /**
115
- * Read
157
+ * Read.
158
+ *
159
+ * Indicates that the actor has read the object.
116
160
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-read
117
161
  */
118
162
  Read: "Read",
119
163
  /**
120
- * Remove
164
+ * Remove.
165
+ *
166
+ * Indicates that the actor is removing the object (optionally from an origin context).
121
167
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-remove
122
168
  */
123
169
  Remove: "Remove",
124
170
  /**
125
- * TentativeReject
171
+ * TentativeReject.
172
+ *
173
+ * Specialization of Reject indicating that the rejection is tentative.
126
174
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tentativereject
127
175
  */
128
176
  TentativeReject: "TentativeReject",
129
177
  /**
130
- * TentativeAccept
178
+ * TentativeAccept.
179
+ *
180
+ * Specialization of Accept indicating that the acceptance is tentative.
131
181
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tentativeaccept
132
182
  */
133
183
  TentativeAccept: "TentativeAccept",
134
184
  /**
135
- * Travel
185
+ * Travel.
186
+ *
187
+ * Intransitive activity indicating that the actor is travelling to `target` from `origin`.
136
188
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-travel
137
189
  */
138
190
  Travel: "Travel",
139
191
  /**
140
- * Undo
192
+ * Undo.
193
+ *
194
+ * Indicates that the actor is undoing a previous activity.
141
195
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-undo
142
196
  */
143
197
  Undo: "Undo",
144
198
  /**
145
- * Update
199
+ * Update.
200
+ *
201
+ * Indicates that the actor has updated the object.
146
202
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-update
147
203
  */
148
204
  Update: "Update",
149
205
  /**
150
- * View
206
+ * View.
207
+ *
208
+ * Indicates that the actor has viewed the object.
151
209
  * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-view
152
210
  */
153
211
  View: "View"