@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
package/src/index.ts
CHANGED
|
@@ -25,15 +25,20 @@ 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";
|
|
31
32
|
export * as AuthAuthenticate_v0_1 from "./auth/authenticate/0.1/payload.js";
|
|
32
33
|
export * as AuthChallenge_v0_1 from "./auth/challenge/0.1/payload.js";
|
|
34
|
+
export * as AuthPasskeyAdminList_v0_1 from "./auth/passkey/admin-list/0.1/payload.js";
|
|
33
35
|
export * as AuthPasskeyEnrollFinish_v0_1 from "./auth/passkey/enroll/finish/0.1/payload.js";
|
|
34
36
|
export * as AuthPasskeyEnrollFinish_v0_2 from "./auth/passkey/enroll/finish/0.2/payload.js";
|
|
35
37
|
export * as AuthPasskeyEnrollInvite_v0_1 from "./auth/passkey/enroll/invite/0.1/payload.js";
|
|
36
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";
|
|
37
42
|
export * as AuthPasskeyEnrollRedeemFinish_v0_1 from "./auth/passkey/enroll/redeem/finish/0.1/payload.js";
|
|
38
43
|
export * as AuthPasskeyEnrollRedeemStart_v0_1 from "./auth/passkey/enroll/redeem/start/0.1/payload.js";
|
|
39
44
|
export * as AuthPasskeyEnrollStart_v0_1 from "./auth/passkey/enroll/start/0.1/payload.js";
|
|
@@ -60,6 +65,7 @@ export * as AuthStepUpApproveResponse_v0_4 from "./auth/step-up/approve-response
|
|
|
60
65
|
export * as AuthStepUpApproveResponse_v0_5 from "./auth/step-up/approve-response/0.5/payload.js";
|
|
61
66
|
export * as AuthStepUpPolicy_v0_1 from "./auth/step-up/policy/0.1/payload.js";
|
|
62
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";
|
|
63
69
|
export * as AuthWhoami_v0_1 from "./auth/whoami/0.1/payload.js";
|
|
64
70
|
export * as BackupAbort_v0_1 from "./backup/abort/0.1/payload.js";
|
|
65
71
|
export * as BackupCompleteExport_v0_1 from "./backup/complete-export/0.1/payload.js";
|
|
@@ -112,11 +118,14 @@ export * as WebvhShared_v0_1 from "./did-management/_shared/0.1/did-method-exten
|
|
|
112
118
|
export * as DidRecordShared_v0_1 from "./did-management/_shared/0.1/did-record.js";
|
|
113
119
|
export * as DomainEntryShared_v0_1 from "./did-management/_shared/0.1/domain-entry.js";
|
|
114
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";
|
|
115
123
|
export * as DidManagementAgentNameCheck_v0_1 from "./did-management/agent-name/check/0.1/payload.js";
|
|
116
124
|
export * as DidManagementAgentNameDisable_v0_1 from "./did-management/agent-name/disable/0.1/payload.js";
|
|
117
125
|
export * as DidManagementAgentNameEnable_v0_1 from "./did-management/agent-name/enable/0.1/payload.js";
|
|
118
126
|
export * as DidManagementAgentNameList_v0_1 from "./did-management/agent-name/list/0.1/payload.js";
|
|
119
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";
|
|
120
129
|
export * as DidManagementAgentNameSet_v0_1 from "./did-management/agent-name/set/0.1/payload.js";
|
|
121
130
|
export * as DidManagementAgentNameUpdate_v0_1 from "./did-management/agent-name/update/0.1/payload.js";
|
|
122
131
|
export * as DidManagementDidChangeOwner_v0_1 from "./did-management/did/change-owner/0.1/payload.js";
|
|
@@ -126,6 +135,7 @@ export * as DidManagementDidDisable_v0_1 from "./did-management/did/disable/0.1/
|
|
|
126
135
|
export * as DidManagementDidEnable_v0_1 from "./did-management/did/enable/0.1/payload.js";
|
|
127
136
|
export * as DidManagementDidInfo_v0_1 from "./did-management/did/info/0.1/payload.js";
|
|
128
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";
|
|
129
139
|
export * as DidManagementDidProblemReport_v0_1 from "./did-management/did/problem-report/0.1/payload.js";
|
|
130
140
|
export * as DidManagementDidPublish_v0_1 from "./did-management/did/publish/0.1/payload.js";
|
|
131
141
|
export * as DidManagementDidRegister_v0_1 from "./did-management/did/register/0.1/payload.js";
|
|
@@ -135,17 +145,33 @@ export * as DidManagementDomainAssign_v0_1 from "./did-management/domain/assign/
|
|
|
135
145
|
export * as DidManagementDomainCreate_v0_1 from "./did-management/domain/create/0.1/payload.js";
|
|
136
146
|
export * as DidManagementDomainDisable_v0_1 from "./did-management/domain/disable/0.1/payload.js";
|
|
137
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";
|
|
138
149
|
export * as DidManagementDomainPurge_v0_1 from "./did-management/domain/purge/0.1/payload.js";
|
|
139
150
|
export * as DidManagementDomainSetDefault_v0_1 from "./did-management/domain/set-default/0.1/payload.js";
|
|
140
151
|
export * as DidManagementDomainSetState_v0_1 from "./did-management/domain/set-state/0.1/payload.js";
|
|
141
152
|
export * as DidManagementDomainUnassign_v0_1 from "./did-management/domain/unassign/0.1/payload.js";
|
|
142
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";
|
|
143
156
|
export * as DidManagementMeDomains_v0_1 from "./did-management/me/domains/0.1/payload.js";
|
|
144
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";
|
|
145
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";
|
|
146
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";
|
|
147
171
|
export * as DidManagementServerRegister_v0_1 from "./did-management/server/register/0.1/payload.js";
|
|
148
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";
|
|
149
175
|
export * as GitNsShared_v0_1 from "./git-ns/_shared/0.1/git-ns.js";
|
|
150
176
|
export * as GitNsShared_v0_2 from "./git-ns/_shared/0.2/git-ns.js";
|
|
151
177
|
export * as GitNsShared_v0_3 from "./git-ns/_shared/0.3/git-ns.js";
|
|
@@ -165,6 +191,7 @@ export * as GitNsDriftResolve_v0_1 from "./git-ns/drift/resolve/0.1/payload.js";
|
|
|
165
191
|
export * as GitNsDriftResolve_v0_2 from "./git-ns/drift/resolve/0.2/payload.js";
|
|
166
192
|
export * as GitNsDriftResolve_v0_3 from "./git-ns/drift/resolve/0.3/payload.js";
|
|
167
193
|
export * as GitNsNamespaceBind_v0_1 from "./git-ns/namespace/bind/0.1/payload.js";
|
|
194
|
+
export * as GitNsNamespaceList_v0_1 from "./git-ns/namespace/list/0.1/payload.js";
|
|
168
195
|
export * as GitNsNamespaceReseat_v0_1 from "./git-ns/namespace/reseat/0.1/payload.js";
|
|
169
196
|
export * as GitNsNamespaceReseat_v0_2 from "./git-ns/namespace/reseat/0.2/payload.js";
|
|
170
197
|
export * as GitNsNamespaceReseat_v0_3 from "./git-ns/namespace/reseat/0.3/payload.js";
|
|
@@ -176,6 +203,7 @@ export * as GitNsRepoArchive_v0_2 from "./git-ns/repo/archive/0.2/payload.js";
|
|
|
176
203
|
export * as GitNsRepoCreate_v0_1 from "./git-ns/repo/create/0.1/payload.js";
|
|
177
204
|
export * as GitNsRepoCreate_v0_2 from "./git-ns/repo/create/0.2/payload.js";
|
|
178
205
|
export * as GitNsRepoCreate_v0_3 from "./git-ns/repo/create/0.3/payload.js";
|
|
206
|
+
export * as GitNsRepoList_v0_1 from "./git-ns/repo/list/0.1/payload.js";
|
|
179
207
|
export * as GitNsRepoTransfer_v0_1 from "./git-ns/repo/transfer/0.1/payload.js";
|
|
180
208
|
export * as GitNsRepoTransfer_v0_2 from "./git-ns/repo/transfer/0.2/payload.js";
|
|
181
209
|
export * as GitNsRightBreakGlassNotice_v0_1 from "./git-ns/right/break-glass-notice/0.1/payload.js";
|
|
@@ -192,6 +220,7 @@ export * as GitNsView_v0_1 from "./git-ns/view/0.1/payload.js";
|
|
|
192
220
|
export * as GitNsView_v0_2 from "./git-ns/view/0.2/payload.js";
|
|
193
221
|
export * as GitNsView_v0_3 from "./git-ns/view/0.3/payload.js";
|
|
194
222
|
export * as GitNsView_v0_4 from "./git-ns/view/0.4/payload.js";
|
|
223
|
+
export * as GitNsView_v0_5 from "./git-ns/view/0.5/payload.js";
|
|
195
224
|
export * as GitTrustGrant_v0_1 from "./git-trust/grant/0.1/payload.js";
|
|
196
225
|
export * as GitTrustRevoke_v0_1 from "./git-trust/revoke/0.1/payload.js";
|
|
197
226
|
export * as GovernanceShared_v0_1 from "./governance/_shared/0.1/governance.js";
|
|
@@ -635,8 +664,17 @@ export * as VtcWebsiteFilesDelete_v0_1 from "./vtc/website/files/delete/0.1/payl
|
|
|
635
664
|
export * as VtcWebsiteFilesList_v0_1 from "./vtc/website/files/list/0.1/payload.js";
|
|
636
665
|
export * as VtcWebsiteGenerationsList_v0_1 from "./vtc/website/generations/list/0.1/payload.js";
|
|
637
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";
|
|
638
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";
|
|
639
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";
|
|
640
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";
|
|
641
679
|
export * as WitnessSession_v0_1 from "./witness/session/0.1/payload.js";
|
|
642
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";
|
|
@@ -0,0 +1,336 @@
|
|
|
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
|
+
|
|
6
|
+
import type { Ext, SyncUpdate } from "../../../../_shared/components.js";
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
export interface WebVHSyncBatchPayload {
|
|
10
|
+
/**
|
|
11
|
+
* Complete slot states, each applied exactly as a webvh/sync/update/0.2 carrying it would be. A mnemonic appears at most once.
|
|
12
|
+
*
|
|
13
|
+
* @minItems 1
|
|
14
|
+
* @maxItems 50
|
|
15
|
+
*/
|
|
16
|
+
updates: [SyncUpdate, ...SyncUpdate[]];
|
|
17
|
+
ext?: Ext;
|
|
18
|
+
}
|
|
19
|
+
export interface WebVHSyncBatchResponsePayload {
|
|
20
|
+
/**
|
|
21
|
+
* One result per entry of `updates`, in request order.
|
|
22
|
+
*/
|
|
23
|
+
results: EntryResult[];
|
|
24
|
+
ext?: Ext;
|
|
25
|
+
}
|
|
26
|
+
export interface EntryResult {
|
|
27
|
+
mnemonic: string;
|
|
28
|
+
/**
|
|
29
|
+
* `applied` and `unchanged` as in webvh/sync/update/0.2. `refused` — the entry was permanently refused; see `code`.
|
|
30
|
+
*/
|
|
31
|
+
status: "applied" | "unchanged" | "refused";
|
|
32
|
+
/**
|
|
33
|
+
* 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`).
|
|
34
|
+
*/
|
|
35
|
+
code?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
39
|
+
export type { Ext, SyncUpdate };
|
|
40
|
+
|
|
41
|
+
/** Trust Task type URI. */
|
|
42
|
+
export const TYPE_URI = "https://trusttasks.org/spec/webvh/sync/batch/0.1" as const;
|
|
43
|
+
|
|
44
|
+
/** Stable alias for this specification's request payload shape. */
|
|
45
|
+
export type Payload = WebVHSyncBatchPayload;
|
|
46
|
+
|
|
47
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
48
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/webvh/sync/batch/0.1#response" as const;
|
|
49
|
+
|
|
50
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
51
|
+
export type Response = WebVHSyncBatchResponsePayload;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* This specification's payload schema, as a value.
|
|
55
|
+
*
|
|
56
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
57
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
58
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
59
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
60
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
61
|
+
*/
|
|
62
|
+
export const PAYLOAD_SCHEMA = {
|
|
63
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
64
|
+
"$id": "https://trusttasks.org/spec/webvh/sync/batch/0.1",
|
|
65
|
+
"title": "WebVH Sync Batch — payload",
|
|
66
|
+
"type": "object",
|
|
67
|
+
"additionalProperties": false,
|
|
68
|
+
"required": [
|
|
69
|
+
"updates"
|
|
70
|
+
],
|
|
71
|
+
"properties": {
|
|
72
|
+
"updates": {
|
|
73
|
+
"type": "array",
|
|
74
|
+
"minItems": 1,
|
|
75
|
+
"maxItems": 50,
|
|
76
|
+
"items": {
|
|
77
|
+
"$ref": "#/$defs/SyncUpdate"
|
|
78
|
+
},
|
|
79
|
+
"description": "Complete slot states, each applied exactly as a webvh/sync/update/0.2 carrying it would be. A mnemonic appears at most once."
|
|
80
|
+
},
|
|
81
|
+
"ext": {
|
|
82
|
+
"$ref": "#/$defs/Ext"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"$defs": {
|
|
86
|
+
"Response": {
|
|
87
|
+
"$anchor": "response",
|
|
88
|
+
"title": "WebVH Sync Batch — response payload",
|
|
89
|
+
"type": "object",
|
|
90
|
+
"additionalProperties": false,
|
|
91
|
+
"required": [
|
|
92
|
+
"results"
|
|
93
|
+
],
|
|
94
|
+
"properties": {
|
|
95
|
+
"results": {
|
|
96
|
+
"type": "array",
|
|
97
|
+
"items": {
|
|
98
|
+
"$ref": "#/$defs/EntryResult"
|
|
99
|
+
},
|
|
100
|
+
"description": "One result per entry of `updates`, in request order."
|
|
101
|
+
},
|
|
102
|
+
"ext": {
|
|
103
|
+
"$ref": "#/$defs/Ext"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"EntryResult": {
|
|
108
|
+
"title": "EntryResult",
|
|
109
|
+
"type": "object",
|
|
110
|
+
"additionalProperties": false,
|
|
111
|
+
"required": [
|
|
112
|
+
"mnemonic",
|
|
113
|
+
"status"
|
|
114
|
+
],
|
|
115
|
+
"properties": {
|
|
116
|
+
"mnemonic": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"minLength": 1
|
|
119
|
+
},
|
|
120
|
+
"status": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"enum": [
|
|
123
|
+
"applied",
|
|
124
|
+
"unchanged",
|
|
125
|
+
"refused"
|
|
126
|
+
],
|
|
127
|
+
"description": "`applied` and `unchanged` as in webvh/sync/update/0.2. `refused` — the entry was permanently refused; see `code`."
|
|
128
|
+
},
|
|
129
|
+
"code": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"minLength": 1,
|
|
132
|
+
"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`)."
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"Ext": {
|
|
137
|
+
"title": "Ext",
|
|
138
|
+
"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.",
|
|
139
|
+
"type": "object",
|
|
140
|
+
"minProperties": 1,
|
|
141
|
+
"additionalProperties": true,
|
|
142
|
+
"propertyNames": {
|
|
143
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"SyncUpdate": {
|
|
147
|
+
"title": "SyncUpdate",
|
|
148
|
+
"type": "object",
|
|
149
|
+
"additionalProperties": false,
|
|
150
|
+
"required": [
|
|
151
|
+
"mnemonic",
|
|
152
|
+
"didId",
|
|
153
|
+
"logContent",
|
|
154
|
+
"versionCount",
|
|
155
|
+
"disabled"
|
|
156
|
+
],
|
|
157
|
+
"properties": {
|
|
158
|
+
"mnemonic": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"minLength": 1,
|
|
161
|
+
"description": "The slot path on its hosting domain (e.g. `alice`, `people/alice`, or `.well-known` for a root DID)."
|
|
162
|
+
},
|
|
163
|
+
"didId": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"minLength": 1,
|
|
166
|
+
"description": "The DID the log establishes. A replica MUST refuse a log that does not establish exactly this DID."
|
|
167
|
+
},
|
|
168
|
+
"logContent": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"minLength": 1,
|
|
171
|
+
"description": "The slot's complete did.jsonl — one log entry per line — not a delta."
|
|
172
|
+
},
|
|
173
|
+
"witnessContent": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"minLength": 1,
|
|
176
|
+
"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\"."
|
|
177
|
+
},
|
|
178
|
+
"versionCount": {
|
|
179
|
+
"type": "integer",
|
|
180
|
+
"minimum": 1,
|
|
181
|
+
"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."
|
|
182
|
+
},
|
|
183
|
+
"disabled": {
|
|
184
|
+
"type": "boolean",
|
|
185
|
+
"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`."
|
|
186
|
+
},
|
|
187
|
+
"ext": {
|
|
188
|
+
"$ref": "#/$defs/Ext"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
} as const;
|
|
194
|
+
|
|
195
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
196
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
197
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
198
|
+
"$ref": "#/$defs/Response",
|
|
199
|
+
"$defs": {
|
|
200
|
+
"Response": {
|
|
201
|
+
"$anchor": "response",
|
|
202
|
+
"title": "WebVH Sync Batch — response payload",
|
|
203
|
+
"type": "object",
|
|
204
|
+
"additionalProperties": false,
|
|
205
|
+
"required": [
|
|
206
|
+
"results"
|
|
207
|
+
],
|
|
208
|
+
"properties": {
|
|
209
|
+
"results": {
|
|
210
|
+
"type": "array",
|
|
211
|
+
"items": {
|
|
212
|
+
"$ref": "#/$defs/EntryResult"
|
|
213
|
+
},
|
|
214
|
+
"description": "One result per entry of `updates`, in request order."
|
|
215
|
+
},
|
|
216
|
+
"ext": {
|
|
217
|
+
"$ref": "#/$defs/Ext"
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"EntryResult": {
|
|
222
|
+
"title": "EntryResult",
|
|
223
|
+
"type": "object",
|
|
224
|
+
"additionalProperties": false,
|
|
225
|
+
"required": [
|
|
226
|
+
"mnemonic",
|
|
227
|
+
"status"
|
|
228
|
+
],
|
|
229
|
+
"properties": {
|
|
230
|
+
"mnemonic": {
|
|
231
|
+
"type": "string",
|
|
232
|
+
"minLength": 1
|
|
233
|
+
},
|
|
234
|
+
"status": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"enum": [
|
|
237
|
+
"applied",
|
|
238
|
+
"unchanged",
|
|
239
|
+
"refused"
|
|
240
|
+
],
|
|
241
|
+
"description": "`applied` and `unchanged` as in webvh/sync/update/0.2. `refused` — the entry was permanently refused; see `code`."
|
|
242
|
+
},
|
|
243
|
+
"code": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"minLength": 1,
|
|
246
|
+
"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`)."
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"Ext": {
|
|
251
|
+
"title": "Ext",
|
|
252
|
+
"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.",
|
|
253
|
+
"type": "object",
|
|
254
|
+
"minProperties": 1,
|
|
255
|
+
"additionalProperties": true,
|
|
256
|
+
"propertyNames": {
|
|
257
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"SyncUpdate": {
|
|
261
|
+
"title": "SyncUpdate",
|
|
262
|
+
"type": "object",
|
|
263
|
+
"additionalProperties": false,
|
|
264
|
+
"required": [
|
|
265
|
+
"mnemonic",
|
|
266
|
+
"didId",
|
|
267
|
+
"logContent",
|
|
268
|
+
"versionCount",
|
|
269
|
+
"disabled"
|
|
270
|
+
],
|
|
271
|
+
"properties": {
|
|
272
|
+
"mnemonic": {
|
|
273
|
+
"type": "string",
|
|
274
|
+
"minLength": 1,
|
|
275
|
+
"description": "The slot path on its hosting domain (e.g. `alice`, `people/alice`, or `.well-known` for a root DID)."
|
|
276
|
+
},
|
|
277
|
+
"didId": {
|
|
278
|
+
"type": "string",
|
|
279
|
+
"minLength": 1,
|
|
280
|
+
"description": "The DID the log establishes. A replica MUST refuse a log that does not establish exactly this DID."
|
|
281
|
+
},
|
|
282
|
+
"logContent": {
|
|
283
|
+
"type": "string",
|
|
284
|
+
"minLength": 1,
|
|
285
|
+
"description": "The slot's complete did.jsonl — one log entry per line — not a delta."
|
|
286
|
+
},
|
|
287
|
+
"witnessContent": {
|
|
288
|
+
"type": "string",
|
|
289
|
+
"minLength": 1,
|
|
290
|
+
"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\"."
|
|
291
|
+
},
|
|
292
|
+
"versionCount": {
|
|
293
|
+
"type": "integer",
|
|
294
|
+
"minimum": 1,
|
|
295
|
+
"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."
|
|
296
|
+
},
|
|
297
|
+
"disabled": {
|
|
298
|
+
"type": "boolean",
|
|
299
|
+
"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`."
|
|
300
|
+
},
|
|
301
|
+
"ext": {
|
|
302
|
+
"$ref": "#/$defs/Ext"
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
} as const;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
311
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
312
|
+
* per-specification and cannot be derived from the document alone, and
|
|
313
|
+
* item 2 needs the schema this carries.
|
|
314
|
+
*/
|
|
315
|
+
export const SPEC = {
|
|
316
|
+
typeUri: TYPE_URI,
|
|
317
|
+
isBearer: false,
|
|
318
|
+
isProofRequired: true,
|
|
319
|
+
isRecipientRequired: true,
|
|
320
|
+
isIssuedAtRequired: true,
|
|
321
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
322
|
+
} as const;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
326
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
327
|
+
* parties (§7.3 item 5).
|
|
328
|
+
*/
|
|
329
|
+
export const RESPONSE_SPEC = {
|
|
330
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
331
|
+
isBearer: false,
|
|
332
|
+
isProofRequired: true,
|
|
333
|
+
isRecipientRequired: true,
|
|
334
|
+
isIssuedAtRequired: true,
|
|
335
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
336
|
+
} as const;
|