@openvtc/trust-tasks 0.21.4 → 0.21.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 +18 -0
- package/dist/_shared/components.d.ts +210 -2
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/auth/_shared/0.1/passkey-invite.d.ts +16 -0
- package/dist/auth/_shared/0.1/passkey-invite.d.ts.map +1 -0
- package/dist/auth/_shared/0.1/passkey-invite.js +6 -0
- package/dist/auth/_shared/0.1/passkey-invite.js.map +1 -0
- package/dist/auth/passkey/enroll/invite/list/0.1/payload.d.ts +393 -0
- package/dist/auth/passkey/enroll/invite/list/0.1/payload.d.ts.map +1 -0
- package/dist/auth/passkey/enroll/invite/list/0.1/payload.js +234 -0
- package/dist/auth/passkey/enroll/invite/list/0.1/payload.js.map +1 -0
- package/dist/auth/passkey/enroll/invite/revoke/0.1/payload.d.ts +228 -0
- package/dist/auth/passkey/enroll/invite/revoke/0.1/payload.d.ts.map +1 -0
- package/dist/auth/passkey/enroll/invite/revoke/0.1/payload.js +138 -0
- package/dist/auth/passkey/enroll/invite/revoke/0.1/payload.js.map +1 -0
- package/dist/auth/passkey/enroll/invite/update/0.1/payload.d.ts +459 -0
- package/dist/auth/passkey/enroll/invite/update/0.1/payload.d.ts.map +1 -0
- package/dist/auth/passkey/enroll/invite/update/0.1/payload.js +286 -0
- package/dist/auth/passkey/enroll/invite/update/0.1/payload.js.map +1 -0
- package/dist/auth/step-up/start/0.1/payload.d.ts +420 -0
- package/dist/auth/step-up/start/0.1/payload.d.ts.map +1 -0
- package/dist/auth/step-up/start/0.1/payload.js +232 -0
- package/dist/auth/step-up/start/0.1/payload.js.map +1 -0
- package/dist/did-management/_shared/0.1/service-instance.d.ts +1 -1
- package/dist/did-management/_shared/0.1/service-instance.d.ts.map +1 -1
- package/dist/did-management/_shared/0.2/metrics-snapshot.d.ts +16 -0
- package/dist/did-management/_shared/0.2/metrics-snapshot.d.ts.map +1 -0
- package/dist/did-management/_shared/0.2/metrics-snapshot.js +6 -0
- package/dist/did-management/_shared/0.2/metrics-snapshot.js.map +1 -0
- package/dist/did-management/_shared/0.2/service-instance.d.ts +16 -0
- package/dist/did-management/_shared/0.2/service-instance.d.ts.map +1 -0
- package/dist/did-management/_shared/0.2/service-instance.js +6 -0
- package/dist/did-management/_shared/0.2/service-instance.js.map +1 -0
- package/dist/did-management/agent-name/resolve/0.1/payload.d.ts +318 -0
- package/dist/did-management/agent-name/resolve/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/agent-name/resolve/0.1/payload.js +179 -0
- package/dist/did-management/agent-name/resolve/0.1/payload.js.map +1 -0
- package/dist/did-management/did/log/0.1/payload.d.ts +436 -0
- package/dist/did-management/did/log/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/did/log/0.1/payload.js +228 -0
- package/dist/did-management/did/log/0.1/payload.js.map +1 -0
- package/dist/did-management/domain/list/0.1/payload.d.ts +423 -0
- package/dist/did-management/domain/list/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/domain/list/0.1/payload.js +244 -0
- package/dist/did-management/domain/list/0.1/payload.js.map +1 -0
- package/dist/did-management/identity/list/0.1/payload.d.ts +494 -0
- package/dist/did-management/identity/list/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/identity/list/0.1/payload.js +274 -0
- package/dist/did-management/identity/list/0.1/payload.js.map +1 -0
- package/dist/did-management/identity/retire/0.1/payload.d.ts +242 -0
- package/dist/did-management/identity/retire/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/identity/retire/0.1/payload.js +142 -0
- package/dist/did-management/identity/retire/0.1/payload.js.map +1 -0
- package/dist/did-management/registry/admin-register/0.1/payload.d.ts +1 -1
- package/dist/did-management/registry/admin-register/0.1/payload.d.ts.map +1 -1
- package/dist/did-management/registry/check/0.1/payload.d.ts +639 -0
- package/dist/did-management/registry/check/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/registry/check/0.1/payload.js +383 -0
- package/dist/did-management/registry/check/0.1/payload.js.map +1 -0
- package/dist/did-management/registry/get/0.1/payload.d.ts +632 -0
- package/dist/did-management/registry/get/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/registry/get/0.1/payload.js +381 -0
- package/dist/did-management/registry/get/0.1/payload.js.map +1 -0
- package/dist/did-management/registry/list/0.1/payload.d.ts +661 -0
- package/dist/did-management/registry/list/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/registry/list/0.1/payload.js +398 -0
- package/dist/did-management/registry/list/0.1/payload.js.map +1 -0
- package/dist/did-management/registry/purge-domain/0.1/payload.d.ts +269 -0
- package/dist/did-management/registry/purge-domain/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/registry/purge-domain/0.1/payload.js +160 -0
- package/dist/did-management/registry/purge-domain/0.1/payload.js.map +1 -0
- package/dist/did-management/replica/domain/assign/0.1/payload.d.ts +233 -0
- package/dist/did-management/replica/domain/assign/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/replica/domain/assign/0.1/payload.js +143 -0
- package/dist/did-management/replica/domain/assign/0.1/payload.js.map +1 -0
- package/dist/did-management/replica/domain/purge/0.1/payload.d.ts +257 -0
- package/dist/did-management/replica/domain/purge/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/replica/domain/purge/0.1/payload.js +155 -0
- package/dist/did-management/replica/domain/purge/0.1/payload.js.map +1 -0
- package/dist/did-management/replica/domain/unassign/0.1/payload.d.ts +257 -0
- package/dist/did-management/replica/domain/unassign/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/replica/domain/unassign/0.1/payload.js +155 -0
- package/dist/did-management/replica/domain/unassign/0.1/payload.js.map +1 -0
- package/dist/did-management/replica/domain/upsert/0.1/payload.d.ts +401 -0
- package/dist/did-management/replica/domain/upsert/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/replica/domain/upsert/0.1/payload.js +241 -0
- package/dist/did-management/replica/domain/upsert/0.1/payload.js.map +1 -0
- package/dist/did-management/server/config/0.1/payload.d.ts +838 -0
- package/dist/did-management/server/config/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/server/config/0.1/payload.js +444 -0
- package/dist/did-management/server/config/0.1/payload.js.map +1 -0
- package/dist/did-management/server/info/0.1/payload.d.ts +285 -0
- package/dist/did-management/server/info/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/server/info/0.1/payload.js +160 -0
- package/dist/did-management/server/info/0.1/payload.js.map +1 -0
- package/dist/did-management/server/metrics/0.1/payload.d.ts +674 -0
- package/dist/did-management/server/metrics/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/server/metrics/0.1/payload.js +387 -0
- package/dist/did-management/server/metrics/0.1/payload.js.map +1 -0
- package/dist/did-management/stats/get/0.1/payload.d.ts +349 -0
- package/dist/did-management/stats/get/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/stats/get/0.1/payload.js +187 -0
- package/dist/did-management/stats/get/0.1/payload.js.map +1 -0
- package/dist/did-management/stats/timeseries/0.1/payload.d.ts +381 -0
- package/dist/did-management/stats/timeseries/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/stats/timeseries/0.1/payload.js +227 -0
- package/dist/did-management/stats/timeseries/0.1/payload.js.map +1 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34 -0
- package/dist/index.js.map +1 -1
- package/dist/vtc/_shared/0.1/invite.d.ts +1 -1
- package/dist/vtc/_shared/0.1/invite.d.ts.map +1 -1
- package/dist/vtc/admin/invites/list/0.1/payload.d.ts +1 -1
- package/dist/vtc/admin/invites/list/0.1/payload.d.ts.map +1 -1
- package/dist/webvh/_shared/0.1/sync-update.d.ts +16 -0
- package/dist/webvh/_shared/0.1/sync-update.d.ts.map +1 -0
- package/dist/webvh/_shared/0.1/sync-update.js +6 -0
- package/dist/webvh/_shared/0.1/sync-update.js.map +1 -0
- package/dist/webvh/_shared/0.1/witness-key.d.ts +16 -0
- package/dist/webvh/_shared/0.1/witness-key.d.ts.map +1 -0
- package/dist/webvh/_shared/0.1/witness-key.js +6 -0
- package/dist/webvh/_shared/0.1/witness-key.js.map +1 -0
- package/dist/webvh/sync/batch/0.1/payload.d.ts +503 -0
- package/dist/webvh/sync/batch/0.1/payload.d.ts.map +1 -0
- package/dist/webvh/sync/batch/0.1/payload.js +290 -0
- package/dist/webvh/sync/batch/0.1/payload.js.map +1 -0
- package/dist/webvh/sync/delete/0.2/payload.d.ts +242 -0
- package/dist/webvh/sync/delete/0.2/payload.d.ts.map +1 -0
- package/dist/webvh/sync/delete/0.2/payload.js +148 -0
- package/dist/webvh/sync/delete/0.2/payload.js.map +1 -0
- package/dist/webvh/sync/update/0.2/payload.d.ts +315 -0
- package/dist/webvh/sync/update/0.2/payload.d.ts.map +1 -0
- package/dist/webvh/sync/update/0.2/payload.js +177 -0
- package/dist/webvh/sync/update/0.2/payload.js.map +1 -0
- package/dist/webvh/witness/key/create/0.1/payload.d.ts +346 -0
- package/dist/webvh/witness/key/create/0.1/payload.d.ts.map +1 -0
- package/dist/webvh/witness/key/create/0.1/payload.js +202 -0
- package/dist/webvh/witness/key/create/0.1/payload.js.map +1 -0
- package/dist/webvh/witness/key/delete/0.1/payload.d.ts +237 -0
- package/dist/webvh/witness/key/delete/0.1/payload.d.ts.map +1 -0
- package/dist/webvh/witness/key/delete/0.1/payload.js +141 -0
- package/dist/webvh/witness/key/delete/0.1/payload.js.map +1 -0
- package/dist/webvh/witness/key/list/0.1/payload.d.ts +349 -0
- package/dist/webvh/witness/key/list/0.1/payload.d.ts.map +1 -0
- package/dist/webvh/witness/key/list/0.1/payload.js +204 -0
- package/dist/webvh/witness/key/list/0.1/payload.js.map +1 -0
- package/dist/webvh/witness/sign/0.1/payload.d.ts +401 -0
- package/dist/webvh/witness/sign/0.1/payload.d.ts.map +1 -0
- package/dist/webvh/witness/sign/0.1/payload.js +229 -0
- package/dist/webvh/witness/sign/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +210 -2
- package/src/auth/_shared/0.1/passkey-invite.ts +17 -0
- package/src/auth/passkey/enroll/invite/list/0.1/payload.ts +266 -0
- package/src/auth/passkey/enroll/invite/revoke/0.1/payload.ts +165 -0
- package/src/auth/passkey/enroll/invite/update/0.1/payload.ts +327 -0
- package/src/auth/step-up/start/0.1/payload.ts +287 -0
- package/src/did-management/_shared/0.1/service-instance.ts +1 -1
- package/src/did-management/_shared/0.2/metrics-snapshot.ts +17 -0
- package/src/did-management/_shared/0.2/service-instance.ts +17 -0
- package/src/did-management/agent-name/resolve/0.1/payload.ts +222 -0
- package/src/did-management/did/log/0.1/payload.ts +295 -0
- package/src/did-management/domain/list/0.1/payload.ts +280 -0
- package/src/did-management/identity/list/0.1/payload.ts +335 -0
- package/src/did-management/identity/retire/0.1/payload.ts +175 -0
- package/src/did-management/registry/admin-register/0.1/payload.ts +1 -1
- package/src/did-management/registry/check/0.1/payload.ts +415 -0
- package/src/did-management/registry/get/0.1/payload.ts +410 -0
- package/src/did-management/registry/list/0.1/payload.ts +434 -0
- package/src/did-management/registry/purge-domain/0.1/payload.ts +198 -0
- package/src/did-management/replica/domain/assign/0.1/payload.ts +173 -0
- package/src/did-management/replica/domain/purge/0.1/payload.ts +189 -0
- package/src/did-management/replica/domain/unassign/0.1/payload.ts +189 -0
- package/src/did-management/replica/domain/upsert/0.1/payload.ts +271 -0
- package/src/did-management/server/config/0.1/payload.ts +545 -0
- package/src/did-management/server/info/0.1/payload.ts +200 -0
- package/src/did-management/server/metrics/0.1/payload.ts +418 -0
- package/src/did-management/stats/get/0.1/payload.ts +237 -0
- package/src/did-management/stats/timeseries/0.1/payload.ts +279 -0
- package/src/index.ts +34 -0
- package/src/vtc/_shared/0.1/invite.ts +1 -1
- package/src/vtc/admin/invites/list/0.1/payload.ts +1 -1
- package/src/webvh/_shared/0.1/sync-update.ts +17 -0
- package/src/webvh/_shared/0.1/witness-key.ts +17 -0
- package/src/webvh/sync/batch/0.1/payload.ts +336 -0
- package/src/webvh/sync/delete/0.2/payload.ts +181 -0
- package/src/webvh/sync/update/0.2/payload.ts +233 -0
- package/src/webvh/witness/key/create/0.1/payload.ts +231 -0
- package/src/webvh/witness/key/delete/0.1/payload.ts +171 -0
- package/src/webvh/witness/key/list/0.1/payload.ts +232 -0
- package/src/webvh/witness/sign/0.1/payload.ts +279 -0
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/did-management/stats/get/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Ext } from "../../../../_shared/components.js";
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
export interface StatsGetPayload {
|
|
10
|
+
/**
|
|
11
|
+
* The slot whose counters are read. Absent means the hosting service's server-wide aggregate, which only an administrator may read.
|
|
12
|
+
*/
|
|
13
|
+
mnemonic?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Disambiguates `mnemonic` per the category conventions. Absent means the domain is resolved by the category's chain. MUST NOT be present without `mnemonic`: this task has no per-domain aggregate (did-management/stats/timeseries does).
|
|
16
|
+
*/
|
|
17
|
+
domain?: string;
|
|
18
|
+
ext?: Ext;
|
|
19
|
+
}
|
|
20
|
+
export interface StatsGetResponsePayload {
|
|
21
|
+
/**
|
|
22
|
+
* Echo of the slot read. Absent on the server-wide aggregate.
|
|
23
|
+
*/
|
|
24
|
+
mnemonic?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Slots the hosting service holds. Present only on the server-wide aggregate.
|
|
27
|
+
*/
|
|
28
|
+
totalDids?: number;
|
|
29
|
+
totalResolves: number;
|
|
30
|
+
totalUpdates: number;
|
|
31
|
+
/**
|
|
32
|
+
* Absent when the scope has never been resolved.
|
|
33
|
+
*/
|
|
34
|
+
lastResolvedAt?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Absent when the scope has never been updated.
|
|
37
|
+
*/
|
|
38
|
+
lastUpdatedAt?: string;
|
|
39
|
+
ext?: Ext;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
43
|
+
export type { Ext };
|
|
44
|
+
|
|
45
|
+
/** Trust Task type URI. */
|
|
46
|
+
export const TYPE_URI = "https://trusttasks.org/spec/did-management/stats/get/0.1" as const;
|
|
47
|
+
|
|
48
|
+
/** Stable alias for this specification's request payload shape. */
|
|
49
|
+
export type Payload = StatsGetPayload;
|
|
50
|
+
|
|
51
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
52
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/did-management/stats/get/0.1#response" as const;
|
|
53
|
+
|
|
54
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
55
|
+
export type Response = StatsGetResponsePayload;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* This specification's payload schema, as a value.
|
|
59
|
+
*
|
|
60
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
61
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
62
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
63
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
64
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
65
|
+
*/
|
|
66
|
+
export const PAYLOAD_SCHEMA = {
|
|
67
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
68
|
+
"$id": "https://trusttasks.org/spec/did-management/stats/get/0.1",
|
|
69
|
+
"title": "Stats Get — payload",
|
|
70
|
+
"type": "object",
|
|
71
|
+
"additionalProperties": false,
|
|
72
|
+
"properties": {
|
|
73
|
+
"mnemonic": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"minLength": 1,
|
|
76
|
+
"maxLength": 512,
|
|
77
|
+
"description": "The slot whose counters are read. Absent means the hosting service's server-wide aggregate, which only an administrator may read."
|
|
78
|
+
},
|
|
79
|
+
"domain": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"minLength": 1,
|
|
82
|
+
"maxLength": 253,
|
|
83
|
+
"description": "Disambiguates `mnemonic` per the category conventions. Absent means the domain is resolved by the category's chain. MUST NOT be present without `mnemonic`: this task has no per-domain aggregate (did-management/stats/timeseries does)."
|
|
84
|
+
},
|
|
85
|
+
"ext": {
|
|
86
|
+
"$ref": "#/$defs/Ext"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"dependentRequired": {
|
|
90
|
+
"domain": [
|
|
91
|
+
"mnemonic"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"$defs": {
|
|
95
|
+
"Response": {
|
|
96
|
+
"$anchor": "response",
|
|
97
|
+
"title": "Stats Get — response payload",
|
|
98
|
+
"type": "object",
|
|
99
|
+
"additionalProperties": false,
|
|
100
|
+
"required": [
|
|
101
|
+
"totalResolves",
|
|
102
|
+
"totalUpdates"
|
|
103
|
+
],
|
|
104
|
+
"properties": {
|
|
105
|
+
"mnemonic": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"description": "Echo of the slot read. Absent on the server-wide aggregate."
|
|
108
|
+
},
|
|
109
|
+
"totalDids": {
|
|
110
|
+
"type": "integer",
|
|
111
|
+
"minimum": 0,
|
|
112
|
+
"description": "Slots the hosting service holds. Present only on the server-wide aggregate."
|
|
113
|
+
},
|
|
114
|
+
"totalResolves": {
|
|
115
|
+
"type": "integer",
|
|
116
|
+
"minimum": 0
|
|
117
|
+
},
|
|
118
|
+
"totalUpdates": {
|
|
119
|
+
"type": "integer",
|
|
120
|
+
"minimum": 0
|
|
121
|
+
},
|
|
122
|
+
"lastResolvedAt": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"format": "date-time",
|
|
125
|
+
"description": "Absent when the scope has never been resolved."
|
|
126
|
+
},
|
|
127
|
+
"lastUpdatedAt": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"format": "date-time",
|
|
130
|
+
"description": "Absent when the scope has never been updated."
|
|
131
|
+
},
|
|
132
|
+
"ext": {
|
|
133
|
+
"$ref": "#/$defs/Ext"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"Ext": {
|
|
138
|
+
"title": "Ext",
|
|
139
|
+
"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.",
|
|
140
|
+
"type": "object",
|
|
141
|
+
"minProperties": 1,
|
|
142
|
+
"additionalProperties": true,
|
|
143
|
+
"propertyNames": {
|
|
144
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
} as const;
|
|
149
|
+
|
|
150
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
151
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
152
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
153
|
+
"$ref": "#/$defs/Response",
|
|
154
|
+
"$defs": {
|
|
155
|
+
"Response": {
|
|
156
|
+
"$anchor": "response",
|
|
157
|
+
"title": "Stats Get — response payload",
|
|
158
|
+
"type": "object",
|
|
159
|
+
"additionalProperties": false,
|
|
160
|
+
"required": [
|
|
161
|
+
"totalResolves",
|
|
162
|
+
"totalUpdates"
|
|
163
|
+
],
|
|
164
|
+
"properties": {
|
|
165
|
+
"mnemonic": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"description": "Echo of the slot read. Absent on the server-wide aggregate."
|
|
168
|
+
},
|
|
169
|
+
"totalDids": {
|
|
170
|
+
"type": "integer",
|
|
171
|
+
"minimum": 0,
|
|
172
|
+
"description": "Slots the hosting service holds. Present only on the server-wide aggregate."
|
|
173
|
+
},
|
|
174
|
+
"totalResolves": {
|
|
175
|
+
"type": "integer",
|
|
176
|
+
"minimum": 0
|
|
177
|
+
},
|
|
178
|
+
"totalUpdates": {
|
|
179
|
+
"type": "integer",
|
|
180
|
+
"minimum": 0
|
|
181
|
+
},
|
|
182
|
+
"lastResolvedAt": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"format": "date-time",
|
|
185
|
+
"description": "Absent when the scope has never been resolved."
|
|
186
|
+
},
|
|
187
|
+
"lastUpdatedAt": {
|
|
188
|
+
"type": "string",
|
|
189
|
+
"format": "date-time",
|
|
190
|
+
"description": "Absent when the scope has never been updated."
|
|
191
|
+
},
|
|
192
|
+
"ext": {
|
|
193
|
+
"$ref": "#/$defs/Ext"
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"Ext": {
|
|
198
|
+
"title": "Ext",
|
|
199
|
+
"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.",
|
|
200
|
+
"type": "object",
|
|
201
|
+
"minProperties": 1,
|
|
202
|
+
"additionalProperties": true,
|
|
203
|
+
"propertyNames": {
|
|
204
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
} as const;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
212
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
213
|
+
* per-specification and cannot be derived from the document alone, and
|
|
214
|
+
* item 2 needs the schema this carries.
|
|
215
|
+
*/
|
|
216
|
+
export const SPEC = {
|
|
217
|
+
typeUri: TYPE_URI,
|
|
218
|
+
isBearer: false,
|
|
219
|
+
isProofRequired: true,
|
|
220
|
+
isRecipientRequired: true,
|
|
221
|
+
isIssuedAtRequired: false,
|
|
222
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
223
|
+
} as const;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
227
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
228
|
+
* parties (§7.3 item 5).
|
|
229
|
+
*/
|
|
230
|
+
export const RESPONSE_SPEC = {
|
|
231
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
232
|
+
isBearer: false,
|
|
233
|
+
isProofRequired: true,
|
|
234
|
+
isRecipientRequired: true,
|
|
235
|
+
isIssuedAtRequired: false,
|
|
236
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
237
|
+
} as const;
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/did-management/stats/timeseries/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Ext } from "../../../../_shared/components.js";
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
export interface StatsTimeseriesPayload {
|
|
10
|
+
/**
|
|
11
|
+
* The window ending now. The consumer chooses the bucket width and reports it as `bucketSeconds`.
|
|
12
|
+
*/
|
|
13
|
+
range: "lastHour" | "lastDay" | "lastWeek" | "last30Days";
|
|
14
|
+
/**
|
|
15
|
+
* One slot's series. Absent means a domain's series when `domain` is present, else the server-wide series.
|
|
16
|
+
*/
|
|
17
|
+
mnemonic?: string;
|
|
18
|
+
/**
|
|
19
|
+
* With `mnemonic`, disambiguates it per the category conventions. Without it, selects the sum over every slot on that domain. Absent with `mnemonic` absent means the server-wide series, which only an administrator may read.
|
|
20
|
+
*/
|
|
21
|
+
domain?: string;
|
|
22
|
+
ext?: Ext;
|
|
23
|
+
}
|
|
24
|
+
export interface StatsTimeseriesResponsePayload {
|
|
25
|
+
range: "lastHour" | "lastDay" | "lastWeek" | "last30Days";
|
|
26
|
+
/**
|
|
27
|
+
* Width of each bucket.
|
|
28
|
+
*/
|
|
29
|
+
bucketSeconds: number;
|
|
30
|
+
/**
|
|
31
|
+
* One point per bucket in the window, oldest first, including buckets with no activity.
|
|
32
|
+
*/
|
|
33
|
+
points: {
|
|
34
|
+
/**
|
|
35
|
+
* Start of the bucket.
|
|
36
|
+
*/
|
|
37
|
+
at: string;
|
|
38
|
+
resolves: number;
|
|
39
|
+
updates: number;
|
|
40
|
+
}[];
|
|
41
|
+
ext?: Ext;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
45
|
+
export type { Ext };
|
|
46
|
+
|
|
47
|
+
/** Trust Task type URI. */
|
|
48
|
+
export const TYPE_URI = "https://trusttasks.org/spec/did-management/stats/timeseries/0.1" as const;
|
|
49
|
+
|
|
50
|
+
/** Stable alias for this specification's request payload shape. */
|
|
51
|
+
export type Payload = StatsTimeseriesPayload;
|
|
52
|
+
|
|
53
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
54
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/did-management/stats/timeseries/0.1#response" as const;
|
|
55
|
+
|
|
56
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
57
|
+
export type Response = StatsTimeseriesResponsePayload;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* This specification's payload schema, as a value.
|
|
61
|
+
*
|
|
62
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
63
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
64
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
65
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
66
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
67
|
+
*/
|
|
68
|
+
export const PAYLOAD_SCHEMA = {
|
|
69
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
70
|
+
"$id": "https://trusttasks.org/spec/did-management/stats/timeseries/0.1",
|
|
71
|
+
"title": "Stats Timeseries — payload",
|
|
72
|
+
"type": "object",
|
|
73
|
+
"additionalProperties": false,
|
|
74
|
+
"required": [
|
|
75
|
+
"range"
|
|
76
|
+
],
|
|
77
|
+
"properties": {
|
|
78
|
+
"range": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"enum": [
|
|
81
|
+
"lastHour",
|
|
82
|
+
"lastDay",
|
|
83
|
+
"lastWeek",
|
|
84
|
+
"last30Days"
|
|
85
|
+
],
|
|
86
|
+
"description": "The window ending now. The consumer chooses the bucket width and reports it as `bucketSeconds`."
|
|
87
|
+
},
|
|
88
|
+
"mnemonic": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"minLength": 1,
|
|
91
|
+
"maxLength": 512,
|
|
92
|
+
"description": "One slot's series. Absent means a domain's series when `domain` is present, else the server-wide series."
|
|
93
|
+
},
|
|
94
|
+
"domain": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"minLength": 1,
|
|
97
|
+
"maxLength": 253,
|
|
98
|
+
"description": "With `mnemonic`, disambiguates it per the category conventions. Without it, selects the sum over every slot on that domain. Absent with `mnemonic` absent means the server-wide series, which only an administrator may read."
|
|
99
|
+
},
|
|
100
|
+
"ext": {
|
|
101
|
+
"$ref": "#/$defs/Ext"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"$defs": {
|
|
105
|
+
"Response": {
|
|
106
|
+
"$anchor": "response",
|
|
107
|
+
"title": "Stats Timeseries — response payload",
|
|
108
|
+
"type": "object",
|
|
109
|
+
"additionalProperties": false,
|
|
110
|
+
"required": [
|
|
111
|
+
"range",
|
|
112
|
+
"bucketSeconds",
|
|
113
|
+
"points"
|
|
114
|
+
],
|
|
115
|
+
"properties": {
|
|
116
|
+
"range": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"enum": [
|
|
119
|
+
"lastHour",
|
|
120
|
+
"lastDay",
|
|
121
|
+
"lastWeek",
|
|
122
|
+
"last30Days"
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
"bucketSeconds": {
|
|
126
|
+
"type": "integer",
|
|
127
|
+
"minimum": 1,
|
|
128
|
+
"description": "Width of each bucket."
|
|
129
|
+
},
|
|
130
|
+
"points": {
|
|
131
|
+
"type": "array",
|
|
132
|
+
"description": "One point per bucket in the window, oldest first, including buckets with no activity.",
|
|
133
|
+
"items": {
|
|
134
|
+
"type": "object",
|
|
135
|
+
"additionalProperties": false,
|
|
136
|
+
"required": [
|
|
137
|
+
"at",
|
|
138
|
+
"resolves",
|
|
139
|
+
"updates"
|
|
140
|
+
],
|
|
141
|
+
"properties": {
|
|
142
|
+
"at": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"format": "date-time",
|
|
145
|
+
"description": "Start of the bucket."
|
|
146
|
+
},
|
|
147
|
+
"resolves": {
|
|
148
|
+
"type": "integer",
|
|
149
|
+
"minimum": 0
|
|
150
|
+
},
|
|
151
|
+
"updates": {
|
|
152
|
+
"type": "integer",
|
|
153
|
+
"minimum": 0
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"ext": {
|
|
159
|
+
"$ref": "#/$defs/Ext"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"Ext": {
|
|
164
|
+
"title": "Ext",
|
|
165
|
+
"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.",
|
|
166
|
+
"type": "object",
|
|
167
|
+
"minProperties": 1,
|
|
168
|
+
"additionalProperties": true,
|
|
169
|
+
"propertyNames": {
|
|
170
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
} as const;
|
|
175
|
+
|
|
176
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
177
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
178
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
179
|
+
"$ref": "#/$defs/Response",
|
|
180
|
+
"$defs": {
|
|
181
|
+
"Response": {
|
|
182
|
+
"$anchor": "response",
|
|
183
|
+
"title": "Stats Timeseries — response payload",
|
|
184
|
+
"type": "object",
|
|
185
|
+
"additionalProperties": false,
|
|
186
|
+
"required": [
|
|
187
|
+
"range",
|
|
188
|
+
"bucketSeconds",
|
|
189
|
+
"points"
|
|
190
|
+
],
|
|
191
|
+
"properties": {
|
|
192
|
+
"range": {
|
|
193
|
+
"type": "string",
|
|
194
|
+
"enum": [
|
|
195
|
+
"lastHour",
|
|
196
|
+
"lastDay",
|
|
197
|
+
"lastWeek",
|
|
198
|
+
"last30Days"
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
"bucketSeconds": {
|
|
202
|
+
"type": "integer",
|
|
203
|
+
"minimum": 1,
|
|
204
|
+
"description": "Width of each bucket."
|
|
205
|
+
},
|
|
206
|
+
"points": {
|
|
207
|
+
"type": "array",
|
|
208
|
+
"description": "One point per bucket in the window, oldest first, including buckets with no activity.",
|
|
209
|
+
"items": {
|
|
210
|
+
"type": "object",
|
|
211
|
+
"additionalProperties": false,
|
|
212
|
+
"required": [
|
|
213
|
+
"at",
|
|
214
|
+
"resolves",
|
|
215
|
+
"updates"
|
|
216
|
+
],
|
|
217
|
+
"properties": {
|
|
218
|
+
"at": {
|
|
219
|
+
"type": "string",
|
|
220
|
+
"format": "date-time",
|
|
221
|
+
"description": "Start of the bucket."
|
|
222
|
+
},
|
|
223
|
+
"resolves": {
|
|
224
|
+
"type": "integer",
|
|
225
|
+
"minimum": 0
|
|
226
|
+
},
|
|
227
|
+
"updates": {
|
|
228
|
+
"type": "integer",
|
|
229
|
+
"minimum": 0
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"ext": {
|
|
235
|
+
"$ref": "#/$defs/Ext"
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"Ext": {
|
|
240
|
+
"title": "Ext",
|
|
241
|
+
"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.",
|
|
242
|
+
"type": "object",
|
|
243
|
+
"minProperties": 1,
|
|
244
|
+
"additionalProperties": true,
|
|
245
|
+
"propertyNames": {
|
|
246
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
} as const;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
254
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
255
|
+
* per-specification and cannot be derived from the document alone, and
|
|
256
|
+
* item 2 needs the schema this carries.
|
|
257
|
+
*/
|
|
258
|
+
export const SPEC = {
|
|
259
|
+
typeUri: TYPE_URI,
|
|
260
|
+
isBearer: false,
|
|
261
|
+
isProofRequired: true,
|
|
262
|
+
isRecipientRequired: true,
|
|
263
|
+
isIssuedAtRequired: false,
|
|
264
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
265
|
+
} as const;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
269
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
270
|
+
* parties (§7.3 item 5).
|
|
271
|
+
*/
|
|
272
|
+
export const RESPONSE_SPEC = {
|
|
273
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
274
|
+
isBearer: false,
|
|
275
|
+
isProofRequired: true,
|
|
276
|
+
isRecipientRequired: true,
|
|
277
|
+
isIssuedAtRequired: false,
|
|
278
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
279
|
+
} as const;
|
package/src/index.ts
CHANGED
|
@@ -25,6 +25,7 @@ export * as AclUpdate_v0_1 from "./acl/update/0.1/payload.js";
|
|
|
25
25
|
export * as AuditShared_v0_1 from "./audit/_shared/0.1/audit.js";
|
|
26
26
|
export * as AuditList_v0_1 from "./audit/list/0.1/payload.js";
|
|
27
27
|
export * as AuditVerify_v0_1 from "./audit/verify/0.1/payload.js";
|
|
28
|
+
export * as PasskeyInviteShared_v0_1 from "./auth/_shared/0.1/passkey-invite.js";
|
|
28
29
|
export * as SessionShared_v0_1 from "./auth/_shared/0.1/session.js";
|
|
29
30
|
export * as TokensShared_v0_1 from "./auth/_shared/0.1/tokens.js";
|
|
30
31
|
export * as WebauthnShared_v0_1 from "./auth/_shared/0.1/webauthn.js";
|
|
@@ -35,6 +36,9 @@ export * as AuthPasskeyEnrollFinish_v0_1 from "./auth/passkey/enroll/finish/0.1/
|
|
|
35
36
|
export * as AuthPasskeyEnrollFinish_v0_2 from "./auth/passkey/enroll/finish/0.2/payload.js";
|
|
36
37
|
export * as AuthPasskeyEnrollInvite_v0_1 from "./auth/passkey/enroll/invite/0.1/payload.js";
|
|
37
38
|
export * as AuthPasskeyEnrollInvite_v0_2 from "./auth/passkey/enroll/invite/0.2/payload.js";
|
|
39
|
+
export * as AuthPasskeyEnrollInviteList_v0_1 from "./auth/passkey/enroll/invite/list/0.1/payload.js";
|
|
40
|
+
export * as AuthPasskeyEnrollInviteRevoke_v0_1 from "./auth/passkey/enroll/invite/revoke/0.1/payload.js";
|
|
41
|
+
export * as AuthPasskeyEnrollInviteUpdate_v0_1 from "./auth/passkey/enroll/invite/update/0.1/payload.js";
|
|
38
42
|
export * as AuthPasskeyEnrollRedeemFinish_v0_1 from "./auth/passkey/enroll/redeem/finish/0.1/payload.js";
|
|
39
43
|
export * as AuthPasskeyEnrollRedeemStart_v0_1 from "./auth/passkey/enroll/redeem/start/0.1/payload.js";
|
|
40
44
|
export * as AuthPasskeyEnrollStart_v0_1 from "./auth/passkey/enroll/start/0.1/payload.js";
|
|
@@ -61,6 +65,7 @@ export * as AuthStepUpApproveResponse_v0_4 from "./auth/step-up/approve-response
|
|
|
61
65
|
export * as AuthStepUpApproveResponse_v0_5 from "./auth/step-up/approve-response/0.5/payload.js";
|
|
62
66
|
export * as AuthStepUpPolicy_v0_1 from "./auth/step-up/policy/0.1/payload.js";
|
|
63
67
|
export * as AuthStepUpPolicy_v0_2 from "./auth/step-up/policy/0.2/payload.js";
|
|
68
|
+
export * as AuthStepUpStart_v0_1 from "./auth/step-up/start/0.1/payload.js";
|
|
64
69
|
export * as AuthWhoami_v0_1 from "./auth/whoami/0.1/payload.js";
|
|
65
70
|
export * as BackupAbort_v0_1 from "./backup/abort/0.1/payload.js";
|
|
66
71
|
export * as BackupCompleteExport_v0_1 from "./backup/complete-export/0.1/payload.js";
|
|
@@ -113,11 +118,14 @@ export * as WebvhShared_v0_1 from "./did-management/_shared/0.1/did-method-exten
|
|
|
113
118
|
export * as DidRecordShared_v0_1 from "./did-management/_shared/0.1/did-record.js";
|
|
114
119
|
export * as DomainEntryShared_v0_1 from "./did-management/_shared/0.1/domain-entry.js";
|
|
115
120
|
export * as ServiceInstanceShared_v0_1 from "./did-management/_shared/0.1/service-instance.js";
|
|
121
|
+
export * as MetricsSnapshotShared_v0_2 from "./did-management/_shared/0.2/metrics-snapshot.js";
|
|
122
|
+
export * as ServiceInstanceShared_v0_2 from "./did-management/_shared/0.2/service-instance.js";
|
|
116
123
|
export * as DidManagementAgentNameCheck_v0_1 from "./did-management/agent-name/check/0.1/payload.js";
|
|
117
124
|
export * as DidManagementAgentNameDisable_v0_1 from "./did-management/agent-name/disable/0.1/payload.js";
|
|
118
125
|
export * as DidManagementAgentNameEnable_v0_1 from "./did-management/agent-name/enable/0.1/payload.js";
|
|
119
126
|
export * as DidManagementAgentNameList_v0_1 from "./did-management/agent-name/list/0.1/payload.js";
|
|
120
127
|
export * as DidManagementAgentNameRemove_v0_1 from "./did-management/agent-name/remove/0.1/payload.js";
|
|
128
|
+
export * as DidManagementAgentNameResolve_v0_1 from "./did-management/agent-name/resolve/0.1/payload.js";
|
|
121
129
|
export * as DidManagementAgentNameSet_v0_1 from "./did-management/agent-name/set/0.1/payload.js";
|
|
122
130
|
export * as DidManagementAgentNameUpdate_v0_1 from "./did-management/agent-name/update/0.1/payload.js";
|
|
123
131
|
export * as DidManagementDidChangeOwner_v0_1 from "./did-management/did/change-owner/0.1/payload.js";
|
|
@@ -127,6 +135,7 @@ export * as DidManagementDidDisable_v0_1 from "./did-management/did/disable/0.1/
|
|
|
127
135
|
export * as DidManagementDidEnable_v0_1 from "./did-management/did/enable/0.1/payload.js";
|
|
128
136
|
export * as DidManagementDidInfo_v0_1 from "./did-management/did/info/0.1/payload.js";
|
|
129
137
|
export * as DidManagementDidList_v0_1 from "./did-management/did/list/0.1/payload.js";
|
|
138
|
+
export * as DidManagementDidLog_v0_1 from "./did-management/did/log/0.1/payload.js";
|
|
130
139
|
export * as DidManagementDidProblemReport_v0_1 from "./did-management/did/problem-report/0.1/payload.js";
|
|
131
140
|
export * as DidManagementDidPublish_v0_1 from "./did-management/did/publish/0.1/payload.js";
|
|
132
141
|
export * as DidManagementDidRegister_v0_1 from "./did-management/did/register/0.1/payload.js";
|
|
@@ -136,17 +145,33 @@ export * as DidManagementDomainAssign_v0_1 from "./did-management/domain/assign/
|
|
|
136
145
|
export * as DidManagementDomainCreate_v0_1 from "./did-management/domain/create/0.1/payload.js";
|
|
137
146
|
export * as DidManagementDomainDisable_v0_1 from "./did-management/domain/disable/0.1/payload.js";
|
|
138
147
|
export * as DidManagementDomainEnable_v0_1 from "./did-management/domain/enable/0.1/payload.js";
|
|
148
|
+
export * as DidManagementDomainList_v0_1 from "./did-management/domain/list/0.1/payload.js";
|
|
139
149
|
export * as DidManagementDomainPurge_v0_1 from "./did-management/domain/purge/0.1/payload.js";
|
|
140
150
|
export * as DidManagementDomainSetDefault_v0_1 from "./did-management/domain/set-default/0.1/payload.js";
|
|
141
151
|
export * as DidManagementDomainSetState_v0_1 from "./did-management/domain/set-state/0.1/payload.js";
|
|
142
152
|
export * as DidManagementDomainUnassign_v0_1 from "./did-management/domain/unassign/0.1/payload.js";
|
|
143
153
|
export * as DidManagementDomainUpdate_v0_1 from "./did-management/domain/update/0.1/payload.js";
|
|
154
|
+
export * as DidManagementIdentityList_v0_1 from "./did-management/identity/list/0.1/payload.js";
|
|
155
|
+
export * as DidManagementIdentityRetire_v0_1 from "./did-management/identity/retire/0.1/payload.js";
|
|
144
156
|
export * as DidManagementMeDomains_v0_1 from "./did-management/me/domains/0.1/payload.js";
|
|
145
157
|
export * as DidManagementRegistryAdminRegister_v0_1 from "./did-management/registry/admin-register/0.1/payload.js";
|
|
158
|
+
export * as DidManagementRegistryCheck_v0_1 from "./did-management/registry/check/0.1/payload.js";
|
|
146
159
|
export * as DidManagementRegistryDeregister_v0_1 from "./did-management/registry/deregister/0.1/payload.js";
|
|
160
|
+
export * as DidManagementRegistryGet_v0_1 from "./did-management/registry/get/0.1/payload.js";
|
|
161
|
+
export * as DidManagementRegistryList_v0_1 from "./did-management/registry/list/0.1/payload.js";
|
|
162
|
+
export * as DidManagementRegistryPurgeDomain_v0_1 from "./did-management/registry/purge-domain/0.1/payload.js";
|
|
163
|
+
export * as DidManagementReplicaDomainAssign_v0_1 from "./did-management/replica/domain/assign/0.1/payload.js";
|
|
164
|
+
export * as DidManagementReplicaDomainPurge_v0_1 from "./did-management/replica/domain/purge/0.1/payload.js";
|
|
165
|
+
export * as DidManagementReplicaDomainUnassign_v0_1 from "./did-management/replica/domain/unassign/0.1/payload.js";
|
|
166
|
+
export * as DidManagementReplicaDomainUpsert_v0_1 from "./did-management/replica/domain/upsert/0.1/payload.js";
|
|
167
|
+
export * as DidManagementServerConfig_v0_1 from "./did-management/server/config/0.1/payload.js";
|
|
147
168
|
export * as DidManagementServerHealth_v0_1 from "./did-management/server/health/0.1/payload.js";
|
|
169
|
+
export * as DidManagementServerInfo_v0_1 from "./did-management/server/info/0.1/payload.js";
|
|
170
|
+
export * as DidManagementServerMetrics_v0_1 from "./did-management/server/metrics/0.1/payload.js";
|
|
148
171
|
export * as DidManagementServerRegister_v0_1 from "./did-management/server/register/0.1/payload.js";
|
|
149
172
|
export * as DidManagementServerStatsSync_v0_1 from "./did-management/server/stats-sync/0.1/payload.js";
|
|
173
|
+
export * as DidManagementStatsGet_v0_1 from "./did-management/stats/get/0.1/payload.js";
|
|
174
|
+
export * as DidManagementStatsTimeseries_v0_1 from "./did-management/stats/timeseries/0.1/payload.js";
|
|
150
175
|
export * as GitNsShared_v0_1 from "./git-ns/_shared/0.1/git-ns.js";
|
|
151
176
|
export * as GitNsShared_v0_2 from "./git-ns/_shared/0.2/git-ns.js";
|
|
152
177
|
export * as GitNsShared_v0_3 from "./git-ns/_shared/0.3/git-ns.js";
|
|
@@ -639,8 +664,17 @@ export * as VtcWebsiteFilesDelete_v0_1 from "./vtc/website/files/delete/0.1/payl
|
|
|
639
664
|
export * as VtcWebsiteFilesList_v0_1 from "./vtc/website/files/list/0.1/payload.js";
|
|
640
665
|
export * as VtcWebsiteGenerationsList_v0_1 from "./vtc/website/generations/list/0.1/payload.js";
|
|
641
666
|
export * as VtcWebsiteRollback_v0_1 from "./vtc/website/rollback/0.1/payload.js";
|
|
667
|
+
export * as SyncUpdateShared_v0_1 from "./webvh/_shared/0.1/sync-update.js";
|
|
668
|
+
export * as WitnessKeyShared_v0_1 from "./webvh/_shared/0.1/witness-key.js";
|
|
669
|
+
export * as WebvhSyncBatch_v0_1 from "./webvh/sync/batch/0.1/payload.js";
|
|
642
670
|
export * as WebvhSyncDelete_v0_1 from "./webvh/sync/delete/0.1/payload.js";
|
|
671
|
+
export * as WebvhSyncDelete_v0_2 from "./webvh/sync/delete/0.2/payload.js";
|
|
643
672
|
export * as WebvhSyncUpdate_v0_1 from "./webvh/sync/update/0.1/payload.js";
|
|
673
|
+
export * as WebvhSyncUpdate_v0_2 from "./webvh/sync/update/0.2/payload.js";
|
|
674
|
+
export * as WebvhWitnessKeyCreate_v0_1 from "./webvh/witness/key/create/0.1/payload.js";
|
|
675
|
+
export * as WebvhWitnessKeyDelete_v0_1 from "./webvh/witness/key/delete/0.1/payload.js";
|
|
676
|
+
export * as WebvhWitnessKeyList_v0_1 from "./webvh/witness/key/list/0.1/payload.js";
|
|
644
677
|
export * as WebvhWitnessPublish_v0_1 from "./webvh/witness/publish/0.1/payload.js";
|
|
678
|
+
export * as WebvhWitnessSign_v0_1 from "./webvh/witness/sign/0.1/payload.js";
|
|
645
679
|
export * as WitnessSession_v0_1 from "./witness/session/0.1/payload.js";
|
|
646
680
|
export * as WitnessSessionSubmit_v0_1 from "./witness/session/submit/0.1/payload.js";
|
|
@@ -14,4 +14,4 @@ export interface VTCSharedAdminInviteDefinitions {
|
|
|
14
14
|
* The definitions this shared schema publishes, hoisted to one declaration each.
|
|
15
15
|
* See "../../../_shared/components.js".
|
|
16
16
|
*/
|
|
17
|
-
export type { InviteStatus, InviteSummary } from "../../../_shared/components.js";
|
|
17
|
+
export type { InviteStatus, InviteSummary_VtcV0_1 as InviteSummary } from "../../../_shared/components.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Source: specs/vtc/admin/invites/list/0.1/payload.schema.json
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type { Ext, InviteStatus, InviteSummary } from "../../../../../_shared/components.js";
|
|
6
|
+
import type { Ext, InviteStatus, InviteSummary_VtcV0_1 as InviteSummary } from "../../../../../_shared/components.js";
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
export interface VTCAdminInvitesListPayload {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/webvh/_shared/0.1/sync-update.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* One did:webvh slot's complete current state, as a source replicates it to a replica. Used by webvh/sync/update/0.2 and by each entry of webvh/sync/batch/0.1. Not itself a Trust Task specification (the `_shared` folder is skipped by the registry build and the codegen).
|
|
8
|
+
*/
|
|
9
|
+
export interface SyncUpdateSharedDefinitionForTheWebvhSyncSpecFamily {
|
|
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 { SyncUpdate } from "../../../_shared/components.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/webvh/_shared/0.1/witness-key.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* One witness identity a witness service holds, as its administrator reads it. Carries no key material. Not itself a Trust Task specification (the `_shared` folder is skipped by the registry build and the codegen).
|
|
8
|
+
*/
|
|
9
|
+
export interface WitnessKeySharedDefinitionForTheWebvhWitnessKeySpecFamily {
|
|
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 { WitnessKey } from "../../../_shared/components.js";
|