@openvtc/trust-tasks 0.21.12 → 0.21.14

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 (65) hide show
  1. package/CHANGELOG.md +85 -0
  2. package/dist/_shared/components.d.ts +91 -0
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/auth/_shared/0.3/session.d.ts +16 -0
  5. package/dist/auth/_shared/0.3/session.d.ts.map +1 -0
  6. package/dist/auth/_shared/0.3/session.js +6 -0
  7. package/dist/auth/_shared/0.3/session.js.map +1 -0
  8. package/dist/auth/authenticate/0.3/payload.d.ts +852 -0
  9. package/dist/auth/authenticate/0.3/payload.d.ts.map +1 -0
  10. package/dist/auth/authenticate/0.3/payload.js +442 -0
  11. package/dist/auth/authenticate/0.3/payload.js.map +1 -0
  12. package/dist/auth/refresh/0.2/payload.d.ts +729 -0
  13. package/dist/auth/refresh/0.2/payload.d.ts.map +1 -0
  14. package/dist/auth/refresh/0.2/payload.js +392 -0
  15. package/dist/auth/refresh/0.2/payload.js.map +1 -0
  16. package/dist/git-ns/_shared/0.5/git-ns.d.ts +16 -0
  17. package/dist/git-ns/_shared/0.5/git-ns.d.ts.map +1 -0
  18. package/dist/git-ns/_shared/0.5/git-ns.js +6 -0
  19. package/dist/git-ns/_shared/0.5/git-ns.js.map +1 -0
  20. package/dist/git-ns/account/list/0.1/payload.d.ts +598 -0
  21. package/dist/git-ns/account/list/0.1/payload.d.ts.map +1 -0
  22. package/dist/git-ns/account/list/0.1/payload.js +317 -0
  23. package/dist/git-ns/account/list/0.1/payload.js.map +1 -0
  24. package/dist/git-ns/activity/list/0.1/payload.d.ts +642 -0
  25. package/dist/git-ns/activity/list/0.1/payload.d.ts.map +1 -0
  26. package/dist/git-ns/activity/list/0.1/payload.js +343 -0
  27. package/dist/git-ns/activity/list/0.1/payload.js.map +1 -0
  28. package/dist/git-ns/bridge/job/list/0.1/payload.d.ts +697 -0
  29. package/dist/git-ns/bridge/job/list/0.1/payload.d.ts.map +1 -0
  30. package/dist/git-ns/bridge/job/list/0.1/payload.js +386 -0
  31. package/dist/git-ns/bridge/job/list/0.1/payload.js.map +1 -0
  32. package/dist/git-ns/projection/show/0.1/payload.d.ts +705 -0
  33. package/dist/git-ns/projection/show/0.1/payload.d.ts.map +1 -0
  34. package/dist/git-ns/projection/show/0.1/payload.js +377 -0
  35. package/dist/git-ns/projection/show/0.1/payload.js.map +1 -0
  36. package/dist/git-ns/right/issued-by-departed/0.1/payload.d.ts +862 -0
  37. package/dist/git-ns/right/issued-by-departed/0.1/payload.d.ts.map +1 -0
  38. package/dist/git-ns/right/issued-by-departed/0.1/payload.js +487 -0
  39. package/dist/git-ns/right/issued-by-departed/0.1/payload.js.map +1 -0
  40. package/dist/git-ns/right/list/0.1/payload.d.ts +773 -0
  41. package/dist/git-ns/right/list/0.1/payload.d.ts.map +1 -0
  42. package/dist/git-ns/right/list/0.1/payload.js +439 -0
  43. package/dist/git-ns/right/list/0.1/payload.js.map +1 -0
  44. package/dist/index.d.ts +11 -0
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.js +11 -0
  47. package/dist/index.js.map +1 -1
  48. package/dist/vta/contexts/update-did/1.1/payload.d.ts +388 -0
  49. package/dist/vta/contexts/update-did/1.1/payload.d.ts.map +1 -0
  50. package/dist/vta/contexts/update-did/1.1/payload.js +227 -0
  51. package/dist/vta/contexts/update-did/1.1/payload.js.map +1 -0
  52. package/package.json +1 -1
  53. package/src/_shared/components.ts +91 -0
  54. package/src/auth/_shared/0.3/session.ts +17 -0
  55. package/src/auth/authenticate/0.3/payload.ts +527 -0
  56. package/src/auth/refresh/0.2/payload.ts +444 -0
  57. package/src/git-ns/_shared/0.5/git-ns.ts +17 -0
  58. package/src/git-ns/account/list/0.1/payload.ts +392 -0
  59. package/src/git-ns/activity/list/0.1/payload.ts +430 -0
  60. package/src/git-ns/bridge/job/list/0.1/payload.ts +490 -0
  61. package/src/git-ns/projection/show/0.1/payload.ts +479 -0
  62. package/src/git-ns/right/issued-by-departed/0.1/payload.ts +550 -0
  63. package/src/git-ns/right/list/0.1/payload.ts +493 -0
  64. package/src/index.ts +11 -0
  65. package/src/vta/contexts/update-did/1.1/payload.ts +256 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/git-ns/bridge/job/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,aAAa,IAAI,GAAG,EAAE,GAAG,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAGjH;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,CAAC;AACjG;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC;AAC3B;;GAEG;AACH,MAAM,MAAM,OAAO,GACf,cAAc,GACd,YAAY,GACZ,WAAW,GACX,SAAS,GACT,SAAS,GACT,WAAW,GACX,kBAAkB,CAAC;AAEvB;;GAEG;AACH,MAAM,WAAW,kCAAkC;IACjD;;OAEG;IACH,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACzD;;OAEG;IACH,IAAI,EAAE,MAAM,EAAE,CAAC;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,EAAE,WAAW,CAAC;IACvB;;OAEG;IACH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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
@@ -0,0 +1,386 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/git-ns/bridge/job/list/0.1/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/git-ns/bridge/job/list/0.1";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/git-ns/bridge/job/list/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/git-ns/bridge/job/list/0.1",
21
+ "title": "Git Namespaces — List Bridge Jobs — payload",
22
+ "description": "A namespace's administrators list the bridge jobs queued or run for it — every namespace, for a community administrator — with each job's kind, state and last error. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.",
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "properties": {
26
+ "namespace": {
27
+ "$ref": "#/$defs/NamespaceId",
28
+ "description": "Only jobs in this namespace. Absent: every administered namespace."
29
+ },
30
+ "state": {
31
+ "$ref": "#/$defs/JobState"
32
+ },
33
+ "cursor": {
34
+ "type": "string",
35
+ "description": "Opaque continuation token from a previous response's `nextCursor`. A consumer supplying a `cursor` MUST NOT also change `namespace` or `state` from the request that produced it — start a fresh query instead."
36
+ },
37
+ "limit": {
38
+ "type": "integer",
39
+ "minimum": 1,
40
+ "maximum": 500,
41
+ "description": "Maximum jobs to return in this page. A VTC clamps to 1..=500 (default 100)."
42
+ },
43
+ "ext": {
44
+ "$ref": "#/$defs/Ext"
45
+ }
46
+ },
47
+ "$defs": {
48
+ "JobId": {
49
+ "title": "JobId",
50
+ "type": "string",
51
+ "minLength": 1,
52
+ "maxLength": 128,
53
+ "description": "The VTC's identifier for the job, unique across the VTC's jobs. The same identifier git-ns/bridge/job/0.4 assigns and git-ns/bridge/result/0.1 reports against."
54
+ },
55
+ "JobKind": {
56
+ "title": "JobKind",
57
+ "type": "string",
58
+ "enum": [
59
+ "projectRoles",
60
+ "createRepo",
61
+ "bootstrap",
62
+ "archive",
63
+ "inspect",
64
+ "beginBind",
65
+ "beginAccountLink"
66
+ ],
67
+ "description": "What the job asks the bridge to do — the same seven kinds git-ns/bridge/job/0.4 defines. Kept as its own enum here, rather than a cross-file $ref, because job/0.4 declares its `kind` inline rather than as a named $def; the two lists change together."
68
+ },
69
+ "JobState": {
70
+ "title": "JobState",
71
+ "type": "string",
72
+ "enum": [
73
+ "pending",
74
+ "accepted",
75
+ "succeeded",
76
+ "partial",
77
+ "failed",
78
+ "cancelled"
79
+ ],
80
+ "description": "The VTC's own queue state for the job, driven by git-ns/bridge/result/0.1 reports. `pending` — queued, not yet accepted. `accepted` — the bridge has taken it and not yet reported an outcome. `succeeded` — every step completed. `partial` — some steps completed and at least one did not. `failed` — no step completed. `cancelled` — withdrawn before the bridge accepted it."
81
+ },
82
+ "JobRow": {
83
+ "title": "JobRow",
84
+ "description": "One bridge job as the administrator's console shows it.",
85
+ "type": "object",
86
+ "additionalProperties": false,
87
+ "required": [
88
+ "jobId",
89
+ "namespace",
90
+ "bridgeDid",
91
+ "kind",
92
+ "state",
93
+ "attempts",
94
+ "createdAt"
95
+ ],
96
+ "properties": {
97
+ "jobId": {
98
+ "$ref": "#/$defs/JobId"
99
+ },
100
+ "namespace": {
101
+ "$ref": "#/$defs/NamespaceId"
102
+ },
103
+ "bridgeDid": {
104
+ "$ref": "#/$defs/Did",
105
+ "description": "The bridge the job was dispatched to."
106
+ },
107
+ "kind": {
108
+ "$ref": "#/$defs/JobKind"
109
+ },
110
+ "state": {
111
+ "$ref": "#/$defs/JobState"
112
+ },
113
+ "repo": {
114
+ "$ref": "#/$defs/RepoResource",
115
+ "description": "The repository the job acts on. Absent for a namespace-wide `inspect` sweep or a job with no repository (`beginBind`, `beginAccountLink`)."
116
+ },
117
+ "attempts": {
118
+ "type": "integer",
119
+ "minimum": 0,
120
+ "description": "How many times the VTC has dispatched this job to a bridge."
121
+ },
122
+ "createdAt": {
123
+ "type": "string",
124
+ "format": "date-time",
125
+ "description": "When the VTC queued the job."
126
+ },
127
+ "acceptedAt": {
128
+ "type": "string",
129
+ "format": "date-time",
130
+ "description": "When a bridge last accepted it. Absent while `state` is `pending` or `cancelled`."
131
+ },
132
+ "lastError": {
133
+ "type": "string",
134
+ "maxLength": 1024,
135
+ "description": "The bridge's last reported error, verbatim. Diagnostic prose for an administrator; a consumer MUST NOT parse it. Absent unless `state` is `partial` or `failed`."
136
+ }
137
+ }
138
+ },
139
+ "Response": {
140
+ "$anchor": "response",
141
+ "title": "Git Namespaces — List Bridge Jobs — response payload",
142
+ "description": "The matching jobs, newest first.",
143
+ "type": "object",
144
+ "additionalProperties": false,
145
+ "required": [
146
+ "jobs"
147
+ ],
148
+ "properties": {
149
+ "jobs": {
150
+ "type": "array",
151
+ "items": {
152
+ "$ref": "#/$defs/JobRow"
153
+ },
154
+ "description": "Jobs matching `namespace` and `state`, newest (`createdAt`) first."
155
+ },
156
+ "nextCursor": {
157
+ "type": [
158
+ "string",
159
+ "null"
160
+ ],
161
+ "description": "Continuation token for the next page, or `null` when this is the last."
162
+ },
163
+ "ext": {
164
+ "$ref": "#/$defs/Ext"
165
+ }
166
+ }
167
+ },
168
+ "Ext": {
169
+ "title": "Ext",
170
+ "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.",
171
+ "type": "object",
172
+ "minProperties": 1,
173
+ "additionalProperties": true,
174
+ "propertyNames": {
175
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
176
+ }
177
+ },
178
+ "RepoResource": {
179
+ "title": "RepoResource",
180
+ "description": "A forge-qualified resource naming exactly one repository: `<forge-host>/<owner>/<repo>`, lowercase.",
181
+ "type": "string",
182
+ "maxLength": 455,
183
+ "pattern": "^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)+/[a-z0-9_-][a-z0-9._-]{0,99}/[a-z0-9_-][a-z0-9._-]{0,99}$"
184
+ },
185
+ "Did": {
186
+ "title": "Did",
187
+ "description": "A bare DID in the W3C DID Core syntax (§3.1): `did:`, a method name of lowercase letters and digits, `:`, and a method-specific id of colon-separated segments drawn from `A-Z a-z 0-9 . - _` and percent-encoded octets, the last segment non-empty. A DID URL is not a DID: no path, query or fragment (`/`, `?`, `#`), so a verification-method id such as `did:key:z6Mk…#z6Mk…` is refused. Compared by exact string equality — no case folding or percent-decoding. A consumer MUST still treat the value as data: the pattern keeps shell metacharacters, whitespace and quotes out of the wire form, but it does not make a DID safe to splice into a command or markup.",
188
+ "type": "string",
189
+ "maxLength": 2048,
190
+ "pattern": "^did:[a-z0-9]+:(?:(?:[A-Za-z0-9._-]|%[0-9A-Fa-f]{2})*:)*(?:[A-Za-z0-9._-]|%[0-9A-Fa-f]{2})+$"
191
+ },
192
+ "NamespaceId": {
193
+ "title": "NamespaceId",
194
+ "description": "The VTC's opaque identifier for a namespace, assigned when it is bound. Stable for the life of the binding; never reused for another binding.",
195
+ "type": "string",
196
+ "minLength": 1,
197
+ "maxLength": 128
198
+ }
199
+ }
200
+ };
201
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
202
+ export const RESPONSE_PAYLOAD_SCHEMA = {
203
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
204
+ "$ref": "#/$defs/Response",
205
+ "$defs": {
206
+ "JobId": {
207
+ "title": "JobId",
208
+ "type": "string",
209
+ "minLength": 1,
210
+ "maxLength": 128,
211
+ "description": "The VTC's identifier for the job, unique across the VTC's jobs. The same identifier git-ns/bridge/job/0.4 assigns and git-ns/bridge/result/0.1 reports against."
212
+ },
213
+ "JobKind": {
214
+ "title": "JobKind",
215
+ "type": "string",
216
+ "enum": [
217
+ "projectRoles",
218
+ "createRepo",
219
+ "bootstrap",
220
+ "archive",
221
+ "inspect",
222
+ "beginBind",
223
+ "beginAccountLink"
224
+ ],
225
+ "description": "What the job asks the bridge to do — the same seven kinds git-ns/bridge/job/0.4 defines. Kept as its own enum here, rather than a cross-file $ref, because job/0.4 declares its `kind` inline rather than as a named $def; the two lists change together."
226
+ },
227
+ "JobState": {
228
+ "title": "JobState",
229
+ "type": "string",
230
+ "enum": [
231
+ "pending",
232
+ "accepted",
233
+ "succeeded",
234
+ "partial",
235
+ "failed",
236
+ "cancelled"
237
+ ],
238
+ "description": "The VTC's own queue state for the job, driven by git-ns/bridge/result/0.1 reports. `pending` — queued, not yet accepted. `accepted` — the bridge has taken it and not yet reported an outcome. `succeeded` — every step completed. `partial` — some steps completed and at least one did not. `failed` — no step completed. `cancelled` — withdrawn before the bridge accepted it."
239
+ },
240
+ "JobRow": {
241
+ "title": "JobRow",
242
+ "description": "One bridge job as the administrator's console shows it.",
243
+ "type": "object",
244
+ "additionalProperties": false,
245
+ "required": [
246
+ "jobId",
247
+ "namespace",
248
+ "bridgeDid",
249
+ "kind",
250
+ "state",
251
+ "attempts",
252
+ "createdAt"
253
+ ],
254
+ "properties": {
255
+ "jobId": {
256
+ "$ref": "#/$defs/JobId"
257
+ },
258
+ "namespace": {
259
+ "$ref": "#/$defs/NamespaceId"
260
+ },
261
+ "bridgeDid": {
262
+ "$ref": "#/$defs/Did",
263
+ "description": "The bridge the job was dispatched to."
264
+ },
265
+ "kind": {
266
+ "$ref": "#/$defs/JobKind"
267
+ },
268
+ "state": {
269
+ "$ref": "#/$defs/JobState"
270
+ },
271
+ "repo": {
272
+ "$ref": "#/$defs/RepoResource",
273
+ "description": "The repository the job acts on. Absent for a namespace-wide `inspect` sweep or a job with no repository (`beginBind`, `beginAccountLink`)."
274
+ },
275
+ "attempts": {
276
+ "type": "integer",
277
+ "minimum": 0,
278
+ "description": "How many times the VTC has dispatched this job to a bridge."
279
+ },
280
+ "createdAt": {
281
+ "type": "string",
282
+ "format": "date-time",
283
+ "description": "When the VTC queued the job."
284
+ },
285
+ "acceptedAt": {
286
+ "type": "string",
287
+ "format": "date-time",
288
+ "description": "When a bridge last accepted it. Absent while `state` is `pending` or `cancelled`."
289
+ },
290
+ "lastError": {
291
+ "type": "string",
292
+ "maxLength": 1024,
293
+ "description": "The bridge's last reported error, verbatim. Diagnostic prose for an administrator; a consumer MUST NOT parse it. Absent unless `state` is `partial` or `failed`."
294
+ }
295
+ }
296
+ },
297
+ "Response": {
298
+ "$anchor": "response",
299
+ "title": "Git Namespaces — List Bridge Jobs — response payload",
300
+ "description": "The matching jobs, newest first.",
301
+ "type": "object",
302
+ "additionalProperties": false,
303
+ "required": [
304
+ "jobs"
305
+ ],
306
+ "properties": {
307
+ "jobs": {
308
+ "type": "array",
309
+ "items": {
310
+ "$ref": "#/$defs/JobRow"
311
+ },
312
+ "description": "Jobs matching `namespace` and `state`, newest (`createdAt`) first."
313
+ },
314
+ "nextCursor": {
315
+ "type": [
316
+ "string",
317
+ "null"
318
+ ],
319
+ "description": "Continuation token for the next page, or `null` when this is the last."
320
+ },
321
+ "ext": {
322
+ "$ref": "#/$defs/Ext"
323
+ }
324
+ }
325
+ },
326
+ "Ext": {
327
+ "title": "Ext",
328
+ "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.",
329
+ "type": "object",
330
+ "minProperties": 1,
331
+ "additionalProperties": true,
332
+ "propertyNames": {
333
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
334
+ }
335
+ },
336
+ "RepoResource": {
337
+ "title": "RepoResource",
338
+ "description": "A forge-qualified resource naming exactly one repository: `<forge-host>/<owner>/<repo>`, lowercase.",
339
+ "type": "string",
340
+ "maxLength": 455,
341
+ "pattern": "^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)+/[a-z0-9_-][a-z0-9._-]{0,99}/[a-z0-9_-][a-z0-9._-]{0,99}$"
342
+ },
343
+ "Did": {
344
+ "title": "Did",
345
+ "description": "A bare DID in the W3C DID Core syntax (§3.1): `did:`, a method name of lowercase letters and digits, `:`, and a method-specific id of colon-separated segments drawn from `A-Z a-z 0-9 . - _` and percent-encoded octets, the last segment non-empty. A DID URL is not a DID: no path, query or fragment (`/`, `?`, `#`), so a verification-method id such as `did:key:z6Mk…#z6Mk…` is refused. Compared by exact string equality — no case folding or percent-decoding. A consumer MUST still treat the value as data: the pattern keeps shell metacharacters, whitespace and quotes out of the wire form, but it does not make a DID safe to splice into a command or markup.",
346
+ "type": "string",
347
+ "maxLength": 2048,
348
+ "pattern": "^did:[a-z0-9]+:(?:(?:[A-Za-z0-9._-]|%[0-9A-Fa-f]{2})*:)*(?:[A-Za-z0-9._-]|%[0-9A-Fa-f]{2})+$"
349
+ },
350
+ "NamespaceId": {
351
+ "title": "NamespaceId",
352
+ "description": "The VTC's opaque identifier for a namespace, assigned when it is bound. Stable for the life of the binding; never reused for another binding.",
353
+ "type": "string",
354
+ "minLength": 1,
355
+ "maxLength": 128
356
+ }
357
+ }
358
+ };
359
+ /**
360
+ * SPEC.md §7.2 policy for the request variant, from this specification's
361
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
362
+ * per-specification and cannot be derived from the document alone, and
363
+ * item 2 needs the schema this carries.
364
+ */
365
+ export const SPEC = {
366
+ typeUri: TYPE_URI,
367
+ isBearer: false,
368
+ isProofRequired: true,
369
+ isRecipientRequired: true,
370
+ isIssuedAtRequired: false,
371
+ payloadSchema: PAYLOAD_SCHEMA,
372
+ };
373
+ /**
374
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
375
+ * tracks the *issuer* party's requirement because a response swaps the
376
+ * parties (§7.3 item 5).
377
+ */
378
+ export const RESPONSE_SPEC = {
379
+ typeUri: RESPONSE_TYPE_URI,
380
+ isBearer: false,
381
+ isProofRequired: true,
382
+ isRecipientRequired: true,
383
+ isIssuedAtRequired: false,
384
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
385
+ };
386
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/git-ns/bridge/job/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA+FH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,wDAAiE,CAAC;AAK1F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,iEAA0E,CAAC;AAK5G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,wDAAwD;IAC/D,OAAO,EAAE,6CAA6C;IACtD,aAAa,EAAE,oSAAoS;IACnT,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,YAAY,EAAE;QACZ,WAAW,EAAE;YACX,MAAM,EAAE,qBAAqB;YAC7B,aAAa,EAAE,oEAAoE;SACpF;QACD,OAAO,EAAE;YACP,MAAM,EAAE,kBAAkB;SAC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