@openvtc/trust-tasks 0.21.13 → 0.21.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.
- package/CHANGELOG.md +88 -0
- package/dist/_shared/components.d.ts +91 -0
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/auth/_shared/0.3/session.d.ts +16 -0
- package/dist/auth/_shared/0.3/session.d.ts.map +1 -0
- package/dist/auth/_shared/0.3/session.js +6 -0
- package/dist/auth/_shared/0.3/session.js.map +1 -0
- package/dist/auth/authenticate/0.3/payload.d.ts +852 -0
- package/dist/auth/authenticate/0.3/payload.d.ts.map +1 -0
- package/dist/auth/authenticate/0.3/payload.js +442 -0
- package/dist/auth/authenticate/0.3/payload.js.map +1 -0
- package/dist/auth/refresh/0.2/payload.d.ts +729 -0
- package/dist/auth/refresh/0.2/payload.d.ts.map +1 -0
- package/dist/auth/refresh/0.2/payload.js +392 -0
- package/dist/auth/refresh/0.2/payload.js.map +1 -0
- package/dist/git-ns/_shared/0.5/git-ns.d.ts +16 -0
- package/dist/git-ns/_shared/0.5/git-ns.d.ts.map +1 -0
- package/dist/git-ns/_shared/0.5/git-ns.js +6 -0
- package/dist/git-ns/_shared/0.5/git-ns.js.map +1 -0
- package/dist/git-ns/account/list/0.1/payload.d.ts +598 -0
- package/dist/git-ns/account/list/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/account/list/0.1/payload.js +317 -0
- package/dist/git-ns/account/list/0.1/payload.js.map +1 -0
- package/dist/git-ns/activity/list/0.1/payload.d.ts +642 -0
- package/dist/git-ns/activity/list/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/activity/list/0.1/payload.js +343 -0
- package/dist/git-ns/activity/list/0.1/payload.js.map +1 -0
- package/dist/git-ns/bridge/job/list/0.1/payload.d.ts +697 -0
- package/dist/git-ns/bridge/job/list/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/job/list/0.1/payload.js +386 -0
- package/dist/git-ns/bridge/job/list/0.1/payload.js.map +1 -0
- package/dist/git-ns/projection/show/0.1/payload.d.ts +705 -0
- package/dist/git-ns/projection/show/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/projection/show/0.1/payload.js +377 -0
- package/dist/git-ns/projection/show/0.1/payload.js.map +1 -0
- package/dist/git-ns/right/issued-by-departed/0.1/payload.d.ts +862 -0
- package/dist/git-ns/right/issued-by-departed/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/right/issued-by-departed/0.1/payload.js +487 -0
- package/dist/git-ns/right/issued-by-departed/0.1/payload.js.map +1 -0
- package/dist/git-ns/right/list/0.1/payload.d.ts +773 -0
- package/dist/git-ns/right/list/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/right/list/0.1/payload.js +439 -0
- package/dist/git-ns/right/list/0.1/payload.js.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/vtc/relationships/revoke/0.2/payload.d.ts +287 -0
- package/dist/vtc/relationships/revoke/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/relationships/revoke/0.2/payload.js +159 -0
- package/dist/vtc/relationships/revoke/0.2/payload.js.map +1 -0
- package/dist/vtc/vetting/vetters/resend/0.2/payload.d.ts +254 -0
- package/dist/vtc/vetting/vetters/resend/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/vetters/resend/0.2/payload.js +142 -0
- package/dist/vtc/vetting/vetters/resend/0.2/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +91 -0
- package/src/auth/_shared/0.3/session.ts +17 -0
- package/src/auth/authenticate/0.3/payload.ts +527 -0
- package/src/auth/refresh/0.2/payload.ts +444 -0
- package/src/git-ns/_shared/0.5/git-ns.ts +17 -0
- package/src/git-ns/account/list/0.1/payload.ts +392 -0
- package/src/git-ns/activity/list/0.1/payload.ts +430 -0
- package/src/git-ns/bridge/job/list/0.1/payload.ts +490 -0
- package/src/git-ns/projection/show/0.1/payload.ts +479 -0
- package/src/git-ns/right/issued-by-departed/0.1/payload.ts +550 -0
- package/src/git-ns/right/list/0.1/payload.ts +493 -0
- package/src/index.ts +12 -0
- package/src/vtc/relationships/revoke/0.2/payload.ts +209 -0
- package/src/vtc/vetting/vetters/resend/0.2/payload.ts +183 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/git-ns/right/issued-by-departed/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,aAAa,IAAI,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAG5I;;GAEG;AACH,MAAM,WAAW,iDAAiD;IAChE;;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,yDAAyD;IACxE;;OAEG;IACH,kBAAkB,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,OAAO,EAAE,GAAG,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,aAAa,EAAE,CAAC;CACzB;AAED,kHAAkH;AAClH,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC;AAElF,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,iEAA0E,CAAC;AAEnG,mEAAmE;A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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -0,0 +1,487 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/git-ns/right/issued-by-departed/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/** Trust Task type URI. */
|
|
6
|
+
export const TYPE_URI = "https://trusttasks.org/spec/git-ns/right/issued-by-departed/0.1";
|
|
7
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
8
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/git-ns/right/issued-by-departed/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/right/issued-by-departed/0.1",
|
|
21
|
+
"title": "Git Namespaces — Rights Issued By Departed Members — payload",
|
|
22
|
+
"description": "A community administrator lists the recorded rights whose granter has since left the community, grouped by granter. 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
|
+
"cursor": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "Opaque continuation token from a previous response's `nextCursor`."
|
|
29
|
+
},
|
|
30
|
+
"limit": {
|
|
31
|
+
"type": "integer",
|
|
32
|
+
"minimum": 1,
|
|
33
|
+
"maximum": 500,
|
|
34
|
+
"description": "Maximum granters to return in this page. A VTC clamps to 1..=500 (default 100)."
|
|
35
|
+
},
|
|
36
|
+
"ext": {
|
|
37
|
+
"$ref": "#/$defs/Ext"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"$defs": {
|
|
41
|
+
"DepartedGranter": {
|
|
42
|
+
"title": "DepartedGranter",
|
|
43
|
+
"description": "The rights one departed member issued while they were still a member.",
|
|
44
|
+
"type": "object",
|
|
45
|
+
"additionalProperties": false,
|
|
46
|
+
"required": [
|
|
47
|
+
"granter",
|
|
48
|
+
"rights"
|
|
49
|
+
],
|
|
50
|
+
"properties": {
|
|
51
|
+
"granter": {
|
|
52
|
+
"$ref": "#/$defs/Did",
|
|
53
|
+
"description": "The member who granted these rights and has since left the community."
|
|
54
|
+
},
|
|
55
|
+
"rights": {
|
|
56
|
+
"type": "array",
|
|
57
|
+
"items": {
|
|
58
|
+
"$ref": "#/$defs/AdminRightRow"
|
|
59
|
+
},
|
|
60
|
+
"description": "The rights `granter` issued, still live or awaiting a break-glass ratification. Every row's `origin` is `recorded` and `granterDeparted` is `true` — a role-derived grant has no granter and never appears here."
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"Response": {
|
|
65
|
+
"$anchor": "response",
|
|
66
|
+
"title": "Git Namespaces — Rights Issued By Departed Members — response payload",
|
|
67
|
+
"type": "object",
|
|
68
|
+
"additionalProperties": false,
|
|
69
|
+
"required": [
|
|
70
|
+
"cascadeOnDeparture",
|
|
71
|
+
"granters"
|
|
72
|
+
],
|
|
73
|
+
"description": "Rights grouped by their departed granter, ordered by the granter's DID.",
|
|
74
|
+
"properties": {
|
|
75
|
+
"cascadeOnDeparture": {
|
|
76
|
+
"type": "boolean",
|
|
77
|
+
"description": "The community's active `cascade_on_departure` policy setting. `true` means a departure revokes these rights automatically and this list is normally empty; `false` means they stay, for an administrator to review and act on individually."
|
|
78
|
+
},
|
|
79
|
+
"granters": {
|
|
80
|
+
"type": "array",
|
|
81
|
+
"items": {
|
|
82
|
+
"$ref": "#/$defs/DepartedGranter"
|
|
83
|
+
},
|
|
84
|
+
"description": "Departed granters with at least one surviving right they issued, ordered by `granter`."
|
|
85
|
+
},
|
|
86
|
+
"nextCursor": {
|
|
87
|
+
"type": [
|
|
88
|
+
"string",
|
|
89
|
+
"null"
|
|
90
|
+
],
|
|
91
|
+
"description": "Continuation token for the next page of granters, or `null` when this is the last."
|
|
92
|
+
},
|
|
93
|
+
"ext": {
|
|
94
|
+
"$ref": "#/$defs/Ext"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"Ext": {
|
|
99
|
+
"title": "Ext",
|
|
100
|
+
"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.",
|
|
101
|
+
"type": "object",
|
|
102
|
+
"minProperties": 1,
|
|
103
|
+
"additionalProperties": true,
|
|
104
|
+
"propertyNames": {
|
|
105
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"AdminRightRow": {
|
|
109
|
+
"title": "AdminRightRow",
|
|
110
|
+
"description": "One right as the administrator's rights console shows it: a recorded `RightRecord` restated with the membership facts an administrator needs (`subjectMember`, `granterDeparted`), or a role-derived grant that carries no record. `git-ns/right/list` and `git-ns/right/issued-by-departed` are its only producers.",
|
|
111
|
+
"type": "object",
|
|
112
|
+
"additionalProperties": false,
|
|
113
|
+
"required": [
|
|
114
|
+
"subject",
|
|
115
|
+
"right",
|
|
116
|
+
"resource",
|
|
117
|
+
"origin",
|
|
118
|
+
"subjectMember",
|
|
119
|
+
"granterDeparted"
|
|
120
|
+
],
|
|
121
|
+
"properties": {
|
|
122
|
+
"subject": {
|
|
123
|
+
"$ref": "#/$defs/Did",
|
|
124
|
+
"description": "Who holds the right."
|
|
125
|
+
},
|
|
126
|
+
"right": {
|
|
127
|
+
"$ref": "#/$defs/Right"
|
|
128
|
+
},
|
|
129
|
+
"resource": {
|
|
130
|
+
"$ref": "#/$defs/Resource"
|
|
131
|
+
},
|
|
132
|
+
"origin": {
|
|
133
|
+
"$ref": "#/$defs/RightOrigin"
|
|
134
|
+
},
|
|
135
|
+
"grantedBy": {
|
|
136
|
+
"$ref": "#/$defs/Did",
|
|
137
|
+
"description": "Who caused the right (see `RightRecord.grantedBy`). Present exactly when `origin` is `recorded`; a role-derived grant is published by the hook relay from configuration, not by an actor."
|
|
138
|
+
},
|
|
139
|
+
"grantedAt": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"format": "date-time",
|
|
142
|
+
"description": "Present exactly when `origin` is `recorded`."
|
|
143
|
+
},
|
|
144
|
+
"expiresAt": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"format": "date-time",
|
|
147
|
+
"description": "When the right lapses. Absent: no expiry, or `origin` is `roleDerived` (a role-derived grant never expires on its own — it is withdrawn by editing `[hooks.git-trust] grant_on_role`)."
|
|
148
|
+
},
|
|
149
|
+
"reason": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"maxLength": 1024,
|
|
152
|
+
"description": "The granter's free-text reason, restated from the `RightRecord`. Absent when `origin` is `roleDerived`, or the record carries none."
|
|
153
|
+
},
|
|
154
|
+
"subjectMember": {
|
|
155
|
+
"type": "boolean",
|
|
156
|
+
"description": "Whether `subject` is a current member of the community. `false` marks a right held by someone who has since left, or by an external signer the community never enrolled."
|
|
157
|
+
},
|
|
158
|
+
"granterDeparted": {
|
|
159
|
+
"type": "boolean",
|
|
160
|
+
"description": "Whether `grantedBy` was a member at the time of the grant and has since left. Always `false` when `origin` is `roleDerived`, or when the record's granter was never itself a member (the VTC's own DID, for a right it derives from configuration)."
|
|
161
|
+
},
|
|
162
|
+
"breakGlass": {
|
|
163
|
+
"$ref": "#/$defs/BreakGlass",
|
|
164
|
+
"description": "Present exactly when `origin` is `recorded` and the record carries `breakGlass` — see `RightRecord.breakGlass`. Absent for a role-derived grant, which cannot be self-granted through break-glass."
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"BreakGlass": {
|
|
169
|
+
"title": "BreakGlass",
|
|
170
|
+
"description": "How a self-granted right came to be, and whether another administrator has since ratified it. A record whose `breakGlass` has no `ratifiedBy` is **unratified**: it is live and published like any other right, it does not count toward the last-owner or last-admin invariants, and any community administrator or namespace admin of its namespace may revoke it. Ratification (git-ns/right/ratify) sets `ratifiedBy` and `ratifiedAt`; from then on the record is an ordinary grant, and `breakGlass` stays as its history. Never published to the Trust Registry.",
|
|
171
|
+
"type": "object",
|
|
172
|
+
"additionalProperties": false,
|
|
173
|
+
"required": [
|
|
174
|
+
"by",
|
|
175
|
+
"at",
|
|
176
|
+
"justification"
|
|
177
|
+
],
|
|
178
|
+
"properties": {
|
|
179
|
+
"by": {
|
|
180
|
+
"$ref": "#/$defs/Did",
|
|
181
|
+
"description": "Who broke the glass: always the record's `subject`, restated so the flag reads on its own."
|
|
182
|
+
},
|
|
183
|
+
"at": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"format": "date-time",
|
|
186
|
+
"description": "When the VTC recorded the break-glass."
|
|
187
|
+
},
|
|
188
|
+
"justification": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"minLength": 1,
|
|
191
|
+
"maxLength": 2048,
|
|
192
|
+
"pattern": "\\S",
|
|
193
|
+
"description": "The actor's statement of why nobody else could grant this right. Shown to every community administrator, every namespace admin of the namespace and every owner of the resource; kept in the audit record; never published."
|
|
194
|
+
},
|
|
195
|
+
"effectiveAt": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"format": "date-time",
|
|
198
|
+
"description": "When the right takes effect, where the community's policy imposed a delay. Absent: it took effect at `at`. Until this instant the record confers nothing and is not published, and any administrator who may revoke it may do so."
|
|
199
|
+
},
|
|
200
|
+
"ratifiedBy": {
|
|
201
|
+
"$ref": "#/$defs/Did",
|
|
202
|
+
"description": "The administrator who ratified the record — never its subject. Absent while unratified."
|
|
203
|
+
},
|
|
204
|
+
"ratifiedAt": {
|
|
205
|
+
"type": "string",
|
|
206
|
+
"format": "date-time",
|
|
207
|
+
"description": "When it was ratified. Present exactly when `ratifiedBy` is."
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"Did": {
|
|
212
|
+
"title": "Did",
|
|
213
|
+
"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.",
|
|
214
|
+
"type": "string",
|
|
215
|
+
"maxLength": 2048,
|
|
216
|
+
"pattern": "^did:[a-z0-9]+:(?:(?:[A-Za-z0-9._-]|%[0-9A-Fa-f]{2})*:)*(?:[A-Za-z0-9._-]|%[0-9A-Fa-f]{2})+$"
|
|
217
|
+
},
|
|
218
|
+
"RightOrigin": {
|
|
219
|
+
"title": "RightOrigin",
|
|
220
|
+
"description": "Where a right an administrator sees came from. `recorded` — a `git-ns/*` record, governed by the rights model and returned nowhere the subject cannot eventually see it through `git-ns/view`. `roleDerived` — a v0.1 `[hooks.git-trust] grant_on_role` grant: published by the hook relay from the community's own role configuration, never written by any `git-ns/*` task, and not itself a `RightRecord` — it has no `grantedAt`, no `expiresAt` and no `reason`, only a subject, a right and a resource.",
|
|
221
|
+
"type": "string",
|
|
222
|
+
"enum": [
|
|
223
|
+
"recorded",
|
|
224
|
+
"roleDerived"
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
"Resource": {
|
|
228
|
+
"title": "Resource",
|
|
229
|
+
"description": "A forge-qualified resource: `<forge-host>/<owner>` for a namespace, or `<forge-host>/<owner>/<repo>` for one repository, all lowercase — `github.com/acme`, `github.com/acme/widgets`, `codeberg.org/acme`. The forge is never implied: `acme/widgets` alone is not a resource. Containment is by whole segment: `github.com/acme` contains `github.com/acme/widgets` and does not contain `github.com/acme-labs/x` or `codeberg.org/acme/widgets`.",
|
|
230
|
+
"type": "string",
|
|
231
|
+
"maxLength": 455,
|
|
232
|
+
"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}){1,2}$"
|
|
233
|
+
},
|
|
234
|
+
"Right": {
|
|
235
|
+
"title": "Right",
|
|
236
|
+
"description": "One of the five git rights. Each string is also the TRQP `action` the VTC publishes the right under in its Trust Registry, so it is carried verbatim. `git.ns.admin` and `git.repo.create` apply to a namespace resource; `git.repo.own` and `git.repo.maintain` to a repository resource; `git.commit.sign` to either.",
|
|
237
|
+
"type": "string",
|
|
238
|
+
"enum": [
|
|
239
|
+
"git.ns.admin",
|
|
240
|
+
"git.repo.create",
|
|
241
|
+
"git.repo.own",
|
|
242
|
+
"git.repo.maintain",
|
|
243
|
+
"git.commit.sign"
|
|
244
|
+
]
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
249
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
250
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
251
|
+
"$ref": "#/$defs/Response",
|
|
252
|
+
"$defs": {
|
|
253
|
+
"DepartedGranter": {
|
|
254
|
+
"title": "DepartedGranter",
|
|
255
|
+
"description": "The rights one departed member issued while they were still a member.",
|
|
256
|
+
"type": "object",
|
|
257
|
+
"additionalProperties": false,
|
|
258
|
+
"required": [
|
|
259
|
+
"granter",
|
|
260
|
+
"rights"
|
|
261
|
+
],
|
|
262
|
+
"properties": {
|
|
263
|
+
"granter": {
|
|
264
|
+
"$ref": "#/$defs/Did",
|
|
265
|
+
"description": "The member who granted these rights and has since left the community."
|
|
266
|
+
},
|
|
267
|
+
"rights": {
|
|
268
|
+
"type": "array",
|
|
269
|
+
"items": {
|
|
270
|
+
"$ref": "#/$defs/AdminRightRow"
|
|
271
|
+
},
|
|
272
|
+
"description": "The rights `granter` issued, still live or awaiting a break-glass ratification. Every row's `origin` is `recorded` and `granterDeparted` is `true` — a role-derived grant has no granter and never appears here."
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"Response": {
|
|
277
|
+
"$anchor": "response",
|
|
278
|
+
"title": "Git Namespaces — Rights Issued By Departed Members — response payload",
|
|
279
|
+
"type": "object",
|
|
280
|
+
"additionalProperties": false,
|
|
281
|
+
"required": [
|
|
282
|
+
"cascadeOnDeparture",
|
|
283
|
+
"granters"
|
|
284
|
+
],
|
|
285
|
+
"description": "Rights grouped by their departed granter, ordered by the granter's DID.",
|
|
286
|
+
"properties": {
|
|
287
|
+
"cascadeOnDeparture": {
|
|
288
|
+
"type": "boolean",
|
|
289
|
+
"description": "The community's active `cascade_on_departure` policy setting. `true` means a departure revokes these rights automatically and this list is normally empty; `false` means they stay, for an administrator to review and act on individually."
|
|
290
|
+
},
|
|
291
|
+
"granters": {
|
|
292
|
+
"type": "array",
|
|
293
|
+
"items": {
|
|
294
|
+
"$ref": "#/$defs/DepartedGranter"
|
|
295
|
+
},
|
|
296
|
+
"description": "Departed granters with at least one surviving right they issued, ordered by `granter`."
|
|
297
|
+
},
|
|
298
|
+
"nextCursor": {
|
|
299
|
+
"type": [
|
|
300
|
+
"string",
|
|
301
|
+
"null"
|
|
302
|
+
],
|
|
303
|
+
"description": "Continuation token for the next page of granters, or `null` when this is the last."
|
|
304
|
+
},
|
|
305
|
+
"ext": {
|
|
306
|
+
"$ref": "#/$defs/Ext"
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"Ext": {
|
|
311
|
+
"title": "Ext",
|
|
312
|
+
"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.",
|
|
313
|
+
"type": "object",
|
|
314
|
+
"minProperties": 1,
|
|
315
|
+
"additionalProperties": true,
|
|
316
|
+
"propertyNames": {
|
|
317
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"AdminRightRow": {
|
|
321
|
+
"title": "AdminRightRow",
|
|
322
|
+
"description": "One right as the administrator's rights console shows it: a recorded `RightRecord` restated with the membership facts an administrator needs (`subjectMember`, `granterDeparted`), or a role-derived grant that carries no record. `git-ns/right/list` and `git-ns/right/issued-by-departed` are its only producers.",
|
|
323
|
+
"type": "object",
|
|
324
|
+
"additionalProperties": false,
|
|
325
|
+
"required": [
|
|
326
|
+
"subject",
|
|
327
|
+
"right",
|
|
328
|
+
"resource",
|
|
329
|
+
"origin",
|
|
330
|
+
"subjectMember",
|
|
331
|
+
"granterDeparted"
|
|
332
|
+
],
|
|
333
|
+
"properties": {
|
|
334
|
+
"subject": {
|
|
335
|
+
"$ref": "#/$defs/Did",
|
|
336
|
+
"description": "Who holds the right."
|
|
337
|
+
},
|
|
338
|
+
"right": {
|
|
339
|
+
"$ref": "#/$defs/Right"
|
|
340
|
+
},
|
|
341
|
+
"resource": {
|
|
342
|
+
"$ref": "#/$defs/Resource"
|
|
343
|
+
},
|
|
344
|
+
"origin": {
|
|
345
|
+
"$ref": "#/$defs/RightOrigin"
|
|
346
|
+
},
|
|
347
|
+
"grantedBy": {
|
|
348
|
+
"$ref": "#/$defs/Did",
|
|
349
|
+
"description": "Who caused the right (see `RightRecord.grantedBy`). Present exactly when `origin` is `recorded`; a role-derived grant is published by the hook relay from configuration, not by an actor."
|
|
350
|
+
},
|
|
351
|
+
"grantedAt": {
|
|
352
|
+
"type": "string",
|
|
353
|
+
"format": "date-time",
|
|
354
|
+
"description": "Present exactly when `origin` is `recorded`."
|
|
355
|
+
},
|
|
356
|
+
"expiresAt": {
|
|
357
|
+
"type": "string",
|
|
358
|
+
"format": "date-time",
|
|
359
|
+
"description": "When the right lapses. Absent: no expiry, or `origin` is `roleDerived` (a role-derived grant never expires on its own — it is withdrawn by editing `[hooks.git-trust] grant_on_role`)."
|
|
360
|
+
},
|
|
361
|
+
"reason": {
|
|
362
|
+
"type": "string",
|
|
363
|
+
"maxLength": 1024,
|
|
364
|
+
"description": "The granter's free-text reason, restated from the `RightRecord`. Absent when `origin` is `roleDerived`, or the record carries none."
|
|
365
|
+
},
|
|
366
|
+
"subjectMember": {
|
|
367
|
+
"type": "boolean",
|
|
368
|
+
"description": "Whether `subject` is a current member of the community. `false` marks a right held by someone who has since left, or by an external signer the community never enrolled."
|
|
369
|
+
},
|
|
370
|
+
"granterDeparted": {
|
|
371
|
+
"type": "boolean",
|
|
372
|
+
"description": "Whether `grantedBy` was a member at the time of the grant and has since left. Always `false` when `origin` is `roleDerived`, or when the record's granter was never itself a member (the VTC's own DID, for a right it derives from configuration)."
|
|
373
|
+
},
|
|
374
|
+
"breakGlass": {
|
|
375
|
+
"$ref": "#/$defs/BreakGlass",
|
|
376
|
+
"description": "Present exactly when `origin` is `recorded` and the record carries `breakGlass` — see `RightRecord.breakGlass`. Absent for a role-derived grant, which cannot be self-granted through break-glass."
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
"BreakGlass": {
|
|
381
|
+
"title": "BreakGlass",
|
|
382
|
+
"description": "How a self-granted right came to be, and whether another administrator has since ratified it. A record whose `breakGlass` has no `ratifiedBy` is **unratified**: it is live and published like any other right, it does not count toward the last-owner or last-admin invariants, and any community administrator or namespace admin of its namespace may revoke it. Ratification (git-ns/right/ratify) sets `ratifiedBy` and `ratifiedAt`; from then on the record is an ordinary grant, and `breakGlass` stays as its history. Never published to the Trust Registry.",
|
|
383
|
+
"type": "object",
|
|
384
|
+
"additionalProperties": false,
|
|
385
|
+
"required": [
|
|
386
|
+
"by",
|
|
387
|
+
"at",
|
|
388
|
+
"justification"
|
|
389
|
+
],
|
|
390
|
+
"properties": {
|
|
391
|
+
"by": {
|
|
392
|
+
"$ref": "#/$defs/Did",
|
|
393
|
+
"description": "Who broke the glass: always the record's `subject`, restated so the flag reads on its own."
|
|
394
|
+
},
|
|
395
|
+
"at": {
|
|
396
|
+
"type": "string",
|
|
397
|
+
"format": "date-time",
|
|
398
|
+
"description": "When the VTC recorded the break-glass."
|
|
399
|
+
},
|
|
400
|
+
"justification": {
|
|
401
|
+
"type": "string",
|
|
402
|
+
"minLength": 1,
|
|
403
|
+
"maxLength": 2048,
|
|
404
|
+
"pattern": "\\S",
|
|
405
|
+
"description": "The actor's statement of why nobody else could grant this right. Shown to every community administrator, every namespace admin of the namespace and every owner of the resource; kept in the audit record; never published."
|
|
406
|
+
},
|
|
407
|
+
"effectiveAt": {
|
|
408
|
+
"type": "string",
|
|
409
|
+
"format": "date-time",
|
|
410
|
+
"description": "When the right takes effect, where the community's policy imposed a delay. Absent: it took effect at `at`. Until this instant the record confers nothing and is not published, and any administrator who may revoke it may do so."
|
|
411
|
+
},
|
|
412
|
+
"ratifiedBy": {
|
|
413
|
+
"$ref": "#/$defs/Did",
|
|
414
|
+
"description": "The administrator who ratified the record — never its subject. Absent while unratified."
|
|
415
|
+
},
|
|
416
|
+
"ratifiedAt": {
|
|
417
|
+
"type": "string",
|
|
418
|
+
"format": "date-time",
|
|
419
|
+
"description": "When it was ratified. Present exactly when `ratifiedBy` is."
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"Did": {
|
|
424
|
+
"title": "Did",
|
|
425
|
+
"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.",
|
|
426
|
+
"type": "string",
|
|
427
|
+
"maxLength": 2048,
|
|
428
|
+
"pattern": "^did:[a-z0-9]+:(?:(?:[A-Za-z0-9._-]|%[0-9A-Fa-f]{2})*:)*(?:[A-Za-z0-9._-]|%[0-9A-Fa-f]{2})+$"
|
|
429
|
+
},
|
|
430
|
+
"RightOrigin": {
|
|
431
|
+
"title": "RightOrigin",
|
|
432
|
+
"description": "Where a right an administrator sees came from. `recorded` — a `git-ns/*` record, governed by the rights model and returned nowhere the subject cannot eventually see it through `git-ns/view`. `roleDerived` — a v0.1 `[hooks.git-trust] grant_on_role` grant: published by the hook relay from the community's own role configuration, never written by any `git-ns/*` task, and not itself a `RightRecord` — it has no `grantedAt`, no `expiresAt` and no `reason`, only a subject, a right and a resource.",
|
|
433
|
+
"type": "string",
|
|
434
|
+
"enum": [
|
|
435
|
+
"recorded",
|
|
436
|
+
"roleDerived"
|
|
437
|
+
]
|
|
438
|
+
},
|
|
439
|
+
"Resource": {
|
|
440
|
+
"title": "Resource",
|
|
441
|
+
"description": "A forge-qualified resource: `<forge-host>/<owner>` for a namespace, or `<forge-host>/<owner>/<repo>` for one repository, all lowercase — `github.com/acme`, `github.com/acme/widgets`, `codeberg.org/acme`. The forge is never implied: `acme/widgets` alone is not a resource. Containment is by whole segment: `github.com/acme` contains `github.com/acme/widgets` and does not contain `github.com/acme-labs/x` or `codeberg.org/acme/widgets`.",
|
|
442
|
+
"type": "string",
|
|
443
|
+
"maxLength": 455,
|
|
444
|
+
"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}){1,2}$"
|
|
445
|
+
},
|
|
446
|
+
"Right": {
|
|
447
|
+
"title": "Right",
|
|
448
|
+
"description": "One of the five git rights. Each string is also the TRQP `action` the VTC publishes the right under in its Trust Registry, so it is carried verbatim. `git.ns.admin` and `git.repo.create` apply to a namespace resource; `git.repo.own` and `git.repo.maintain` to a repository resource; `git.commit.sign` to either.",
|
|
449
|
+
"type": "string",
|
|
450
|
+
"enum": [
|
|
451
|
+
"git.ns.admin",
|
|
452
|
+
"git.repo.create",
|
|
453
|
+
"git.repo.own",
|
|
454
|
+
"git.repo.maintain",
|
|
455
|
+
"git.commit.sign"
|
|
456
|
+
]
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
};
|
|
460
|
+
/**
|
|
461
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
462
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
463
|
+
* per-specification and cannot be derived from the document alone, and
|
|
464
|
+
* item 2 needs the schema this carries.
|
|
465
|
+
*/
|
|
466
|
+
export const SPEC = {
|
|
467
|
+
typeUri: TYPE_URI,
|
|
468
|
+
isBearer: false,
|
|
469
|
+
isProofRequired: true,
|
|
470
|
+
isRecipientRequired: true,
|
|
471
|
+
isIssuedAtRequired: false,
|
|
472
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
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 const RESPONSE_SPEC = {
|
|
480
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
481
|
+
isBearer: false,
|
|
482
|
+
isProofRequired: true,
|
|
483
|
+
isRecipientRequired: true,
|
|
484
|
+
isIssuedAtRequired: false,
|
|
485
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
486
|
+
};
|
|
487
|
+
//# sourceMappingURL=payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/git-ns/right/issued-by-departed/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAsDH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,iEAA0E,CAAC;AAKnG,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,0EAAmF,CAAC;AAKrH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,iEAAiE;IACxE,OAAO,EAAE,8DAA8D;IACvE,aAAa,EAAE,kPAAkP;IACjQ,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,YAAY,EAAE;QACZ,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,oEAAoE;SACpF;QACD,OAAO,EAAE;YACP,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,CAAC;YACZ,SAAS,EAAE,GAAG;YACd,aAAa,EAAE,iFAAiF;SACjG;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,iBAAiB,EAAE;YACjB,OAAO,EAAE,iBAAiB;YAC1B,aAAa,EAAE,uEAAuE;YACtF,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,SAAS;gBACT,QAAQ;aACT;YACD,YAAY,EAAE;gBACZ,SAAS,EAAE;oBACT,MAAM,EAAE,aAAa;oBACrB,aAAa,EAAE,uEAAuE;iBACvF;gBACD,QAAQ,EAAE;oBACR,MAAM,EAAE,OAAO;oBACf,OAAO,EAAE;wBACP,MAAM,EAAE,uBAAuB;qBAChC;oBACD,aAAa,EAAE,kNAAkN;iBAClO;aACF;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