@openvtc/trust-tasks 0.12.7 → 0.12.8
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/endorsement-types/list/0.1/payload.d.ts +20 -0
- package/dist/vtc/endorsement-types/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/endorsement-types/list/0.1/payload.js +8 -0
- package/dist/vtc/endorsement-types/list/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsement-types/register/0.1/payload.d.ts +20 -0
- package/dist/vtc/endorsement-types/register/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/endorsement-types/register/0.1/payload.js +8 -0
- package/dist/vtc/endorsement-types/register/0.1/payload.js.map +1 -1
- package/dist/vtc/join-requests/decide/0.1/payload.d.ts +42 -0
- package/dist/vtc/join-requests/decide/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/join-requests/decide/0.1/payload.js +28 -0
- package/dist/vtc/join-requests/decide/0.1/payload.js.map +1 -1
- package/dist/vtc/members/list/0.1/payload.d.ts +108 -0
- package/dist/vtc/members/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/members/list/0.1/payload.js +62 -0
- package/dist/vtc/members/list/0.1/payload.js.map +1 -1
- package/dist/vtc/members/show/0.1/payload.d.ts +108 -0
- package/dist/vtc/members/show/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/members/show/0.1/payload.js +62 -0
- package/dist/vtc/members/show/0.1/payload.js.map +1 -1
- package/dist/vtc/members/update/0.1/payload.d.ts +120 -0
- package/dist/vtc/members/update/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/members/update/0.1/payload.js +69 -0
- package/dist/vtc/members/update/0.1/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/vtc/endorsement-types/list/0.1/payload.ts +12 -0
- package/src/vtc/endorsement-types/register/0.1/payload.ts +12 -0
- package/src/vtc/join-requests/decide/0.1/payload.ts +38 -0
- package/src/vtc/members/list/0.1/payload.ts +82 -0
- package/src/vtc/members/show/0.1/payload.ts +82 -0
- package/src/vtc/members/update/0.1/payload.ts +93 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/members/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/members/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAkGH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,kDAA2D,CAAC;AAKpF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,2DAAoE,CAAC;AAKtG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,kDAAkD;IACzD,OAAO,EAAE,4BAA4B;IACrC,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,YAAY,EAAE;QACZ,MAAM,EAAE;YACN,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,aAAa,EAAE,8EAA8E;SAC9F;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,gEAAgE;SAChF;QACD,OAAO,EAAE;YACP,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,CAAC;YACZ,SAAS,EAAE,GAAG;YACd,aAAa,EAAE,2DAA2D;SAC3E;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,qCAAqC;YAC9C,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,OAAO;aACR;YACD,YAAY,EAAE;gBACZ,OAAO,EAAE;oBACP,MAAM,EAAE,OAAO;oBACf,OAAO,EAA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C1F;gBACD,YAAY,EAAE;oBACZ,MAAM,EAAE,QAAQ;oBAChB,aAAa,EAAE,6IAA6I;iBAC7J;aACF;SACF;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,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,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -56,6 +56,26 @@ export interface MemberResponse {
|
|
|
56
56
|
* Id of the member's current role Verifiable Endorsement Credential, if issued.
|
|
57
57
|
*/
|
|
58
58
|
currentRoleVecId?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
* Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.
|
|
61
|
+
*/
|
|
62
|
+
personhood?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag.
|
|
65
|
+
*/
|
|
66
|
+
personhoodAssertedAt?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart.
|
|
69
|
+
*/
|
|
70
|
+
joinedViaInvitation?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* `id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here.
|
|
73
|
+
*/
|
|
74
|
+
memberVmcId?: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* When that reciprocal credential was received. Paired with `memberVmcId`.
|
|
77
|
+
*/
|
|
78
|
+
memberVmcReceivedAt?: string | null;
|
|
59
79
|
/**
|
|
60
80
|
* Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation).
|
|
61
81
|
*/
|
|
@@ -168,6 +188,28 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
168
188
|
readonly type: readonly ["string", "null"];
|
|
169
189
|
readonly description: "Id of the member's current role Verifiable Endorsement Credential, if issued.";
|
|
170
190
|
};
|
|
191
|
+
readonly personhood: {
|
|
192
|
+
readonly type: "boolean";
|
|
193
|
+
readonly description: "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.";
|
|
194
|
+
};
|
|
195
|
+
readonly personhoodAssertedAt: {
|
|
196
|
+
readonly type: readonly ["string", "null"];
|
|
197
|
+
readonly format: "date-time";
|
|
198
|
+
readonly description: "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag.";
|
|
199
|
+
};
|
|
200
|
+
readonly joinedViaInvitation: {
|
|
201
|
+
readonly type: "boolean";
|
|
202
|
+
readonly description: "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart.";
|
|
203
|
+
};
|
|
204
|
+
readonly memberVmcId: {
|
|
205
|
+
readonly type: readonly ["string", "null"];
|
|
206
|
+
readonly description: "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here.";
|
|
207
|
+
};
|
|
208
|
+
readonly memberVmcReceivedAt: {
|
|
209
|
+
readonly type: readonly ["string", "null"];
|
|
210
|
+
readonly format: "date-time";
|
|
211
|
+
readonly description: "When that reciprocal credential was received. Paired with `memberVmcId`.";
|
|
212
|
+
};
|
|
171
213
|
readonly extensions: {
|
|
172
214
|
readonly type: "object";
|
|
173
215
|
readonly description: "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation).";
|
|
@@ -253,6 +295,28 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
253
295
|
readonly type: readonly ["string", "null"];
|
|
254
296
|
readonly description: "Id of the member's current role Verifiable Endorsement Credential, if issued.";
|
|
255
297
|
};
|
|
298
|
+
readonly personhood: {
|
|
299
|
+
readonly type: "boolean";
|
|
300
|
+
readonly description: "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.";
|
|
301
|
+
};
|
|
302
|
+
readonly personhoodAssertedAt: {
|
|
303
|
+
readonly type: readonly ["string", "null"];
|
|
304
|
+
readonly format: "date-time";
|
|
305
|
+
readonly description: "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag.";
|
|
306
|
+
};
|
|
307
|
+
readonly joinedViaInvitation: {
|
|
308
|
+
readonly type: "boolean";
|
|
309
|
+
readonly description: "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart.";
|
|
310
|
+
};
|
|
311
|
+
readonly memberVmcId: {
|
|
312
|
+
readonly type: readonly ["string", "null"];
|
|
313
|
+
readonly description: "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here.";
|
|
314
|
+
};
|
|
315
|
+
readonly memberVmcReceivedAt: {
|
|
316
|
+
readonly type: readonly ["string", "null"];
|
|
317
|
+
readonly format: "date-time";
|
|
318
|
+
readonly description: "When that reciprocal credential was received. Paired with `memberVmcId`.";
|
|
319
|
+
};
|
|
256
320
|
readonly extensions: {
|
|
257
321
|
readonly type: "object";
|
|
258
322
|
readonly description: "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation).";
|
|
@@ -362,6 +426,28 @@ export declare const SPEC: {
|
|
|
362
426
|
readonly type: readonly ["string", "null"];
|
|
363
427
|
readonly description: "Id of the member's current role Verifiable Endorsement Credential, if issued.";
|
|
364
428
|
};
|
|
429
|
+
readonly personhood: {
|
|
430
|
+
readonly type: "boolean";
|
|
431
|
+
readonly description: "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.";
|
|
432
|
+
};
|
|
433
|
+
readonly personhoodAssertedAt: {
|
|
434
|
+
readonly type: readonly ["string", "null"];
|
|
435
|
+
readonly format: "date-time";
|
|
436
|
+
readonly description: "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag.";
|
|
437
|
+
};
|
|
438
|
+
readonly joinedViaInvitation: {
|
|
439
|
+
readonly type: "boolean";
|
|
440
|
+
readonly description: "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart.";
|
|
441
|
+
};
|
|
442
|
+
readonly memberVmcId: {
|
|
443
|
+
readonly type: readonly ["string", "null"];
|
|
444
|
+
readonly description: "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here.";
|
|
445
|
+
};
|
|
446
|
+
readonly memberVmcReceivedAt: {
|
|
447
|
+
readonly type: readonly ["string", "null"];
|
|
448
|
+
readonly format: "date-time";
|
|
449
|
+
readonly description: "When that reciprocal credential was received. Paired with `memberVmcId`.";
|
|
450
|
+
};
|
|
365
451
|
readonly extensions: {
|
|
366
452
|
readonly type: "object";
|
|
367
453
|
readonly description: "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation).";
|
|
@@ -457,6 +543,28 @@ export declare const RESPONSE_SPEC: {
|
|
|
457
543
|
readonly type: readonly ["string", "null"];
|
|
458
544
|
readonly description: "Id of the member's current role Verifiable Endorsement Credential, if issued.";
|
|
459
545
|
};
|
|
546
|
+
readonly personhood: {
|
|
547
|
+
readonly type: "boolean";
|
|
548
|
+
readonly description: "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.";
|
|
549
|
+
};
|
|
550
|
+
readonly personhoodAssertedAt: {
|
|
551
|
+
readonly type: readonly ["string", "null"];
|
|
552
|
+
readonly format: "date-time";
|
|
553
|
+
readonly description: "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag.";
|
|
554
|
+
};
|
|
555
|
+
readonly joinedViaInvitation: {
|
|
556
|
+
readonly type: "boolean";
|
|
557
|
+
readonly description: "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart.";
|
|
558
|
+
};
|
|
559
|
+
readonly memberVmcId: {
|
|
560
|
+
readonly type: readonly ["string", "null"];
|
|
561
|
+
readonly description: "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here.";
|
|
562
|
+
};
|
|
563
|
+
readonly memberVmcReceivedAt: {
|
|
564
|
+
readonly type: readonly ["string", "null"];
|
|
565
|
+
readonly format: "date-time";
|
|
566
|
+
readonly description: "When that reciprocal credential was received. Paired with `memberVmcId`.";
|
|
567
|
+
};
|
|
460
568
|
readonly extensions: {
|
|
461
569
|
readonly type: "object";
|
|
462
570
|
readonly description: "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation).";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/members/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ,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,6BAA6B;IAC5C,MAAM,EAAE,cAAc,CAAC;IACvB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,mBAAmB,EAAE,OAAO,GAAG,WAAW,GAAG,YAAY,GAAG,eAAe,CAAC;IAC5E;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;OAEG;IACH,UAAU,EAAE,EAAE,CAAC;CAChB;AAED,2BAA2B;AAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhB,CAAC"}
|
|
@@ -133,6 +133,37 @@ export const PAYLOAD_SCHEMA = {
|
|
|
133
133
|
],
|
|
134
134
|
"description": "Id of the member's current role Verifiable Endorsement Credential, if issued."
|
|
135
135
|
},
|
|
136
|
+
"personhood": {
|
|
137
|
+
"type": "boolean",
|
|
138
|
+
"description": "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision."
|
|
139
|
+
},
|
|
140
|
+
"personhoodAssertedAt": {
|
|
141
|
+
"type": [
|
|
142
|
+
"string",
|
|
143
|
+
"null"
|
|
144
|
+
],
|
|
145
|
+
"format": "date-time",
|
|
146
|
+
"description": "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag."
|
|
147
|
+
},
|
|
148
|
+
"joinedViaInvitation": {
|
|
149
|
+
"type": "boolean",
|
|
150
|
+
"description": "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart."
|
|
151
|
+
},
|
|
152
|
+
"memberVmcId": {
|
|
153
|
+
"type": [
|
|
154
|
+
"string",
|
|
155
|
+
"null"
|
|
156
|
+
],
|
|
157
|
+
"description": "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here."
|
|
158
|
+
},
|
|
159
|
+
"memberVmcReceivedAt": {
|
|
160
|
+
"type": [
|
|
161
|
+
"string",
|
|
162
|
+
"null"
|
|
163
|
+
],
|
|
164
|
+
"format": "date-time",
|
|
165
|
+
"description": "When that reciprocal credential was received. Paired with `memberVmcId`."
|
|
166
|
+
},
|
|
136
167
|
"extensions": {
|
|
137
168
|
"type": "object",
|
|
138
169
|
"description": "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation)."
|
|
@@ -244,6 +275,37 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
244
275
|
],
|
|
245
276
|
"description": "Id of the member's current role Verifiable Endorsement Credential, if issued."
|
|
246
277
|
},
|
|
278
|
+
"personhood": {
|
|
279
|
+
"type": "boolean",
|
|
280
|
+
"description": "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision."
|
|
281
|
+
},
|
|
282
|
+
"personhoodAssertedAt": {
|
|
283
|
+
"type": [
|
|
284
|
+
"string",
|
|
285
|
+
"null"
|
|
286
|
+
],
|
|
287
|
+
"format": "date-time",
|
|
288
|
+
"description": "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag."
|
|
289
|
+
},
|
|
290
|
+
"joinedViaInvitation": {
|
|
291
|
+
"type": "boolean",
|
|
292
|
+
"description": "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart."
|
|
293
|
+
},
|
|
294
|
+
"memberVmcId": {
|
|
295
|
+
"type": [
|
|
296
|
+
"string",
|
|
297
|
+
"null"
|
|
298
|
+
],
|
|
299
|
+
"description": "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here."
|
|
300
|
+
},
|
|
301
|
+
"memberVmcReceivedAt": {
|
|
302
|
+
"type": [
|
|
303
|
+
"string",
|
|
304
|
+
"null"
|
|
305
|
+
],
|
|
306
|
+
"format": "date-time",
|
|
307
|
+
"description": "When that reciprocal credential was received. Paired with `memberVmcId`."
|
|
308
|
+
},
|
|
247
309
|
"extensions": {
|
|
248
310
|
"type": "object",
|
|
249
311
|
"description": "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation)."
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/members/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/members/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAkFH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,kDAA2D,CAAC;AAKpF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,2DAAoE,CAAC;AAKtG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,kDAAkD;IACzD,OAAO,EAAE,4BAA4B;IACrC,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,KAAK;KACN;IACD,YAAY,EAAE;QACZ,KAAK,EAAE;YACL,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,aAAa,EAAE,sBAAsB;SACtC;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,qCAAqC;YAC9C,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,QAAQ;aACT;YACD,YAAY,EAAE;gBACZ,QAAQ,EAAE;oBACR,MAAM,EAAE,wBAAwB;iBACjC;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE,aAAa;iBACtB;aACF;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE,KAAK;YACd,aAA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ACzF;gBACD,kBAAkB,EAAE;oBAClB,MAAM,EAAE;wBACN,QAAQ;wBACR,MAAM;qBACP;oBACD,aAAa,EAAE,+EAA+E;iBAC/F;gBACD,YAAY,EAAE;oBACZ,MAAM,EAAE,SAAS;oBACjB,aAAa,EAAE,yWAAyW;iBACzX;gBACD,sBAAsB,EAAE;oBACtB,MAAM,EAAE;wBACN,QAAQ;wBACR,MAAM;qBACP;oBACD,QAAQ,EAAE,WAAW;oBACrB,aAAa,EAAE,+LAA+L;iBAC/M;gBACD,qBAAqB,EAAE;oBACrB,MAAM,EAAE,SAAS;oBACjB,aAAa,EAAE,uPAAuP;iBACvQ;gBACD,aAAa,EAAE;oBACb,MAAM,EAAE;wBACN,QAAQ;wBACR,MAAM;qBACP;oBACD,aAAa,EAAE,+SAA+S;iBAC/T;gBACD,qBAAqB,EAAE;oBACrB,MAAM,EAAE;wBACN,QAAQ;wBACR,MAAM;qBACP;oBACD,QAAQ,EAAE,WAAW;oBACrB,aAAa,EAAE,0EAA0E;iBAC1F;gBACD,YAAY,EAAE;oBACZ,MAAM,EAAE,QAAQ;oBAChB,aAAa,EAAE,6IAA6I;iBAC7J;aACF;SACF;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,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,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -11,6 +11,10 @@ export interface VTCMembersUpdatePayload {
|
|
|
11
11
|
* New role (wire form). MUST NOT be `admin` — promotion to admin is a separate, gated flow, not a metadata patch.
|
|
12
12
|
*/
|
|
13
13
|
role?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Operator-facing display label for this member. Editable, unlike the DID it labels — which is the point: an operator needs a name they can read on a roster of identifiers they cannot. `null` clears it; omit to leave it unchanged.
|
|
16
|
+
*/
|
|
17
|
+
label?: string | null;
|
|
14
18
|
/**
|
|
15
19
|
* New directory-publish consent.
|
|
16
20
|
*/
|
|
@@ -69,6 +73,26 @@ export interface MemberResponse {
|
|
|
69
73
|
* Id of the member's current role Verifiable Endorsement Credential, if issued.
|
|
70
74
|
*/
|
|
71
75
|
currentRoleVecId?: string | null;
|
|
76
|
+
/**
|
|
77
|
+
* Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.
|
|
78
|
+
*/
|
|
79
|
+
personhood?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag.
|
|
82
|
+
*/
|
|
83
|
+
personhoodAssertedAt?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart.
|
|
86
|
+
*/
|
|
87
|
+
joinedViaInvitation?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* `id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here.
|
|
90
|
+
*/
|
|
91
|
+
memberVmcId?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* When that reciprocal credential was received. Paired with `memberVmcId`.
|
|
94
|
+
*/
|
|
95
|
+
memberVmcReceivedAt?: string | null;
|
|
72
96
|
/**
|
|
73
97
|
* Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation).
|
|
74
98
|
*/
|
|
@@ -109,6 +133,10 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
109
133
|
readonly minLength: 1;
|
|
110
134
|
readonly description: "New role (wire form). MUST NOT be `admin` — promotion to admin is a separate, gated flow, not a metadata patch.";
|
|
111
135
|
};
|
|
136
|
+
readonly label: {
|
|
137
|
+
readonly type: readonly ["string", "null"];
|
|
138
|
+
readonly description: "Operator-facing display label for this member. Editable, unlike the DID it labels — which is the point: an operator needs a name they can read on a roster of identifiers they cannot. `null` clears it; omit to leave it unchanged.";
|
|
139
|
+
};
|
|
112
140
|
readonly publishConsent: {
|
|
113
141
|
readonly type: "boolean";
|
|
114
142
|
readonly description: "New directory-publish consent.";
|
|
@@ -198,6 +226,28 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
198
226
|
readonly type: readonly ["string", "null"];
|
|
199
227
|
readonly description: "Id of the member's current role Verifiable Endorsement Credential, if issued.";
|
|
200
228
|
};
|
|
229
|
+
readonly personhood: {
|
|
230
|
+
readonly type: "boolean";
|
|
231
|
+
readonly description: "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.";
|
|
232
|
+
};
|
|
233
|
+
readonly personhoodAssertedAt: {
|
|
234
|
+
readonly type: readonly ["string", "null"];
|
|
235
|
+
readonly format: "date-time";
|
|
236
|
+
readonly description: "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag.";
|
|
237
|
+
};
|
|
238
|
+
readonly joinedViaInvitation: {
|
|
239
|
+
readonly type: "boolean";
|
|
240
|
+
readonly description: "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart.";
|
|
241
|
+
};
|
|
242
|
+
readonly memberVmcId: {
|
|
243
|
+
readonly type: readonly ["string", "null"];
|
|
244
|
+
readonly description: "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here.";
|
|
245
|
+
};
|
|
246
|
+
readonly memberVmcReceivedAt: {
|
|
247
|
+
readonly type: readonly ["string", "null"];
|
|
248
|
+
readonly format: "date-time";
|
|
249
|
+
readonly description: "When that reciprocal credential was received. Paired with `memberVmcId`.";
|
|
250
|
+
};
|
|
201
251
|
readonly extensions: {
|
|
202
252
|
readonly type: "object";
|
|
203
253
|
readonly description: "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation).";
|
|
@@ -283,6 +333,28 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
283
333
|
readonly type: readonly ["string", "null"];
|
|
284
334
|
readonly description: "Id of the member's current role Verifiable Endorsement Credential, if issued.";
|
|
285
335
|
};
|
|
336
|
+
readonly personhood: {
|
|
337
|
+
readonly type: "boolean";
|
|
338
|
+
readonly description: "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.";
|
|
339
|
+
};
|
|
340
|
+
readonly personhoodAssertedAt: {
|
|
341
|
+
readonly type: readonly ["string", "null"];
|
|
342
|
+
readonly format: "date-time";
|
|
343
|
+
readonly description: "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag.";
|
|
344
|
+
};
|
|
345
|
+
readonly joinedViaInvitation: {
|
|
346
|
+
readonly type: "boolean";
|
|
347
|
+
readonly description: "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart.";
|
|
348
|
+
};
|
|
349
|
+
readonly memberVmcId: {
|
|
350
|
+
readonly type: readonly ["string", "null"];
|
|
351
|
+
readonly description: "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here.";
|
|
352
|
+
};
|
|
353
|
+
readonly memberVmcReceivedAt: {
|
|
354
|
+
readonly type: readonly ["string", "null"];
|
|
355
|
+
readonly format: "date-time";
|
|
356
|
+
readonly description: "When that reciprocal credential was received. Paired with `memberVmcId`.";
|
|
357
|
+
};
|
|
286
358
|
readonly extensions: {
|
|
287
359
|
readonly type: "object";
|
|
288
360
|
readonly description: "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation).";
|
|
@@ -320,6 +392,10 @@ export declare const SPEC: {
|
|
|
320
392
|
readonly minLength: 1;
|
|
321
393
|
readonly description: "New role (wire form). MUST NOT be `admin` — promotion to admin is a separate, gated flow, not a metadata patch.";
|
|
322
394
|
};
|
|
395
|
+
readonly label: {
|
|
396
|
+
readonly type: readonly ["string", "null"];
|
|
397
|
+
readonly description: "Operator-facing display label for this member. Editable, unlike the DID it labels — which is the point: an operator needs a name they can read on a roster of identifiers they cannot. `null` clears it; omit to leave it unchanged.";
|
|
398
|
+
};
|
|
323
399
|
readonly publishConsent: {
|
|
324
400
|
readonly type: "boolean";
|
|
325
401
|
readonly description: "New directory-publish consent.";
|
|
@@ -409,6 +485,28 @@ export declare const SPEC: {
|
|
|
409
485
|
readonly type: readonly ["string", "null"];
|
|
410
486
|
readonly description: "Id of the member's current role Verifiable Endorsement Credential, if issued.";
|
|
411
487
|
};
|
|
488
|
+
readonly personhood: {
|
|
489
|
+
readonly type: "boolean";
|
|
490
|
+
readonly description: "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.";
|
|
491
|
+
};
|
|
492
|
+
readonly personhoodAssertedAt: {
|
|
493
|
+
readonly type: readonly ["string", "null"];
|
|
494
|
+
readonly format: "date-time";
|
|
495
|
+
readonly description: "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag.";
|
|
496
|
+
};
|
|
497
|
+
readonly joinedViaInvitation: {
|
|
498
|
+
readonly type: "boolean";
|
|
499
|
+
readonly description: "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart.";
|
|
500
|
+
};
|
|
501
|
+
readonly memberVmcId: {
|
|
502
|
+
readonly type: readonly ["string", "null"];
|
|
503
|
+
readonly description: "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here.";
|
|
504
|
+
};
|
|
505
|
+
readonly memberVmcReceivedAt: {
|
|
506
|
+
readonly type: readonly ["string", "null"];
|
|
507
|
+
readonly format: "date-time";
|
|
508
|
+
readonly description: "When that reciprocal credential was received. Paired with `memberVmcId`.";
|
|
509
|
+
};
|
|
412
510
|
readonly extensions: {
|
|
413
511
|
readonly type: "object";
|
|
414
512
|
readonly description: "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation).";
|
|
@@ -504,6 +602,28 @@ export declare const RESPONSE_SPEC: {
|
|
|
504
602
|
readonly type: readonly ["string", "null"];
|
|
505
603
|
readonly description: "Id of the member's current role Verifiable Endorsement Credential, if issued.";
|
|
506
604
|
};
|
|
605
|
+
readonly personhood: {
|
|
606
|
+
readonly type: "boolean";
|
|
607
|
+
readonly description: "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.";
|
|
608
|
+
};
|
|
609
|
+
readonly personhoodAssertedAt: {
|
|
610
|
+
readonly type: readonly ["string", "null"];
|
|
611
|
+
readonly format: "date-time";
|
|
612
|
+
readonly description: "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag.";
|
|
613
|
+
};
|
|
614
|
+
readonly joinedViaInvitation: {
|
|
615
|
+
readonly type: "boolean";
|
|
616
|
+
readonly description: "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart.";
|
|
617
|
+
};
|
|
618
|
+
readonly memberVmcId: {
|
|
619
|
+
readonly type: readonly ["string", "null"];
|
|
620
|
+
readonly description: "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here.";
|
|
621
|
+
};
|
|
622
|
+
readonly memberVmcReceivedAt: {
|
|
623
|
+
readonly type: readonly ["string", "null"];
|
|
624
|
+
readonly format: "date-time";
|
|
625
|
+
readonly description: "When that reciprocal credential was received. Paired with `memberVmcId`.";
|
|
626
|
+
};
|
|
507
627
|
readonly extensions: {
|
|
508
628
|
readonly type: "object";
|
|
509
629
|
readonly description: "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation).";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/members/update/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,mBAAmB,CAAC,EAAE,OAAO,GAAG,WAAW,GAAG,YAAY,GAAG,eAAe,CAAC;IAC7E;;OAEG;IACH,UAAU,CAAC,EAAE,EAAE,CAAC;IAChB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AC"}
|
|
@@ -35,6 +35,13 @@ export const PAYLOAD_SCHEMA = {
|
|
|
35
35
|
"minLength": 1,
|
|
36
36
|
"description": "New role (wire form). MUST NOT be `admin` — promotion to admin is a separate, gated flow, not a metadata patch."
|
|
37
37
|
},
|
|
38
|
+
"label": {
|
|
39
|
+
"type": [
|
|
40
|
+
"string",
|
|
41
|
+
"null"
|
|
42
|
+
],
|
|
43
|
+
"description": "Operator-facing display label for this member. Editable, unlike the DID it labels — which is the point: an operator needs a name they can read on a roster of identifiers they cannot. `null` clears it; omit to leave it unchanged."
|
|
44
|
+
},
|
|
38
45
|
"publishConsent": {
|
|
39
46
|
"type": "boolean",
|
|
40
47
|
"description": "New directory-publish consent."
|
|
@@ -155,6 +162,37 @@ export const PAYLOAD_SCHEMA = {
|
|
|
155
162
|
],
|
|
156
163
|
"description": "Id of the member's current role Verifiable Endorsement Credential, if issued."
|
|
157
164
|
},
|
|
165
|
+
"personhood": {
|
|
166
|
+
"type": "boolean",
|
|
167
|
+
"description": "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision."
|
|
168
|
+
},
|
|
169
|
+
"personhoodAssertedAt": {
|
|
170
|
+
"type": [
|
|
171
|
+
"string",
|
|
172
|
+
"null"
|
|
173
|
+
],
|
|
174
|
+
"format": "date-time",
|
|
175
|
+
"description": "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag."
|
|
176
|
+
},
|
|
177
|
+
"joinedViaInvitation": {
|
|
178
|
+
"type": "boolean",
|
|
179
|
+
"description": "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart."
|
|
180
|
+
},
|
|
181
|
+
"memberVmcId": {
|
|
182
|
+
"type": [
|
|
183
|
+
"string",
|
|
184
|
+
"null"
|
|
185
|
+
],
|
|
186
|
+
"description": "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here."
|
|
187
|
+
},
|
|
188
|
+
"memberVmcReceivedAt": {
|
|
189
|
+
"type": [
|
|
190
|
+
"string",
|
|
191
|
+
"null"
|
|
192
|
+
],
|
|
193
|
+
"format": "date-time",
|
|
194
|
+
"description": "When that reciprocal credential was received. Paired with `memberVmcId`."
|
|
195
|
+
},
|
|
158
196
|
"extensions": {
|
|
159
197
|
"type": "object",
|
|
160
198
|
"description": "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation)."
|
|
@@ -266,6 +304,37 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
266
304
|
],
|
|
267
305
|
"description": "Id of the member's current role Verifiable Endorsement Credential, if issued."
|
|
268
306
|
},
|
|
307
|
+
"personhood": {
|
|
308
|
+
"type": "boolean",
|
|
309
|
+
"description": "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision."
|
|
310
|
+
},
|
|
311
|
+
"personhoodAssertedAt": {
|
|
312
|
+
"type": [
|
|
313
|
+
"string",
|
|
314
|
+
"null"
|
|
315
|
+
],
|
|
316
|
+
"format": "date-time",
|
|
317
|
+
"description": "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag."
|
|
318
|
+
},
|
|
319
|
+
"joinedViaInvitation": {
|
|
320
|
+
"type": "boolean",
|
|
321
|
+
"description": "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart."
|
|
322
|
+
},
|
|
323
|
+
"memberVmcId": {
|
|
324
|
+
"type": [
|
|
325
|
+
"string",
|
|
326
|
+
"null"
|
|
327
|
+
],
|
|
328
|
+
"description": "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here."
|
|
329
|
+
},
|
|
330
|
+
"memberVmcReceivedAt": {
|
|
331
|
+
"type": [
|
|
332
|
+
"string",
|
|
333
|
+
"null"
|
|
334
|
+
],
|
|
335
|
+
"format": "date-time",
|
|
336
|
+
"description": "When that reciprocal credential was received. Paired with `memberVmcId`."
|
|
337
|
+
},
|
|
269
338
|
"extensions": {
|
|
270
339
|
"type": "object",
|
|
271
340
|
"description": "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation)."
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/members/update/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/members/update/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmGH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,oDAA6D,CAAC;AAKtF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,6DAAsE,CAAC;AAKxG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,oDAAoD;IAC3D,OAAO,EAAE,8BAA8B;IACvC,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,KAAK;KACN;IACD,YAAY,EAAE;QACZ,KAAK,EAAE;YACL,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,aAAa,EAAE,uBAAuB;SACvC;QACD,MAAM,EAAE;YACN,MAAM,EAAE,QAAQ;YAChB,WA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