@openvtc/trust-tasks 0.21.3 → 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 +72 -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/admin-list/0.1/payload.d.ts +484 -0
- package/dist/auth/passkey/admin-list/0.1/payload.d.ts.map +1 -0
- package/dist/auth/passkey/admin-list/0.1/payload.js +257 -0
- package/dist/auth/passkey/admin-list/0.1/payload.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/git-ns/namespace/list/0.1/payload.d.ts +1343 -0
- package/dist/git-ns/namespace/list/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/namespace/list/0.1/payload.js +704 -0
- package/dist/git-ns/namespace/list/0.1/payload.js.map +1 -0
- package/dist/git-ns/repo/list/0.1/payload.d.ts +1377 -0
- package/dist/git-ns/repo/list/0.1/payload.d.ts.map +1 -0
- package/dist/git-ns/repo/list/0.1/payload.js +744 -0
- package/dist/git-ns/repo/list/0.1/payload.js.map +1 -0
- package/dist/git-ns/view/0.5/payload.d.ts +1722 -0
- package/dist/git-ns/view/0.5/payload.d.ts.map +1 -0
- package/dist/git-ns/view/0.5/payload.js +1024 -0
- package/dist/git-ns/view/0.5/payload.js.map +1 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +38 -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/admin-list/0.1/payload.ts +338 -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/git-ns/namespace/list/0.1/payload.ts +883 -0
- package/src/git-ns/repo/list/0.1/payload.ts +909 -0
- package/src/git-ns/view/0.5/payload.ts +1095 -0
- package/src/index.ts +38 -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,16 @@
|
|
|
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
|
+
* 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).
|
|
7
|
+
*/
|
|
8
|
+
export interface SyncUpdateSharedDefinitionForTheWebvhSyncSpecFamily {
|
|
9
|
+
[k: string]: unknown | undefined;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The definitions this shared schema publishes, hoisted to one declaration each.
|
|
13
|
+
* See "../../../_shared/components.js".
|
|
14
|
+
*/
|
|
15
|
+
export type { SyncUpdate } from "../../../_shared/components.js";
|
|
16
|
+
//# sourceMappingURL=sync-update.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync-update.d.ts","sourceRoot":"","sources":["../../../../src/webvh/_shared/0.1/sync-update.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,mDAAmD;IAClE,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync-update.js","sourceRoot":"","sources":["../../../../src/webvh/_shared/0.1/sync-update.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
* 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).
|
|
7
|
+
*/
|
|
8
|
+
export interface WitnessKeySharedDefinitionForTheWebvhWitnessKeySpecFamily {
|
|
9
|
+
[k: string]: unknown | undefined;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The definitions this shared schema publishes, hoisted to one declaration each.
|
|
13
|
+
* See "../../../_shared/components.js".
|
|
14
|
+
*/
|
|
15
|
+
export type { WitnessKey } from "../../../_shared/components.js";
|
|
16
|
+
//# sourceMappingURL=witness-key.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"witness-key.d.ts","sourceRoot":"","sources":["../../../../src/webvh/_shared/0.1/witness-key.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,yDAAyD;IACxE,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"witness-key.js","sourceRoot":"","sources":["../../../../src/webvh/_shared/0.1/witness-key.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,503 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/webvh/sync/batch/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { Ext, SyncUpdate } from "../../../../_shared/components.js";
|
|
6
|
+
export interface WebVHSyncBatchPayload {
|
|
7
|
+
/**
|
|
8
|
+
* Complete slot states, each applied exactly as a webvh/sync/update/0.2 carrying it would be. A mnemonic appears at most once.
|
|
9
|
+
*
|
|
10
|
+
* @minItems 1
|
|
11
|
+
* @maxItems 50
|
|
12
|
+
*/
|
|
13
|
+
updates: [SyncUpdate, ...SyncUpdate[]];
|
|
14
|
+
ext?: Ext;
|
|
15
|
+
}
|
|
16
|
+
export interface WebVHSyncBatchResponsePayload {
|
|
17
|
+
/**
|
|
18
|
+
* One result per entry of `updates`, in request order.
|
|
19
|
+
*/
|
|
20
|
+
results: EntryResult[];
|
|
21
|
+
ext?: Ext;
|
|
22
|
+
}
|
|
23
|
+
export interface EntryResult {
|
|
24
|
+
mnemonic: string;
|
|
25
|
+
/**
|
|
26
|
+
* `applied` and `unchanged` as in webvh/sync/update/0.2. `refused` — the entry was permanently refused; see `code`.
|
|
27
|
+
*/
|
|
28
|
+
status: "applied" | "unchanged" | "refused";
|
|
29
|
+
/**
|
|
30
|
+
* Present if and only if `status` is `refused`: the webvh/sync/update/0.2 error code the entry would have received on its own (e.g. `webvh/sync/update:historyRewrite`).
|
|
31
|
+
*/
|
|
32
|
+
code?: string;
|
|
33
|
+
}
|
|
34
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
35
|
+
export type { Ext, SyncUpdate };
|
|
36
|
+
/** Trust Task type URI. */
|
|
37
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/webvh/sync/batch/0.1";
|
|
38
|
+
/** Stable alias for this specification's request payload shape. */
|
|
39
|
+
export type Payload = WebVHSyncBatchPayload;
|
|
40
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
41
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/webvh/sync/batch/0.1#response";
|
|
42
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
43
|
+
export type Response = WebVHSyncBatchResponsePayload;
|
|
44
|
+
/**
|
|
45
|
+
* This specification's payload schema, as a value.
|
|
46
|
+
*
|
|
47
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
48
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
49
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
50
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
51
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
52
|
+
*/
|
|
53
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
54
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
55
|
+
readonly $id: "https://trusttasks.org/spec/webvh/sync/batch/0.1";
|
|
56
|
+
readonly title: "WebVH Sync Batch — payload";
|
|
57
|
+
readonly type: "object";
|
|
58
|
+
readonly additionalProperties: false;
|
|
59
|
+
readonly required: readonly ["updates"];
|
|
60
|
+
readonly properties: {
|
|
61
|
+
readonly updates: {
|
|
62
|
+
readonly type: "array";
|
|
63
|
+
readonly minItems: 1;
|
|
64
|
+
readonly maxItems: 50;
|
|
65
|
+
readonly items: {
|
|
66
|
+
readonly $ref: "#/$defs/SyncUpdate";
|
|
67
|
+
};
|
|
68
|
+
readonly description: "Complete slot states, each applied exactly as a webvh/sync/update/0.2 carrying it would be. A mnemonic appears at most once.";
|
|
69
|
+
};
|
|
70
|
+
readonly ext: {
|
|
71
|
+
readonly $ref: "#/$defs/Ext";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
readonly $defs: {
|
|
75
|
+
readonly Response: {
|
|
76
|
+
readonly $anchor: "response";
|
|
77
|
+
readonly title: "WebVH Sync Batch — response payload";
|
|
78
|
+
readonly type: "object";
|
|
79
|
+
readonly additionalProperties: false;
|
|
80
|
+
readonly required: readonly ["results"];
|
|
81
|
+
readonly properties: {
|
|
82
|
+
readonly results: {
|
|
83
|
+
readonly type: "array";
|
|
84
|
+
readonly items: {
|
|
85
|
+
readonly $ref: "#/$defs/EntryResult";
|
|
86
|
+
};
|
|
87
|
+
readonly description: "One result per entry of `updates`, in request order.";
|
|
88
|
+
};
|
|
89
|
+
readonly ext: {
|
|
90
|
+
readonly $ref: "#/$defs/Ext";
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
readonly EntryResult: {
|
|
95
|
+
readonly title: "EntryResult";
|
|
96
|
+
readonly type: "object";
|
|
97
|
+
readonly additionalProperties: false;
|
|
98
|
+
readonly required: readonly ["mnemonic", "status"];
|
|
99
|
+
readonly properties: {
|
|
100
|
+
readonly mnemonic: {
|
|
101
|
+
readonly type: "string";
|
|
102
|
+
readonly minLength: 1;
|
|
103
|
+
};
|
|
104
|
+
readonly status: {
|
|
105
|
+
readonly type: "string";
|
|
106
|
+
readonly enum: readonly ["applied", "unchanged", "refused"];
|
|
107
|
+
readonly description: "`applied` and `unchanged` as in webvh/sync/update/0.2. `refused` — the entry was permanently refused; see `code`.";
|
|
108
|
+
};
|
|
109
|
+
readonly code: {
|
|
110
|
+
readonly type: "string";
|
|
111
|
+
readonly minLength: 1;
|
|
112
|
+
readonly description: "Present if and only if `status` is `refused`: the webvh/sync/update/0.2 error code the entry would have received on its own (e.g. `webvh/sync/update:historyRewrite`).";
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
readonly Ext: {
|
|
117
|
+
readonly title: "Ext";
|
|
118
|
+
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.";
|
|
119
|
+
readonly type: "object";
|
|
120
|
+
readonly minProperties: 1;
|
|
121
|
+
readonly additionalProperties: true;
|
|
122
|
+
readonly propertyNames: {
|
|
123
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
readonly SyncUpdate: {
|
|
127
|
+
readonly title: "SyncUpdate";
|
|
128
|
+
readonly type: "object";
|
|
129
|
+
readonly additionalProperties: false;
|
|
130
|
+
readonly required: readonly ["mnemonic", "didId", "logContent", "versionCount", "disabled"];
|
|
131
|
+
readonly properties: {
|
|
132
|
+
readonly mnemonic: {
|
|
133
|
+
readonly type: "string";
|
|
134
|
+
readonly minLength: 1;
|
|
135
|
+
readonly description: "The slot path on its hosting domain (e.g. `alice`, `people/alice`, or `.well-known` for a root DID).";
|
|
136
|
+
};
|
|
137
|
+
readonly didId: {
|
|
138
|
+
readonly type: "string";
|
|
139
|
+
readonly minLength: 1;
|
|
140
|
+
readonly description: "The DID the log establishes. A replica MUST refuse a log that does not establish exactly this DID.";
|
|
141
|
+
};
|
|
142
|
+
readonly logContent: {
|
|
143
|
+
readonly type: "string";
|
|
144
|
+
readonly minLength: 1;
|
|
145
|
+
readonly description: "The slot's complete did.jsonl — one log entry per line — not a delta.";
|
|
146
|
+
};
|
|
147
|
+
readonly witnessContent: {
|
|
148
|
+
readonly type: "string";
|
|
149
|
+
readonly minLength: 1;
|
|
150
|
+
readonly description: "The slot's did-witness.json. ABSENT means the slot holds no witness proofs: the replica MUST drop any witness proofs it holds for the slot. Absence never means \"unchanged\".";
|
|
151
|
+
};
|
|
152
|
+
readonly versionCount: {
|
|
153
|
+
readonly type: "integer";
|
|
154
|
+
readonly minimum: 1;
|
|
155
|
+
readonly description: "Number of entries in `logContent`, as the source counts them. A replica MUST refuse an update whose `logContent` does not contain exactly this many entries.";
|
|
156
|
+
};
|
|
157
|
+
readonly disabled: {
|
|
158
|
+
readonly type: "boolean";
|
|
159
|
+
readonly description: "Whether the source has disabled the slot. A replica MUST stop serving a disabled slot and MUST resume only on an update carrying `false`.";
|
|
160
|
+
};
|
|
161
|
+
readonly ext: {
|
|
162
|
+
readonly $ref: "#/$defs/Ext";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
169
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
170
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
171
|
+
readonly $ref: "#/$defs/Response";
|
|
172
|
+
readonly $defs: {
|
|
173
|
+
readonly Response: {
|
|
174
|
+
readonly $anchor: "response";
|
|
175
|
+
readonly title: "WebVH Sync Batch — response payload";
|
|
176
|
+
readonly type: "object";
|
|
177
|
+
readonly additionalProperties: false;
|
|
178
|
+
readonly required: readonly ["results"];
|
|
179
|
+
readonly properties: {
|
|
180
|
+
readonly results: {
|
|
181
|
+
readonly type: "array";
|
|
182
|
+
readonly items: {
|
|
183
|
+
readonly $ref: "#/$defs/EntryResult";
|
|
184
|
+
};
|
|
185
|
+
readonly description: "One result per entry of `updates`, in request order.";
|
|
186
|
+
};
|
|
187
|
+
readonly ext: {
|
|
188
|
+
readonly $ref: "#/$defs/Ext";
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
readonly EntryResult: {
|
|
193
|
+
readonly title: "EntryResult";
|
|
194
|
+
readonly type: "object";
|
|
195
|
+
readonly additionalProperties: false;
|
|
196
|
+
readonly required: readonly ["mnemonic", "status"];
|
|
197
|
+
readonly properties: {
|
|
198
|
+
readonly mnemonic: {
|
|
199
|
+
readonly type: "string";
|
|
200
|
+
readonly minLength: 1;
|
|
201
|
+
};
|
|
202
|
+
readonly status: {
|
|
203
|
+
readonly type: "string";
|
|
204
|
+
readonly enum: readonly ["applied", "unchanged", "refused"];
|
|
205
|
+
readonly description: "`applied` and `unchanged` as in webvh/sync/update/0.2. `refused` — the entry was permanently refused; see `code`.";
|
|
206
|
+
};
|
|
207
|
+
readonly code: {
|
|
208
|
+
readonly type: "string";
|
|
209
|
+
readonly minLength: 1;
|
|
210
|
+
readonly description: "Present if and only if `status` is `refused`: the webvh/sync/update/0.2 error code the entry would have received on its own (e.g. `webvh/sync/update:historyRewrite`).";
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
readonly Ext: {
|
|
215
|
+
readonly title: "Ext";
|
|
216
|
+
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.";
|
|
217
|
+
readonly type: "object";
|
|
218
|
+
readonly minProperties: 1;
|
|
219
|
+
readonly additionalProperties: true;
|
|
220
|
+
readonly propertyNames: {
|
|
221
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
readonly SyncUpdate: {
|
|
225
|
+
readonly title: "SyncUpdate";
|
|
226
|
+
readonly type: "object";
|
|
227
|
+
readonly additionalProperties: false;
|
|
228
|
+
readonly required: readonly ["mnemonic", "didId", "logContent", "versionCount", "disabled"];
|
|
229
|
+
readonly properties: {
|
|
230
|
+
readonly mnemonic: {
|
|
231
|
+
readonly type: "string";
|
|
232
|
+
readonly minLength: 1;
|
|
233
|
+
readonly description: "The slot path on its hosting domain (e.g. `alice`, `people/alice`, or `.well-known` for a root DID).";
|
|
234
|
+
};
|
|
235
|
+
readonly didId: {
|
|
236
|
+
readonly type: "string";
|
|
237
|
+
readonly minLength: 1;
|
|
238
|
+
readonly description: "The DID the log establishes. A replica MUST refuse a log that does not establish exactly this DID.";
|
|
239
|
+
};
|
|
240
|
+
readonly logContent: {
|
|
241
|
+
readonly type: "string";
|
|
242
|
+
readonly minLength: 1;
|
|
243
|
+
readonly description: "The slot's complete did.jsonl — one log entry per line — not a delta.";
|
|
244
|
+
};
|
|
245
|
+
readonly witnessContent: {
|
|
246
|
+
readonly type: "string";
|
|
247
|
+
readonly minLength: 1;
|
|
248
|
+
readonly description: "The slot's did-witness.json. ABSENT means the slot holds no witness proofs: the replica MUST drop any witness proofs it holds for the slot. Absence never means \"unchanged\".";
|
|
249
|
+
};
|
|
250
|
+
readonly versionCount: {
|
|
251
|
+
readonly type: "integer";
|
|
252
|
+
readonly minimum: 1;
|
|
253
|
+
readonly description: "Number of entries in `logContent`, as the source counts them. A replica MUST refuse an update whose `logContent` does not contain exactly this many entries.";
|
|
254
|
+
};
|
|
255
|
+
readonly disabled: {
|
|
256
|
+
readonly type: "boolean";
|
|
257
|
+
readonly description: "Whether the source has disabled the slot. A replica MUST stop serving a disabled slot and MUST resume only on an update carrying `false`.";
|
|
258
|
+
};
|
|
259
|
+
readonly ext: {
|
|
260
|
+
readonly $ref: "#/$defs/Ext";
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
/**
|
|
267
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
268
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
269
|
+
* per-specification and cannot be derived from the document alone, and
|
|
270
|
+
* item 2 needs the schema this carries.
|
|
271
|
+
*/
|
|
272
|
+
export declare const SPEC: {
|
|
273
|
+
readonly typeUri: "https://trusttasks.org/spec/webvh/sync/batch/0.1";
|
|
274
|
+
readonly isBearer: false;
|
|
275
|
+
readonly isProofRequired: true;
|
|
276
|
+
readonly isRecipientRequired: true;
|
|
277
|
+
readonly isIssuedAtRequired: true;
|
|
278
|
+
readonly payloadSchema: {
|
|
279
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
280
|
+
readonly $id: "https://trusttasks.org/spec/webvh/sync/batch/0.1";
|
|
281
|
+
readonly title: "WebVH Sync Batch — payload";
|
|
282
|
+
readonly type: "object";
|
|
283
|
+
readonly additionalProperties: false;
|
|
284
|
+
readonly required: readonly ["updates"];
|
|
285
|
+
readonly properties: {
|
|
286
|
+
readonly updates: {
|
|
287
|
+
readonly type: "array";
|
|
288
|
+
readonly minItems: 1;
|
|
289
|
+
readonly maxItems: 50;
|
|
290
|
+
readonly items: {
|
|
291
|
+
readonly $ref: "#/$defs/SyncUpdate";
|
|
292
|
+
};
|
|
293
|
+
readonly description: "Complete slot states, each applied exactly as a webvh/sync/update/0.2 carrying it would be. A mnemonic appears at most once.";
|
|
294
|
+
};
|
|
295
|
+
readonly ext: {
|
|
296
|
+
readonly $ref: "#/$defs/Ext";
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
readonly $defs: {
|
|
300
|
+
readonly Response: {
|
|
301
|
+
readonly $anchor: "response";
|
|
302
|
+
readonly title: "WebVH Sync Batch — response payload";
|
|
303
|
+
readonly type: "object";
|
|
304
|
+
readonly additionalProperties: false;
|
|
305
|
+
readonly required: readonly ["results"];
|
|
306
|
+
readonly properties: {
|
|
307
|
+
readonly results: {
|
|
308
|
+
readonly type: "array";
|
|
309
|
+
readonly items: {
|
|
310
|
+
readonly $ref: "#/$defs/EntryResult";
|
|
311
|
+
};
|
|
312
|
+
readonly description: "One result per entry of `updates`, in request order.";
|
|
313
|
+
};
|
|
314
|
+
readonly ext: {
|
|
315
|
+
readonly $ref: "#/$defs/Ext";
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
readonly EntryResult: {
|
|
320
|
+
readonly title: "EntryResult";
|
|
321
|
+
readonly type: "object";
|
|
322
|
+
readonly additionalProperties: false;
|
|
323
|
+
readonly required: readonly ["mnemonic", "status"];
|
|
324
|
+
readonly properties: {
|
|
325
|
+
readonly mnemonic: {
|
|
326
|
+
readonly type: "string";
|
|
327
|
+
readonly minLength: 1;
|
|
328
|
+
};
|
|
329
|
+
readonly status: {
|
|
330
|
+
readonly type: "string";
|
|
331
|
+
readonly enum: readonly ["applied", "unchanged", "refused"];
|
|
332
|
+
readonly description: "`applied` and `unchanged` as in webvh/sync/update/0.2. `refused` — the entry was permanently refused; see `code`.";
|
|
333
|
+
};
|
|
334
|
+
readonly code: {
|
|
335
|
+
readonly type: "string";
|
|
336
|
+
readonly minLength: 1;
|
|
337
|
+
readonly description: "Present if and only if `status` is `refused`: the webvh/sync/update/0.2 error code the entry would have received on its own (e.g. `webvh/sync/update:historyRewrite`).";
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
readonly Ext: {
|
|
342
|
+
readonly title: "Ext";
|
|
343
|
+
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.";
|
|
344
|
+
readonly type: "object";
|
|
345
|
+
readonly minProperties: 1;
|
|
346
|
+
readonly additionalProperties: true;
|
|
347
|
+
readonly propertyNames: {
|
|
348
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
readonly SyncUpdate: {
|
|
352
|
+
readonly title: "SyncUpdate";
|
|
353
|
+
readonly type: "object";
|
|
354
|
+
readonly additionalProperties: false;
|
|
355
|
+
readonly required: readonly ["mnemonic", "didId", "logContent", "versionCount", "disabled"];
|
|
356
|
+
readonly properties: {
|
|
357
|
+
readonly mnemonic: {
|
|
358
|
+
readonly type: "string";
|
|
359
|
+
readonly minLength: 1;
|
|
360
|
+
readonly description: "The slot path on its hosting domain (e.g. `alice`, `people/alice`, or `.well-known` for a root DID).";
|
|
361
|
+
};
|
|
362
|
+
readonly didId: {
|
|
363
|
+
readonly type: "string";
|
|
364
|
+
readonly minLength: 1;
|
|
365
|
+
readonly description: "The DID the log establishes. A replica MUST refuse a log that does not establish exactly this DID.";
|
|
366
|
+
};
|
|
367
|
+
readonly logContent: {
|
|
368
|
+
readonly type: "string";
|
|
369
|
+
readonly minLength: 1;
|
|
370
|
+
readonly description: "The slot's complete did.jsonl — one log entry per line — not a delta.";
|
|
371
|
+
};
|
|
372
|
+
readonly witnessContent: {
|
|
373
|
+
readonly type: "string";
|
|
374
|
+
readonly minLength: 1;
|
|
375
|
+
readonly description: "The slot's did-witness.json. ABSENT means the slot holds no witness proofs: the replica MUST drop any witness proofs it holds for the slot. Absence never means \"unchanged\".";
|
|
376
|
+
};
|
|
377
|
+
readonly versionCount: {
|
|
378
|
+
readonly type: "integer";
|
|
379
|
+
readonly minimum: 1;
|
|
380
|
+
readonly description: "Number of entries in `logContent`, as the source counts them. A replica MUST refuse an update whose `logContent` does not contain exactly this many entries.";
|
|
381
|
+
};
|
|
382
|
+
readonly disabled: {
|
|
383
|
+
readonly type: "boolean";
|
|
384
|
+
readonly description: "Whether the source has disabled the slot. A replica MUST stop serving a disabled slot and MUST resume only on an update carrying `false`.";
|
|
385
|
+
};
|
|
386
|
+
readonly ext: {
|
|
387
|
+
readonly $ref: "#/$defs/Ext";
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
/**
|
|
395
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
396
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
397
|
+
* parties (§7.3 item 5).
|
|
398
|
+
*/
|
|
399
|
+
export declare const RESPONSE_SPEC: {
|
|
400
|
+
readonly typeUri: "https://trusttasks.org/spec/webvh/sync/batch/0.1#response";
|
|
401
|
+
readonly isBearer: false;
|
|
402
|
+
readonly isProofRequired: true;
|
|
403
|
+
readonly isRecipientRequired: true;
|
|
404
|
+
readonly isIssuedAtRequired: true;
|
|
405
|
+
readonly payloadSchema: {
|
|
406
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
407
|
+
readonly $ref: "#/$defs/Response";
|
|
408
|
+
readonly $defs: {
|
|
409
|
+
readonly Response: {
|
|
410
|
+
readonly $anchor: "response";
|
|
411
|
+
readonly title: "WebVH Sync Batch — response payload";
|
|
412
|
+
readonly type: "object";
|
|
413
|
+
readonly additionalProperties: false;
|
|
414
|
+
readonly required: readonly ["results"];
|
|
415
|
+
readonly properties: {
|
|
416
|
+
readonly results: {
|
|
417
|
+
readonly type: "array";
|
|
418
|
+
readonly items: {
|
|
419
|
+
readonly $ref: "#/$defs/EntryResult";
|
|
420
|
+
};
|
|
421
|
+
readonly description: "One result per entry of `updates`, in request order.";
|
|
422
|
+
};
|
|
423
|
+
readonly ext: {
|
|
424
|
+
readonly $ref: "#/$defs/Ext";
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
readonly EntryResult: {
|
|
429
|
+
readonly title: "EntryResult";
|
|
430
|
+
readonly type: "object";
|
|
431
|
+
readonly additionalProperties: false;
|
|
432
|
+
readonly required: readonly ["mnemonic", "status"];
|
|
433
|
+
readonly properties: {
|
|
434
|
+
readonly mnemonic: {
|
|
435
|
+
readonly type: "string";
|
|
436
|
+
readonly minLength: 1;
|
|
437
|
+
};
|
|
438
|
+
readonly status: {
|
|
439
|
+
readonly type: "string";
|
|
440
|
+
readonly enum: readonly ["applied", "unchanged", "refused"];
|
|
441
|
+
readonly description: "`applied` and `unchanged` as in webvh/sync/update/0.2. `refused` — the entry was permanently refused; see `code`.";
|
|
442
|
+
};
|
|
443
|
+
readonly code: {
|
|
444
|
+
readonly type: "string";
|
|
445
|
+
readonly minLength: 1;
|
|
446
|
+
readonly description: "Present if and only if `status` is `refused`: the webvh/sync/update/0.2 error code the entry would have received on its own (e.g. `webvh/sync/update:historyRewrite`).";
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
readonly Ext: {
|
|
451
|
+
readonly title: "Ext";
|
|
452
|
+
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.";
|
|
453
|
+
readonly type: "object";
|
|
454
|
+
readonly minProperties: 1;
|
|
455
|
+
readonly additionalProperties: true;
|
|
456
|
+
readonly propertyNames: {
|
|
457
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
readonly SyncUpdate: {
|
|
461
|
+
readonly title: "SyncUpdate";
|
|
462
|
+
readonly type: "object";
|
|
463
|
+
readonly additionalProperties: false;
|
|
464
|
+
readonly required: readonly ["mnemonic", "didId", "logContent", "versionCount", "disabled"];
|
|
465
|
+
readonly properties: {
|
|
466
|
+
readonly mnemonic: {
|
|
467
|
+
readonly type: "string";
|
|
468
|
+
readonly minLength: 1;
|
|
469
|
+
readonly description: "The slot path on its hosting domain (e.g. `alice`, `people/alice`, or `.well-known` for a root DID).";
|
|
470
|
+
};
|
|
471
|
+
readonly didId: {
|
|
472
|
+
readonly type: "string";
|
|
473
|
+
readonly minLength: 1;
|
|
474
|
+
readonly description: "The DID the log establishes. A replica MUST refuse a log that does not establish exactly this DID.";
|
|
475
|
+
};
|
|
476
|
+
readonly logContent: {
|
|
477
|
+
readonly type: "string";
|
|
478
|
+
readonly minLength: 1;
|
|
479
|
+
readonly description: "The slot's complete did.jsonl — one log entry per line — not a delta.";
|
|
480
|
+
};
|
|
481
|
+
readonly witnessContent: {
|
|
482
|
+
readonly type: "string";
|
|
483
|
+
readonly minLength: 1;
|
|
484
|
+
readonly description: "The slot's did-witness.json. ABSENT means the slot holds no witness proofs: the replica MUST drop any witness proofs it holds for the slot. Absence never means \"unchanged\".";
|
|
485
|
+
};
|
|
486
|
+
readonly versionCount: {
|
|
487
|
+
readonly type: "integer";
|
|
488
|
+
readonly minimum: 1;
|
|
489
|
+
readonly description: "Number of entries in `logContent`, as the source counts them. A replica MUST refuse an update whose `logContent` does not contain exactly this many entries.";
|
|
490
|
+
};
|
|
491
|
+
readonly disabled: {
|
|
492
|
+
readonly type: "boolean";
|
|
493
|
+
readonly description: "Whether the source has disabled the slot. A replica MUST stop serving a disabled slot and MUST resume only on an update carrying `false`.";
|
|
494
|
+
};
|
|
495
|
+
readonly ext: {
|
|
496
|
+
readonly $ref: "#/$defs/Ext";
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/webvh/sync/batch/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAGzE,MAAM,WAAW,qBAAqB;IACpC;;;;;OAKG;IACH,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,UAAU,EAAE,CAAC,CAAC;IACvC,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;IAC5C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,UAAU,EAAE,CAAC;AAEhC,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,kDAA2D,CAAC;AAEpF,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,qBAAqB,CAAC;AAE5C,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,2DAAoE,CAAC;AAEtG,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,6BAA6B,CAAC;AAErD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmIjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+G1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|