@openvtc/trust-tasks 0.26.14 → 0.26.15

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 (197) hide show
  1. package/CHANGELOG.md +114 -0
  2. package/dist/_shared/components.d.ts +392 -1
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/index.d.ts +17 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +17 -0
  7. package/dist/index.js.map +1 -1
  8. package/dist/rooms/_shared/0.1/personal-label.d.ts +16 -0
  9. package/dist/rooms/_shared/0.1/personal-label.d.ts.map +1 -0
  10. package/dist/rooms/_shared/0.1/personal-label.js +6 -0
  11. package/dist/rooms/_shared/0.1/personal-label.js.map +1 -0
  12. package/dist/rooms/_shared/0.1/room.d.ts +1 -1
  13. package/dist/rooms/_shared/0.1/room.d.ts.map +1 -1
  14. package/dist/rooms/blobs/get/0.1/payload.d.ts +4 -4
  15. package/dist/rooms/blobs/get/0.1/payload.js +2 -2
  16. package/dist/rooms/blobs/get/0.1/payload.js.map +1 -1
  17. package/dist/rooms/blobs/get/0.2/payload.d.ts +4 -4
  18. package/dist/rooms/blobs/get/0.2/payload.js +2 -2
  19. package/dist/rooms/blobs/get/0.2/payload.js.map +1 -1
  20. package/dist/rooms/blobs/upload/begin/0.1/payload.d.ts +4 -4
  21. package/dist/rooms/blobs/upload/begin/0.1/payload.js +2 -2
  22. package/dist/rooms/blobs/upload/begin/0.1/payload.js.map +1 -1
  23. package/dist/rooms/blobs/upload/begin/0.2/payload.d.ts +4 -4
  24. package/dist/rooms/blobs/upload/begin/0.2/payload.js +2 -2
  25. package/dist/rooms/blobs/upload/begin/0.2/payload.js.map +1 -1
  26. package/dist/rooms/epoch/chain/0.1/payload.d.ts +4 -4
  27. package/dist/rooms/epoch/chain/0.1/payload.js +2 -2
  28. package/dist/rooms/epoch/chain/0.1/payload.js.map +1 -1
  29. package/dist/rooms/epoch/commits/0.1/payload.d.ts +4 -4
  30. package/dist/rooms/epoch/commits/0.1/payload.js +2 -2
  31. package/dist/rooms/epoch/commits/0.1/payload.js.map +1 -1
  32. package/dist/rooms/epoch/mint/0.1/payload.d.ts +4 -4
  33. package/dist/rooms/epoch/mint/0.1/payload.js +2 -2
  34. package/dist/rooms/epoch/mint/0.1/payload.js.map +1 -1
  35. package/dist/rooms/epoch/prune/0.1/payload.d.ts +4 -4
  36. package/dist/rooms/epoch/prune/0.1/payload.js +2 -2
  37. package/dist/rooms/epoch/prune/0.1/payload.js.map +1 -1
  38. package/dist/rooms/info/0.1/payload.d.ts +4 -4
  39. package/dist/rooms/info/0.1/payload.js +2 -2
  40. package/dist/rooms/info/0.1/payload.js.map +1 -1
  41. package/dist/rooms/keys/label/0.1/payload.d.ts +757 -0
  42. package/dist/rooms/keys/label/0.1/payload.d.ts.map +1 -0
  43. package/dist/rooms/keys/label/0.1/payload.js +388 -0
  44. package/dist/rooms/keys/label/0.1/payload.js.map +1 -0
  45. package/dist/rooms/keys/list/0.2/payload.d.ts +667 -0
  46. package/dist/rooms/keys/list/0.2/payload.d.ts.map +1 -0
  47. package/dist/rooms/keys/list/0.2/payload.js +350 -0
  48. package/dist/rooms/keys/list/0.2/payload.js.map +1 -0
  49. package/dist/rooms/keys/present/0.2/payload.d.ts +4 -4
  50. package/dist/rooms/keys/present/0.2/payload.js +2 -2
  51. package/dist/rooms/keys/present/0.2/payload.js.map +1 -1
  52. package/dist/rooms/keys/profile/read/0.1/payload.d.ts +1652 -0
  53. package/dist/rooms/keys/profile/read/0.1/payload.d.ts.map +1 -0
  54. package/dist/rooms/keys/profile/read/0.1/payload.js +649 -0
  55. package/dist/rooms/keys/profile/read/0.1/payload.js.map +1 -0
  56. package/dist/rooms/keys/profile/write/0.1/payload.d.ts +583 -0
  57. package/dist/rooms/keys/profile/write/0.1/payload.d.ts.map +1 -0
  58. package/dist/rooms/keys/profile/write/0.1/payload.js +319 -0
  59. package/dist/rooms/keys/profile/write/0.1/payload.js.map +1 -0
  60. package/dist/rooms/owner/claim/0.1/payload.d.ts +4 -4
  61. package/dist/rooms/owner/claim/0.1/payload.js +2 -2
  62. package/dist/rooms/owner/claim/0.1/payload.js.map +1 -1
  63. package/dist/rooms/owner/group/remove/0.2/payload.d.ts +600 -0
  64. package/dist/rooms/owner/group/remove/0.2/payload.d.ts.map +1 -0
  65. package/dist/rooms/owner/group/remove/0.2/payload.js +310 -0
  66. package/dist/rooms/owner/group/remove/0.2/payload.js.map +1 -0
  67. package/dist/rooms/owner/revoke/0.1/payload.d.ts +1481 -0
  68. package/dist/rooms/owner/revoke/0.1/payload.d.ts.map +1 -0
  69. package/dist/rooms/owner/revoke/0.1/payload.js +811 -0
  70. package/dist/rooms/owner/revoke/0.1/payload.js.map +1 -0
  71. package/dist/rooms/owner/transfer/0.1/payload.d.ts +4 -4
  72. package/dist/rooms/owner/transfer/0.1/payload.js +2 -2
  73. package/dist/rooms/owner/transfer/0.1/payload.js.map +1 -1
  74. package/dist/rooms/records/curate/0.1/payload.d.ts +4 -4
  75. package/dist/rooms/records/curate/0.1/payload.js +2 -2
  76. package/dist/rooms/records/curate/0.1/payload.js.map +1 -1
  77. package/dist/rooms/records/get/0.1/payload.d.ts +4 -4
  78. package/dist/rooms/records/get/0.1/payload.js +2 -2
  79. package/dist/rooms/records/get/0.1/payload.js.map +1 -1
  80. package/dist/rooms/records/get/0.2/payload.d.ts +4 -4
  81. package/dist/rooms/records/get/0.2/payload.js +2 -2
  82. package/dist/rooms/records/get/0.2/payload.js.map +1 -1
  83. package/dist/rooms/records/list/0.1/payload.d.ts +4 -4
  84. package/dist/rooms/records/list/0.1/payload.js +2 -2
  85. package/dist/rooms/records/list/0.1/payload.js.map +1 -1
  86. package/dist/rooms/records/list/0.2/payload.d.ts +4 -4
  87. package/dist/rooms/records/list/0.2/payload.js +2 -2
  88. package/dist/rooms/records/list/0.2/payload.js.map +1 -1
  89. package/dist/rooms/records/put/0.1/payload.d.ts +4 -4
  90. package/dist/rooms/records/put/0.1/payload.js +2 -2
  91. package/dist/rooms/records/put/0.1/payload.js.map +1 -1
  92. package/dist/rooms/records/put/0.2/payload.d.ts +4 -4
  93. package/dist/rooms/records/put/0.2/payload.js +2 -2
  94. package/dist/rooms/records/put/0.2/payload.js.map +1 -1
  95. package/dist/rooms/revocations/get/0.1/payload.d.ts +905 -0
  96. package/dist/rooms/revocations/get/0.1/payload.d.ts.map +1 -0
  97. package/dist/rooms/revocations/get/0.1/payload.js +512 -0
  98. package/dist/rooms/revocations/get/0.1/payload.js.map +1 -0
  99. package/dist/rooms/revocations/put/0.1/payload.d.ts +1021 -0
  100. package/dist/rooms/revocations/put/0.1/payload.d.ts.map +1 -0
  101. package/dist/rooms/revocations/put/0.1/payload.js +583 -0
  102. package/dist/rooms/revocations/put/0.1/payload.js.map +1 -0
  103. package/dist/rooms/usage/0.1/payload.d.ts +4 -4
  104. package/dist/rooms/usage/0.1/payload.js +2 -2
  105. package/dist/rooms/usage/0.1/payload.js.map +1 -1
  106. package/dist/vtc/_shared/0.1/community-room.d.ts +1 -1
  107. package/dist/vtc/_shared/0.1/community-room.d.ts.map +1 -1
  108. package/dist/vtc/rooms/community/create/0.1/payload.d.ts +4 -4
  109. package/dist/vtc/rooms/community/create/0.1/payload.js +2 -2
  110. package/dist/vtc/rooms/community/create/0.1/payload.js.map +1 -1
  111. package/dist/vtc/rooms/community/create/0.2/payload.d.ts +989 -0
  112. package/dist/vtc/rooms/community/create/0.2/payload.d.ts.map +1 -0
  113. package/dist/vtc/rooms/community/create/0.2/payload.js +559 -0
  114. package/dist/vtc/rooms/community/create/0.2/payload.js.map +1 -0
  115. package/dist/vtc/rooms/community/create/0.3/payload.d.ts +1013 -0
  116. package/dist/vtc/rooms/community/create/0.3/payload.d.ts.map +1 -0
  117. package/dist/vtc/rooms/community/create/0.3/payload.js +577 -0
  118. package/dist/vtc/rooms/community/create/0.3/payload.js.map +1 -0
  119. package/dist/vtc/rooms/community/get/0.1/payload.d.ts +4 -4
  120. package/dist/vtc/rooms/community/get/0.1/payload.js +2 -2
  121. package/dist/vtc/rooms/community/get/0.1/payload.js.map +1 -1
  122. package/dist/vtc/rooms/community/get/0.2/payload.d.ts +887 -0
  123. package/dist/vtc/rooms/community/get/0.2/payload.d.ts.map +1 -0
  124. package/dist/vtc/rooms/community/get/0.2/payload.js +517 -0
  125. package/dist/vtc/rooms/community/get/0.2/payload.js.map +1 -0
  126. package/dist/vtc/rooms/community/list/0.1/payload.d.ts +4 -4
  127. package/dist/vtc/rooms/community/list/0.1/payload.js +2 -2
  128. package/dist/vtc/rooms/community/list/0.1/payload.js.map +1 -1
  129. package/dist/vtc/rooms/community/list/0.2/payload.d.ts +960 -0
  130. package/dist/vtc/rooms/community/list/0.2/payload.d.ts.map +1 -0
  131. package/dist/vtc/rooms/community/list/0.2/payload.js +544 -0
  132. package/dist/vtc/rooms/community/list/0.2/payload.js.map +1 -0
  133. package/dist/vtc/rooms/community/members/remove/0.2/payload.d.ts +681 -0
  134. package/dist/vtc/rooms/community/members/remove/0.2/payload.d.ts.map +1 -0
  135. package/dist/vtc/rooms/community/members/remove/0.2/payload.js +393 -0
  136. package/dist/vtc/rooms/community/members/remove/0.2/payload.js.map +1 -0
  137. package/dist/vtc/rooms/community/update/0.1/payload.d.ts +1013 -0
  138. package/dist/vtc/rooms/community/update/0.1/payload.d.ts.map +1 -0
  139. package/dist/vtc/rooms/community/update/0.1/payload.js +573 -0
  140. package/dist/vtc/rooms/community/update/0.1/payload.js.map +1 -0
  141. package/dist/vtc/rooms/community/update/0.2/payload.d.ts +1037 -0
  142. package/dist/vtc/rooms/community/update/0.2/payload.d.ts.map +1 -0
  143. package/dist/vtc/rooms/community/update/0.2/payload.js +593 -0
  144. package/dist/vtc/rooms/community/update/0.2/payload.js.map +1 -0
  145. package/dist/vtc/rooms/offers/list/0.1/payload.d.ts +4 -4
  146. package/dist/vtc/rooms/offers/list/0.1/payload.js +2 -2
  147. package/dist/vtc/rooms/offers/list/0.1/payload.js.map +1 -1
  148. package/dist/vtc/rooms/offers/list/0.2/payload.d.ts +736 -0
  149. package/dist/vtc/rooms/offers/list/0.2/payload.d.ts.map +1 -0
  150. package/dist/vtc/rooms/offers/list/0.2/payload.js +430 -0
  151. package/dist/vtc/rooms/offers/list/0.2/payload.js.map +1 -0
  152. package/package.json +1 -1
  153. package/src/_shared/components.ts +426 -1
  154. package/src/index.ts +17 -0
  155. package/src/rooms/_shared/0.1/personal-label.ts +17 -0
  156. package/src/rooms/_shared/0.1/room.ts +1 -1
  157. package/src/rooms/blobs/get/0.1/payload.ts +2 -2
  158. package/src/rooms/blobs/get/0.2/payload.ts +2 -2
  159. package/src/rooms/blobs/upload/begin/0.1/payload.ts +2 -2
  160. package/src/rooms/blobs/upload/begin/0.2/payload.ts +2 -2
  161. package/src/rooms/epoch/chain/0.1/payload.ts +2 -2
  162. package/src/rooms/epoch/commits/0.1/payload.ts +2 -2
  163. package/src/rooms/epoch/mint/0.1/payload.ts +2 -2
  164. package/src/rooms/epoch/prune/0.1/payload.ts +2 -2
  165. package/src/rooms/info/0.1/payload.ts +2 -2
  166. package/src/rooms/keys/label/0.1/payload.ts +474 -0
  167. package/src/rooms/keys/list/0.2/payload.ts +412 -0
  168. package/src/rooms/keys/present/0.2/payload.ts +2 -2
  169. package/src/rooms/keys/profile/read/0.1/payload.ts +1617 -0
  170. package/src/rooms/keys/profile/write/0.1/payload.ts +388 -0
  171. package/src/rooms/owner/claim/0.1/payload.ts +2 -2
  172. package/src/rooms/owner/group/remove/0.2/payload.ts +415 -0
  173. package/src/rooms/owner/revoke/0.1/payload.ts +954 -0
  174. package/src/rooms/owner/transfer/0.1/payload.ts +2 -2
  175. package/src/rooms/records/curate/0.1/payload.ts +2 -2
  176. package/src/rooms/records/get/0.1/payload.ts +2 -2
  177. package/src/rooms/records/get/0.2/payload.ts +2 -2
  178. package/src/rooms/records/list/0.1/payload.ts +2 -2
  179. package/src/rooms/records/list/0.2/payload.ts +2 -2
  180. package/src/rooms/records/put/0.1/payload.ts +2 -2
  181. package/src/rooms/records/put/0.2/payload.ts +2 -2
  182. package/src/rooms/revocations/get/0.1/payload.ts +562 -0
  183. package/src/rooms/revocations/put/0.1/payload.ts +637 -0
  184. package/src/rooms/usage/0.1/payload.ts +2 -2
  185. package/src/vtc/_shared/0.1/community-room.ts +1 -1
  186. package/src/vtc/rooms/community/create/0.1/payload.ts +2 -2
  187. package/src/vtc/rooms/community/create/0.2/payload.ts +613 -0
  188. package/src/vtc/rooms/community/create/0.3/payload.ts +635 -0
  189. package/src/vtc/rooms/community/get/0.1/payload.ts +2 -2
  190. package/src/vtc/rooms/community/get/0.2/payload.ts +549 -0
  191. package/src/vtc/rooms/community/list/0.1/payload.ts +2 -2
  192. package/src/vtc/rooms/community/list/0.2/payload.ts +591 -0
  193. package/src/vtc/rooms/community/members/remove/0.2/payload.ts +439 -0
  194. package/src/vtc/rooms/community/update/0.1/payload.ts +629 -0
  195. package/src/vtc/rooms/community/update/0.2/payload.ts +653 -0
  196. package/src/vtc/rooms/offers/list/0.1/payload.ts +2 -2
  197. package/src/vtc/rooms/offers/list/0.2/payload.ts +473 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/rooms/community/update/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,eAAe,EAAE,eAAe,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAGlM;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B;;OAEG;IACH,iBAAiB,CAAC,EAAE,IAAI,CAAC;IACzB;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8O1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
@@ -0,0 +1,573 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/rooms/community/update/0.1/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/vtc/rooms/community/update/0.1";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vtc/rooms/community/update/0.1#response";
9
+ /**
10
+ * This specification's payload schema, as a value.
11
+ *
12
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
13
+ * rather than only as a `.json` file because TypeScript types are erased
14
+ * at runtime: without a schema a consumer has nothing to validate, and
15
+ * every REQUIRED payload member is optional in practice. Cross-file
16
+ * `$ref`s are already inlined, so it needs no resolver.
17
+ */
18
+ export const PAYLOAD_SCHEMA = {
19
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
20
+ "$id": "https://trusttasks.org/spec/vtc/rooms/community/update/0.1",
21
+ "title": "VTC Rooms Community Update — payload",
22
+ "description": "Change the details an administrator keeps track of a community-owned room by: its label, its description, its tags. Each member given replaces the stored one; a member absent is unchanged. At least one detail is required (`minProperties` counts `roomId` and `reason`), and `description` and `removeDescription` are mutually exclusive. Nothing here reaches the room, its key holder or its members' credentials. The outer document members are owned by the framework — SPEC §6.3.",
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "required": [
26
+ "roomId",
27
+ "reason"
28
+ ],
29
+ "minProperties": 3,
30
+ "dependentSchemas": {
31
+ "removeDescription": {
32
+ "not": {
33
+ "required": [
34
+ "description"
35
+ ]
36
+ }
37
+ }
38
+ },
39
+ "properties": {
40
+ "roomId": {
41
+ "type": "string",
42
+ "minLength": 1,
43
+ "maxLength": 512,
44
+ "description": "The room's identifier: its DID."
45
+ },
46
+ "label": {
47
+ "$ref": "#/$defs/RoomLabel",
48
+ "description": "The room's new name. Absent: unchanged."
49
+ },
50
+ "description": {
51
+ "$ref": "#/$defs/RoomDescription",
52
+ "description": "The room's new description, replacing any it has. Absent: unchanged."
53
+ },
54
+ "removeDescription": {
55
+ "type": "boolean",
56
+ "const": true,
57
+ "description": "Remove the room's description. Only `true` is meaningful, so only `true` is accepted. A separate member rather than `description: null`, because a nullable optional member makes \"unchanged\" and \"remove\" the same value in libraries that map both to one absent option."
58
+ },
59
+ "tags": {
60
+ "$ref": "#/$defs/RoomTags",
61
+ "description": "The room's tags, replacing the whole set. An empty list removes them all. Absent: unchanged."
62
+ },
63
+ "reason": {
64
+ "$ref": "#/$defs/Reason"
65
+ },
66
+ "ext": {
67
+ "$ref": "#/$defs/Ext"
68
+ }
69
+ },
70
+ "$defs": {
71
+ "Response": {
72
+ "$anchor": "response",
73
+ "title": "VTC Rooms Community Update — response payload",
74
+ "description": "Success response to vtc/rooms/community/update. Type https://trusttasks.org/spec/vtc/rooms/community/update/0.1#response. The room as it now stands, and whether this request changed it.",
75
+ "type": "object",
76
+ "additionalProperties": false,
77
+ "required": [
78
+ "room",
79
+ "changed"
80
+ ],
81
+ "properties": {
82
+ "room": {
83
+ "$ref": "#/$defs/CommunityRoomV2"
84
+ },
85
+ "changed": {
86
+ "type": "boolean",
87
+ "description": "`false` when every value given already matched what the room had: nothing was written, `detailsUpdatedAt` and `detailsUpdatedBy` did not move, and no change was audited."
88
+ },
89
+ "ext": {
90
+ "$ref": "#/$defs/Ext"
91
+ }
92
+ }
93
+ },
94
+ "Ext": {
95
+ "title": "Ext",
96
+ "description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
97
+ "type": "object",
98
+ "minProperties": 1,
99
+ "additionalProperties": true,
100
+ "propertyNames": {
101
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
102
+ }
103
+ },
104
+ "CommunityRoomV2": {
105
+ "title": "CommunityRoomV2",
106
+ "type": "object",
107
+ "additionalProperties": false,
108
+ "required": [
109
+ "room",
110
+ "label",
111
+ "admitted",
112
+ "offered"
113
+ ],
114
+ "description": "What vtc/rooms/community/{create,get,list}/0.2 and vtc/rooms/community/update/0.1 return: `CommunityRoom` plus the details an administrator keeps track of a room by — `description`, `tags`, and who last changed them and when. A separate definition, not a change to `CommunityRoom`, so that the 0.1 versions of those tasks keep the exact shape they published. The room's creation is `room.createdAt` and `createdBy`.",
115
+ "properties": {
116
+ "room": {
117
+ "$ref": "#/$defs/HostedRoom"
118
+ },
119
+ "label": {
120
+ "$ref": "#/$defs/RoomLabel"
121
+ },
122
+ "description": {
123
+ "$ref": "#/$defs/RoomDescription",
124
+ "description": "Absent when the room has none."
125
+ },
126
+ "tags": {
127
+ "$ref": "#/$defs/RoomTags",
128
+ "description": "Absent or empty when the room has none."
129
+ },
130
+ "storageConfig": {
131
+ "$ref": "#/$defs/StorageConfigId",
132
+ "description": "The storage config receiving the room's new uploads."
133
+ },
134
+ "admitted": {
135
+ "type": "integer",
136
+ "minimum": 0,
137
+ "description": "Members in state `admitted`."
138
+ },
139
+ "offered": {
140
+ "type": "integer",
141
+ "minimum": 0,
142
+ "description": "Offers not yet accepted or withdrawn."
143
+ },
144
+ "ownerAuthorityValidUntil": {
145
+ "type": "string",
146
+ "format": "date-time",
147
+ "description": "When the community's own `admin` authority over the room expires. A room whose owner's authority lapses can no longer advance its epoch, admit or remove; a community SHOULD renew it well before."
148
+ },
149
+ "createdBy": {
150
+ "type": "string",
151
+ "pattern": "^did:",
152
+ "maxLength": 2048,
153
+ "description": "The administrator who created it."
154
+ },
155
+ "detailsUpdatedAt": {
156
+ "type": "string",
157
+ "format": "date-time",
158
+ "description": "When `label`, `description` or `tags` last changed. Absent until the first change after creation. Distinct from `room.updatedAt`, which is the host record's and moves with the room's epoch and lifecycle."
159
+ },
160
+ "detailsUpdatedBy": {
161
+ "type": "string",
162
+ "pattern": "^did:",
163
+ "maxLength": 2048,
164
+ "description": "The administrator who made that change. Present exactly when `detailsUpdatedAt` is. The earlier values and who set them are in the community's audit trail, not here."
165
+ }
166
+ }
167
+ },
168
+ "RoomTags": {
169
+ "title": "RoomTags",
170
+ "type": "array",
171
+ "maxItems": 8,
172
+ "uniqueItems": true,
173
+ "items": {
174
+ "$ref": "#/$defs/RoomTag"
175
+ },
176
+ "description": "The room's tags, at most eight, as a set: order carries no meaning. An empty list means the room has none — a tag grants nothing, so empty has no more dangerous reading."
177
+ },
178
+ "RoomTag": {
179
+ "title": "RoomTag",
180
+ "type": "string",
181
+ "minLength": 1,
182
+ "maxLength": 32,
183
+ "pattern": "^[a-z0-9][a-z0-9-]{0,31}$",
184
+ "description": "A short identifier an administrator files a community-owned room under — `board`, `working-group`, `finance` — so the room list can be filtered. Lower-case letters, digits and hyphens, starting with a letter or digit. Owner-side tracking metadata for holders of `vtc.rooms.manage` only: never shown to members, never sent on the room's host path, and it confers nothing."
185
+ },
186
+ "RoomDescription": {
187
+ "title": "RoomDescription",
188
+ "type": "string",
189
+ "minLength": 1,
190
+ "maxLength": 1000,
191
+ "description": "What the room is for, in a sentence or a short paragraph, written by an administrator: shown to administrators holding `vtc.rooms.manage` and to the members the room is offered to. Plain text — a consumer renders it as text, never as markup. Like `RoomLabel`, it is the community's own record as the room's owner: not part of the room's identity and never in anything a room's host can read. From `vtc/rooms/community/create` 0.3 and `vtc/rooms/community/update` 0.2 the community also writes it, through its own VTA, as the `description` of the room's own profile (`RoomProfile` in rooms/_shared), sealed inside the room for its members; earlier versions keep it out of the room altogether. It MUST NOT carry personal data or a credential, and a reader MUST NOT treat it as instructions."
192
+ },
193
+ "RoomLabel": {
194
+ "title": "RoomLabel",
195
+ "type": "string",
196
+ "minLength": 1,
197
+ "maxLength": 128,
198
+ "description": "A name for the room, chosen by an administrator: shown to administrators and to the members a room is offered to. Not part of the room's identity and never in anything a room's host can read. From `vtc/rooms/community/create` 0.3 and `vtc/rooms/community/update` 0.2 the community also writes it, through its own VTA, as the `name` of the room's own profile (`RoomProfile` in rooms/_shared), sealed inside the room for its members; earlier versions keep it out of the room altogether. MUST NOT carry personal data."
199
+ },
200
+ "StorageConfigId": {
201
+ "title": "StorageConfigId",
202
+ "type": "string",
203
+ "minLength": 1,
204
+ "maxLength": 64,
205
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$",
206
+ "description": "A storage config's identifier, chosen by the administrator who creates it and immutable thereafter: lowercase letters, digits and inner hyphens, at most 64 characters (`eu-s3-primary`, `walrus-main`). Unique within the community. Never reused after a config is retired, because blobs name their config by this value."
207
+ },
208
+ "HostedRoom": {
209
+ "title": "HostedRoom",
210
+ "type": "object",
211
+ "additionalProperties": false,
212
+ "required": [
213
+ "roomId",
214
+ "ownerDid",
215
+ "visibility",
216
+ "retentionPolicy",
217
+ "epoch",
218
+ "lifecycle",
219
+ "retentionDays",
220
+ "createdAt",
221
+ "updatedAt"
222
+ ],
223
+ "description": "One room, as its host holds it — member for member the `HostedRoom` of vtc/rooms/list/0.1, which defines it inside its own payload schema. Nothing derived from the room's contents, and no member list: the host has none.",
224
+ "properties": {
225
+ "roomId": {
226
+ "type": "string",
227
+ "minLength": 1,
228
+ "maxLength": 512
229
+ },
230
+ "ownerDid": {
231
+ "type": "string",
232
+ "pattern": "^did:",
233
+ "maxLength": 2048
234
+ },
235
+ "visibility": {
236
+ "$ref": "#/$defs/Visibility"
237
+ },
238
+ "retentionPolicy": {
239
+ "$ref": "#/$defs/RetentionPolicy"
240
+ },
241
+ "epoch": {
242
+ "type": "integer",
243
+ "minimum": 0
244
+ },
245
+ "lifecycle": {
246
+ "type": "string",
247
+ "enum": [
248
+ "live",
249
+ "lapsed",
250
+ "dormant",
251
+ "reclaimable"
252
+ ]
253
+ },
254
+ "epochExpiresAt": {
255
+ "type": "integer",
256
+ "minimum": 0
257
+ },
258
+ "retentionDays": {
259
+ "type": "integer",
260
+ "minimum": 0
261
+ },
262
+ "mirrorOf": {
263
+ "type": "string",
264
+ "minLength": 1,
265
+ "maxLength": 2048
266
+ },
267
+ "createdAt": {
268
+ "type": "integer",
269
+ "minimum": 0
270
+ },
271
+ "updatedAt": {
272
+ "type": "integer",
273
+ "minimum": 0
274
+ }
275
+ }
276
+ },
277
+ "RetentionPolicy": {
278
+ "title": "RetentionPolicy",
279
+ "type": "string",
280
+ "enum": [
281
+ "chained",
282
+ "fromJoin"
283
+ ],
284
+ "description": "Whether a room keeps its history readable across a membership change, fixed at creation and immutable thereafter — like `Visibility`, and for the same reason: the rungs of an epoch key chain either exist for an epoch or they do not, and no later change of mind can seal key material that was never sealed or unseal what was already severed. `chained`: each advance produces an `EpochLink`, so every member reads the room's whole retained history however long they have been in it — what a **library** wants, at the cost of post-compromise security for record content, since a compromised current key then reaches every retained epoch. `fromJoin`: no rungs are produced, so a member reads only from the epoch their group state is at — what a **stream** wants, and what a room under a strict forward-secrecy obligation wants, at the cost that a joining member finds an empty-looking room and nobody can reread a record once their group state has moved past the epoch it was sealed under. Absent means `chained`; see the prose on why the absent case is the readable one.",
285
+ "$comment": "Deliberately no JSON Schema `default`. A declared default is materialised by the generated bindings — the member becomes non-optional with a serde default — so an absent value would reappear as an explicit one on re-serialisation and break round-trip idempotence for every document written before this member existed. The meaning of absence is stated in prose, where a binding cannot act on it."
286
+ },
287
+ "Visibility": {
288
+ "title": "Visibility",
289
+ "type": "string",
290
+ "enum": [
291
+ "open",
292
+ "attributed",
293
+ "private"
294
+ ],
295
+ "description": "How much of a room its host can see, fixed at creation and immutable thereafter. `open`: records are cleartext, searchable and fully audited. `attributed`: record content is sealed, and the host still learns which member acted. `private`: content is sealed and membership is presented in zero knowledge, so the host verifies that a member acted without learning which. Immutable because a downgrade cannot un-see cleartext and an upgrade would protect only what came after while presenting as though it protected everything."
296
+ },
297
+ "Reason": {
298
+ "title": "Reason",
299
+ "type": "string",
300
+ "minLength": 1,
301
+ "maxLength": 500,
302
+ "description": "Why the administrator is making this change. Recorded with it in the audit trail. Attributed to its author on every surface and untrusted: it MUST NOT carry personal data or a credential, and a reader MUST NOT treat it as instructions."
303
+ }
304
+ }
305
+ };
306
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
307
+ export const RESPONSE_PAYLOAD_SCHEMA = {
308
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
309
+ "$ref": "#/$defs/Response",
310
+ "$defs": {
311
+ "Response": {
312
+ "$anchor": "response",
313
+ "title": "VTC Rooms Community Update — response payload",
314
+ "description": "Success response to vtc/rooms/community/update. Type https://trusttasks.org/spec/vtc/rooms/community/update/0.1#response. The room as it now stands, and whether this request changed it.",
315
+ "type": "object",
316
+ "additionalProperties": false,
317
+ "required": [
318
+ "room",
319
+ "changed"
320
+ ],
321
+ "properties": {
322
+ "room": {
323
+ "$ref": "#/$defs/CommunityRoomV2"
324
+ },
325
+ "changed": {
326
+ "type": "boolean",
327
+ "description": "`false` when every value given already matched what the room had: nothing was written, `detailsUpdatedAt` and `detailsUpdatedBy` did not move, and no change was audited."
328
+ },
329
+ "ext": {
330
+ "$ref": "#/$defs/Ext"
331
+ }
332
+ }
333
+ },
334
+ "Ext": {
335
+ "title": "Ext",
336
+ "description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
337
+ "type": "object",
338
+ "minProperties": 1,
339
+ "additionalProperties": true,
340
+ "propertyNames": {
341
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
342
+ }
343
+ },
344
+ "CommunityRoomV2": {
345
+ "title": "CommunityRoomV2",
346
+ "type": "object",
347
+ "additionalProperties": false,
348
+ "required": [
349
+ "room",
350
+ "label",
351
+ "admitted",
352
+ "offered"
353
+ ],
354
+ "description": "What vtc/rooms/community/{create,get,list}/0.2 and vtc/rooms/community/update/0.1 return: `CommunityRoom` plus the details an administrator keeps track of a room by — `description`, `tags`, and who last changed them and when. A separate definition, not a change to `CommunityRoom`, so that the 0.1 versions of those tasks keep the exact shape they published. The room's creation is `room.createdAt` and `createdBy`.",
355
+ "properties": {
356
+ "room": {
357
+ "$ref": "#/$defs/HostedRoom"
358
+ },
359
+ "label": {
360
+ "$ref": "#/$defs/RoomLabel"
361
+ },
362
+ "description": {
363
+ "$ref": "#/$defs/RoomDescription",
364
+ "description": "Absent when the room has none."
365
+ },
366
+ "tags": {
367
+ "$ref": "#/$defs/RoomTags",
368
+ "description": "Absent or empty when the room has none."
369
+ },
370
+ "storageConfig": {
371
+ "$ref": "#/$defs/StorageConfigId",
372
+ "description": "The storage config receiving the room's new uploads."
373
+ },
374
+ "admitted": {
375
+ "type": "integer",
376
+ "minimum": 0,
377
+ "description": "Members in state `admitted`."
378
+ },
379
+ "offered": {
380
+ "type": "integer",
381
+ "minimum": 0,
382
+ "description": "Offers not yet accepted or withdrawn."
383
+ },
384
+ "ownerAuthorityValidUntil": {
385
+ "type": "string",
386
+ "format": "date-time",
387
+ "description": "When the community's own `admin` authority over the room expires. A room whose owner's authority lapses can no longer advance its epoch, admit or remove; a community SHOULD renew it well before."
388
+ },
389
+ "createdBy": {
390
+ "type": "string",
391
+ "pattern": "^did:",
392
+ "maxLength": 2048,
393
+ "description": "The administrator who created it."
394
+ },
395
+ "detailsUpdatedAt": {
396
+ "type": "string",
397
+ "format": "date-time",
398
+ "description": "When `label`, `description` or `tags` last changed. Absent until the first change after creation. Distinct from `room.updatedAt`, which is the host record's and moves with the room's epoch and lifecycle."
399
+ },
400
+ "detailsUpdatedBy": {
401
+ "type": "string",
402
+ "pattern": "^did:",
403
+ "maxLength": 2048,
404
+ "description": "The administrator who made that change. Present exactly when `detailsUpdatedAt` is. The earlier values and who set them are in the community's audit trail, not here."
405
+ }
406
+ }
407
+ },
408
+ "RoomTags": {
409
+ "title": "RoomTags",
410
+ "type": "array",
411
+ "maxItems": 8,
412
+ "uniqueItems": true,
413
+ "items": {
414
+ "$ref": "#/$defs/RoomTag"
415
+ },
416
+ "description": "The room's tags, at most eight, as a set: order carries no meaning. An empty list means the room has none — a tag grants nothing, so empty has no more dangerous reading."
417
+ },
418
+ "RoomTag": {
419
+ "title": "RoomTag",
420
+ "type": "string",
421
+ "minLength": 1,
422
+ "maxLength": 32,
423
+ "pattern": "^[a-z0-9][a-z0-9-]{0,31}$",
424
+ "description": "A short identifier an administrator files a community-owned room under — `board`, `working-group`, `finance` — so the room list can be filtered. Lower-case letters, digits and hyphens, starting with a letter or digit. Owner-side tracking metadata for holders of `vtc.rooms.manage` only: never shown to members, never sent on the room's host path, and it confers nothing."
425
+ },
426
+ "RoomDescription": {
427
+ "title": "RoomDescription",
428
+ "type": "string",
429
+ "minLength": 1,
430
+ "maxLength": 1000,
431
+ "description": "What the room is for, in a sentence or a short paragraph, written by an administrator: shown to administrators holding `vtc.rooms.manage` and to the members the room is offered to. Plain text — a consumer renders it as text, never as markup. Like `RoomLabel`, it is the community's own record as the room's owner: not part of the room's identity and never in anything a room's host can read. From `vtc/rooms/community/create` 0.3 and `vtc/rooms/community/update` 0.2 the community also writes it, through its own VTA, as the `description` of the room's own profile (`RoomProfile` in rooms/_shared), sealed inside the room for its members; earlier versions keep it out of the room altogether. It MUST NOT carry personal data or a credential, and a reader MUST NOT treat it as instructions."
432
+ },
433
+ "RoomLabel": {
434
+ "title": "RoomLabel",
435
+ "type": "string",
436
+ "minLength": 1,
437
+ "maxLength": 128,
438
+ "description": "A name for the room, chosen by an administrator: shown to administrators and to the members a room is offered to. Not part of the room's identity and never in anything a room's host can read. From `vtc/rooms/community/create` 0.3 and `vtc/rooms/community/update` 0.2 the community also writes it, through its own VTA, as the `name` of the room's own profile (`RoomProfile` in rooms/_shared), sealed inside the room for its members; earlier versions keep it out of the room altogether. MUST NOT carry personal data."
439
+ },
440
+ "StorageConfigId": {
441
+ "title": "StorageConfigId",
442
+ "type": "string",
443
+ "minLength": 1,
444
+ "maxLength": 64,
445
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$",
446
+ "description": "A storage config's identifier, chosen by the administrator who creates it and immutable thereafter: lowercase letters, digits and inner hyphens, at most 64 characters (`eu-s3-primary`, `walrus-main`). Unique within the community. Never reused after a config is retired, because blobs name their config by this value."
447
+ },
448
+ "HostedRoom": {
449
+ "title": "HostedRoom",
450
+ "type": "object",
451
+ "additionalProperties": false,
452
+ "required": [
453
+ "roomId",
454
+ "ownerDid",
455
+ "visibility",
456
+ "retentionPolicy",
457
+ "epoch",
458
+ "lifecycle",
459
+ "retentionDays",
460
+ "createdAt",
461
+ "updatedAt"
462
+ ],
463
+ "description": "One room, as its host holds it — member for member the `HostedRoom` of vtc/rooms/list/0.1, which defines it inside its own payload schema. Nothing derived from the room's contents, and no member list: the host has none.",
464
+ "properties": {
465
+ "roomId": {
466
+ "type": "string",
467
+ "minLength": 1,
468
+ "maxLength": 512
469
+ },
470
+ "ownerDid": {
471
+ "type": "string",
472
+ "pattern": "^did:",
473
+ "maxLength": 2048
474
+ },
475
+ "visibility": {
476
+ "$ref": "#/$defs/Visibility"
477
+ },
478
+ "retentionPolicy": {
479
+ "$ref": "#/$defs/RetentionPolicy"
480
+ },
481
+ "epoch": {
482
+ "type": "integer",
483
+ "minimum": 0
484
+ },
485
+ "lifecycle": {
486
+ "type": "string",
487
+ "enum": [
488
+ "live",
489
+ "lapsed",
490
+ "dormant",
491
+ "reclaimable"
492
+ ]
493
+ },
494
+ "epochExpiresAt": {
495
+ "type": "integer",
496
+ "minimum": 0
497
+ },
498
+ "retentionDays": {
499
+ "type": "integer",
500
+ "minimum": 0
501
+ },
502
+ "mirrorOf": {
503
+ "type": "string",
504
+ "minLength": 1,
505
+ "maxLength": 2048
506
+ },
507
+ "createdAt": {
508
+ "type": "integer",
509
+ "minimum": 0
510
+ },
511
+ "updatedAt": {
512
+ "type": "integer",
513
+ "minimum": 0
514
+ }
515
+ }
516
+ },
517
+ "RetentionPolicy": {
518
+ "title": "RetentionPolicy",
519
+ "type": "string",
520
+ "enum": [
521
+ "chained",
522
+ "fromJoin"
523
+ ],
524
+ "description": "Whether a room keeps its history readable across a membership change, fixed at creation and immutable thereafter — like `Visibility`, and for the same reason: the rungs of an epoch key chain either exist for an epoch or they do not, and no later change of mind can seal key material that was never sealed or unseal what was already severed. `chained`: each advance produces an `EpochLink`, so every member reads the room's whole retained history however long they have been in it — what a **library** wants, at the cost of post-compromise security for record content, since a compromised current key then reaches every retained epoch. `fromJoin`: no rungs are produced, so a member reads only from the epoch their group state is at — what a **stream** wants, and what a room under a strict forward-secrecy obligation wants, at the cost that a joining member finds an empty-looking room and nobody can reread a record once their group state has moved past the epoch it was sealed under. Absent means `chained`; see the prose on why the absent case is the readable one.",
525
+ "$comment": "Deliberately no JSON Schema `default`. A declared default is materialised by the generated bindings — the member becomes non-optional with a serde default — so an absent value would reappear as an explicit one on re-serialisation and break round-trip idempotence for every document written before this member existed. The meaning of absence is stated in prose, where a binding cannot act on it."
526
+ },
527
+ "Visibility": {
528
+ "title": "Visibility",
529
+ "type": "string",
530
+ "enum": [
531
+ "open",
532
+ "attributed",
533
+ "private"
534
+ ],
535
+ "description": "How much of a room its host can see, fixed at creation and immutable thereafter. `open`: records are cleartext, searchable and fully audited. `attributed`: record content is sealed, and the host still learns which member acted. `private`: content is sealed and membership is presented in zero knowledge, so the host verifies that a member acted without learning which. Immutable because a downgrade cannot un-see cleartext and an upgrade would protect only what came after while presenting as though it protected everything."
536
+ },
537
+ "Reason": {
538
+ "title": "Reason",
539
+ "type": "string",
540
+ "minLength": 1,
541
+ "maxLength": 500,
542
+ "description": "Why the administrator is making this change. Recorded with it in the audit trail. Attributed to its author on every surface and untrusted: it MUST NOT carry personal data or a credential, and a reader MUST NOT treat it as instructions."
543
+ }
544
+ }
545
+ };
546
+ /**
547
+ * SPEC.md §7.2 policy for the request variant, from this specification's
548
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
549
+ * per-specification and cannot be derived from the document alone, and
550
+ * item 2 needs the schema this carries.
551
+ */
552
+ export const SPEC = {
553
+ typeUri: TYPE_URI,
554
+ isBearer: false,
555
+ isProofRequired: true,
556
+ isRecipientRequired: true,
557
+ isIssuedAtRequired: true,
558
+ payloadSchema: PAYLOAD_SCHEMA,
559
+ };
560
+ /**
561
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
562
+ * tracks the *issuer* party's requirement because a response swaps the
563
+ * parties (§7.3 item 5).
564
+ */
565
+ export const RESPONSE_SPEC = {
566
+ typeUri: RESPONSE_TYPE_URI,
567
+ isBearer: false,
568
+ isProofRequired: true,
569
+ isRecipientRequired: true,
570
+ isIssuedAtRequired: true,
571
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
572
+ };
573
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/rooms/community/update/0.1/payload.ts"],"names":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