@openvtc/trust-tasks 0.27.1 → 0.27.3

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 (228) hide show
  1. package/CHANGELOG.md +218 -0
  2. package/dist/_runtime/consume.d.ts +2 -1
  3. package/dist/_runtime/consume.d.ts.map +1 -1
  4. package/dist/_runtime/consume.js +26 -1
  5. package/dist/_runtime/consume.js.map +1 -1
  6. package/dist/_runtime/document.d.ts +9 -0
  7. package/dist/_runtime/document.d.ts.map +1 -1
  8. package/dist/_runtime/document.js +15 -1
  9. package/dist/_runtime/document.js.map +1 -1
  10. package/dist/_runtime/freshness.d.ts +4 -2
  11. package/dist/_runtime/freshness.d.ts.map +1 -1
  12. package/dist/_runtime/freshness.js +9 -6
  13. package/dist/_runtime/freshness.js.map +1 -1
  14. package/dist/_shared/components.d.ts +346 -23
  15. package/dist/_shared/components.d.ts.map +1 -1
  16. package/dist/device/list/0.1/payload.d.ts +4 -4
  17. package/dist/device/list/0.1/payload.d.ts.map +1 -1
  18. package/dist/device/list/0.1/payload.js +4 -2
  19. package/dist/device/list/0.1/payload.js.map +1 -1
  20. package/dist/device/list/0.2/payload.d.ts +4 -4
  21. package/dist/device/list/0.2/payload.d.ts.map +1 -1
  22. package/dist/device/list/0.2/payload.js +4 -2
  23. package/dist/device/list/0.2/payload.js.map +1 -1
  24. package/dist/device/register/0.1/payload.d.ts +4 -4
  25. package/dist/device/register/0.1/payload.d.ts.map +1 -1
  26. package/dist/device/register/0.1/payload.js +4 -2
  27. package/dist/device/register/0.1/payload.js.map +1 -1
  28. package/dist/device/register/0.2/payload.d.ts +4 -4
  29. package/dist/device/register/0.2/payload.d.ts.map +1 -1
  30. package/dist/device/register/0.2/payload.js +4 -2
  31. package/dist/device/register/0.2/payload.js.map +1 -1
  32. package/dist/index.d.ts +25 -0
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +25 -0
  35. package/dist/index.js.map +1 -1
  36. package/dist/rooms/_shared/0.1/room.d.ts +1 -1
  37. package/dist/rooms/_shared/0.1/room.d.ts.map +1 -1
  38. package/dist/rooms/create/0.2/payload.d.ts +534 -0
  39. package/dist/rooms/create/0.2/payload.d.ts.map +1 -0
  40. package/dist/rooms/create/0.2/payload.js +293 -0
  41. package/dist/rooms/create/0.2/payload.js.map +1 -0
  42. package/dist/rooms/epoch/chain/0.2/payload.d.ts +534 -0
  43. package/dist/rooms/epoch/chain/0.2/payload.d.ts.map +1 -0
  44. package/dist/rooms/epoch/chain/0.2/payload.js +292 -0
  45. package/dist/rooms/epoch/chain/0.2/payload.js.map +1 -0
  46. package/dist/rooms/epoch/prune/0.2/payload.d.ts +467 -0
  47. package/dist/rooms/epoch/prune/0.2/payload.d.ts.map +1 -0
  48. package/dist/rooms/epoch/prune/0.2/payload.js +251 -0
  49. package/dist/rooms/epoch/prune/0.2/payload.js.map +1 -0
  50. package/dist/rooms/info/0.2/payload.d.ts +1129 -0
  51. package/dist/rooms/info/0.2/payload.d.ts.map +1 -0
  52. package/dist/rooms/info/0.2/payload.js +618 -0
  53. package/dist/rooms/info/0.2/payload.js.map +1 -0
  54. package/dist/rooms/keys/backfill/0.2/payload.d.ts +380 -0
  55. package/dist/rooms/keys/backfill/0.2/payload.d.ts.map +1 -0
  56. package/dist/rooms/keys/backfill/0.2/payload.js +197 -0
  57. package/dist/rooms/keys/backfill/0.2/payload.js.map +1 -0
  58. package/dist/rooms/keys/browse/0.1/payload.d.ts +4 -4
  59. package/dist/rooms/keys/browse/0.1/payload.js +2 -2
  60. package/dist/rooms/keys/browse/0.1/payload.js.map +1 -1
  61. package/dist/rooms/keys/browse/0.2/payload.d.ts +941 -0
  62. package/dist/rooms/keys/browse/0.2/payload.d.ts.map +1 -0
  63. package/dist/rooms/keys/browse/0.2/payload.js +558 -0
  64. package/dist/rooms/keys/browse/0.2/payload.js.map +1 -0
  65. package/dist/rooms/keys/chain/0.2/payload.d.ts +450 -0
  66. package/dist/rooms/keys/chain/0.2/payload.d.ts.map +1 -0
  67. package/dist/rooms/keys/chain/0.2/payload.js +248 -0
  68. package/dist/rooms/keys/chain/0.2/payload.js.map +1 -0
  69. package/dist/rooms/keys/profile/read/0.1/payload.d.ts +4 -4
  70. package/dist/rooms/keys/profile/read/0.1/payload.js +2 -2
  71. package/dist/rooms/keys/profile/read/0.1/payload.js.map +1 -1
  72. package/dist/rooms/keys/read/0.1/payload.d.ts +4 -4
  73. package/dist/rooms/keys/read/0.1/payload.js +2 -2
  74. package/dist/rooms/keys/read/0.1/payload.js.map +1 -1
  75. package/dist/rooms/owner/anchor/0.1/payload.d.ts +4 -4
  76. package/dist/rooms/owner/anchor/0.1/payload.js +2 -2
  77. package/dist/rooms/owner/anchor/0.1/payload.js.map +1 -1
  78. package/dist/rooms/records/get/0.1/payload.d.ts +4 -4
  79. package/dist/rooms/records/get/0.1/payload.js +2 -2
  80. package/dist/rooms/records/get/0.1/payload.js.map +1 -1
  81. package/dist/rooms/records/get/0.2/payload.d.ts +4 -4
  82. package/dist/rooms/records/get/0.2/payload.js +2 -2
  83. package/dist/rooms/records/get/0.2/payload.js.map +1 -1
  84. package/dist/rooms/records/list/0.1/payload.d.ts +4 -4
  85. package/dist/rooms/records/list/0.1/payload.js +2 -2
  86. package/dist/rooms/records/list/0.1/payload.js.map +1 -1
  87. package/dist/rooms/records/list/0.2/payload.d.ts +4 -4
  88. package/dist/rooms/records/list/0.2/payload.js +2 -2
  89. package/dist/rooms/records/list/0.2/payload.js.map +1 -1
  90. package/dist/rooms/records/list/0.3/payload.d.ts +970 -0
  91. package/dist/rooms/records/list/0.3/payload.d.ts.map +1 -0
  92. package/dist/rooms/records/list/0.3/payload.js +526 -0
  93. package/dist/rooms/records/list/0.3/payload.js.map +1 -0
  94. package/dist/rooms/records/prune/0.1/payload.d.ts +706 -0
  95. package/dist/rooms/records/prune/0.1/payload.d.ts.map +1 -0
  96. package/dist/rooms/records/prune/0.1/payload.js +374 -0
  97. package/dist/rooms/records/prune/0.1/payload.js.map +1 -0
  98. package/dist/rooms/records/put/0.3/payload.d.ts +1212 -0
  99. package/dist/rooms/records/put/0.3/payload.d.ts.map +1 -0
  100. package/dist/rooms/records/put/0.3/payload.js +646 -0
  101. package/dist/rooms/records/put/0.3/payload.js.map +1 -0
  102. package/dist/rooms/records/retention/set/0.1/payload.d.ts +521 -0
  103. package/dist/rooms/records/retention/set/0.1/payload.d.ts.map +1 -0
  104. package/dist/rooms/records/retention/set/0.1/payload.js +276 -0
  105. package/dist/rooms/records/retention/set/0.1/payload.js.map +1 -0
  106. package/dist/vault/credentials/present/0.1/payload.d.ts +407 -0
  107. package/dist/vault/credentials/present/0.1/payload.d.ts.map +1 -0
  108. package/dist/vault/credentials/present/0.1/payload.js +217 -0
  109. package/dist/vault/credentials/present/0.1/payload.js.map +1 -0
  110. package/dist/vault/credentials/query/0.1/payload.d.ts +12 -0
  111. package/dist/vault/credentials/query/0.1/payload.d.ts.map +1 -1
  112. package/dist/vault/credentials/query/0.1/payload.js +4 -0
  113. package/dist/vault/credentials/query/0.1/payload.js.map +1 -1
  114. package/dist/vta/webvh/dids/create/1.2/payload.d.ts +961 -0
  115. package/dist/vta/webvh/dids/create/1.2/payload.d.ts.map +1 -0
  116. package/dist/vta/webvh/dids/create/1.2/payload.js +480 -0
  117. package/dist/vta/webvh/dids/create/1.2/payload.js.map +1 -0
  118. package/dist/vtc/_shared/0.1/room-migration.d.ts +16 -0
  119. package/dist/vtc/_shared/0.1/room-migration.d.ts.map +1 -0
  120. package/dist/vtc/_shared/0.1/room-migration.js +6 -0
  121. package/dist/vtc/_shared/0.1/room-migration.js.map +1 -0
  122. package/dist/vtc/_shared/0.1/room-storage.d.ts +1 -1
  123. package/dist/vtc/_shared/0.1/room-storage.d.ts.map +1 -1
  124. package/dist/vtc/_shared/0.2/room-storage.d.ts +16 -0
  125. package/dist/vtc/_shared/0.2/room-storage.d.ts.map +1 -0
  126. package/dist/vtc/_shared/0.2/room-storage.js +6 -0
  127. package/dist/vtc/_shared/0.2/room-storage.js.map +1 -0
  128. package/dist/vtc/admin/events/_shared/0.4/topic.d.ts +31 -0
  129. package/dist/vtc/admin/events/_shared/0.4/topic.d.ts.map +1 -0
  130. package/dist/vtc/admin/events/_shared/0.4/topic.js +6 -0
  131. package/dist/vtc/admin/events/_shared/0.4/topic.js.map +1 -0
  132. package/dist/vtc/admin/events/event/0.4/payload.d.ts +172 -0
  133. package/dist/vtc/admin/events/event/0.4/payload.d.ts.map +1 -0
  134. package/dist/vtc/admin/events/event/0.4/payload.js +103 -0
  135. package/dist/vtc/admin/events/event/0.4/payload.js.map +1 -0
  136. package/dist/vtc/admin/events/subscribe/0.4/payload.d.ts +409 -0
  137. package/dist/vtc/admin/events/subscribe/0.4/payload.d.ts.map +1 -0
  138. package/dist/vtc/admin/events/subscribe/0.4/payload.js +238 -0
  139. package/dist/vtc/admin/events/subscribe/0.4/payload.js.map +1 -0
  140. package/dist/vtc/rooms/get/0.2/payload.d.ts +1966 -0
  141. package/dist/vtc/rooms/get/0.2/payload.d.ts.map +1 -0
  142. package/dist/vtc/rooms/get/0.2/payload.js +976 -0
  143. package/dist/vtc/rooms/get/0.2/payload.js.map +1 -0
  144. package/dist/vtc/rooms/storage/migrate/0.2/payload.d.ts +595 -0
  145. package/dist/vtc/rooms/storage/migrate/0.2/payload.d.ts.map +1 -0
  146. package/dist/vtc/rooms/storage/migrate/0.2/payload.js +336 -0
  147. package/dist/vtc/rooms/storage/migrate/0.2/payload.js.map +1 -0
  148. package/dist/vtc/storage/configs/create/0.1/payload.d.ts +1 -1
  149. package/dist/vtc/storage/configs/create/0.1/payload.d.ts.map +1 -1
  150. package/dist/vtc/storage/configs/create/0.2/payload.d.ts +1360 -0
  151. package/dist/vtc/storage/configs/create/0.2/payload.d.ts.map +1 -0
  152. package/dist/vtc/storage/configs/create/0.2/payload.js +783 -0
  153. package/dist/vtc/storage/configs/create/0.2/payload.js.map +1 -0
  154. package/dist/vtc/storage/configs/get/0.1/payload.d.ts +1 -1
  155. package/dist/vtc/storage/configs/get/0.1/payload.d.ts.map +1 -1
  156. package/dist/vtc/storage/configs/get/0.2/payload.d.ts +1854 -0
  157. package/dist/vtc/storage/configs/get/0.2/payload.d.ts.map +1 -0
  158. package/dist/vtc/storage/configs/get/0.2/payload.js +1075 -0
  159. package/dist/vtc/storage/configs/get/0.2/payload.js.map +1 -0
  160. package/dist/vtc/storage/configs/list/0.1/payload.d.ts +1 -1
  161. package/dist/vtc/storage/configs/list/0.1/payload.d.ts.map +1 -1
  162. package/dist/vtc/storage/configs/list/0.2/payload.d.ts +1955 -0
  163. package/dist/vtc/storage/configs/list/0.2/payload.d.ts.map +1 -0
  164. package/dist/vtc/storage/configs/list/0.2/payload.js +1125 -0
  165. package/dist/vtc/storage/configs/list/0.2/payload.js.map +1 -0
  166. package/dist/vtc/storage/configs/update/0.1/payload.d.ts +1 -1
  167. package/dist/vtc/storage/configs/update/0.1/payload.d.ts.map +1 -1
  168. package/dist/vtc/storage/configs/update/0.2/payload.d.ts +1362 -0
  169. package/dist/vtc/storage/configs/update/0.2/payload.d.ts.map +1 -0
  170. package/dist/vtc/storage/configs/update/0.2/payload.js +782 -0
  171. package/dist/vtc/storage/configs/update/0.2/payload.js.map +1 -0
  172. package/dist/vtc/storage/credentials/set/0.1/payload.d.ts +1 -1
  173. package/dist/vtc/storage/credentials/set/0.1/payload.d.ts.map +1 -1
  174. package/dist/vtc/storage/credentials/set/0.2/payload.d.ts +979 -0
  175. package/dist/vtc/storage/credentials/set/0.2/payload.d.ts.map +1 -0
  176. package/dist/vtc/storage/credentials/set/0.2/payload.js +573 -0
  177. package/dist/vtc/storage/credentials/set/0.2/payload.js.map +1 -0
  178. package/package.json +1 -1
  179. package/src/_runtime/consume.ts +26 -2
  180. package/src/_runtime/document.ts +17 -1
  181. package/src/_runtime/freshness.ts +9 -7
  182. package/src/_shared/components.ts +372 -23
  183. package/src/device/list/0.1/payload.ts +4 -2
  184. package/src/device/list/0.2/payload.ts +4 -2
  185. package/src/device/register/0.1/payload.ts +4 -2
  186. package/src/device/register/0.2/payload.ts +4 -2
  187. package/src/index.ts +25 -0
  188. package/src/rooms/_shared/0.1/room.ts +1 -1
  189. package/src/rooms/create/0.2/payload.ts +364 -0
  190. package/src/rooms/epoch/chain/0.2/payload.ts +347 -0
  191. package/src/rooms/epoch/prune/0.2/payload.ts +315 -0
  192. package/src/rooms/info/0.2/payload.ts +700 -0
  193. package/src/rooms/keys/backfill/0.2/payload.ts +260 -0
  194. package/src/rooms/keys/browse/0.1/payload.ts +2 -2
  195. package/src/rooms/keys/browse/0.2/payload.ts +628 -0
  196. package/src/rooms/keys/chain/0.2/payload.ts +308 -0
  197. package/src/rooms/keys/profile/read/0.1/payload.ts +2 -2
  198. package/src/rooms/keys/read/0.1/payload.ts +2 -2
  199. package/src/rooms/owner/anchor/0.1/payload.ts +2 -2
  200. package/src/rooms/records/get/0.1/payload.ts +2 -2
  201. package/src/rooms/records/get/0.2/payload.ts +2 -2
  202. package/src/rooms/records/list/0.1/payload.ts +2 -2
  203. package/src/rooms/records/list/0.2/payload.ts +2 -2
  204. package/src/rooms/records/list/0.3/payload.ts +601 -0
  205. package/src/rooms/records/prune/0.1/payload.ts +451 -0
  206. package/src/rooms/records/put/0.3/payload.ts +741 -0
  207. package/src/rooms/records/retention/set/0.1/payload.ts +338 -0
  208. package/src/vault/credentials/present/0.1/payload.ts +283 -0
  209. package/src/vault/credentials/query/0.1/payload.ts +8 -0
  210. package/src/vta/webvh/dids/create/1.2/payload.ts +660 -0
  211. package/src/vtc/_shared/0.1/room-migration.ts +17 -0
  212. package/src/vtc/_shared/0.1/room-storage.ts +1 -1
  213. package/src/vtc/_shared/0.2/room-storage.ts +17 -0
  214. package/src/vtc/admin/events/_shared/0.4/topic.ts +32 -0
  215. package/src/vtc/admin/events/event/0.4/payload.ts +137 -0
  216. package/src/vtc/admin/events/subscribe/0.4/payload.ts +318 -0
  217. package/src/vtc/rooms/get/0.2/payload.ts +1372 -0
  218. package/src/vtc/rooms/storage/migrate/0.2/payload.ts +408 -0
  219. package/src/vtc/storage/configs/create/0.1/payload.ts +1 -1
  220. package/src/vtc/storage/configs/create/0.2/payload.ts +830 -0
  221. package/src/vtc/storage/configs/get/0.1/payload.ts +1 -1
  222. package/src/vtc/storage/configs/get/0.2/payload.ts +1110 -0
  223. package/src/vtc/storage/configs/list/0.1/payload.ts +1 -1
  224. package/src/vtc/storage/configs/list/0.2/payload.ts +1177 -0
  225. package/src/vtc/storage/configs/update/0.1/payload.ts +1 -1
  226. package/src/vtc/storage/configs/update/0.2/payload.ts +829 -0
  227. package/src/vtc/storage/credentials/set/0.1/payload.ts +1 -1
  228. package/src/vtc/storage/credentials/set/0.2/payload.ts +619 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/rooms/get/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmYH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,+CAAwD,CAAC;AAKjF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,wDAAiE,CAAC;AAKnG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,+CAA+C;IACtD,OAAO,EAAE,2BAA2B;IACpC,aAAa,EAAE,2KAA2K;IAC1L,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,QAAQ;KACT;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,aAAa,EAAE,gDAAgD;SAChE;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,gBAAgB,EAAE;YAChB,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK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AAE;gBACN,QAAQ;gBACR,SAAS;gBACT,QAAQ;gBACR,UAAU;gBACV,QAAQ;aACT;YACD,aAAa,EAAE,0nBAA0nB;SAC1oB;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
@@ -0,0 +1,595 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/rooms/storage/migrate/0.2/payload.schema.json
4
+ */
5
+ import type { Ext, MigrationLastError, MigrationPauseCause, MigrationState, StorageConfigId } from "../../../../../_shared/components.js";
6
+ /**
7
+ * Move a hosted room's existing blobs onto its assigned storage config: copy, verify against the manifest, switch, orphan the old copy. Orphaned blobs are not moved. The outer document members are owned by the framework — SPEC §6.3.
8
+ */
9
+ export interface VTCRoomsStorageMigratePayload {
10
+ /**
11
+ * The room's identifier, as its owner minted it.
12
+ */
13
+ roomId: string;
14
+ /**
15
+ * Upper bound on the copy rate. The community applies its own lower bound when absent or larger.
16
+ */
17
+ maxBytesPerSecond?: number;
18
+ /**
19
+ * Why the administrator is making this change. Recorded with the change in the audit trail and shown to approvers. 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.
20
+ */
21
+ reason: string;
22
+ ext?: Ext;
23
+ }
24
+ export interface VTCRoomsStorageMigrateResponsePayload {
25
+ /**
26
+ * Community-generated handle for this room's migration.
27
+ */
28
+ migrationId: string;
29
+ /**
30
+ * The room's identifier, as its owner minted it.
31
+ */
32
+ roomId: string;
33
+ /**
34
+ * The config this migration moves blobs to: the room's assigned config when the migration was approved. It does not change if the room is reassigned while the migration is under way.
35
+ */
36
+ toConfig: StorageConfigId;
37
+ /**
38
+ * @maxItems 64
39
+ */
40
+ fromConfigs: StorageConfigId[];
41
+ state: MigrationState;
42
+ totalFiles: number;
43
+ totalBytes: number;
44
+ doneFiles: number;
45
+ doneBytes: number;
46
+ /**
47
+ * Present exactly when `state` is `paused`.
48
+ */
49
+ pausedCause?: MigrationPauseCause;
50
+ /**
51
+ * Present when `state` is `paused`; MAY be present while `running`, when a step is being retried.
52
+ */
53
+ lastError?: MigrationLastError;
54
+ /**
55
+ * When the community will next try by itself. Present while a `running` migration waits out a backoff, and on a `paused` one the community will retry unprompted; absent on a `paused` one only re-issuing vtc/rooms/storage/migrate resumes (such as `capacity`).
56
+ */
57
+ nextAttemptAt?: string;
58
+ ext?: Ext;
59
+ }
60
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
61
+ export type { Ext, MigrationLastError, MigrationPauseCause, MigrationState, StorageConfigId };
62
+ /** Trust Task type URI. */
63
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/rooms/storage/migrate/0.2";
64
+ /** Stable alias for this specification's request payload shape. */
65
+ export type Payload = VTCRoomsStorageMigratePayload;
66
+ /** Trust Task response type URI (request type URI + "#response"). */
67
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/rooms/storage/migrate/0.2#response";
68
+ /** Stable alias for this specification's success-response payload shape. */
69
+ export type Response = VTCRoomsStorageMigrateResponsePayload;
70
+ /**
71
+ * This specification's payload schema, as a value.
72
+ *
73
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
74
+ * rather than only as a `.json` file because TypeScript types are erased
75
+ * at runtime: without a schema a consumer has nothing to validate, and
76
+ * every REQUIRED payload member is optional in practice. Cross-file
77
+ * `$ref`s are already inlined, so it needs no resolver.
78
+ */
79
+ export declare const PAYLOAD_SCHEMA: {
80
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
81
+ readonly $id: "https://trusttasks.org/spec/vtc/rooms/storage/migrate/0.2";
82
+ readonly title: "VTC Rooms — Storage — Migrate — payload";
83
+ readonly description: "Move a hosted room's existing blobs onto its assigned storage config: copy, verify against the manifest, switch, orphan the old copy. Orphaned blobs are not moved. The outer document members are owned by the framework — SPEC §6.3.";
84
+ readonly type: "object";
85
+ readonly additionalProperties: false;
86
+ readonly required: readonly ["roomId", "reason"];
87
+ readonly properties: {
88
+ readonly roomId: {
89
+ readonly type: "string";
90
+ readonly minLength: 1;
91
+ readonly maxLength: 512;
92
+ readonly description: "The room's identifier, as its owner minted it.";
93
+ };
94
+ readonly maxBytesPerSecond: {
95
+ readonly type: "integer";
96
+ readonly minimum: 65536;
97
+ readonly description: "Upper bound on the copy rate. The community applies its own lower bound when absent or larger.";
98
+ };
99
+ readonly reason: {
100
+ readonly type: "string";
101
+ readonly minLength: 1;
102
+ readonly maxLength: 500;
103
+ readonly description: "Why the administrator is making this change. Recorded with the change in the audit trail and shown to approvers. 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.";
104
+ };
105
+ readonly ext: {
106
+ readonly $ref: "#/$defs/Ext";
107
+ };
108
+ };
109
+ readonly $defs: {
110
+ readonly Response: {
111
+ readonly $anchor: "response";
112
+ readonly title: "VTC Rooms — Storage — Migrate — response payload";
113
+ readonly type: "object";
114
+ readonly additionalProperties: false;
115
+ readonly required: readonly ["migrationId", "roomId", "toConfig", "fromConfigs", "state", "totalFiles", "totalBytes", "doneFiles", "doneBytes"];
116
+ readonly properties: {
117
+ readonly migrationId: {
118
+ readonly type: "string";
119
+ readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$";
120
+ readonly description: "Community-generated handle for this room's migration.";
121
+ };
122
+ readonly roomId: {
123
+ readonly type: "string";
124
+ readonly minLength: 1;
125
+ readonly maxLength: 512;
126
+ readonly description: "The room's identifier, as its owner minted it.";
127
+ };
128
+ readonly toConfig: {
129
+ readonly $ref: "#/$defs/StorageConfigId";
130
+ readonly description: "The config this migration moves blobs to: the room's assigned config when the migration was approved. It does not change if the room is reassigned while the migration is under way.";
131
+ };
132
+ readonly fromConfigs: {
133
+ readonly type: "array";
134
+ readonly maxItems: 64;
135
+ readonly items: {
136
+ readonly $ref: "#/$defs/StorageConfigId";
137
+ };
138
+ };
139
+ readonly state: {
140
+ readonly $ref: "#/$defs/MigrationState";
141
+ };
142
+ readonly totalFiles: {
143
+ readonly type: "integer";
144
+ readonly minimum: 0;
145
+ };
146
+ readonly totalBytes: {
147
+ readonly type: "integer";
148
+ readonly minimum: 0;
149
+ };
150
+ readonly doneFiles: {
151
+ readonly type: "integer";
152
+ readonly minimum: 0;
153
+ };
154
+ readonly doneBytes: {
155
+ readonly type: "integer";
156
+ readonly minimum: 0;
157
+ };
158
+ readonly pausedCause: {
159
+ readonly $ref: "#/$defs/MigrationPauseCause";
160
+ readonly description: "Present exactly when `state` is `paused`.";
161
+ };
162
+ readonly lastError: {
163
+ readonly $ref: "#/$defs/MigrationLastError";
164
+ readonly description: "Present when `state` is `paused`; MAY be present while `running`, when a step is being retried.";
165
+ };
166
+ readonly nextAttemptAt: {
167
+ readonly type: "string";
168
+ readonly format: "date-time";
169
+ readonly description: "When the community will next try by itself. Present while a `running` migration waits out a backoff, and on a `paused` one the community will retry unprompted; absent on a `paused` one only re-issuing vtc/rooms/storage/migrate resumes (such as `capacity`).";
170
+ };
171
+ readonly ext: {
172
+ readonly $ref: "#/$defs/Ext";
173
+ };
174
+ };
175
+ };
176
+ readonly Ext: {
177
+ readonly title: "Ext";
178
+ readonly 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.";
179
+ readonly type: "object";
180
+ readonly minProperties: 1;
181
+ readonly additionalProperties: true;
182
+ readonly propertyNames: {
183
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
184
+ };
185
+ };
186
+ readonly MigrationLastError: {
187
+ readonly title: "MigrationLastError";
188
+ readonly type: "string";
189
+ readonly minLength: 1;
190
+ readonly maxLength: 500;
191
+ readonly description: "A one-line summary of the last failure, for an administrator: the step, the config and the backend's error code or status (`put to eu-s3-primary: 503 SlowDown`). Never a credential, a presigned URL, a signed request, a room identifier or anything derived from a room's contents.";
192
+ };
193
+ readonly MigrationPauseCause: {
194
+ readonly title: "MigrationPauseCause";
195
+ readonly type: "string";
196
+ readonly enum: readonly ["capacity", "source", "destination", "credential"];
197
+ readonly description: "Why a migration is `paused`. `capacity`: the destination config cannot hold the rest. `source`: a config the blobs are being moved off keeps failing to serve them. `destination`: the destination config keeps refusing writes, or is no longer `active`. `credential`: the community cannot obtain a credential for one of the configs.";
198
+ };
199
+ readonly MigrationState: {
200
+ readonly title: "MigrationState";
201
+ readonly type: "string";
202
+ readonly enum: readonly ["queued", "running", "paused", "complete", "failed"];
203
+ readonly description: "`queued`: approved and waiting for another migration on this community to finish; nothing copied yet (a community that runs one migration at a time). `running`: copying, including while it retries a failing step with backoff. `paused`: halted after its automatic retries reached their cap without success, or on a cause that retrying cannot clear (`pausedCause`); resumed by issuing vtc/rooms/storage/migrate again, and by the community itself at `nextAttemptAt` when present. `complete`: every blob that was to move has moved. `failed`: halted on a blob whose copy did not verify against its manifest; that blob stays where it was.";
204
+ };
205
+ readonly StorageConfigId: {
206
+ readonly title: "StorageConfigId";
207
+ readonly type: "string";
208
+ readonly minLength: 1;
209
+ readonly maxLength: 64;
210
+ readonly pattern: "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$";
211
+ readonly 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.";
212
+ };
213
+ };
214
+ };
215
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
216
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
217
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
218
+ readonly $ref: "#/$defs/Response";
219
+ readonly $defs: {
220
+ readonly Response: {
221
+ readonly $anchor: "response";
222
+ readonly title: "VTC Rooms — Storage — Migrate — response payload";
223
+ readonly type: "object";
224
+ readonly additionalProperties: false;
225
+ readonly required: readonly ["migrationId", "roomId", "toConfig", "fromConfigs", "state", "totalFiles", "totalBytes", "doneFiles", "doneBytes"];
226
+ readonly properties: {
227
+ readonly migrationId: {
228
+ readonly type: "string";
229
+ readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$";
230
+ readonly description: "Community-generated handle for this room's migration.";
231
+ };
232
+ readonly roomId: {
233
+ readonly type: "string";
234
+ readonly minLength: 1;
235
+ readonly maxLength: 512;
236
+ readonly description: "The room's identifier, as its owner minted it.";
237
+ };
238
+ readonly toConfig: {
239
+ readonly $ref: "#/$defs/StorageConfigId";
240
+ readonly description: "The config this migration moves blobs to: the room's assigned config when the migration was approved. It does not change if the room is reassigned while the migration is under way.";
241
+ };
242
+ readonly fromConfigs: {
243
+ readonly type: "array";
244
+ readonly maxItems: 64;
245
+ readonly items: {
246
+ readonly $ref: "#/$defs/StorageConfigId";
247
+ };
248
+ };
249
+ readonly state: {
250
+ readonly $ref: "#/$defs/MigrationState";
251
+ };
252
+ readonly totalFiles: {
253
+ readonly type: "integer";
254
+ readonly minimum: 0;
255
+ };
256
+ readonly totalBytes: {
257
+ readonly type: "integer";
258
+ readonly minimum: 0;
259
+ };
260
+ readonly doneFiles: {
261
+ readonly type: "integer";
262
+ readonly minimum: 0;
263
+ };
264
+ readonly doneBytes: {
265
+ readonly type: "integer";
266
+ readonly minimum: 0;
267
+ };
268
+ readonly pausedCause: {
269
+ readonly $ref: "#/$defs/MigrationPauseCause";
270
+ readonly description: "Present exactly when `state` is `paused`.";
271
+ };
272
+ readonly lastError: {
273
+ readonly $ref: "#/$defs/MigrationLastError";
274
+ readonly description: "Present when `state` is `paused`; MAY be present while `running`, when a step is being retried.";
275
+ };
276
+ readonly nextAttemptAt: {
277
+ readonly type: "string";
278
+ readonly format: "date-time";
279
+ readonly description: "When the community will next try by itself. Present while a `running` migration waits out a backoff, and on a `paused` one the community will retry unprompted; absent on a `paused` one only re-issuing vtc/rooms/storage/migrate resumes (such as `capacity`).";
280
+ };
281
+ readonly ext: {
282
+ readonly $ref: "#/$defs/Ext";
283
+ };
284
+ };
285
+ };
286
+ readonly Ext: {
287
+ readonly title: "Ext";
288
+ readonly 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.";
289
+ readonly type: "object";
290
+ readonly minProperties: 1;
291
+ readonly additionalProperties: true;
292
+ readonly propertyNames: {
293
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
294
+ };
295
+ };
296
+ readonly MigrationLastError: {
297
+ readonly title: "MigrationLastError";
298
+ readonly type: "string";
299
+ readonly minLength: 1;
300
+ readonly maxLength: 500;
301
+ readonly description: "A one-line summary of the last failure, for an administrator: the step, the config and the backend's error code or status (`put to eu-s3-primary: 503 SlowDown`). Never a credential, a presigned URL, a signed request, a room identifier or anything derived from a room's contents.";
302
+ };
303
+ readonly MigrationPauseCause: {
304
+ readonly title: "MigrationPauseCause";
305
+ readonly type: "string";
306
+ readonly enum: readonly ["capacity", "source", "destination", "credential"];
307
+ readonly description: "Why a migration is `paused`. `capacity`: the destination config cannot hold the rest. `source`: a config the blobs are being moved off keeps failing to serve them. `destination`: the destination config keeps refusing writes, or is no longer `active`. `credential`: the community cannot obtain a credential for one of the configs.";
308
+ };
309
+ readonly MigrationState: {
310
+ readonly title: "MigrationState";
311
+ readonly type: "string";
312
+ readonly enum: readonly ["queued", "running", "paused", "complete", "failed"];
313
+ readonly description: "`queued`: approved and waiting for another migration on this community to finish; nothing copied yet (a community that runs one migration at a time). `running`: copying, including while it retries a failing step with backoff. `paused`: halted after its automatic retries reached their cap without success, or on a cause that retrying cannot clear (`pausedCause`); resumed by issuing vtc/rooms/storage/migrate again, and by the community itself at `nextAttemptAt` when present. `complete`: every blob that was to move has moved. `failed`: halted on a blob whose copy did not verify against its manifest; that blob stays where it was.";
314
+ };
315
+ readonly StorageConfigId: {
316
+ readonly title: "StorageConfigId";
317
+ readonly type: "string";
318
+ readonly minLength: 1;
319
+ readonly maxLength: 64;
320
+ readonly pattern: "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$";
321
+ readonly 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.";
322
+ };
323
+ };
324
+ };
325
+ /**
326
+ * SPEC.md §7.2 policy for the request variant, from this specification's
327
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
328
+ * per-specification and cannot be derived from the document alone, and
329
+ * item 2 needs the schema this carries.
330
+ */
331
+ export declare const SPEC: {
332
+ readonly typeUri: "https://trusttasks.org/spec/vtc/rooms/storage/migrate/0.2";
333
+ readonly isBearer: false;
334
+ readonly isProofRequired: true;
335
+ readonly isRecipientRequired: true;
336
+ readonly isIssuedAtRequired: true;
337
+ readonly payloadSchema: {
338
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
339
+ readonly $id: "https://trusttasks.org/spec/vtc/rooms/storage/migrate/0.2";
340
+ readonly title: "VTC Rooms — Storage — Migrate — payload";
341
+ readonly description: "Move a hosted room's existing blobs onto its assigned storage config: copy, verify against the manifest, switch, orphan the old copy. Orphaned blobs are not moved. The outer document members are owned by the framework — SPEC §6.3.";
342
+ readonly type: "object";
343
+ readonly additionalProperties: false;
344
+ readonly required: readonly ["roomId", "reason"];
345
+ readonly properties: {
346
+ readonly roomId: {
347
+ readonly type: "string";
348
+ readonly minLength: 1;
349
+ readonly maxLength: 512;
350
+ readonly description: "The room's identifier, as its owner minted it.";
351
+ };
352
+ readonly maxBytesPerSecond: {
353
+ readonly type: "integer";
354
+ readonly minimum: 65536;
355
+ readonly description: "Upper bound on the copy rate. The community applies its own lower bound when absent or larger.";
356
+ };
357
+ readonly reason: {
358
+ readonly type: "string";
359
+ readonly minLength: 1;
360
+ readonly maxLength: 500;
361
+ readonly description: "Why the administrator is making this change. Recorded with the change in the audit trail and shown to approvers. 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.";
362
+ };
363
+ readonly ext: {
364
+ readonly $ref: "#/$defs/Ext";
365
+ };
366
+ };
367
+ readonly $defs: {
368
+ readonly Response: {
369
+ readonly $anchor: "response";
370
+ readonly title: "VTC Rooms — Storage — Migrate — response payload";
371
+ readonly type: "object";
372
+ readonly additionalProperties: false;
373
+ readonly required: readonly ["migrationId", "roomId", "toConfig", "fromConfigs", "state", "totalFiles", "totalBytes", "doneFiles", "doneBytes"];
374
+ readonly properties: {
375
+ readonly migrationId: {
376
+ readonly type: "string";
377
+ readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$";
378
+ readonly description: "Community-generated handle for this room's migration.";
379
+ };
380
+ readonly roomId: {
381
+ readonly type: "string";
382
+ readonly minLength: 1;
383
+ readonly maxLength: 512;
384
+ readonly description: "The room's identifier, as its owner minted it.";
385
+ };
386
+ readonly toConfig: {
387
+ readonly $ref: "#/$defs/StorageConfigId";
388
+ readonly description: "The config this migration moves blobs to: the room's assigned config when the migration was approved. It does not change if the room is reassigned while the migration is under way.";
389
+ };
390
+ readonly fromConfigs: {
391
+ readonly type: "array";
392
+ readonly maxItems: 64;
393
+ readonly items: {
394
+ readonly $ref: "#/$defs/StorageConfigId";
395
+ };
396
+ };
397
+ readonly state: {
398
+ readonly $ref: "#/$defs/MigrationState";
399
+ };
400
+ readonly totalFiles: {
401
+ readonly type: "integer";
402
+ readonly minimum: 0;
403
+ };
404
+ readonly totalBytes: {
405
+ readonly type: "integer";
406
+ readonly minimum: 0;
407
+ };
408
+ readonly doneFiles: {
409
+ readonly type: "integer";
410
+ readonly minimum: 0;
411
+ };
412
+ readonly doneBytes: {
413
+ readonly type: "integer";
414
+ readonly minimum: 0;
415
+ };
416
+ readonly pausedCause: {
417
+ readonly $ref: "#/$defs/MigrationPauseCause";
418
+ readonly description: "Present exactly when `state` is `paused`.";
419
+ };
420
+ readonly lastError: {
421
+ readonly $ref: "#/$defs/MigrationLastError";
422
+ readonly description: "Present when `state` is `paused`; MAY be present while `running`, when a step is being retried.";
423
+ };
424
+ readonly nextAttemptAt: {
425
+ readonly type: "string";
426
+ readonly format: "date-time";
427
+ readonly description: "When the community will next try by itself. Present while a `running` migration waits out a backoff, and on a `paused` one the community will retry unprompted; absent on a `paused` one only re-issuing vtc/rooms/storage/migrate resumes (such as `capacity`).";
428
+ };
429
+ readonly ext: {
430
+ readonly $ref: "#/$defs/Ext";
431
+ };
432
+ };
433
+ };
434
+ readonly Ext: {
435
+ readonly title: "Ext";
436
+ readonly 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.";
437
+ readonly type: "object";
438
+ readonly minProperties: 1;
439
+ readonly additionalProperties: true;
440
+ readonly propertyNames: {
441
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
442
+ };
443
+ };
444
+ readonly MigrationLastError: {
445
+ readonly title: "MigrationLastError";
446
+ readonly type: "string";
447
+ readonly minLength: 1;
448
+ readonly maxLength: 500;
449
+ readonly description: "A one-line summary of the last failure, for an administrator: the step, the config and the backend's error code or status (`put to eu-s3-primary: 503 SlowDown`). Never a credential, a presigned URL, a signed request, a room identifier or anything derived from a room's contents.";
450
+ };
451
+ readonly MigrationPauseCause: {
452
+ readonly title: "MigrationPauseCause";
453
+ readonly type: "string";
454
+ readonly enum: readonly ["capacity", "source", "destination", "credential"];
455
+ readonly description: "Why a migration is `paused`. `capacity`: the destination config cannot hold the rest. `source`: a config the blobs are being moved off keeps failing to serve them. `destination`: the destination config keeps refusing writes, or is no longer `active`. `credential`: the community cannot obtain a credential for one of the configs.";
456
+ };
457
+ readonly MigrationState: {
458
+ readonly title: "MigrationState";
459
+ readonly type: "string";
460
+ readonly enum: readonly ["queued", "running", "paused", "complete", "failed"];
461
+ readonly description: "`queued`: approved and waiting for another migration on this community to finish; nothing copied yet (a community that runs one migration at a time). `running`: copying, including while it retries a failing step with backoff. `paused`: halted after its automatic retries reached their cap without success, or on a cause that retrying cannot clear (`pausedCause`); resumed by issuing vtc/rooms/storage/migrate again, and by the community itself at `nextAttemptAt` when present. `complete`: every blob that was to move has moved. `failed`: halted on a blob whose copy did not verify against its manifest; that blob stays where it was.";
462
+ };
463
+ readonly StorageConfigId: {
464
+ readonly title: "StorageConfigId";
465
+ readonly type: "string";
466
+ readonly minLength: 1;
467
+ readonly maxLength: 64;
468
+ readonly pattern: "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$";
469
+ readonly 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.";
470
+ };
471
+ };
472
+ };
473
+ };
474
+ /**
475
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
476
+ * tracks the *issuer* party's requirement because a response swaps the
477
+ * parties (§7.3 item 5).
478
+ */
479
+ export declare const RESPONSE_SPEC: {
480
+ readonly typeUri: "https://trusttasks.org/spec/vtc/rooms/storage/migrate/0.2#response";
481
+ readonly isBearer: false;
482
+ readonly isProofRequired: true;
483
+ readonly isRecipientRequired: true;
484
+ readonly isIssuedAtRequired: true;
485
+ readonly payloadSchema: {
486
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
487
+ readonly $ref: "#/$defs/Response";
488
+ readonly $defs: {
489
+ readonly Response: {
490
+ readonly $anchor: "response";
491
+ readonly title: "VTC Rooms — Storage — Migrate — response payload";
492
+ readonly type: "object";
493
+ readonly additionalProperties: false;
494
+ readonly required: readonly ["migrationId", "roomId", "toConfig", "fromConfigs", "state", "totalFiles", "totalBytes", "doneFiles", "doneBytes"];
495
+ readonly properties: {
496
+ readonly migrationId: {
497
+ readonly type: "string";
498
+ readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$";
499
+ readonly description: "Community-generated handle for this room's migration.";
500
+ };
501
+ readonly roomId: {
502
+ readonly type: "string";
503
+ readonly minLength: 1;
504
+ readonly maxLength: 512;
505
+ readonly description: "The room's identifier, as its owner minted it.";
506
+ };
507
+ readonly toConfig: {
508
+ readonly $ref: "#/$defs/StorageConfigId";
509
+ readonly description: "The config this migration moves blobs to: the room's assigned config when the migration was approved. It does not change if the room is reassigned while the migration is under way.";
510
+ };
511
+ readonly fromConfigs: {
512
+ readonly type: "array";
513
+ readonly maxItems: 64;
514
+ readonly items: {
515
+ readonly $ref: "#/$defs/StorageConfigId";
516
+ };
517
+ };
518
+ readonly state: {
519
+ readonly $ref: "#/$defs/MigrationState";
520
+ };
521
+ readonly totalFiles: {
522
+ readonly type: "integer";
523
+ readonly minimum: 0;
524
+ };
525
+ readonly totalBytes: {
526
+ readonly type: "integer";
527
+ readonly minimum: 0;
528
+ };
529
+ readonly doneFiles: {
530
+ readonly type: "integer";
531
+ readonly minimum: 0;
532
+ };
533
+ readonly doneBytes: {
534
+ readonly type: "integer";
535
+ readonly minimum: 0;
536
+ };
537
+ readonly pausedCause: {
538
+ readonly $ref: "#/$defs/MigrationPauseCause";
539
+ readonly description: "Present exactly when `state` is `paused`.";
540
+ };
541
+ readonly lastError: {
542
+ readonly $ref: "#/$defs/MigrationLastError";
543
+ readonly description: "Present when `state` is `paused`; MAY be present while `running`, when a step is being retried.";
544
+ };
545
+ readonly nextAttemptAt: {
546
+ readonly type: "string";
547
+ readonly format: "date-time";
548
+ readonly description: "When the community will next try by itself. Present while a `running` migration waits out a backoff, and on a `paused` one the community will retry unprompted; absent on a `paused` one only re-issuing vtc/rooms/storage/migrate resumes (such as `capacity`).";
549
+ };
550
+ readonly ext: {
551
+ readonly $ref: "#/$defs/Ext";
552
+ };
553
+ };
554
+ };
555
+ readonly Ext: {
556
+ readonly title: "Ext";
557
+ readonly 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.";
558
+ readonly type: "object";
559
+ readonly minProperties: 1;
560
+ readonly additionalProperties: true;
561
+ readonly propertyNames: {
562
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
563
+ };
564
+ };
565
+ readonly MigrationLastError: {
566
+ readonly title: "MigrationLastError";
567
+ readonly type: "string";
568
+ readonly minLength: 1;
569
+ readonly maxLength: 500;
570
+ readonly description: "A one-line summary of the last failure, for an administrator: the step, the config and the backend's error code or status (`put to eu-s3-primary: 503 SlowDown`). Never a credential, a presigned URL, a signed request, a room identifier or anything derived from a room's contents.";
571
+ };
572
+ readonly MigrationPauseCause: {
573
+ readonly title: "MigrationPauseCause";
574
+ readonly type: "string";
575
+ readonly enum: readonly ["capacity", "source", "destination", "credential"];
576
+ readonly description: "Why a migration is `paused`. `capacity`: the destination config cannot hold the rest. `source`: a config the blobs are being moved off keeps failing to serve them. `destination`: the destination config keeps refusing writes, or is no longer `active`. `credential`: the community cannot obtain a credential for one of the configs.";
577
+ };
578
+ readonly MigrationState: {
579
+ readonly title: "MigrationState";
580
+ readonly type: "string";
581
+ readonly enum: readonly ["queued", "running", "paused", "complete", "failed"];
582
+ readonly description: "`queued`: approved and waiting for another migration on this community to finish; nothing copied yet (a community that runs one migration at a time). `running`: copying, including while it retries a failing step with backoff. `paused`: halted after its automatic retries reached their cap without success, or on a cause that retrying cannot clear (`pausedCause`); resumed by issuing vtc/rooms/storage/migrate again, and by the community itself at `nextAttemptAt` when present. `complete`: every blob that was to move has moved. `failed`: halted on a blob whose copy did not verify against its manifest; that blob stays where it was.";
583
+ };
584
+ readonly StorageConfigId: {
585
+ readonly title: "StorageConfigId";
586
+ readonly type: "string";
587
+ readonly minLength: 1;
588
+ readonly maxLength: 64;
589
+ readonly pattern: "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$";
590
+ readonly 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.";
591
+ };
592
+ };
593
+ };
594
+ };
595
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/rooms/storage/migrate/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAG1I;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,qCAAqC;IACpD;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,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