@openvtc/trust-tasks 0.12.4 → 0.12.6
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/dist/vtc/community/profile/show/0.1/payload.d.ts +24 -0
- package/dist/vtc/community/profile/show/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/community/profile/show/0.1/payload.js +16 -0
- package/dist/vtc/community/profile/show/0.1/payload.js.map +1 -1
- package/dist/vtc/community/profile/update/0.1/payload.d.ts +70 -0
- package/dist/vtc/community/profile/update/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/community/profile/update/0.1/payload.js +38 -0
- package/dist/vtc/community/profile/update/0.1/payload.js.map +1 -1
- package/dist/vtc/config/export/0.1/payload.d.ts +24 -0
- package/dist/vtc/config/export/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/config/export/0.1/payload.js +16 -0
- package/dist/vtc/config/export/0.1/payload.js.map +1 -1
- package/dist/vtc/config/import/0.1/payload.d.ts +24 -0
- package/dist/vtc/config/import/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/config/import/0.1/payload.js +16 -0
- package/dist/vtc/config/import/0.1/payload.js.map +1 -1
- package/dist/vtc/join-requests/list/0.1/payload.d.ts +123 -0
- package/dist/vtc/join-requests/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/join-requests/list/0.1/payload.js +74 -0
- package/dist/vtc/join-requests/list/0.1/payload.js.map +1 -1
- package/dist/vtc/join-requests/show/0.1/payload.d.ts +123 -0
- package/dist/vtc/join-requests/show/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/join-requests/show/0.1/payload.js +74 -0
- package/dist/vtc/join-requests/show/0.1/payload.js.map +1 -1
- package/dist/vtc/join-requests/status/0.1/payload.d.ts +68 -6
- package/dist/vtc/join-requests/status/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/join-requests/status/0.1/payload.js +33 -4
- package/dist/vtc/join-requests/status/0.1/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/vtc/community/profile/show/0.1/payload.ts +20 -0
- package/src/vtc/community/profile/update/0.1/payload.ts +50 -0
- package/src/vtc/config/export/0.1/payload.ts +20 -0
- package/src/vtc/config/import/0.1/payload.ts +20 -0
- package/src/vtc/join-requests/list/0.1/payload.ts +97 -0
- package/src/vtc/join-requests/show/0.1/payload.ts +97 -0
- package/src/vtc/join-requests/status/0.1/payload.ts +47 -6
|
@@ -90,6 +90,13 @@ export const PAYLOAD_SCHEMA = {
|
|
|
90
90
|
"type": "object",
|
|
91
91
|
"description": "The W3C Verifiable Presentation the applicant submitted (opaque here)."
|
|
92
92
|
},
|
|
93
|
+
"vpClaims": {
|
|
94
|
+
"type": [
|
|
95
|
+
"object",
|
|
96
|
+
"null"
|
|
97
|
+
],
|
|
98
|
+
"description": "Canonical projection of `vp`, extracted when the request was submitted and used as the input the community's join policy reads. Carried on the row so an approval does not have to re-extract it, and opaque here: its members are whatever the community's policy asks of an applicant. `null` on a request recorded before a community began extracting one."
|
|
99
|
+
},
|
|
93
100
|
"submittedAt": {
|
|
94
101
|
"type": "string",
|
|
95
102
|
"format": "date-time"
|
|
@@ -108,6 +115,36 @@ export const PAYLOAD_SCHEMA = {
|
|
|
108
115
|
"type": "object",
|
|
109
116
|
"description": "The community policy verdict recorded for this request (opaque here); absent while pending."
|
|
110
117
|
},
|
|
118
|
+
"decision": {
|
|
119
|
+
"type": [
|
|
120
|
+
"object",
|
|
121
|
+
"null"
|
|
122
|
+
],
|
|
123
|
+
"description": "Why this request was refused, in terms meant for the applicant rather than the operator. `null` unless the request was rejected.\n\nDistinct from `policyDecision`, which records the community's internal verdict: both rejection paths — a policy auto-deny at submit and an admin's later refusal — write this one, so a client reads a single shape instead of reconciling two.",
|
|
124
|
+
"properties": {
|
|
125
|
+
"code": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"description": "Stable refusal code, safe to branch on."
|
|
128
|
+
},
|
|
129
|
+
"reason": {
|
|
130
|
+
"type": [
|
|
131
|
+
"string",
|
|
132
|
+
"null"
|
|
133
|
+
],
|
|
134
|
+
"description": "Elaboration in prose, when the decider gave one."
|
|
135
|
+
},
|
|
136
|
+
"decidedAt": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"format": "date-time",
|
|
139
|
+
"description": "When the decision was taken — not when the poll answering it was produced. On an admin refusal the two diverge by however long the applicant takes to ask."
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"required": [
|
|
143
|
+
"code",
|
|
144
|
+
"decidedAt"
|
|
145
|
+
],
|
|
146
|
+
"additionalProperties": false
|
|
147
|
+
},
|
|
111
148
|
"registryConsent": {
|
|
112
149
|
"type": "boolean",
|
|
113
150
|
"description": "Whether the applicant consented to trust-registry publication."
|
|
@@ -180,6 +217,13 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
180
217
|
"type": "object",
|
|
181
218
|
"description": "The W3C Verifiable Presentation the applicant submitted (opaque here)."
|
|
182
219
|
},
|
|
220
|
+
"vpClaims": {
|
|
221
|
+
"type": [
|
|
222
|
+
"object",
|
|
223
|
+
"null"
|
|
224
|
+
],
|
|
225
|
+
"description": "Canonical projection of `vp`, extracted when the request was submitted and used as the input the community's join policy reads. Carried on the row so an approval does not have to re-extract it, and opaque here: its members are whatever the community's policy asks of an applicant. `null` on a request recorded before a community began extracting one."
|
|
226
|
+
},
|
|
183
227
|
"submittedAt": {
|
|
184
228
|
"type": "string",
|
|
185
229
|
"format": "date-time"
|
|
@@ -198,6 +242,36 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
198
242
|
"type": "object",
|
|
199
243
|
"description": "The community policy verdict recorded for this request (opaque here); absent while pending."
|
|
200
244
|
},
|
|
245
|
+
"decision": {
|
|
246
|
+
"type": [
|
|
247
|
+
"object",
|
|
248
|
+
"null"
|
|
249
|
+
],
|
|
250
|
+
"description": "Why this request was refused, in terms meant for the applicant rather than the operator. `null` unless the request was rejected.\n\nDistinct from `policyDecision`, which records the community's internal verdict: both rejection paths — a policy auto-deny at submit and an admin's later refusal — write this one, so a client reads a single shape instead of reconciling two.",
|
|
251
|
+
"properties": {
|
|
252
|
+
"code": {
|
|
253
|
+
"type": "string",
|
|
254
|
+
"description": "Stable refusal code, safe to branch on."
|
|
255
|
+
},
|
|
256
|
+
"reason": {
|
|
257
|
+
"type": [
|
|
258
|
+
"string",
|
|
259
|
+
"null"
|
|
260
|
+
],
|
|
261
|
+
"description": "Elaboration in prose, when the decider gave one."
|
|
262
|
+
},
|
|
263
|
+
"decidedAt": {
|
|
264
|
+
"type": "string",
|
|
265
|
+
"format": "date-time",
|
|
266
|
+
"description": "When the decision was taken — not when the poll answering it was produced. On an admin refusal the two diverge by however long the applicant takes to ask."
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"required": [
|
|
270
|
+
"code",
|
|
271
|
+
"decidedAt"
|
|
272
|
+
],
|
|
273
|
+
"additionalProperties": false
|
|
274
|
+
},
|
|
201
275
|
"registryConsent": {
|
|
202
276
|
"type": "boolean",
|
|
203
277
|
"description": "Whether the applicant consented to trust-registry publication."
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/join-requests/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/join-requests/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA0EH,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,kCAAkC;IAC3C,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAA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4
4
|
*/
|
|
5
5
|
export interface VTCJoinRequestsStatusPayload {
|
|
6
6
|
/**
|
|
7
|
-
* The applicant's
|
|
7
|
+
* The request to poll. Optional: an applicant whose first reply was lost never received an id, and the id-less poll — resolved from the authenticated applicant's own DID — is the only form available to them. Supply it when you have it; a consumer that has it MUST prefer it over inferring the request from the caller.
|
|
8
8
|
*/
|
|
9
|
-
requestId
|
|
9
|
+
requestId?: string;
|
|
10
10
|
ext?: Ext;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
@@ -18,6 +18,18 @@ export interface Ext {
|
|
|
18
18
|
export interface VTCJoinRequestsStatusResponsePayload {
|
|
19
19
|
requestId: string;
|
|
20
20
|
status: "pending" | "deferred" | "approved" | "rejected" | "withdrawn";
|
|
21
|
+
/**
|
|
22
|
+
* Stable refusal code, safe to branch on. Present only when `status` is `rejected`.
|
|
23
|
+
*/
|
|
24
|
+
code?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Elaboration in prose, when the decider gave one. Present only when `status` is `rejected`.
|
|
27
|
+
*/
|
|
28
|
+
reason?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* When the refusal was decided — not when this poll was produced. Present only when `status` is `rejected`.
|
|
31
|
+
*/
|
|
32
|
+
decidedAt?: string;
|
|
21
33
|
/**
|
|
22
34
|
* When deferred, what the applicant must supply next.
|
|
23
35
|
*/
|
|
@@ -51,12 +63,11 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
51
63
|
readonly title: "VTC Join-Requests Status — payload";
|
|
52
64
|
readonly type: "object";
|
|
53
65
|
readonly additionalProperties: false;
|
|
54
|
-
readonly required: readonly ["requestId"];
|
|
55
66
|
readonly properties: {
|
|
56
67
|
readonly requestId: {
|
|
57
68
|
readonly type: "string";
|
|
58
69
|
readonly minLength: 1;
|
|
59
|
-
readonly description: "The applicant's
|
|
70
|
+
readonly description: "The request to poll. Optional: an applicant whose first reply was lost never received an id, and the id-less poll — resolved from the authenticated applicant's own DID — is the only form available to them. Supply it when you have it; a consumer that has it MUST prefer it over inferring the request from the caller.";
|
|
60
71
|
};
|
|
61
72
|
readonly ext: {
|
|
62
73
|
readonly $ref: "#/$defs/Ext";
|
|
@@ -78,6 +89,19 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
78
89
|
readonly type: "string";
|
|
79
90
|
readonly enum: readonly ["pending", "deferred", "approved", "rejected", "withdrawn"];
|
|
80
91
|
};
|
|
92
|
+
readonly code: {
|
|
93
|
+
readonly type: "string";
|
|
94
|
+
readonly description: "Stable refusal code, safe to branch on. Present only when `status` is `rejected`.";
|
|
95
|
+
};
|
|
96
|
+
readonly reason: {
|
|
97
|
+
readonly type: readonly ["string", "null"];
|
|
98
|
+
readonly description: "Elaboration in prose, when the decider gave one. Present only when `status` is `rejected`.";
|
|
99
|
+
};
|
|
100
|
+
readonly decidedAt: {
|
|
101
|
+
readonly type: "string";
|
|
102
|
+
readonly format: "date-time";
|
|
103
|
+
readonly description: "When the refusal was decided — not when this poll was produced. Present only when `status` is `rejected`.";
|
|
104
|
+
};
|
|
81
105
|
readonly needs: {
|
|
82
106
|
readonly type: "array";
|
|
83
107
|
readonly items: {
|
|
@@ -126,6 +150,19 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
126
150
|
readonly type: "string";
|
|
127
151
|
readonly enum: readonly ["pending", "deferred", "approved", "rejected", "withdrawn"];
|
|
128
152
|
};
|
|
153
|
+
readonly code: {
|
|
154
|
+
readonly type: "string";
|
|
155
|
+
readonly description: "Stable refusal code, safe to branch on. Present only when `status` is `rejected`.";
|
|
156
|
+
};
|
|
157
|
+
readonly reason: {
|
|
158
|
+
readonly type: readonly ["string", "null"];
|
|
159
|
+
readonly description: "Elaboration in prose, when the decider gave one. Present only when `status` is `rejected`.";
|
|
160
|
+
};
|
|
161
|
+
readonly decidedAt: {
|
|
162
|
+
readonly type: "string";
|
|
163
|
+
readonly format: "date-time";
|
|
164
|
+
readonly description: "When the refusal was decided — not when this poll was produced. Present only when `status` is `rejected`.";
|
|
165
|
+
};
|
|
129
166
|
readonly needs: {
|
|
130
167
|
readonly type: "array";
|
|
131
168
|
readonly items: {
|
|
@@ -171,12 +208,11 @@ export declare const SPEC: {
|
|
|
171
208
|
readonly title: "VTC Join-Requests Status — payload";
|
|
172
209
|
readonly type: "object";
|
|
173
210
|
readonly additionalProperties: false;
|
|
174
|
-
readonly required: readonly ["requestId"];
|
|
175
211
|
readonly properties: {
|
|
176
212
|
readonly requestId: {
|
|
177
213
|
readonly type: "string";
|
|
178
214
|
readonly minLength: 1;
|
|
179
|
-
readonly description: "The applicant's
|
|
215
|
+
readonly description: "The request to poll. Optional: an applicant whose first reply was lost never received an id, and the id-less poll — resolved from the authenticated applicant's own DID — is the only form available to them. Supply it when you have it; a consumer that has it MUST prefer it over inferring the request from the caller.";
|
|
180
216
|
};
|
|
181
217
|
readonly ext: {
|
|
182
218
|
readonly $ref: "#/$defs/Ext";
|
|
@@ -198,6 +234,19 @@ export declare const SPEC: {
|
|
|
198
234
|
readonly type: "string";
|
|
199
235
|
readonly enum: readonly ["pending", "deferred", "approved", "rejected", "withdrawn"];
|
|
200
236
|
};
|
|
237
|
+
readonly code: {
|
|
238
|
+
readonly type: "string";
|
|
239
|
+
readonly description: "Stable refusal code, safe to branch on. Present only when `status` is `rejected`.";
|
|
240
|
+
};
|
|
241
|
+
readonly reason: {
|
|
242
|
+
readonly type: readonly ["string", "null"];
|
|
243
|
+
readonly description: "Elaboration in prose, when the decider gave one. Present only when `status` is `rejected`.";
|
|
244
|
+
};
|
|
245
|
+
readonly decidedAt: {
|
|
246
|
+
readonly type: "string";
|
|
247
|
+
readonly format: "date-time";
|
|
248
|
+
readonly description: "When the refusal was decided — not when this poll was produced. Present only when `status` is `rejected`.";
|
|
249
|
+
};
|
|
201
250
|
readonly needs: {
|
|
202
251
|
readonly type: "array";
|
|
203
252
|
readonly items: {
|
|
@@ -256,6 +305,19 @@ export declare const RESPONSE_SPEC: {
|
|
|
256
305
|
readonly type: "string";
|
|
257
306
|
readonly enum: readonly ["pending", "deferred", "approved", "rejected", "withdrawn"];
|
|
258
307
|
};
|
|
308
|
+
readonly code: {
|
|
309
|
+
readonly type: "string";
|
|
310
|
+
readonly description: "Stable refusal code, safe to branch on. Present only when `status` is `rejected`.";
|
|
311
|
+
};
|
|
312
|
+
readonly reason: {
|
|
313
|
+
readonly type: readonly ["string", "null"];
|
|
314
|
+
readonly description: "Elaboration in prose, when the decider gave one. Present only when `status` is `rejected`.";
|
|
315
|
+
};
|
|
316
|
+
readonly decidedAt: {
|
|
317
|
+
readonly type: "string";
|
|
318
|
+
readonly format: "date-time";
|
|
319
|
+
readonly description: "When the refusal was decided — not when this poll was produced. Present only when `status` is `rejected`.";
|
|
320
|
+
};
|
|
259
321
|
readonly needs: {
|
|
260
322
|
readonly type: "array";
|
|
261
323
|
readonly items: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/join-requests/status/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/join-requests/status/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AACD,MAAM,WAAW,oCAAoC;IACnD,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,CAAC;IACvE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB;;OAEG;IACH,sBAAsB,CAAC,EAAE,EAAE,CAAC;IAC5B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,0DAAmE,CAAC;AAE5F,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,4BAA4B,CAAC;AAEnD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,mEAA4E,CAAC;AAE9G,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,oCAAoC,CAAC;AAE5D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoFjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuE1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhB,CAAC"}
|
|
@@ -21,14 +21,11 @@ export const PAYLOAD_SCHEMA = {
|
|
|
21
21
|
"title": "VTC Join-Requests Status — payload",
|
|
22
22
|
"type": "object",
|
|
23
23
|
"additionalProperties": false,
|
|
24
|
-
"required": [
|
|
25
|
-
"requestId"
|
|
26
|
-
],
|
|
27
24
|
"properties": {
|
|
28
25
|
"requestId": {
|
|
29
26
|
"type": "string",
|
|
30
27
|
"minLength": 1,
|
|
31
|
-
"description": "The applicant's
|
|
28
|
+
"description": "The request to poll. Optional: an applicant whose first reply was lost never received an id, and the id-less poll — resolved from the authenticated applicant's own DID — is the only form available to them. Supply it when you have it; a consumer that has it MUST prefer it over inferring the request from the caller."
|
|
32
29
|
},
|
|
33
30
|
"ext": {
|
|
34
31
|
"$ref": "#/$defs/Ext"
|
|
@@ -59,6 +56,22 @@ export const PAYLOAD_SCHEMA = {
|
|
|
59
56
|
"withdrawn"
|
|
60
57
|
]
|
|
61
58
|
},
|
|
59
|
+
"code": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"description": "Stable refusal code, safe to branch on. Present only when `status` is `rejected`."
|
|
62
|
+
},
|
|
63
|
+
"reason": {
|
|
64
|
+
"type": [
|
|
65
|
+
"string",
|
|
66
|
+
"null"
|
|
67
|
+
],
|
|
68
|
+
"description": "Elaboration in prose, when the decider gave one. Present only when `status` is `rejected`."
|
|
69
|
+
},
|
|
70
|
+
"decidedAt": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"format": "date-time",
|
|
73
|
+
"description": "When the refusal was decided — not when this poll was produced. Present only when `status` is `rejected`."
|
|
74
|
+
},
|
|
62
75
|
"needs": {
|
|
63
76
|
"type": "array",
|
|
64
77
|
"items": {
|
|
@@ -116,6 +129,22 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
116
129
|
"withdrawn"
|
|
117
130
|
]
|
|
118
131
|
},
|
|
132
|
+
"code": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "Stable refusal code, safe to branch on. Present only when `status` is `rejected`."
|
|
135
|
+
},
|
|
136
|
+
"reason": {
|
|
137
|
+
"type": [
|
|
138
|
+
"string",
|
|
139
|
+
"null"
|
|
140
|
+
],
|
|
141
|
+
"description": "Elaboration in prose, when the decider gave one. Present only when `status` is `rejected`."
|
|
142
|
+
},
|
|
143
|
+
"decidedAt": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"format": "date-time",
|
|
146
|
+
"description": "When the refusal was decided — not when this poll was produced. Present only when `status` is `rejected`."
|
|
147
|
+
},
|
|
119
148
|
"needs": {
|
|
120
149
|
"type": "array",
|
|
121
150
|
"items": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/join-requests/status/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/join-requests/status/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAyCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,0DAAmE,CAAC;AAK5F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,mEAA4E,CAAC;AAK9G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,0DAA0D;IACjE,OAAO,EAAE,oCAAoC;IAC7C,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,YAAY,EAAE;QACZ,WAAW,EAAE;YACX,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,aAAa,EAAE,6TAA6T;SAC7U;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,6CAA6C;YACtD,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,WAAW;gBACX,QAAQ;aACT;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE;oBACX,MAAM,EAAE,QAAQ;oBAChB,WAAW,EAAE,CAAC;iBACf;gBACD,QAAQ,EAAE;oBACR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;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
package/package.json
CHANGED
|
@@ -23,6 +23,10 @@ export interface CommunityProfile {
|
|
|
23
23
|
publicUrl?: string | null;
|
|
24
24
|
contactEmail?: string | null;
|
|
25
25
|
language: string;
|
|
26
|
+
/**
|
|
27
|
+
* Which identifier form the community expects members to issue relationship credentials under. `attributed` means the member's membership DID, so an edge names them; `pairwise` means a relationship DID unique to each counterparty. A declaration, not an enforcement: the member still chooses per relationship, and a community that wants to require one form does so in its own policy. Absent means the community has not declared one; implementations default to `pairwise`, matching the DTG Credentials recommendation.
|
|
28
|
+
*/
|
|
29
|
+
relationshipIdentifierDefault?: "attributed" | "pairwise";
|
|
26
30
|
/**
|
|
27
31
|
* Opaque community-defined extension bag.
|
|
28
32
|
*/
|
|
@@ -132,6 +136,14 @@ export const PAYLOAD_SCHEMA = {
|
|
|
132
136
|
"type": "string",
|
|
133
137
|
"minLength": 1
|
|
134
138
|
},
|
|
139
|
+
"relationshipIdentifierDefault": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"enum": [
|
|
142
|
+
"attributed",
|
|
143
|
+
"pairwise"
|
|
144
|
+
],
|
|
145
|
+
"description": "Which identifier form the community expects members to issue relationship credentials under. `attributed` means the member's membership DID, so an edge names them; `pairwise` means a relationship DID unique to each counterparty. A declaration, not an enforcement: the member still chooses per relationship, and a community that wants to require one form does so in its own policy. Absent means the community has not declared one; implementations default to `pairwise`, matching the DTG Credentials recommendation."
|
|
146
|
+
},
|
|
135
147
|
"extensions": {
|
|
136
148
|
"type": "object",
|
|
137
149
|
"description": "Opaque community-defined extension bag."
|
|
@@ -220,6 +232,14 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
220
232
|
"type": "string",
|
|
221
233
|
"minLength": 1
|
|
222
234
|
},
|
|
235
|
+
"relationshipIdentifierDefault": {
|
|
236
|
+
"type": "string",
|
|
237
|
+
"enum": [
|
|
238
|
+
"attributed",
|
|
239
|
+
"pairwise"
|
|
240
|
+
],
|
|
241
|
+
"description": "Which identifier form the community expects members to issue relationship credentials under. `attributed` means the member's membership DID, so an edge names them; `pairwise` means a relationship DID unique to each counterparty. A declaration, not an enforcement: the member still chooses per relationship, and a community that wants to require one form does so in its own policy. Absent means the community has not declared one; implementations default to `pairwise`, matching the DTG Credentials recommendation."
|
|
242
|
+
},
|
|
223
243
|
"extensions": {
|
|
224
244
|
"type": "object",
|
|
225
245
|
"description": "Opaque community-defined extension bag."
|
|
@@ -10,6 +10,10 @@ export interface VTCCommunityProfileUpdatePayload {
|
|
|
10
10
|
publicUrl?: string | null;
|
|
11
11
|
contactEmail?: string | null;
|
|
12
12
|
language?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Set the community's declared relationship-identifier default. See `CommunityProfile.relationshipIdentifierDefault` in the `vtc/_shared/0.1/community` schema. Omit to leave it unchanged.
|
|
15
|
+
*/
|
|
16
|
+
relationshipIdentifierDefault?: "attributed" | "pairwise";
|
|
13
17
|
/**
|
|
14
18
|
* Opaque community-defined extension bag (maintainer-capped).
|
|
15
19
|
*/
|
|
@@ -24,6 +28,10 @@ export interface Ext {
|
|
|
24
28
|
}
|
|
25
29
|
export interface VTCCommunityProfileUpdateResponsePayload {
|
|
26
30
|
profile: CommunityProfile;
|
|
31
|
+
/**
|
|
32
|
+
* Names of the profile members this update actually changed, in the wire spelling. Empty when the submitted values all matched what was already stored. Lets a caller distinguish a no-op from an applied change without diffing the returned profile against the one it sent.
|
|
33
|
+
*/
|
|
34
|
+
fieldsChanged?: string[];
|
|
27
35
|
ext?: Ext;
|
|
28
36
|
}
|
|
29
37
|
export interface CommunityProfile {
|
|
@@ -33,6 +41,10 @@ export interface CommunityProfile {
|
|
|
33
41
|
publicUrl?: string | null;
|
|
34
42
|
contactEmail?: string | null;
|
|
35
43
|
language: string;
|
|
44
|
+
/**
|
|
45
|
+
* Which identifier form the community expects members to issue relationship credentials under. `attributed` means the member's membership DID, so an edge names them; `pairwise` means a relationship DID unique to each counterparty. A declaration, not an enforcement: the member still chooses per relationship, and a community that wants to require one form does so in its own policy. Absent means the community has not declared one; implementations default to `pairwise`, matching the DTG Credentials recommendation.
|
|
46
|
+
*/
|
|
47
|
+
relationshipIdentifierDefault?: "attributed" | "pairwise";
|
|
36
48
|
/**
|
|
37
49
|
* Opaque community-defined extension bag.
|
|
38
50
|
*/
|
|
@@ -100,6 +112,14 @@ export const PAYLOAD_SCHEMA = {
|
|
|
100
112
|
"type": "string",
|
|
101
113
|
"minLength": 1
|
|
102
114
|
},
|
|
115
|
+
"relationshipIdentifierDefault": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"enum": [
|
|
118
|
+
"attributed",
|
|
119
|
+
"pairwise"
|
|
120
|
+
],
|
|
121
|
+
"description": "Set the community's declared relationship-identifier default. See `CommunityProfile.relationshipIdentifierDefault` in the `vtc/_shared/0.1/community` schema. Omit to leave it unchanged."
|
|
122
|
+
},
|
|
103
123
|
"extensions": {
|
|
104
124
|
"type": "object",
|
|
105
125
|
"description": "Opaque community-defined extension bag (maintainer-capped)."
|
|
@@ -121,6 +141,13 @@ export const PAYLOAD_SCHEMA = {
|
|
|
121
141
|
"profile": {
|
|
122
142
|
"$ref": "#/$defs/CommunityProfile"
|
|
123
143
|
},
|
|
144
|
+
"fieldsChanged": {
|
|
145
|
+
"type": "array",
|
|
146
|
+
"items": {
|
|
147
|
+
"type": "string"
|
|
148
|
+
},
|
|
149
|
+
"description": "Names of the profile members this update actually changed, in the wire spelling. Empty when the submitted values all matched what was already stored. Lets a caller distinguish a no-op from an applied change without diffing the returned profile against the one it sent."
|
|
150
|
+
},
|
|
124
151
|
"ext": {
|
|
125
152
|
"$ref": "#/$defs/Ext"
|
|
126
153
|
}
|
|
@@ -175,6 +202,14 @@ export const PAYLOAD_SCHEMA = {
|
|
|
175
202
|
"type": "string",
|
|
176
203
|
"minLength": 1
|
|
177
204
|
},
|
|
205
|
+
"relationshipIdentifierDefault": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"enum": [
|
|
208
|
+
"attributed",
|
|
209
|
+
"pairwise"
|
|
210
|
+
],
|
|
211
|
+
"description": "Which identifier form the community expects members to issue relationship credentials under. `attributed` means the member's membership DID, so an edge names them; `pairwise` means a relationship DID unique to each counterparty. A declaration, not an enforcement: the member still chooses per relationship, and a community that wants to require one form does so in its own policy. Absent means the community has not declared one; implementations default to `pairwise`, matching the DTG Credentials recommendation."
|
|
212
|
+
},
|
|
178
213
|
"extensions": {
|
|
179
214
|
"type": "object",
|
|
180
215
|
"description": "Opaque community-defined extension bag."
|
|
@@ -209,6 +244,13 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
209
244
|
"profile": {
|
|
210
245
|
"$ref": "#/$defs/CommunityProfile"
|
|
211
246
|
},
|
|
247
|
+
"fieldsChanged": {
|
|
248
|
+
"type": "array",
|
|
249
|
+
"items": {
|
|
250
|
+
"type": "string"
|
|
251
|
+
},
|
|
252
|
+
"description": "Names of the profile members this update actually changed, in the wire spelling. Empty when the submitted values all matched what was already stored. Lets a caller distinguish a no-op from an applied change without diffing the returned profile against the one it sent."
|
|
253
|
+
},
|
|
212
254
|
"ext": {
|
|
213
255
|
"$ref": "#/$defs/Ext"
|
|
214
256
|
}
|
|
@@ -263,6 +305,14 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
263
305
|
"type": "string",
|
|
264
306
|
"minLength": 1
|
|
265
307
|
},
|
|
308
|
+
"relationshipIdentifierDefault": {
|
|
309
|
+
"type": "string",
|
|
310
|
+
"enum": [
|
|
311
|
+
"attributed",
|
|
312
|
+
"pairwise"
|
|
313
|
+
],
|
|
314
|
+
"description": "Which identifier form the community expects members to issue relationship credentials under. `attributed` means the member's membership DID, so an edge names them; `pairwise` means a relationship DID unique to each counterparty. A declaration, not an enforcement: the member still chooses per relationship, and a community that wants to require one form does so in its own policy. Absent means the community has not declared one; implementations default to `pairwise`, matching the DTG Credentials recommendation."
|
|
315
|
+
},
|
|
266
316
|
"extensions": {
|
|
267
317
|
"type": "object",
|
|
268
318
|
"description": "Opaque community-defined extension bag."
|
|
@@ -57,6 +57,10 @@ export interface CommunityProfileSnapshot {
|
|
|
57
57
|
* BCP 47 language tag.
|
|
58
58
|
*/
|
|
59
59
|
language: string;
|
|
60
|
+
/**
|
|
61
|
+
* The community's declared relationship-identifier default, as defined on `CommunityProfile` in the `vtc/_shared/0.1/community` schema. Carried in a config export so a restore reproduces the declaration rather than silently reverting it to the implementation default.
|
|
62
|
+
*/
|
|
63
|
+
relationshipIdentifierDefault?: "attributed" | "pairwise";
|
|
60
64
|
/**
|
|
61
65
|
* Opaque community-defined extension bag.
|
|
62
66
|
*/
|
|
@@ -212,6 +216,14 @@ export const PAYLOAD_SCHEMA = {
|
|
|
212
216
|
"minLength": 1,
|
|
213
217
|
"description": "BCP 47 language tag."
|
|
214
218
|
},
|
|
219
|
+
"relationshipIdentifierDefault": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"enum": [
|
|
222
|
+
"attributed",
|
|
223
|
+
"pairwise"
|
|
224
|
+
],
|
|
225
|
+
"description": "The community's declared relationship-identifier default, as defined on `CommunityProfile` in the `vtc/_shared/0.1/community` schema. Carried in a config export so a restore reproduces the declaration rather than silently reverting it to the implementation default."
|
|
226
|
+
},
|
|
215
227
|
"extensions": {
|
|
216
228
|
"type": "object",
|
|
217
229
|
"description": "Opaque community-defined extension bag."
|
|
@@ -342,6 +354,14 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
342
354
|
"minLength": 1,
|
|
343
355
|
"description": "BCP 47 language tag."
|
|
344
356
|
},
|
|
357
|
+
"relationshipIdentifierDefault": {
|
|
358
|
+
"type": "string",
|
|
359
|
+
"enum": [
|
|
360
|
+
"attributed",
|
|
361
|
+
"pairwise"
|
|
362
|
+
],
|
|
363
|
+
"description": "The community's declared relationship-identifier default, as defined on `CommunityProfile` in the `vtc/_shared/0.1/community` schema. Carried in a config export so a restore reproduces the declaration rather than silently reverting it to the implementation default."
|
|
364
|
+
},
|
|
345
365
|
"extensions": {
|
|
346
366
|
"type": "object",
|
|
347
367
|
"description": "Opaque community-defined extension bag."
|
|
@@ -52,6 +52,10 @@ export interface CommunityProfileSnapshot {
|
|
|
52
52
|
* BCP 47 language tag.
|
|
53
53
|
*/
|
|
54
54
|
language: string;
|
|
55
|
+
/**
|
|
56
|
+
* The community's declared relationship-identifier default, as defined on `CommunityProfile` in the `vtc/_shared/0.1/community` schema. Carried in a config export so a restore reproduces the declaration rather than silently reverting it to the implementation default.
|
|
57
|
+
*/
|
|
58
|
+
relationshipIdentifierDefault?: "attributed" | "pairwise";
|
|
55
59
|
/**
|
|
56
60
|
* Opaque community-defined extension bag.
|
|
57
61
|
*/
|
|
@@ -363,6 +367,14 @@ export const PAYLOAD_SCHEMA = {
|
|
|
363
367
|
"minLength": 1,
|
|
364
368
|
"description": "BCP 47 language tag."
|
|
365
369
|
},
|
|
370
|
+
"relationshipIdentifierDefault": {
|
|
371
|
+
"type": "string",
|
|
372
|
+
"enum": [
|
|
373
|
+
"attributed",
|
|
374
|
+
"pairwise"
|
|
375
|
+
],
|
|
376
|
+
"description": "The community's declared relationship-identifier default, as defined on `CommunityProfile` in the `vtc/_shared/0.1/community` schema. Carried in a config export so a restore reproduces the declaration rather than silently reverting it to the implementation default."
|
|
377
|
+
},
|
|
366
378
|
"extensions": {
|
|
367
379
|
"type": "object",
|
|
368
380
|
"description": "Opaque community-defined extension bag."
|
|
@@ -575,6 +587,14 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
575
587
|
"minLength": 1,
|
|
576
588
|
"description": "BCP 47 language tag."
|
|
577
589
|
},
|
|
590
|
+
"relationshipIdentifierDefault": {
|
|
591
|
+
"type": "string",
|
|
592
|
+
"enum": [
|
|
593
|
+
"attributed",
|
|
594
|
+
"pairwise"
|
|
595
|
+
],
|
|
596
|
+
"description": "The community's declared relationship-identifier default, as defined on `CommunityProfile` in the `vtc/_shared/0.1/community` schema. Carried in a config export so a restore reproduces the declaration rather than silently reverting it to the implementation default."
|
|
597
|
+
},
|
|
578
598
|
"extensions": {
|
|
579
599
|
"type": "object",
|
|
580
600
|
"description": "Opaque community-defined extension bag."
|