@openvtc/trust-tasks 0.12.3 → 0.12.5
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/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- 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/members/removal-notice/0.1/payload.d.ts +178 -0
- package/dist/vtc/members/removal-notice/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/members/removal-notice/0.1/payload.js +98 -0
- package/dist/vtc/members/removal-notice/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/index.ts +1 -0
- 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/members/removal-notice/0.1/payload.ts +140 -0
|
@@ -56,6 +56,10 @@ export interface CommunityProfileSnapshot {
|
|
|
56
56
|
* BCP 47 language tag.
|
|
57
57
|
*/
|
|
58
58
|
language: string;
|
|
59
|
+
/**
|
|
60
|
+
* 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.
|
|
61
|
+
*/
|
|
62
|
+
relationshipIdentifierDefault?: "attributed" | "pairwise";
|
|
59
63
|
/**
|
|
60
64
|
* Opaque community-defined extension bag.
|
|
61
65
|
*/
|
|
@@ -187,6 +191,11 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
187
191
|
readonly minLength: 1;
|
|
188
192
|
readonly description: "BCP 47 language tag.";
|
|
189
193
|
};
|
|
194
|
+
readonly relationshipIdentifierDefault: {
|
|
195
|
+
readonly type: "string";
|
|
196
|
+
readonly enum: readonly ["attributed", "pairwise"];
|
|
197
|
+
readonly 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.";
|
|
198
|
+
};
|
|
190
199
|
readonly extensions: {
|
|
191
200
|
readonly type: "object";
|
|
192
201
|
readonly description: "Opaque community-defined extension bag.";
|
|
@@ -297,6 +306,11 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
297
306
|
readonly minLength: 1;
|
|
298
307
|
readonly description: "BCP 47 language tag.";
|
|
299
308
|
};
|
|
309
|
+
readonly relationshipIdentifierDefault: {
|
|
310
|
+
readonly type: "string";
|
|
311
|
+
readonly enum: readonly ["attributed", "pairwise"];
|
|
312
|
+
readonly 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.";
|
|
313
|
+
};
|
|
300
314
|
readonly extensions: {
|
|
301
315
|
readonly type: "object";
|
|
302
316
|
readonly description: "Opaque community-defined extension bag.";
|
|
@@ -426,6 +440,11 @@ export declare const SPEC: {
|
|
|
426
440
|
readonly minLength: 1;
|
|
427
441
|
readonly description: "BCP 47 language tag.";
|
|
428
442
|
};
|
|
443
|
+
readonly relationshipIdentifierDefault: {
|
|
444
|
+
readonly type: "string";
|
|
445
|
+
readonly enum: readonly ["attributed", "pairwise"];
|
|
446
|
+
readonly 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.";
|
|
447
|
+
};
|
|
429
448
|
readonly extensions: {
|
|
430
449
|
readonly type: "object";
|
|
431
450
|
readonly description: "Opaque community-defined extension bag.";
|
|
@@ -546,6 +565,11 @@ export declare const RESPONSE_SPEC: {
|
|
|
546
565
|
readonly minLength: 1;
|
|
547
566
|
readonly description: "BCP 47 language tag.";
|
|
548
567
|
};
|
|
568
|
+
readonly relationshipIdentifierDefault: {
|
|
569
|
+
readonly type: "string";
|
|
570
|
+
readonly enum: readonly ["attributed", "pairwise"];
|
|
571
|
+
readonly 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.";
|
|
572
|
+
};
|
|
549
573
|
readonly extensions: {
|
|
550
574
|
readonly type: "object";
|
|
551
575
|
readonly description: "Opaque community-defined extension bag.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/config/export/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,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,8BAA8B;IAC7C,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,wBAAwB,CAAC;IAC5C;;OAEG;IACH,eAAe,EAAE;QACf,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;KAClC,CAAC;IACF,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,EAAE,CAAC;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,mDAA4D,CAAC;AAErF,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,sBAAsB,CAAC;AAE7C,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,4DAAqE,CAAC;AAEvG,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,8BAA8B,CAAC;AAEtD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/config/export/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,GAAG,CAAC,EAAE,GAAG,CAAC;CACX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,GAAG,8BAA8B,CAAC;AAEtD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgJjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuI1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhB,CAAC"}
|
|
@@ -139,6 +139,14 @@ export const PAYLOAD_SCHEMA = {
|
|
|
139
139
|
"minLength": 1,
|
|
140
140
|
"description": "BCP 47 language tag."
|
|
141
141
|
},
|
|
142
|
+
"relationshipIdentifierDefault": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"enum": [
|
|
145
|
+
"attributed",
|
|
146
|
+
"pairwise"
|
|
147
|
+
],
|
|
148
|
+
"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."
|
|
149
|
+
},
|
|
142
150
|
"extensions": {
|
|
143
151
|
"type": "object",
|
|
144
152
|
"description": "Opaque community-defined extension bag."
|
|
@@ -268,6 +276,14 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
268
276
|
"minLength": 1,
|
|
269
277
|
"description": "BCP 47 language tag."
|
|
270
278
|
},
|
|
279
|
+
"relationshipIdentifierDefault": {
|
|
280
|
+
"type": "string",
|
|
281
|
+
"enum": [
|
|
282
|
+
"attributed",
|
|
283
|
+
"pairwise"
|
|
284
|
+
],
|
|
285
|
+
"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."
|
|
286
|
+
},
|
|
271
287
|
"extensions": {
|
|
272
288
|
"type": "object",
|
|
273
289
|
"description": "Opaque community-defined extension bag."
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/config/export/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/config/export/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAsEH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,mDAA4D,CAAC;AAKrF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,4DAAqE,CAAC;AAKvG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,mDAAmD;IAC1D,OAAO,EAAE,6BAA6B;IACtC,aAAa,EAAE,2MAA2M;IAC1N,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,YAAY,EAAE;QACZ,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,sCAAsC;YA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CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -51,6 +51,10 @@ export interface CommunityProfileSnapshot {
|
|
|
51
51
|
* BCP 47 language tag.
|
|
52
52
|
*/
|
|
53
53
|
language: string;
|
|
54
|
+
/**
|
|
55
|
+
* 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.
|
|
56
|
+
*/
|
|
57
|
+
relationshipIdentifierDefault?: "attributed" | "pairwise";
|
|
54
58
|
/**
|
|
55
59
|
* Opaque community-defined extension bag.
|
|
56
60
|
*/
|
|
@@ -325,6 +329,11 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
325
329
|
readonly minLength: 1;
|
|
326
330
|
readonly description: "BCP 47 language tag.";
|
|
327
331
|
};
|
|
332
|
+
readonly relationshipIdentifierDefault: {
|
|
333
|
+
readonly type: "string";
|
|
334
|
+
readonly enum: readonly ["attributed", "pairwise"];
|
|
335
|
+
readonly 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.";
|
|
336
|
+
};
|
|
328
337
|
readonly extensions: {
|
|
329
338
|
readonly type: "object";
|
|
330
339
|
readonly description: "Opaque community-defined extension bag.";
|
|
@@ -506,6 +515,11 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
506
515
|
readonly minLength: 1;
|
|
507
516
|
readonly description: "BCP 47 language tag.";
|
|
508
517
|
};
|
|
518
|
+
readonly relationshipIdentifierDefault: {
|
|
519
|
+
readonly type: "string";
|
|
520
|
+
readonly enum: readonly ["attributed", "pairwise"];
|
|
521
|
+
readonly 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.";
|
|
522
|
+
};
|
|
509
523
|
readonly extensions: {
|
|
510
524
|
readonly type: "object";
|
|
511
525
|
readonly description: "Opaque community-defined extension bag.";
|
|
@@ -716,6 +730,11 @@ export declare const SPEC: {
|
|
|
716
730
|
readonly minLength: 1;
|
|
717
731
|
readonly description: "BCP 47 language tag.";
|
|
718
732
|
};
|
|
733
|
+
readonly relationshipIdentifierDefault: {
|
|
734
|
+
readonly type: "string";
|
|
735
|
+
readonly enum: readonly ["attributed", "pairwise"];
|
|
736
|
+
readonly 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.";
|
|
737
|
+
};
|
|
719
738
|
readonly extensions: {
|
|
720
739
|
readonly type: "object";
|
|
721
740
|
readonly description: "Opaque community-defined extension bag.";
|
|
@@ -907,6 +926,11 @@ export declare const RESPONSE_SPEC: {
|
|
|
907
926
|
readonly minLength: 1;
|
|
908
927
|
readonly description: "BCP 47 language tag.";
|
|
909
928
|
};
|
|
929
|
+
readonly relationshipIdentifierDefault: {
|
|
930
|
+
readonly type: "string";
|
|
931
|
+
readonly enum: readonly ["attributed", "pairwise"];
|
|
932
|
+
readonly 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.";
|
|
933
|
+
};
|
|
910
934
|
readonly extensions: {
|
|
911
935
|
readonly type: "object";
|
|
912
936
|
readonly description: "Opaque community-defined extension bag.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/config/import/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,W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ACH,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,QAAQ,CAAC,EAAE;QACT,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;KAClC,CAAC;IACF;;OAEG;IACH,QAAQ,CAAC,EAAE;QACT,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;KAClC,CAAC;CACH;AACD;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,mDAA4D,CAAC;AAErF,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,sBAAsB,CAAC;AAE7C,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,4DAAqE,CAAC;AAEvG,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,8BAA8B,CAAC;AAEtD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/config/import/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,oBAAoB,CAAC;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,wBAAwB,CAAC;IAC5C;;OAEG;IACH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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhB,CAAC"}
|
|
@@ -233,6 +233,14 @@ export const PAYLOAD_SCHEMA = {
|
|
|
233
233
|
"minLength": 1,
|
|
234
234
|
"description": "BCP 47 language tag."
|
|
235
235
|
},
|
|
236
|
+
"relationshipIdentifierDefault": {
|
|
237
|
+
"type": "string",
|
|
238
|
+
"enum": [
|
|
239
|
+
"attributed",
|
|
240
|
+
"pairwise"
|
|
241
|
+
],
|
|
242
|
+
"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."
|
|
243
|
+
},
|
|
236
244
|
"extensions": {
|
|
237
245
|
"type": "object",
|
|
238
246
|
"description": "Opaque community-defined extension bag."
|
|
@@ -444,6 +452,14 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
444
452
|
"minLength": 1,
|
|
445
453
|
"description": "BCP 47 language tag."
|
|
446
454
|
},
|
|
455
|
+
"relationshipIdentifierDefault": {
|
|
456
|
+
"type": "string",
|
|
457
|
+
"enum": [
|
|
458
|
+
"attributed",
|
|
459
|
+
"pairwise"
|
|
460
|
+
],
|
|
461
|
+
"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."
|
|
462
|
+
},
|
|
447
463
|
"extensions": {
|
|
448
464
|
"type": "object",
|
|
449
465
|
"description": "Opaque community-defined extension bag."
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/config/import/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/config/import/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA+HH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,mDAA4D,CAAC;AAKrF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,4DAAqE,CAAC;AAKvG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,mDAAmD;IAC1D,OAAO,EAAE,6BAA6B;IACtC,aAAa,EAAE,6HAA6H;IAC5I,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,UAAU;KACX;IACD,YAAY,EAAE;QACZ,UAAU,EAAE;YACV,MAAM,EAAE,8BAA8B;YACtC,aAAa,EAAE,+CAA+C;SAC/D;QACD,SAAS,EAAE;YACT,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,KAAK;YAChB,aAAa,EAAE,6MAA6M;SAC7N;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,sCAAsC;YAC/C,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,QAAQ;gBACR,gBAAgB;gBAChB,iBAAiB;gBACjB,UAAU;aACX;YACD,YAAY,EAAE;gBACZ,QAAQ,EAAE;oBACR,MAAM,EAAE,QAAQ;oBAChB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AAW,EAAE;oBACX,MAAM,EAAE,QAAQ;oBAChB,QAAQ,EAAE,WAAW;oBACrB,aAAa,EAAE,8EAA8E;iBAC9F;aACF;SACF;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,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,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/members/removal-notice/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* A community tells a member it removed them, on whose authority, when, and why. Unsolicited: unlike vtc/members/self-remove-receipt this answers no request from the member, because the member did not ask.
|
|
7
|
+
*/
|
|
8
|
+
export interface VTCMembersRemovalNoticePayload {
|
|
9
|
+
/**
|
|
10
|
+
* The removed member's DID — the notice's recipient. Carried in the payload as well as the envelope so that a forwarded notice, detached from its transport, still names its subject.
|
|
11
|
+
*/
|
|
12
|
+
did: string;
|
|
13
|
+
/**
|
|
14
|
+
* Which removal happened. `adminRemoved` is a policy-governed removal by an administrator; `purged` is a forceful super-administrator deletion that skips the removal policy. The two differ in what recourse a member has, which is why they are distinguishable rather than a single `removed`.
|
|
15
|
+
*/
|
|
16
|
+
code: "adminRemoved" | "purged";
|
|
17
|
+
/**
|
|
18
|
+
* How the member's published record was handled. Always concrete — a community resolves any `policydefault` preference before sending, since a notice naming an unresolved default tells the member nothing about their own record.
|
|
19
|
+
*/
|
|
20
|
+
disposition: "purge" | "tombstone" | "historical";
|
|
21
|
+
/**
|
|
22
|
+
* The operator's stated reason, verbatim. OPTIONAL because a community may remove without giving one — but omitting it and sending an empty string are different claims, and a community that has a reason SHOULD send it. This is the member's only account of why.
|
|
23
|
+
*/
|
|
24
|
+
reason?: string;
|
|
25
|
+
/**
|
|
26
|
+
* When the removal took effect. Distinct from the notice's own `issuedAt`, which may be much later if the member was offline — and it is the decision, not the delivery, that a member or a third party needs to place in time.
|
|
27
|
+
*/
|
|
28
|
+
decidedAt: string;
|
|
29
|
+
/**
|
|
30
|
+
* DID of the administrator who decided. Names the deciding authority rather than the community, because 'the community removed me' is not answerable and 'this administrator removed me' is. The community itself is the document's `issuer`.
|
|
31
|
+
*/
|
|
32
|
+
decidedBy: string;
|
|
33
|
+
ext?: Ext;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* 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.
|
|
37
|
+
*/
|
|
38
|
+
export interface Ext {
|
|
39
|
+
[k: string]: unknown | undefined;
|
|
40
|
+
}
|
|
41
|
+
/** Trust Task type URI. */
|
|
42
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/members/removal-notice/0.1";
|
|
43
|
+
/** Stable alias for this specification's request payload shape. */
|
|
44
|
+
export type Payload = VTCMembersRemovalNoticePayload;
|
|
45
|
+
/**
|
|
46
|
+
* This specification's payload schema, as a value.
|
|
47
|
+
*
|
|
48
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
49
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
50
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
51
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
52
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
53
|
+
*/
|
|
54
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
55
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
56
|
+
readonly $id: "https://trusttasks.org/spec/vtc/members/removal-notice/0.1";
|
|
57
|
+
readonly title: "VTC Members Removal Notice — payload";
|
|
58
|
+
readonly description: "A community tells a member it removed them, on whose authority, when, and why. Unsolicited: unlike vtc/members/self-remove-receipt this answers no request from the member, because the member did not ask.";
|
|
59
|
+
readonly type: "object";
|
|
60
|
+
readonly additionalProperties: false;
|
|
61
|
+
readonly required: readonly ["did", "code", "disposition", "decidedAt", "decidedBy"];
|
|
62
|
+
readonly properties: {
|
|
63
|
+
readonly did: {
|
|
64
|
+
readonly type: "string";
|
|
65
|
+
readonly minLength: 1;
|
|
66
|
+
readonly description: "The removed member's DID — the notice's recipient. Carried in the payload as well as the envelope so that a forwarded notice, detached from its transport, still names its subject.";
|
|
67
|
+
};
|
|
68
|
+
readonly code: {
|
|
69
|
+
readonly type: "string";
|
|
70
|
+
readonly enum: readonly ["adminRemoved", "purged"];
|
|
71
|
+
readonly description: "Which removal happened. `adminRemoved` is a policy-governed removal by an administrator; `purged` is a forceful super-administrator deletion that skips the removal policy. The two differ in what recourse a member has, which is why they are distinguishable rather than a single `removed`.";
|
|
72
|
+
};
|
|
73
|
+
readonly disposition: {
|
|
74
|
+
readonly type: "string";
|
|
75
|
+
readonly enum: readonly ["purge", "tombstone", "historical"];
|
|
76
|
+
readonly description: "How the member's published record was handled. Always concrete — a community resolves any `policydefault` preference before sending, since a notice naming an unresolved default tells the member nothing about their own record.";
|
|
77
|
+
};
|
|
78
|
+
readonly reason: {
|
|
79
|
+
readonly type: "string";
|
|
80
|
+
readonly maxLength: 1024;
|
|
81
|
+
readonly description: "The operator's stated reason, verbatim. OPTIONAL because a community may remove without giving one — but omitting it and sending an empty string are different claims, and a community that has a reason SHOULD send it. This is the member's only account of why.";
|
|
82
|
+
};
|
|
83
|
+
readonly decidedAt: {
|
|
84
|
+
readonly type: "string";
|
|
85
|
+
readonly format: "date-time";
|
|
86
|
+
readonly description: "When the removal took effect. Distinct from the notice's own `issuedAt`, which may be much later if the member was offline — and it is the decision, not the delivery, that a member or a third party needs to place in time.";
|
|
87
|
+
};
|
|
88
|
+
readonly decidedBy: {
|
|
89
|
+
readonly type: "string";
|
|
90
|
+
readonly minLength: 1;
|
|
91
|
+
readonly description: "DID of the administrator who decided. Names the deciding authority rather than the community, because 'the community removed me' is not answerable and 'this administrator removed me' is. The community itself is the document's `issuer`.";
|
|
92
|
+
};
|
|
93
|
+
readonly ext: {
|
|
94
|
+
readonly $ref: "#/$defs/Ext";
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
readonly $defs: {
|
|
98
|
+
readonly Ext: {
|
|
99
|
+
readonly title: "Ext";
|
|
100
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
101
|
+
readonly type: "object";
|
|
102
|
+
readonly minProperties: 1;
|
|
103
|
+
readonly additionalProperties: true;
|
|
104
|
+
readonly propertyNames: {
|
|
105
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
112
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
113
|
+
* per-specification and cannot be derived from the document alone, and
|
|
114
|
+
* item 2 needs the schema this carries.
|
|
115
|
+
*/
|
|
116
|
+
export declare const SPEC: {
|
|
117
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/members/removal-notice/0.1";
|
|
118
|
+
readonly isBearer: false;
|
|
119
|
+
readonly isProofRequired: true;
|
|
120
|
+
readonly isRecipientRequired: true;
|
|
121
|
+
readonly payloadSchema: {
|
|
122
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
123
|
+
readonly $id: "https://trusttasks.org/spec/vtc/members/removal-notice/0.1";
|
|
124
|
+
readonly title: "VTC Members Removal Notice — payload";
|
|
125
|
+
readonly description: "A community tells a member it removed them, on whose authority, when, and why. Unsolicited: unlike vtc/members/self-remove-receipt this answers no request from the member, because the member did not ask.";
|
|
126
|
+
readonly type: "object";
|
|
127
|
+
readonly additionalProperties: false;
|
|
128
|
+
readonly required: readonly ["did", "code", "disposition", "decidedAt", "decidedBy"];
|
|
129
|
+
readonly properties: {
|
|
130
|
+
readonly did: {
|
|
131
|
+
readonly type: "string";
|
|
132
|
+
readonly minLength: 1;
|
|
133
|
+
readonly description: "The removed member's DID — the notice's recipient. Carried in the payload as well as the envelope so that a forwarded notice, detached from its transport, still names its subject.";
|
|
134
|
+
};
|
|
135
|
+
readonly code: {
|
|
136
|
+
readonly type: "string";
|
|
137
|
+
readonly enum: readonly ["adminRemoved", "purged"];
|
|
138
|
+
readonly description: "Which removal happened. `adminRemoved` is a policy-governed removal by an administrator; `purged` is a forceful super-administrator deletion that skips the removal policy. The two differ in what recourse a member has, which is why they are distinguishable rather than a single `removed`.";
|
|
139
|
+
};
|
|
140
|
+
readonly disposition: {
|
|
141
|
+
readonly type: "string";
|
|
142
|
+
readonly enum: readonly ["purge", "tombstone", "historical"];
|
|
143
|
+
readonly description: "How the member's published record was handled. Always concrete — a community resolves any `policydefault` preference before sending, since a notice naming an unresolved default tells the member nothing about their own record.";
|
|
144
|
+
};
|
|
145
|
+
readonly reason: {
|
|
146
|
+
readonly type: "string";
|
|
147
|
+
readonly maxLength: 1024;
|
|
148
|
+
readonly description: "The operator's stated reason, verbatim. OPTIONAL because a community may remove without giving one — but omitting it and sending an empty string are different claims, and a community that has a reason SHOULD send it. This is the member's only account of why.";
|
|
149
|
+
};
|
|
150
|
+
readonly decidedAt: {
|
|
151
|
+
readonly type: "string";
|
|
152
|
+
readonly format: "date-time";
|
|
153
|
+
readonly description: "When the removal took effect. Distinct from the notice's own `issuedAt`, which may be much later if the member was offline — and it is the decision, not the delivery, that a member or a third party needs to place in time.";
|
|
154
|
+
};
|
|
155
|
+
readonly decidedBy: {
|
|
156
|
+
readonly type: "string";
|
|
157
|
+
readonly minLength: 1;
|
|
158
|
+
readonly description: "DID of the administrator who decided. Names the deciding authority rather than the community, because 'the community removed me' is not answerable and 'this administrator removed me' is. The community itself is the document's `issuer`.";
|
|
159
|
+
};
|
|
160
|
+
readonly ext: {
|
|
161
|
+
readonly $ref: "#/$defs/Ext";
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
readonly $defs: {
|
|
165
|
+
readonly Ext: {
|
|
166
|
+
readonly title: "Ext";
|
|
167
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
168
|
+
readonly type: "object";
|
|
169
|
+
readonly minProperties: 1;
|
|
170
|
+
readonly additionalProperties: true;
|
|
171
|
+
readonly propertyNames: {
|
|
172
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/members/removal-notice/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,EAAE,cAAc,GAAG,QAAQ,CAAC;IAChC;;OAEG;IACH,WAAW,EAAE,OAAO,GAAG,WAAW,GAAG,YAAY,CAAC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,4DAAqE,CAAC;AAE9F,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,8BAA8B,CAAC;AAErD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoEjB,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMP,CAAC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/members/removal-notice/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/** Trust Task type URI. */
|
|
6
|
+
export const TYPE_URI = "https://trusttasks.org/spec/vtc/members/removal-notice/0.1";
|
|
7
|
+
/**
|
|
8
|
+
* This specification's payload schema, as a value.
|
|
9
|
+
*
|
|
10
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
11
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
12
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
13
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
14
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
15
|
+
*/
|
|
16
|
+
export const PAYLOAD_SCHEMA = {
|
|
17
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
18
|
+
"$id": "https://trusttasks.org/spec/vtc/members/removal-notice/0.1",
|
|
19
|
+
"title": "VTC Members Removal Notice — payload",
|
|
20
|
+
"description": "A community tells a member it removed them, on whose authority, when, and why. Unsolicited: unlike vtc/members/self-remove-receipt this answers no request from the member, because the member did not ask.",
|
|
21
|
+
"type": "object",
|
|
22
|
+
"additionalProperties": false,
|
|
23
|
+
"required": [
|
|
24
|
+
"did",
|
|
25
|
+
"code",
|
|
26
|
+
"disposition",
|
|
27
|
+
"decidedAt",
|
|
28
|
+
"decidedBy"
|
|
29
|
+
],
|
|
30
|
+
"properties": {
|
|
31
|
+
"did": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"minLength": 1,
|
|
34
|
+
"description": "The removed member's DID — the notice's recipient. Carried in the payload as well as the envelope so that a forwarded notice, detached from its transport, still names its subject."
|
|
35
|
+
},
|
|
36
|
+
"code": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"enum": [
|
|
39
|
+
"adminRemoved",
|
|
40
|
+
"purged"
|
|
41
|
+
],
|
|
42
|
+
"description": "Which removal happened. `adminRemoved` is a policy-governed removal by an administrator; `purged` is a forceful super-administrator deletion that skips the removal policy. The two differ in what recourse a member has, which is why they are distinguishable rather than a single `removed`."
|
|
43
|
+
},
|
|
44
|
+
"disposition": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"enum": [
|
|
47
|
+
"purge",
|
|
48
|
+
"tombstone",
|
|
49
|
+
"historical"
|
|
50
|
+
],
|
|
51
|
+
"description": "How the member's published record was handled. Always concrete — a community resolves any `policydefault` preference before sending, since a notice naming an unresolved default tells the member nothing about their own record."
|
|
52
|
+
},
|
|
53
|
+
"reason": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"maxLength": 1024,
|
|
56
|
+
"description": "The operator's stated reason, verbatim. OPTIONAL because a community may remove without giving one — but omitting it and sending an empty string are different claims, and a community that has a reason SHOULD send it. This is the member's only account of why."
|
|
57
|
+
},
|
|
58
|
+
"decidedAt": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"format": "date-time",
|
|
61
|
+
"description": "When the removal took effect. Distinct from the notice's own `issuedAt`, which may be much later if the member was offline — and it is the decision, not the delivery, that a member or a third party needs to place in time."
|
|
62
|
+
},
|
|
63
|
+
"decidedBy": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"minLength": 1,
|
|
66
|
+
"description": "DID of the administrator who decided. Names the deciding authority rather than the community, because 'the community removed me' is not answerable and 'this administrator removed me' is. The community itself is the document's `issuer`."
|
|
67
|
+
},
|
|
68
|
+
"ext": {
|
|
69
|
+
"$ref": "#/$defs/Ext"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"$defs": {
|
|
73
|
+
"Ext": {
|
|
74
|
+
"title": "Ext",
|
|
75
|
+
"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.",
|
|
76
|
+
"type": "object",
|
|
77
|
+
"minProperties": 1,
|
|
78
|
+
"additionalProperties": true,
|
|
79
|
+
"propertyNames": {
|
|
80
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
87
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
88
|
+
* per-specification and cannot be derived from the document alone, and
|
|
89
|
+
* item 2 needs the schema this carries.
|
|
90
|
+
*/
|
|
91
|
+
export const SPEC = {
|
|
92
|
+
typeUri: TYPE_URI,
|
|
93
|
+
isBearer: false,
|
|
94
|
+
isProofRequired: true,
|
|
95
|
+
isRecipientRequired: true,
|
|
96
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
97
|
+
};
|
|
98
|
+
//# sourceMappingURL=payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/members/removal-notice/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAuCH,2BA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,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,aAAa,EAAE,cAAc;CACrB,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -377,6 +377,7 @@ export * as VtcMembersPersonhoodAssert_v0_1 from "./vtc/members/personhood/asser
|
|
|
377
377
|
export * as VtcMembersPersonhoodChallenge_v0_1 from "./vtc/members/personhood/challenge/0.1/payload.js";
|
|
378
378
|
export * as VtcMembersPersonhoodRevoke_v0_1 from "./vtc/members/personhood/revoke/0.1/payload.js";
|
|
379
379
|
export * as VtcMembersPurge_v0_1 from "./vtc/members/purge/0.1/payload.js";
|
|
380
|
+
export * as VtcMembersRemovalNotice_v0_1 from "./vtc/members/removal-notice/0.1/payload.js";
|
|
380
381
|
export * as VtcMembersRemoved_v0_1 from "./vtc/members/removed/0.1/payload.js";
|
|
381
382
|
export * as VtcMembersRenew_v0_1 from "./vtc/members/renew/0.1/payload.js";
|
|
382
383
|
export * as VtcMembersRequestVmc_v0_1 from "./vtc/members/request-vmc/0.1/payload.js";
|
|
@@ -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."
|