@openvtc/trust-tasks 0.28.21 → 0.28.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -0
- package/dist/_shared/components.d.ts +48 -4
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/vtc/badges/_shared/0.1/badge.d.ts +1 -1
- package/dist/vtc/badges/_shared/0.1/badge.d.ts.map +1 -1
- package/dist/vtc/badges/claims/create/0.1/payload.d.ts +595 -0
- package/dist/vtc/badges/claims/create/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/claims/create/0.1/payload.js +345 -0
- package/dist/vtc/badges/claims/create/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/claims/list/0.1/payload.d.ts +586 -0
- package/dist/vtc/badges/claims/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/claims/list/0.1/payload.js +335 -0
- package/dist/vtc/badges/claims/list/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/claims/redeem/0.1/payload.d.ts +720 -0
- package/dist/vtc/badges/claims/redeem/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/claims/redeem/0.1/payload.js +417 -0
- package/dist/vtc/badges/claims/redeem/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/claims/withdraw/0.1/payload.d.ts +512 -0
- package/dist/vtc/badges/claims/withdraw/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/claims/withdraw/0.1/payload.js +305 -0
- package/dist/vtc/badges/claims/withdraw/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/create/0.1/payload.d.ts +40 -16
- package/dist/vtc/badges/create/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/badges/create/0.1/payload.js +28 -8
- package/dist/vtc/badges/create/0.1/payload.js.map +1 -1
- package/dist/vtc/badges/promote/0.1/payload.d.ts +40 -16
- package/dist/vtc/badges/promote/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/badges/promote/0.1/payload.js +28 -8
- package/dist/vtc/badges/promote/0.1/payload.js.map +1 -1
- package/dist/vtc/groups/create/0.1/payload.d.ts +40 -16
- package/dist/vtc/groups/create/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/groups/create/0.1/payload.js +28 -8
- package/dist/vtc/groups/create/0.1/payload.js.map +1 -1
- package/dist/vtc/groups/list/0.1/payload.d.ts +40 -16
- package/dist/vtc/groups/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/groups/list/0.1/payload.js +28 -8
- package/dist/vtc/groups/list/0.1/payload.js.map +1 -1
- package/dist/vtc/groups/list/0.2/payload.d.ts +40 -16
- package/dist/vtc/groups/list/0.2/payload.d.ts.map +1 -1
- package/dist/vtc/groups/list/0.2/payload.js +28 -8
- package/dist/vtc/groups/list/0.2/payload.js.map +1 -1
- package/dist/vtc/groups/show/0.1/payload.d.ts +40 -16
- package/dist/vtc/groups/show/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/groups/show/0.1/payload.js +28 -8
- package/dist/vtc/groups/show/0.1/payload.js.map +1 -1
- package/dist/vtc/groups/update/0.1/payload.d.ts +40 -16
- package/dist/vtc/groups/update/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/groups/update/0.1/payload.js +28 -8
- package/dist/vtc/groups/update/0.1/payload.js.map +1 -1
- package/dist/vtc/members/rotate/0.1/payload.d.ts +12 -5
- package/dist/vtc/members/rotate/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/members/rotate/0.1/payload.js +8 -2
- package/dist/vtc/members/rotate/0.1/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/_shared/components.ts +48 -4
- package/src/index.ts +12 -0
- package/src/vtc/badges/_shared/0.1/badge.ts +1 -1
- package/src/vtc/badges/claims/create/0.1/payload.ts +395 -0
- package/src/vtc/badges/claims/list/0.1/payload.ts +386 -0
- package/src/vtc/badges/claims/redeem/0.1/payload.ts +454 -0
- package/src/vtc/badges/claims/withdraw/0.1/payload.ts +342 -0
- package/src/vtc/badges/create/0.1/payload.ts +28 -8
- package/src/vtc/badges/promote/0.1/payload.ts +28 -8
- package/src/vtc/groups/create/0.1/payload.ts +28 -8
- package/src/vtc/groups/list/0.1/payload.ts +28 -8
- package/src/vtc/groups/list/0.2/payload.ts +28 -8
- package/src/vtc/groups/show/0.1/payload.ts +28 -8
- package/src/vtc/groups/update/0.1/payload.ts +28 -8
- package/src/vtc/members/rotate/0.1/payload.ts +12 -3
|
@@ -18,5 +18,5 @@ export interface BadgeSharedDefinitionsForTheVtcBadgesSpecFamily {
|
|
|
18
18
|
* The definitions this shared schema publishes, hoisted to one declaration each.
|
|
19
19
|
* See "../../../../_shared/components.js".
|
|
20
20
|
*/
|
|
21
|
-
export type { Award, AwardId, AwardNote, AwardShare, AwardState, Badge, BadgeCriteria, BadgeDescription, BadgeId, BadgeKind, BadgeLimits, BadgeName, BadgeSettings, BadgeState, KudosMakers, MyBadge, WallEntry, WallVisibility } from "../../../../_shared/components.js";
|
|
21
|
+
export type { Award, AwardId, AwardNote, AwardShare, AwardState, Badge, BadgeCriteria, BadgeDescription, BadgeId, BadgeKind, BadgeLimits, BadgeName, BadgeSettings, BadgeState, ClaimCode, ClaimId, ClaimSecret, KudosMakers, MyBadge, WallEntry, WallVisibility } from "../../../../_shared/components.js";
|
|
22
22
|
//# sourceMappingURL=badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/badges/_shared/0.1/badge.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;GAQG;AACH,MAAM,WAAW,+CAA+C;IAC9D,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC"}
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/badges/_shared/0.1/badge.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;GAQG;AACH,MAAM,WAAW,+CAA+C;IAC9D,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,595 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/badges/claims/create/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { BadgeId, ClaimCode, ClaimId, ClaimSecret, EntryId, Ext } from "../../../../../_shared/components.js";
|
|
6
|
+
/**
|
|
7
|
+
* Issue a claim code for a community badge: the community answers the code, once. The outer document members are owned by the framework — SPEC §6.3.
|
|
8
|
+
*/
|
|
9
|
+
export interface VTCBadgesClaimsCreatePayload {
|
|
10
|
+
badgeId: BadgeId;
|
|
11
|
+
/**
|
|
12
|
+
* What the code is for — the event, say.
|
|
13
|
+
*/
|
|
14
|
+
label: string;
|
|
15
|
+
/**
|
|
16
|
+
* After this the code admits no one. At most 90 days ahead.
|
|
17
|
+
*/
|
|
18
|
+
validUntil: string;
|
|
19
|
+
/**
|
|
20
|
+
* How many claims the code admits.
|
|
21
|
+
*/
|
|
22
|
+
limit: number;
|
|
23
|
+
ext?: Ext;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* The success response to a vtc/badges/claims/create/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/badges/claims/create/0.1#response.
|
|
27
|
+
*/
|
|
28
|
+
export interface VTCBadgesClaimsCreateResponsePayload {
|
|
29
|
+
claim: ClaimCode;
|
|
30
|
+
/**
|
|
31
|
+
* The code, answered this once. The community keeps only its digest.
|
|
32
|
+
*/
|
|
33
|
+
code: ClaimSecret;
|
|
34
|
+
ext?: Ext;
|
|
35
|
+
}
|
|
36
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
37
|
+
export type { BadgeId, ClaimCode, ClaimId, ClaimSecret, EntryId, Ext };
|
|
38
|
+
/** Trust Task type URI. */
|
|
39
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/badges/claims/create/0.1";
|
|
40
|
+
/**
|
|
41
|
+
* The earlier version of this specification that this one declares it
|
|
42
|
+
* extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
|
|
43
|
+
* `null`. Only the direct declaration — follow the chain with
|
|
44
|
+
* `extendsChain` / `readForSpec`.
|
|
45
|
+
*/
|
|
46
|
+
export declare const EXTENDS: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* Why this version is deprecated, or `null` while it is current. A
|
|
49
|
+
* superseded or retired version is still supported, and is withdrawn from
|
|
50
|
+
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
51
|
+
* Versions").
|
|
52
|
+
*/
|
|
53
|
+
export declare const DEPRECATION: string | null;
|
|
54
|
+
/** Stable alias for this specification's request payload shape. */
|
|
55
|
+
export type Payload = VTCBadgesClaimsCreatePayload;
|
|
56
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
57
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/badges/claims/create/0.1#response";
|
|
58
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
59
|
+
export type Response = VTCBadgesClaimsCreateResponsePayload;
|
|
60
|
+
/**
|
|
61
|
+
* This specification's payload schema, as a value.
|
|
62
|
+
*
|
|
63
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
64
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
65
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
66
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
67
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
68
|
+
*/
|
|
69
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
70
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
71
|
+
readonly $id: "https://trusttasks.org/spec/vtc/badges/claims/create/0.1";
|
|
72
|
+
readonly title: "VTC Badges — Claims — Create — payload";
|
|
73
|
+
readonly description: "Issue a claim code for a community badge: the community answers the code, once. The outer document members are owned by the framework — SPEC §6.3.";
|
|
74
|
+
readonly type: "object";
|
|
75
|
+
readonly additionalProperties: false;
|
|
76
|
+
readonly required: readonly ["badgeId", "label", "validUntil", "limit"];
|
|
77
|
+
readonly properties: {
|
|
78
|
+
readonly badgeId: {
|
|
79
|
+
readonly $ref: "#/$defs/BadgeId";
|
|
80
|
+
};
|
|
81
|
+
readonly label: {
|
|
82
|
+
readonly type: "string";
|
|
83
|
+
readonly minLength: 1;
|
|
84
|
+
readonly maxLength: 120;
|
|
85
|
+
readonly description: "What the code is for — the event, say.";
|
|
86
|
+
};
|
|
87
|
+
readonly validUntil: {
|
|
88
|
+
readonly type: "string";
|
|
89
|
+
readonly format: "date-time";
|
|
90
|
+
readonly description: "After this the code admits no one. At most 90 days ahead.";
|
|
91
|
+
};
|
|
92
|
+
readonly limit: {
|
|
93
|
+
readonly type: "integer";
|
|
94
|
+
readonly minimum: 1;
|
|
95
|
+
readonly maximum: 10000;
|
|
96
|
+
readonly description: "How many claims the code admits.";
|
|
97
|
+
};
|
|
98
|
+
readonly ext: {
|
|
99
|
+
readonly $ref: "#/$defs/Ext";
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
readonly $defs: {
|
|
103
|
+
readonly Response: {
|
|
104
|
+
readonly $anchor: "response";
|
|
105
|
+
readonly title: "VTC Badges — Claims — Create — response payload";
|
|
106
|
+
readonly description: "The success response to a vtc/badges/claims/create/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/badges/claims/create/0.1#response.";
|
|
107
|
+
readonly type: "object";
|
|
108
|
+
readonly additionalProperties: false;
|
|
109
|
+
readonly required: readonly ["claim", "code"];
|
|
110
|
+
readonly properties: {
|
|
111
|
+
readonly claim: {
|
|
112
|
+
readonly $ref: "#/$defs/ClaimCode";
|
|
113
|
+
};
|
|
114
|
+
readonly code: {
|
|
115
|
+
readonly $ref: "#/$defs/ClaimSecret";
|
|
116
|
+
readonly description: "The code, answered this once. The community keeps only its digest.";
|
|
117
|
+
};
|
|
118
|
+
readonly ext: {
|
|
119
|
+
readonly $ref: "#/$defs/Ext";
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
readonly Ext: {
|
|
124
|
+
readonly title: "Ext";
|
|
125
|
+
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.";
|
|
126
|
+
readonly type: "object";
|
|
127
|
+
readonly minProperties: 1;
|
|
128
|
+
readonly additionalProperties: true;
|
|
129
|
+
readonly propertyNames: {
|
|
130
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
readonly ClaimSecret: {
|
|
134
|
+
readonly title: "ClaimSecret";
|
|
135
|
+
readonly description: "A claim code itself: at least 128 random bits the community generated, base64url (22 to 64 characters). A bearer secret: shown to its issuer once, redeemed by a member, never stored or answered again (VTI-BDG-025).";
|
|
136
|
+
readonly type: "string";
|
|
137
|
+
readonly pattern: "^[A-Za-z0-9_-]{22,64}$";
|
|
138
|
+
};
|
|
139
|
+
readonly ClaimCode: {
|
|
140
|
+
readonly title: "ClaimCode";
|
|
141
|
+
readonly description: "A claim code's record, as the badge's owners and administrators see it: never the code (VTI-BDG-027).";
|
|
142
|
+
readonly type: "object";
|
|
143
|
+
readonly additionalProperties: false;
|
|
144
|
+
readonly required: readonly ["claimId", "badgeId", "label", "validUntil", "limit", "claims", "state", "createdAt"];
|
|
145
|
+
readonly properties: {
|
|
146
|
+
readonly claimId: {
|
|
147
|
+
readonly $ref: "#/$defs/ClaimId";
|
|
148
|
+
};
|
|
149
|
+
readonly badgeId: {
|
|
150
|
+
readonly $ref: "#/$defs/BadgeId";
|
|
151
|
+
};
|
|
152
|
+
readonly label: {
|
|
153
|
+
readonly type: "string";
|
|
154
|
+
readonly minLength: 1;
|
|
155
|
+
readonly maxLength: 120;
|
|
156
|
+
readonly description: "What the code is for — the event, say — shown to the badge's owners. Never shown to whoever redeems it.";
|
|
157
|
+
};
|
|
158
|
+
readonly validUntil: {
|
|
159
|
+
readonly type: "string";
|
|
160
|
+
readonly format: "date-time";
|
|
161
|
+
readonly description: "After this the code admits no one.";
|
|
162
|
+
};
|
|
163
|
+
readonly limit: {
|
|
164
|
+
readonly type: "integer";
|
|
165
|
+
readonly minimum: 1;
|
|
166
|
+
readonly maximum: 10000;
|
|
167
|
+
readonly description: "How many claims the code admits.";
|
|
168
|
+
};
|
|
169
|
+
readonly claims: {
|
|
170
|
+
readonly type: "integer";
|
|
171
|
+
readonly minimum: 0;
|
|
172
|
+
readonly description: "How many members have redeemed it.";
|
|
173
|
+
};
|
|
174
|
+
readonly state: {
|
|
175
|
+
readonly type: "string";
|
|
176
|
+
readonly enum: readonly ["active", "withdrawn"];
|
|
177
|
+
readonly description: "`withdrawn` once its issuer withdrew it or the badge was retired. A code past `validUntil` or out of claims stays `active` and admits no one.";
|
|
178
|
+
};
|
|
179
|
+
readonly createdAt: {
|
|
180
|
+
readonly type: "string";
|
|
181
|
+
readonly format: "date-time";
|
|
182
|
+
};
|
|
183
|
+
readonly createdBy: {
|
|
184
|
+
readonly $ref: "#/$defs/EntryId";
|
|
185
|
+
readonly description: "The issuer's entry, where they have one; the giver of every award the code admits.";
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
readonly BadgeId: {
|
|
190
|
+
readonly title: "BadgeId";
|
|
191
|
+
readonly description: "Opaque identifier of a badge: `bdg_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BDG-001).";
|
|
192
|
+
readonly type: "string";
|
|
193
|
+
readonly pattern: "^bdg_[A-Za-z0-9_-]{16,64}$";
|
|
194
|
+
};
|
|
195
|
+
readonly ClaimId: {
|
|
196
|
+
readonly title: "ClaimId";
|
|
197
|
+
readonly description: "Opaque identifier of a claim code's record: `bcl_` followed by 16 to 64 base64url characters. Random; never the code itself, which the community keeps only as a digest (VTI-BDG-025).";
|
|
198
|
+
readonly type: "string";
|
|
199
|
+
readonly pattern: "^bcl_[A-Za-z0-9_-]{16,64}$";
|
|
200
|
+
};
|
|
201
|
+
readonly EntryId: {
|
|
202
|
+
readonly title: "EntryId";
|
|
203
|
+
readonly description: "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.";
|
|
204
|
+
readonly type: "string";
|
|
205
|
+
readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
210
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
211
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
212
|
+
readonly $ref: "#/$defs/Response";
|
|
213
|
+
readonly $defs: {
|
|
214
|
+
readonly Response: {
|
|
215
|
+
readonly $anchor: "response";
|
|
216
|
+
readonly title: "VTC Badges — Claims — Create — response payload";
|
|
217
|
+
readonly description: "The success response to a vtc/badges/claims/create/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/badges/claims/create/0.1#response.";
|
|
218
|
+
readonly type: "object";
|
|
219
|
+
readonly additionalProperties: false;
|
|
220
|
+
readonly required: readonly ["claim", "code"];
|
|
221
|
+
readonly properties: {
|
|
222
|
+
readonly claim: {
|
|
223
|
+
readonly $ref: "#/$defs/ClaimCode";
|
|
224
|
+
};
|
|
225
|
+
readonly code: {
|
|
226
|
+
readonly $ref: "#/$defs/ClaimSecret";
|
|
227
|
+
readonly description: "The code, answered this once. The community keeps only its digest.";
|
|
228
|
+
};
|
|
229
|
+
readonly ext: {
|
|
230
|
+
readonly $ref: "#/$defs/Ext";
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
readonly Ext: {
|
|
235
|
+
readonly title: "Ext";
|
|
236
|
+
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.";
|
|
237
|
+
readonly type: "object";
|
|
238
|
+
readonly minProperties: 1;
|
|
239
|
+
readonly additionalProperties: true;
|
|
240
|
+
readonly propertyNames: {
|
|
241
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
readonly ClaimSecret: {
|
|
245
|
+
readonly title: "ClaimSecret";
|
|
246
|
+
readonly description: "A claim code itself: at least 128 random bits the community generated, base64url (22 to 64 characters). A bearer secret: shown to its issuer once, redeemed by a member, never stored or answered again (VTI-BDG-025).";
|
|
247
|
+
readonly type: "string";
|
|
248
|
+
readonly pattern: "^[A-Za-z0-9_-]{22,64}$";
|
|
249
|
+
};
|
|
250
|
+
readonly ClaimCode: {
|
|
251
|
+
readonly title: "ClaimCode";
|
|
252
|
+
readonly description: "A claim code's record, as the badge's owners and administrators see it: never the code (VTI-BDG-027).";
|
|
253
|
+
readonly type: "object";
|
|
254
|
+
readonly additionalProperties: false;
|
|
255
|
+
readonly required: readonly ["claimId", "badgeId", "label", "validUntil", "limit", "claims", "state", "createdAt"];
|
|
256
|
+
readonly properties: {
|
|
257
|
+
readonly claimId: {
|
|
258
|
+
readonly $ref: "#/$defs/ClaimId";
|
|
259
|
+
};
|
|
260
|
+
readonly badgeId: {
|
|
261
|
+
readonly $ref: "#/$defs/BadgeId";
|
|
262
|
+
};
|
|
263
|
+
readonly label: {
|
|
264
|
+
readonly type: "string";
|
|
265
|
+
readonly minLength: 1;
|
|
266
|
+
readonly maxLength: 120;
|
|
267
|
+
readonly description: "What the code is for — the event, say — shown to the badge's owners. Never shown to whoever redeems it.";
|
|
268
|
+
};
|
|
269
|
+
readonly validUntil: {
|
|
270
|
+
readonly type: "string";
|
|
271
|
+
readonly format: "date-time";
|
|
272
|
+
readonly description: "After this the code admits no one.";
|
|
273
|
+
};
|
|
274
|
+
readonly limit: {
|
|
275
|
+
readonly type: "integer";
|
|
276
|
+
readonly minimum: 1;
|
|
277
|
+
readonly maximum: 10000;
|
|
278
|
+
readonly description: "How many claims the code admits.";
|
|
279
|
+
};
|
|
280
|
+
readonly claims: {
|
|
281
|
+
readonly type: "integer";
|
|
282
|
+
readonly minimum: 0;
|
|
283
|
+
readonly description: "How many members have redeemed it.";
|
|
284
|
+
};
|
|
285
|
+
readonly state: {
|
|
286
|
+
readonly type: "string";
|
|
287
|
+
readonly enum: readonly ["active", "withdrawn"];
|
|
288
|
+
readonly description: "`withdrawn` once its issuer withdrew it or the badge was retired. A code past `validUntil` or out of claims stays `active` and admits no one.";
|
|
289
|
+
};
|
|
290
|
+
readonly createdAt: {
|
|
291
|
+
readonly type: "string";
|
|
292
|
+
readonly format: "date-time";
|
|
293
|
+
};
|
|
294
|
+
readonly createdBy: {
|
|
295
|
+
readonly $ref: "#/$defs/EntryId";
|
|
296
|
+
readonly description: "The issuer's entry, where they have one; the giver of every award the code admits.";
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
readonly BadgeId: {
|
|
301
|
+
readonly title: "BadgeId";
|
|
302
|
+
readonly description: "Opaque identifier of a badge: `bdg_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BDG-001).";
|
|
303
|
+
readonly type: "string";
|
|
304
|
+
readonly pattern: "^bdg_[A-Za-z0-9_-]{16,64}$";
|
|
305
|
+
};
|
|
306
|
+
readonly ClaimId: {
|
|
307
|
+
readonly title: "ClaimId";
|
|
308
|
+
readonly description: "Opaque identifier of a claim code's record: `bcl_` followed by 16 to 64 base64url characters. Random; never the code itself, which the community keeps only as a digest (VTI-BDG-025).";
|
|
309
|
+
readonly type: "string";
|
|
310
|
+
readonly pattern: "^bcl_[A-Za-z0-9_-]{16,64}$";
|
|
311
|
+
};
|
|
312
|
+
readonly EntryId: {
|
|
313
|
+
readonly title: "EntryId";
|
|
314
|
+
readonly description: "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.";
|
|
315
|
+
readonly type: "string";
|
|
316
|
+
readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
/**
|
|
321
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
322
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
323
|
+
* per-specification and cannot be derived from the document alone, and
|
|
324
|
+
* item 2 needs the schema this carries.
|
|
325
|
+
*/
|
|
326
|
+
export declare const SPEC: {
|
|
327
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/badges/claims/create/0.1";
|
|
328
|
+
readonly isBearer: false;
|
|
329
|
+
readonly isProofRequired: true;
|
|
330
|
+
readonly isRecipientRequired: true;
|
|
331
|
+
readonly isIssuedAtRequired: true;
|
|
332
|
+
readonly payloadSchema: {
|
|
333
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
334
|
+
readonly $id: "https://trusttasks.org/spec/vtc/badges/claims/create/0.1";
|
|
335
|
+
readonly title: "VTC Badges — Claims — Create — payload";
|
|
336
|
+
readonly description: "Issue a claim code for a community badge: the community answers the code, once. The outer document members are owned by the framework — SPEC §6.3.";
|
|
337
|
+
readonly type: "object";
|
|
338
|
+
readonly additionalProperties: false;
|
|
339
|
+
readonly required: readonly ["badgeId", "label", "validUntil", "limit"];
|
|
340
|
+
readonly properties: {
|
|
341
|
+
readonly badgeId: {
|
|
342
|
+
readonly $ref: "#/$defs/BadgeId";
|
|
343
|
+
};
|
|
344
|
+
readonly label: {
|
|
345
|
+
readonly type: "string";
|
|
346
|
+
readonly minLength: 1;
|
|
347
|
+
readonly maxLength: 120;
|
|
348
|
+
readonly description: "What the code is for — the event, say.";
|
|
349
|
+
};
|
|
350
|
+
readonly validUntil: {
|
|
351
|
+
readonly type: "string";
|
|
352
|
+
readonly format: "date-time";
|
|
353
|
+
readonly description: "After this the code admits no one. At most 90 days ahead.";
|
|
354
|
+
};
|
|
355
|
+
readonly limit: {
|
|
356
|
+
readonly type: "integer";
|
|
357
|
+
readonly minimum: 1;
|
|
358
|
+
readonly maximum: 10000;
|
|
359
|
+
readonly description: "How many claims the code admits.";
|
|
360
|
+
};
|
|
361
|
+
readonly ext: {
|
|
362
|
+
readonly $ref: "#/$defs/Ext";
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
readonly $defs: {
|
|
366
|
+
readonly Response: {
|
|
367
|
+
readonly $anchor: "response";
|
|
368
|
+
readonly title: "VTC Badges — Claims — Create — response payload";
|
|
369
|
+
readonly description: "The success response to a vtc/badges/claims/create/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/badges/claims/create/0.1#response.";
|
|
370
|
+
readonly type: "object";
|
|
371
|
+
readonly additionalProperties: false;
|
|
372
|
+
readonly required: readonly ["claim", "code"];
|
|
373
|
+
readonly properties: {
|
|
374
|
+
readonly claim: {
|
|
375
|
+
readonly $ref: "#/$defs/ClaimCode";
|
|
376
|
+
};
|
|
377
|
+
readonly code: {
|
|
378
|
+
readonly $ref: "#/$defs/ClaimSecret";
|
|
379
|
+
readonly description: "The code, answered this once. The community keeps only its digest.";
|
|
380
|
+
};
|
|
381
|
+
readonly ext: {
|
|
382
|
+
readonly $ref: "#/$defs/Ext";
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
readonly Ext: {
|
|
387
|
+
readonly title: "Ext";
|
|
388
|
+
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.";
|
|
389
|
+
readonly type: "object";
|
|
390
|
+
readonly minProperties: 1;
|
|
391
|
+
readonly additionalProperties: true;
|
|
392
|
+
readonly propertyNames: {
|
|
393
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
readonly ClaimSecret: {
|
|
397
|
+
readonly title: "ClaimSecret";
|
|
398
|
+
readonly description: "A claim code itself: at least 128 random bits the community generated, base64url (22 to 64 characters). A bearer secret: shown to its issuer once, redeemed by a member, never stored or answered again (VTI-BDG-025).";
|
|
399
|
+
readonly type: "string";
|
|
400
|
+
readonly pattern: "^[A-Za-z0-9_-]{22,64}$";
|
|
401
|
+
};
|
|
402
|
+
readonly ClaimCode: {
|
|
403
|
+
readonly title: "ClaimCode";
|
|
404
|
+
readonly description: "A claim code's record, as the badge's owners and administrators see it: never the code (VTI-BDG-027).";
|
|
405
|
+
readonly type: "object";
|
|
406
|
+
readonly additionalProperties: false;
|
|
407
|
+
readonly required: readonly ["claimId", "badgeId", "label", "validUntil", "limit", "claims", "state", "createdAt"];
|
|
408
|
+
readonly properties: {
|
|
409
|
+
readonly claimId: {
|
|
410
|
+
readonly $ref: "#/$defs/ClaimId";
|
|
411
|
+
};
|
|
412
|
+
readonly badgeId: {
|
|
413
|
+
readonly $ref: "#/$defs/BadgeId";
|
|
414
|
+
};
|
|
415
|
+
readonly label: {
|
|
416
|
+
readonly type: "string";
|
|
417
|
+
readonly minLength: 1;
|
|
418
|
+
readonly maxLength: 120;
|
|
419
|
+
readonly description: "What the code is for — the event, say — shown to the badge's owners. Never shown to whoever redeems it.";
|
|
420
|
+
};
|
|
421
|
+
readonly validUntil: {
|
|
422
|
+
readonly type: "string";
|
|
423
|
+
readonly format: "date-time";
|
|
424
|
+
readonly description: "After this the code admits no one.";
|
|
425
|
+
};
|
|
426
|
+
readonly limit: {
|
|
427
|
+
readonly type: "integer";
|
|
428
|
+
readonly minimum: 1;
|
|
429
|
+
readonly maximum: 10000;
|
|
430
|
+
readonly description: "How many claims the code admits.";
|
|
431
|
+
};
|
|
432
|
+
readonly claims: {
|
|
433
|
+
readonly type: "integer";
|
|
434
|
+
readonly minimum: 0;
|
|
435
|
+
readonly description: "How many members have redeemed it.";
|
|
436
|
+
};
|
|
437
|
+
readonly state: {
|
|
438
|
+
readonly type: "string";
|
|
439
|
+
readonly enum: readonly ["active", "withdrawn"];
|
|
440
|
+
readonly description: "`withdrawn` once its issuer withdrew it or the badge was retired. A code past `validUntil` or out of claims stays `active` and admits no one.";
|
|
441
|
+
};
|
|
442
|
+
readonly createdAt: {
|
|
443
|
+
readonly type: "string";
|
|
444
|
+
readonly format: "date-time";
|
|
445
|
+
};
|
|
446
|
+
readonly createdBy: {
|
|
447
|
+
readonly $ref: "#/$defs/EntryId";
|
|
448
|
+
readonly description: "The issuer's entry, where they have one; the giver of every award the code admits.";
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
readonly BadgeId: {
|
|
453
|
+
readonly title: "BadgeId";
|
|
454
|
+
readonly description: "Opaque identifier of a badge: `bdg_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BDG-001).";
|
|
455
|
+
readonly type: "string";
|
|
456
|
+
readonly pattern: "^bdg_[A-Za-z0-9_-]{16,64}$";
|
|
457
|
+
};
|
|
458
|
+
readonly ClaimId: {
|
|
459
|
+
readonly title: "ClaimId";
|
|
460
|
+
readonly description: "Opaque identifier of a claim code's record: `bcl_` followed by 16 to 64 base64url characters. Random; never the code itself, which the community keeps only as a digest (VTI-BDG-025).";
|
|
461
|
+
readonly type: "string";
|
|
462
|
+
readonly pattern: "^bcl_[A-Za-z0-9_-]{16,64}$";
|
|
463
|
+
};
|
|
464
|
+
readonly EntryId: {
|
|
465
|
+
readonly title: "EntryId";
|
|
466
|
+
readonly description: "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.";
|
|
467
|
+
readonly type: "string";
|
|
468
|
+
readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
/**
|
|
474
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
475
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
476
|
+
* parties (§7.3 item 5).
|
|
477
|
+
*/
|
|
478
|
+
export declare const RESPONSE_SPEC: {
|
|
479
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/badges/claims/create/0.1#response";
|
|
480
|
+
readonly isBearer: false;
|
|
481
|
+
readonly isProofRequired: true;
|
|
482
|
+
readonly isRecipientRequired: true;
|
|
483
|
+
readonly isIssuedAtRequired: true;
|
|
484
|
+
readonly payloadSchema: {
|
|
485
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
486
|
+
readonly $ref: "#/$defs/Response";
|
|
487
|
+
readonly $defs: {
|
|
488
|
+
readonly Response: {
|
|
489
|
+
readonly $anchor: "response";
|
|
490
|
+
readonly title: "VTC Badges — Claims — Create — response payload";
|
|
491
|
+
readonly description: "The success response to a vtc/badges/claims/create/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/badges/claims/create/0.1#response.";
|
|
492
|
+
readonly type: "object";
|
|
493
|
+
readonly additionalProperties: false;
|
|
494
|
+
readonly required: readonly ["claim", "code"];
|
|
495
|
+
readonly properties: {
|
|
496
|
+
readonly claim: {
|
|
497
|
+
readonly $ref: "#/$defs/ClaimCode";
|
|
498
|
+
};
|
|
499
|
+
readonly code: {
|
|
500
|
+
readonly $ref: "#/$defs/ClaimSecret";
|
|
501
|
+
readonly description: "The code, answered this once. The community keeps only its digest.";
|
|
502
|
+
};
|
|
503
|
+
readonly ext: {
|
|
504
|
+
readonly $ref: "#/$defs/Ext";
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
readonly Ext: {
|
|
509
|
+
readonly title: "Ext";
|
|
510
|
+
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.";
|
|
511
|
+
readonly type: "object";
|
|
512
|
+
readonly minProperties: 1;
|
|
513
|
+
readonly additionalProperties: true;
|
|
514
|
+
readonly propertyNames: {
|
|
515
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
readonly ClaimSecret: {
|
|
519
|
+
readonly title: "ClaimSecret";
|
|
520
|
+
readonly description: "A claim code itself: at least 128 random bits the community generated, base64url (22 to 64 characters). A bearer secret: shown to its issuer once, redeemed by a member, never stored or answered again (VTI-BDG-025).";
|
|
521
|
+
readonly type: "string";
|
|
522
|
+
readonly pattern: "^[A-Za-z0-9_-]{22,64}$";
|
|
523
|
+
};
|
|
524
|
+
readonly ClaimCode: {
|
|
525
|
+
readonly title: "ClaimCode";
|
|
526
|
+
readonly description: "A claim code's record, as the badge's owners and administrators see it: never the code (VTI-BDG-027).";
|
|
527
|
+
readonly type: "object";
|
|
528
|
+
readonly additionalProperties: false;
|
|
529
|
+
readonly required: readonly ["claimId", "badgeId", "label", "validUntil", "limit", "claims", "state", "createdAt"];
|
|
530
|
+
readonly properties: {
|
|
531
|
+
readonly claimId: {
|
|
532
|
+
readonly $ref: "#/$defs/ClaimId";
|
|
533
|
+
};
|
|
534
|
+
readonly badgeId: {
|
|
535
|
+
readonly $ref: "#/$defs/BadgeId";
|
|
536
|
+
};
|
|
537
|
+
readonly label: {
|
|
538
|
+
readonly type: "string";
|
|
539
|
+
readonly minLength: 1;
|
|
540
|
+
readonly maxLength: 120;
|
|
541
|
+
readonly description: "What the code is for — the event, say — shown to the badge's owners. Never shown to whoever redeems it.";
|
|
542
|
+
};
|
|
543
|
+
readonly validUntil: {
|
|
544
|
+
readonly type: "string";
|
|
545
|
+
readonly format: "date-time";
|
|
546
|
+
readonly description: "After this the code admits no one.";
|
|
547
|
+
};
|
|
548
|
+
readonly limit: {
|
|
549
|
+
readonly type: "integer";
|
|
550
|
+
readonly minimum: 1;
|
|
551
|
+
readonly maximum: 10000;
|
|
552
|
+
readonly description: "How many claims the code admits.";
|
|
553
|
+
};
|
|
554
|
+
readonly claims: {
|
|
555
|
+
readonly type: "integer";
|
|
556
|
+
readonly minimum: 0;
|
|
557
|
+
readonly description: "How many members have redeemed it.";
|
|
558
|
+
};
|
|
559
|
+
readonly state: {
|
|
560
|
+
readonly type: "string";
|
|
561
|
+
readonly enum: readonly ["active", "withdrawn"];
|
|
562
|
+
readonly description: "`withdrawn` once its issuer withdrew it or the badge was retired. A code past `validUntil` or out of claims stays `active` and admits no one.";
|
|
563
|
+
};
|
|
564
|
+
readonly createdAt: {
|
|
565
|
+
readonly type: "string";
|
|
566
|
+
readonly format: "date-time";
|
|
567
|
+
};
|
|
568
|
+
readonly createdBy: {
|
|
569
|
+
readonly $ref: "#/$defs/EntryId";
|
|
570
|
+
readonly description: "The issuer's entry, where they have one; the giver of every award the code admits.";
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
readonly BadgeId: {
|
|
575
|
+
readonly title: "BadgeId";
|
|
576
|
+
readonly description: "Opaque identifier of a badge: `bdg_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BDG-001).";
|
|
577
|
+
readonly type: "string";
|
|
578
|
+
readonly pattern: "^bdg_[A-Za-z0-9_-]{16,64}$";
|
|
579
|
+
};
|
|
580
|
+
readonly ClaimId: {
|
|
581
|
+
readonly title: "ClaimId";
|
|
582
|
+
readonly description: "Opaque identifier of a claim code's record: `bcl_` followed by 16 to 64 base64url characters. Random; never the code itself, which the community keeps only as a digest (VTI-BDG-025).";
|
|
583
|
+
readonly type: "string";
|
|
584
|
+
readonly pattern: "^bcl_[A-Za-z0-9_-]{16,64}$";
|
|
585
|
+
};
|
|
586
|
+
readonly EntryId: {
|
|
587
|
+
readonly title: "EntryId";
|
|
588
|
+
readonly description: "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.";
|
|
589
|
+
readonly type: "string";
|
|
590
|
+
readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
|
|
591
|
+
};
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/badges/claims/create/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAGnH;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACnD,KAAK,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;IAClB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC;AAEvE,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,0DAAmE,CAAC;AAE5F;;;;;GAKG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,GAAG,IAAW,CAAC;AAE3C;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,MAAM,GAAG,IAAW,CAAC;AAE/C,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+JjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4H1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|