@openvtc/trust-tasks 0.19.3 → 0.19.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/CHANGELOG.md +209 -0
- package/dist/_shared/components.d.ts +298 -0
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/dist/vetting/_shared/0.1/identity-vetting.d.ts +11 -0
- package/dist/vetting/_shared/0.1/identity-vetting.d.ts.map +1 -0
- package/dist/vetting/_shared/0.1/identity-vetting.js +6 -0
- package/dist/vetting/_shared/0.1/identity-vetting.js.map +1 -0
- package/dist/vetting/_shared/0.1/vetting-card.d.ts +16 -0
- package/dist/vetting/_shared/0.1/vetting-card.d.ts.map +1 -0
- package/dist/vetting/_shared/0.1/vetting-card.js +6 -0
- package/dist/vetting/_shared/0.1/vetting-card.js.map +1 -0
- package/dist/vetting/_shared/0.1/vetting.d.ts +16 -0
- package/dist/vetting/_shared/0.1/vetting.d.ts.map +1 -0
- package/dist/vetting/_shared/0.1/vetting.js +6 -0
- package/dist/vetting/_shared/0.1/vetting.js.map +1 -0
- package/dist/vetting/decline/0.1/payload.d.ts +138 -0
- package/dist/vetting/decline/0.1/payload.d.ts.map +1 -0
- package/dist/vetting/decline/0.1/payload.js +81 -0
- package/dist/vetting/decline/0.1/payload.js.map +1 -0
- package/dist/vetting/request/0.1/payload.d.ts +1188 -0
- package/dist/vetting/request/0.1/payload.d.ts.map +1 -0
- package/dist/vetting/request/0.1/payload.js +596 -0
- package/dist/vetting/request/0.1/payload.js.map +1 -0
- package/dist/vetting/session/0.1/payload.d.ts +978 -0
- package/dist/vetting/session/0.1/payload.d.ts.map +1 -0
- package/dist/vetting/session/0.1/payload.js +570 -0
- package/dist/vetting/session/0.1/payload.js.map +1 -0
- package/dist/vta/webvh/dids/realign-keys/1.0/payload.d.ts +484 -0
- package/dist/vta/webvh/dids/realign-keys/1.0/payload.d.ts.map +1 -0
- package/dist/vta/webvh/dids/realign-keys/1.0/payload.js +259 -0
- package/dist/vta/webvh/dids/realign-keys/1.0/payload.js.map +1 -0
- package/dist/vtc/_shared/0.1/vetter-profile.d.ts +16 -0
- package/dist/vtc/_shared/0.1/vetter-profile.d.ts.map +1 -0
- package/dist/vtc/_shared/0.1/vetter-profile.js +6 -0
- package/dist/vtc/_shared/0.1/vetter-profile.js.map +1 -0
- package/dist/vtc/join-requests/manifest/0.2/payload.d.ts +1294 -0
- package/dist/vtc/join-requests/manifest/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/join-requests/manifest/0.2/payload.js +667 -0
- package/dist/vtc/join-requests/manifest/0.2/payload.js.map +1 -0
- package/dist/vtc/vetting/revoke-statement/0.1/payload.d.ts +299 -0
- package/dist/vtc/vetting/revoke-statement/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/revoke-statement/0.1/payload.js +172 -0
- package/dist/vtc/vetting/revoke-statement/0.1/payload.js.map +1 -0
- package/dist/vtc/vetting/vetters/grant/0.1/payload.d.ts +337 -0
- package/dist/vtc/vetting/vetters/grant/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/vetters/grant/0.1/payload.js +183 -0
- package/dist/vtc/vetting/vetters/grant/0.1/payload.js.map +1 -0
- package/dist/vtc/vetting/vetters/list/0.1/payload.d.ts +1257 -0
- package/dist/vtc/vetting/vetters/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/vetters/list/0.1/payload.js +597 -0
- package/dist/vtc/vetting/vetters/list/0.1/payload.js.map +1 -0
- package/dist/vtc/vetting/vetters/profile/0.1/payload.d.ts +970 -0
- package/dist/vtc/vetting/vetters/profile/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/vetters/profile/0.1/payload.js +463 -0
- package/dist/vtc/vetting/vetters/profile/0.1/payload.js.map +1 -0
- package/dist/vtc/vetting/vetters/resend/0.1/payload.d.ts +240 -0
- package/dist/vtc/vetting/vetters/resend/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/vetters/resend/0.1/payload.js +137 -0
- package/dist/vtc/vetting/vetters/resend/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +318 -0
- package/src/index.ts +14 -0
- package/src/vetting/_shared/0.1/identity-vetting.ts +11 -0
- package/src/vetting/_shared/0.1/vetting-card.ts +17 -0
- package/src/vetting/_shared/0.1/vetting.ts +17 -0
- package/src/vetting/decline/0.1/payload.ts +111 -0
- package/src/vetting/request/0.1/payload.ts +799 -0
- package/src/vetting/session/0.1/payload.ts +629 -0
- package/src/vta/webvh/dids/realign-keys/1.0/payload.ts +332 -0
- package/src/vtc/_shared/0.1/vetter-profile.ts +17 -0
- package/src/vtc/join-requests/manifest/0.2/payload.ts +815 -0
- package/src/vtc/vetting/revoke-statement/0.1/payload.ts +218 -0
- package/src/vtc/vetting/vetters/grant/0.1/payload.ts +237 -0
- package/src/vtc/vetting/vetters/list/0.1/payload.ts +816 -0
- package/src/vtc/vetting/vetters/profile/0.1/payload.ts +647 -0
- package/src/vtc/vetting/vetters/resend/0.1/payload.ts +174 -0
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vta/webvh/dids/realign-keys/1.0/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Ext } from "../../../../../_shared/components.js";
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Rename a did:webvh's key records so each is addressed by the verification-method identifier its published document declares. The payload names no identifier but the DID: every target is derived by the recipient from that DID's own document.
|
|
11
|
+
*/
|
|
12
|
+
export interface VTAWebVHDIDsRealignKeysPayload {
|
|
13
|
+
/**
|
|
14
|
+
* The DID whose key records are to be realigned. The only identifier the producer chooses.
|
|
15
|
+
*/
|
|
16
|
+
did: string;
|
|
17
|
+
/**
|
|
18
|
+
* Compute and report the realignment without performing it. Absent reads as false.
|
|
19
|
+
*/
|
|
20
|
+
dryRun?: boolean;
|
|
21
|
+
ext?: Ext;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Success response to vta/webvh/dids/realign-keys. Type https://trusttasks.org/spec/vta/webvh/dids/realign-keys/1.0#response.
|
|
25
|
+
*/
|
|
26
|
+
export interface VTAWebVHDIDsRealignKeysResponsePayload {
|
|
27
|
+
did: string;
|
|
28
|
+
/**
|
|
29
|
+
* The renames performed, or in a dry run the ones that would be.
|
|
30
|
+
*/
|
|
31
|
+
moved: ARecordRenamedOntoTheIdentifierItsKeyIsPublishedUnder[];
|
|
32
|
+
/**
|
|
33
|
+
* Verification-method identifiers whose record was already correct.
|
|
34
|
+
*/
|
|
35
|
+
alreadyAligned: string[];
|
|
36
|
+
/**
|
|
37
|
+
* Verification-method identifiers the recipient holds no key for. Not a failure — a DID may publish a method whose private half lives elsewhere — but the difference between this being empty and not is the difference between the DID being consistent and merely unchanged.
|
|
38
|
+
*/
|
|
39
|
+
unmatched: string[];
|
|
40
|
+
/**
|
|
41
|
+
* Where the recipient will allocate the next identifier it mints for this DID. Past everything the document already publishes, so a later rotation cannot reissue a published identifier under new key material.
|
|
42
|
+
*/
|
|
43
|
+
nextFragmentId: number;
|
|
44
|
+
/**
|
|
45
|
+
* True when nothing was written. Echoed so a report is self-describing: a plan and a receipt are otherwise the same shape.
|
|
46
|
+
*/
|
|
47
|
+
dryRun: boolean;
|
|
48
|
+
ext?: Ext;
|
|
49
|
+
}
|
|
50
|
+
export interface ARecordRenamedOntoTheIdentifierItsKeyIsPublishedUnder {
|
|
51
|
+
/**
|
|
52
|
+
* The identifier the record had.
|
|
53
|
+
*/
|
|
54
|
+
from: string;
|
|
55
|
+
/**
|
|
56
|
+
* The verification-method identifier it takes.
|
|
57
|
+
*/
|
|
58
|
+
to: string;
|
|
59
|
+
/**
|
|
60
|
+
* Multibase public half of the key, which is what identified the record. Reported so the producer can check the rename against the published document rather than trusting this report.
|
|
61
|
+
*/
|
|
62
|
+
publicKey: string;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
66
|
+
export type { Ext };
|
|
67
|
+
|
|
68
|
+
/** Trust Task type URI. */
|
|
69
|
+
export const TYPE_URI = "https://trusttasks.org/spec/vta/webvh/dids/realign-keys/1.0" as const;
|
|
70
|
+
|
|
71
|
+
/** Stable alias for this specification's request payload shape. */
|
|
72
|
+
export type Payload = VTAWebVHDIDsRealignKeysPayload;
|
|
73
|
+
|
|
74
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
75
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/webvh/dids/realign-keys/1.0#response" as const;
|
|
76
|
+
|
|
77
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
78
|
+
export type Response = VTAWebVHDIDsRealignKeysResponsePayload;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* This specification's payload schema, as a value.
|
|
82
|
+
*
|
|
83
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
84
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
85
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
86
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
87
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
88
|
+
*/
|
|
89
|
+
export const PAYLOAD_SCHEMA = {
|
|
90
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
91
|
+
"$id": "https://trusttasks.org/spec/vta/webvh/dids/realign-keys/1.0",
|
|
92
|
+
"title": "VTA WebVH DIDs Realign-Keys — payload",
|
|
93
|
+
"description": "Rename a did:webvh's key records so each is addressed by the verification-method identifier its published document declares. The payload names no identifier but the DID: every target is derived by the recipient from that DID's own document.",
|
|
94
|
+
"type": "object",
|
|
95
|
+
"additionalProperties": false,
|
|
96
|
+
"required": [
|
|
97
|
+
"did"
|
|
98
|
+
],
|
|
99
|
+
"properties": {
|
|
100
|
+
"did": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"minLength": 1,
|
|
103
|
+
"description": "The DID whose key records are to be realigned. The only identifier the producer chooses."
|
|
104
|
+
},
|
|
105
|
+
"dryRun": {
|
|
106
|
+
"type": "boolean",
|
|
107
|
+
"description": "Compute and report the realignment without performing it. Absent reads as false."
|
|
108
|
+
},
|
|
109
|
+
"ext": {
|
|
110
|
+
"$ref": "#/$defs/Ext"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"$defs": {
|
|
114
|
+
"Response": {
|
|
115
|
+
"$anchor": "response",
|
|
116
|
+
"title": "VTA WebVH DIDs Realign-Keys — response payload",
|
|
117
|
+
"description": "Success response to vta/webvh/dids/realign-keys. Type https://trusttasks.org/spec/vta/webvh/dids/realign-keys/1.0#response.",
|
|
118
|
+
"type": "object",
|
|
119
|
+
"additionalProperties": false,
|
|
120
|
+
"required": [
|
|
121
|
+
"did",
|
|
122
|
+
"moved",
|
|
123
|
+
"alreadyAligned",
|
|
124
|
+
"unmatched",
|
|
125
|
+
"nextFragmentId",
|
|
126
|
+
"dryRun"
|
|
127
|
+
],
|
|
128
|
+
"properties": {
|
|
129
|
+
"did": {
|
|
130
|
+
"type": "string"
|
|
131
|
+
},
|
|
132
|
+
"moved": {
|
|
133
|
+
"type": "array",
|
|
134
|
+
"description": "The renames performed, or in a dry run the ones that would be.",
|
|
135
|
+
"items": {
|
|
136
|
+
"$ref": "#/$defs/RealignedKey"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"alreadyAligned": {
|
|
140
|
+
"type": "array",
|
|
141
|
+
"description": "Verification-method identifiers whose record was already correct.",
|
|
142
|
+
"items": {
|
|
143
|
+
"type": "string"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"unmatched": {
|
|
147
|
+
"type": "array",
|
|
148
|
+
"description": "Verification-method identifiers the recipient holds no key for. Not a failure — a DID may publish a method whose private half lives elsewhere — but the difference between this being empty and not is the difference between the DID being consistent and merely unchanged.",
|
|
149
|
+
"items": {
|
|
150
|
+
"type": "string"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"nextFragmentId": {
|
|
154
|
+
"type": "integer",
|
|
155
|
+
"minimum": 0,
|
|
156
|
+
"description": "Where the recipient will allocate the next identifier it mints for this DID. Past everything the document already publishes, so a later rotation cannot reissue a published identifier under new key material."
|
|
157
|
+
},
|
|
158
|
+
"dryRun": {
|
|
159
|
+
"type": "boolean",
|
|
160
|
+
"description": "True when nothing was written. Echoed so a report is self-describing: a plan and a receipt are otherwise the same shape."
|
|
161
|
+
},
|
|
162
|
+
"ext": {
|
|
163
|
+
"$ref": "#/$defs/Ext"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"RealignedKey": {
|
|
168
|
+
"title": "A record renamed onto the identifier its key is published under",
|
|
169
|
+
"type": "object",
|
|
170
|
+
"additionalProperties": false,
|
|
171
|
+
"required": [
|
|
172
|
+
"from",
|
|
173
|
+
"to",
|
|
174
|
+
"publicKey"
|
|
175
|
+
],
|
|
176
|
+
"properties": {
|
|
177
|
+
"from": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"minLength": 1,
|
|
180
|
+
"description": "The identifier the record had."
|
|
181
|
+
},
|
|
182
|
+
"to": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"minLength": 1,
|
|
185
|
+
"description": "The verification-method identifier it takes."
|
|
186
|
+
},
|
|
187
|
+
"publicKey": {
|
|
188
|
+
"type": "string",
|
|
189
|
+
"minLength": 1,
|
|
190
|
+
"description": "Multibase public half of the key, which is what identified the record. Reported so the producer can check the rename against the published document rather than trusting this report."
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"Ext": {
|
|
195
|
+
"title": "Ext",
|
|
196
|
+
"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.",
|
|
197
|
+
"type": "object",
|
|
198
|
+
"minProperties": 1,
|
|
199
|
+
"additionalProperties": true,
|
|
200
|
+
"propertyNames": {
|
|
201
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
} as const;
|
|
206
|
+
|
|
207
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
208
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
209
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
210
|
+
"$ref": "#/$defs/Response",
|
|
211
|
+
"$defs": {
|
|
212
|
+
"Response": {
|
|
213
|
+
"$anchor": "response",
|
|
214
|
+
"title": "VTA WebVH DIDs Realign-Keys — response payload",
|
|
215
|
+
"description": "Success response to vta/webvh/dids/realign-keys. Type https://trusttasks.org/spec/vta/webvh/dids/realign-keys/1.0#response.",
|
|
216
|
+
"type": "object",
|
|
217
|
+
"additionalProperties": false,
|
|
218
|
+
"required": [
|
|
219
|
+
"did",
|
|
220
|
+
"moved",
|
|
221
|
+
"alreadyAligned",
|
|
222
|
+
"unmatched",
|
|
223
|
+
"nextFragmentId",
|
|
224
|
+
"dryRun"
|
|
225
|
+
],
|
|
226
|
+
"properties": {
|
|
227
|
+
"did": {
|
|
228
|
+
"type": "string"
|
|
229
|
+
},
|
|
230
|
+
"moved": {
|
|
231
|
+
"type": "array",
|
|
232
|
+
"description": "The renames performed, or in a dry run the ones that would be.",
|
|
233
|
+
"items": {
|
|
234
|
+
"$ref": "#/$defs/RealignedKey"
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"alreadyAligned": {
|
|
238
|
+
"type": "array",
|
|
239
|
+
"description": "Verification-method identifiers whose record was already correct.",
|
|
240
|
+
"items": {
|
|
241
|
+
"type": "string"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"unmatched": {
|
|
245
|
+
"type": "array",
|
|
246
|
+
"description": "Verification-method identifiers the recipient holds no key for. Not a failure — a DID may publish a method whose private half lives elsewhere — but the difference between this being empty and not is the difference between the DID being consistent and merely unchanged.",
|
|
247
|
+
"items": {
|
|
248
|
+
"type": "string"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"nextFragmentId": {
|
|
252
|
+
"type": "integer",
|
|
253
|
+
"minimum": 0,
|
|
254
|
+
"description": "Where the recipient will allocate the next identifier it mints for this DID. Past everything the document already publishes, so a later rotation cannot reissue a published identifier under new key material."
|
|
255
|
+
},
|
|
256
|
+
"dryRun": {
|
|
257
|
+
"type": "boolean",
|
|
258
|
+
"description": "True when nothing was written. Echoed so a report is self-describing: a plan and a receipt are otherwise the same shape."
|
|
259
|
+
},
|
|
260
|
+
"ext": {
|
|
261
|
+
"$ref": "#/$defs/Ext"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"RealignedKey": {
|
|
266
|
+
"title": "A record renamed onto the identifier its key is published under",
|
|
267
|
+
"type": "object",
|
|
268
|
+
"additionalProperties": false,
|
|
269
|
+
"required": [
|
|
270
|
+
"from",
|
|
271
|
+
"to",
|
|
272
|
+
"publicKey"
|
|
273
|
+
],
|
|
274
|
+
"properties": {
|
|
275
|
+
"from": {
|
|
276
|
+
"type": "string",
|
|
277
|
+
"minLength": 1,
|
|
278
|
+
"description": "The identifier the record had."
|
|
279
|
+
},
|
|
280
|
+
"to": {
|
|
281
|
+
"type": "string",
|
|
282
|
+
"minLength": 1,
|
|
283
|
+
"description": "The verification-method identifier it takes."
|
|
284
|
+
},
|
|
285
|
+
"publicKey": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"minLength": 1,
|
|
288
|
+
"description": "Multibase public half of the key, which is what identified the record. Reported so the producer can check the rename against the published document rather than trusting this report."
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"Ext": {
|
|
293
|
+
"title": "Ext",
|
|
294
|
+
"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.",
|
|
295
|
+
"type": "object",
|
|
296
|
+
"minProperties": 1,
|
|
297
|
+
"additionalProperties": true,
|
|
298
|
+
"propertyNames": {
|
|
299
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
} as const;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
307
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
308
|
+
* per-specification and cannot be derived from the document alone, and
|
|
309
|
+
* item 2 needs the schema this carries.
|
|
310
|
+
*/
|
|
311
|
+
export const SPEC = {
|
|
312
|
+
typeUri: TYPE_URI,
|
|
313
|
+
isBearer: false,
|
|
314
|
+
isProofRequired: true,
|
|
315
|
+
isRecipientRequired: true,
|
|
316
|
+
isIssuedAtRequired: true,
|
|
317
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
318
|
+
} as const;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
322
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
323
|
+
* parties (§7.3 item 5).
|
|
324
|
+
*/
|
|
325
|
+
export const RESPONSE_SPEC = {
|
|
326
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
327
|
+
isBearer: false,
|
|
328
|
+
isProofRequired: true,
|
|
329
|
+
isRecipientRequired: true,
|
|
330
|
+
isIssuedAtRequired: true,
|
|
331
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
332
|
+
} as const;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/_shared/0.1/vetter-profile.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Shared types for the vtc/vetting/vetters/* family: the pieces of a vetter's self-published profile that vtc/vetting/vetters/profile writes and vtc/vetting/vetters/list returns. Defined once so a profile and a listing entry are compared value for value. Not itself a Trust Task specification (the `_shared` folder is skipped by the registry build and the codegen).
|
|
8
|
+
*/
|
|
9
|
+
export interface VTCSharedVetterProfileDefinitions {
|
|
10
|
+
[k: string]: unknown | undefined;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The definitions this shared schema publishes, hoisted to one declaration each.
|
|
15
|
+
* See "../../../_shared/components.js".
|
|
16
|
+
*/
|
|
17
|
+
export type { CalendarDate, CountryCode, LanguageTag, PlaceName, VetterAcceptsDocumentation, VetterAvailability, VetterContactHint, VetterDisplayName, VetterEvent, VetterLocation, VetterMethods } from "../../../_shared/components.js";
|