@openvtc/trust-tasks 0.27.1 → 0.27.2
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 +216 -0
- package/dist/_runtime/freshness.d.ts +3 -1
- package/dist/_runtime/freshness.d.ts.map +1 -1
- package/dist/_runtime/freshness.js +4 -2
- package/dist/_runtime/freshness.js.map +1 -1
- package/dist/_shared/components.d.ts +346 -23
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/device/list/0.1/payload.d.ts +4 -4
- package/dist/device/list/0.1/payload.d.ts.map +1 -1
- package/dist/device/list/0.1/payload.js +4 -2
- package/dist/device/list/0.1/payload.js.map +1 -1
- package/dist/device/list/0.2/payload.d.ts +4 -4
- package/dist/device/list/0.2/payload.d.ts.map +1 -1
- package/dist/device/list/0.2/payload.js +4 -2
- package/dist/device/list/0.2/payload.js.map +1 -1
- package/dist/device/register/0.1/payload.d.ts +4 -4
- package/dist/device/register/0.1/payload.d.ts.map +1 -1
- package/dist/device/register/0.1/payload.js +4 -2
- package/dist/device/register/0.1/payload.js.map +1 -1
- package/dist/device/register/0.2/payload.d.ts +4 -4
- package/dist/device/register/0.2/payload.d.ts.map +1 -1
- package/dist/device/register/0.2/payload.js +4 -2
- package/dist/device/register/0.2/payload.js.map +1 -1
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25 -0
- package/dist/index.js.map +1 -1
- package/dist/rooms/_shared/0.1/room.d.ts +1 -1
- package/dist/rooms/_shared/0.1/room.d.ts.map +1 -1
- package/dist/rooms/create/0.2/payload.d.ts +534 -0
- package/dist/rooms/create/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/create/0.2/payload.js +293 -0
- package/dist/rooms/create/0.2/payload.js.map +1 -0
- package/dist/rooms/epoch/chain/0.2/payload.d.ts +534 -0
- package/dist/rooms/epoch/chain/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/epoch/chain/0.2/payload.js +292 -0
- package/dist/rooms/epoch/chain/0.2/payload.js.map +1 -0
- package/dist/rooms/epoch/prune/0.2/payload.d.ts +467 -0
- package/dist/rooms/epoch/prune/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/epoch/prune/0.2/payload.js +251 -0
- package/dist/rooms/epoch/prune/0.2/payload.js.map +1 -0
- package/dist/rooms/info/0.2/payload.d.ts +1129 -0
- package/dist/rooms/info/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/info/0.2/payload.js +618 -0
- package/dist/rooms/info/0.2/payload.js.map +1 -0
- package/dist/rooms/keys/backfill/0.2/payload.d.ts +380 -0
- package/dist/rooms/keys/backfill/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/keys/backfill/0.2/payload.js +197 -0
- package/dist/rooms/keys/backfill/0.2/payload.js.map +1 -0
- package/dist/rooms/keys/browse/0.1/payload.d.ts +4 -4
- package/dist/rooms/keys/browse/0.1/payload.js +2 -2
- package/dist/rooms/keys/browse/0.1/payload.js.map +1 -1
- package/dist/rooms/keys/browse/0.2/payload.d.ts +941 -0
- package/dist/rooms/keys/browse/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/keys/browse/0.2/payload.js +558 -0
- package/dist/rooms/keys/browse/0.2/payload.js.map +1 -0
- package/dist/rooms/keys/chain/0.2/payload.d.ts +450 -0
- package/dist/rooms/keys/chain/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/keys/chain/0.2/payload.js +248 -0
- package/dist/rooms/keys/chain/0.2/payload.js.map +1 -0
- package/dist/rooms/keys/profile/read/0.1/payload.d.ts +4 -4
- package/dist/rooms/keys/profile/read/0.1/payload.js +2 -2
- package/dist/rooms/keys/profile/read/0.1/payload.js.map +1 -1
- package/dist/rooms/keys/read/0.1/payload.d.ts +4 -4
- package/dist/rooms/keys/read/0.1/payload.js +2 -2
- package/dist/rooms/keys/read/0.1/payload.js.map +1 -1
- package/dist/rooms/owner/anchor/0.1/payload.d.ts +4 -4
- package/dist/rooms/owner/anchor/0.1/payload.js +2 -2
- package/dist/rooms/owner/anchor/0.1/payload.js.map +1 -1
- package/dist/rooms/records/get/0.1/payload.d.ts +4 -4
- package/dist/rooms/records/get/0.1/payload.js +2 -2
- package/dist/rooms/records/get/0.1/payload.js.map +1 -1
- package/dist/rooms/records/get/0.2/payload.d.ts +4 -4
- package/dist/rooms/records/get/0.2/payload.js +2 -2
- package/dist/rooms/records/get/0.2/payload.js.map +1 -1
- package/dist/rooms/records/list/0.1/payload.d.ts +4 -4
- package/dist/rooms/records/list/0.1/payload.js +2 -2
- package/dist/rooms/records/list/0.1/payload.js.map +1 -1
- package/dist/rooms/records/list/0.2/payload.d.ts +4 -4
- package/dist/rooms/records/list/0.2/payload.js +2 -2
- package/dist/rooms/records/list/0.2/payload.js.map +1 -1
- package/dist/rooms/records/list/0.3/payload.d.ts +970 -0
- package/dist/rooms/records/list/0.3/payload.d.ts.map +1 -0
- package/dist/rooms/records/list/0.3/payload.js +526 -0
- package/dist/rooms/records/list/0.3/payload.js.map +1 -0
- package/dist/rooms/records/prune/0.1/payload.d.ts +706 -0
- package/dist/rooms/records/prune/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/records/prune/0.1/payload.js +374 -0
- package/dist/rooms/records/prune/0.1/payload.js.map +1 -0
- package/dist/rooms/records/put/0.3/payload.d.ts +1212 -0
- package/dist/rooms/records/put/0.3/payload.d.ts.map +1 -0
- package/dist/rooms/records/put/0.3/payload.js +646 -0
- package/dist/rooms/records/put/0.3/payload.js.map +1 -0
- package/dist/rooms/records/retention/set/0.1/payload.d.ts +521 -0
- package/dist/rooms/records/retention/set/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/records/retention/set/0.1/payload.js +276 -0
- package/dist/rooms/records/retention/set/0.1/payload.js.map +1 -0
- package/dist/vault/credentials/present/0.1/payload.d.ts +407 -0
- package/dist/vault/credentials/present/0.1/payload.d.ts.map +1 -0
- package/dist/vault/credentials/present/0.1/payload.js +217 -0
- package/dist/vault/credentials/present/0.1/payload.js.map +1 -0
- package/dist/vta/webvh/dids/create/1.2/payload.d.ts +961 -0
- package/dist/vta/webvh/dids/create/1.2/payload.d.ts.map +1 -0
- package/dist/vta/webvh/dids/create/1.2/payload.js +480 -0
- package/dist/vta/webvh/dids/create/1.2/payload.js.map +1 -0
- package/dist/vtc/_shared/0.1/room-migration.d.ts +16 -0
- package/dist/vtc/_shared/0.1/room-migration.d.ts.map +1 -0
- package/dist/vtc/_shared/0.1/room-migration.js +6 -0
- package/dist/vtc/_shared/0.1/room-migration.js.map +1 -0
- package/dist/vtc/_shared/0.1/room-storage.d.ts +1 -1
- package/dist/vtc/_shared/0.1/room-storage.d.ts.map +1 -1
- package/dist/vtc/_shared/0.2/room-storage.d.ts +16 -0
- package/dist/vtc/_shared/0.2/room-storage.d.ts.map +1 -0
- package/dist/vtc/_shared/0.2/room-storage.js +6 -0
- package/dist/vtc/_shared/0.2/room-storage.js.map +1 -0
- package/dist/vtc/admin/events/_shared/0.4/topic.d.ts +31 -0
- package/dist/vtc/admin/events/_shared/0.4/topic.d.ts.map +1 -0
- package/dist/vtc/admin/events/_shared/0.4/topic.js +6 -0
- package/dist/vtc/admin/events/_shared/0.4/topic.js.map +1 -0
- package/dist/vtc/admin/events/event/0.4/payload.d.ts +172 -0
- package/dist/vtc/admin/events/event/0.4/payload.d.ts.map +1 -0
- package/dist/vtc/admin/events/event/0.4/payload.js +103 -0
- package/dist/vtc/admin/events/event/0.4/payload.js.map +1 -0
- package/dist/vtc/admin/events/subscribe/0.4/payload.d.ts +409 -0
- package/dist/vtc/admin/events/subscribe/0.4/payload.d.ts.map +1 -0
- package/dist/vtc/admin/events/subscribe/0.4/payload.js +238 -0
- package/dist/vtc/admin/events/subscribe/0.4/payload.js.map +1 -0
- package/dist/vtc/rooms/get/0.2/payload.d.ts +1966 -0
- package/dist/vtc/rooms/get/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/get/0.2/payload.js +976 -0
- package/dist/vtc/rooms/get/0.2/payload.js.map +1 -0
- package/dist/vtc/rooms/storage/migrate/0.2/payload.d.ts +595 -0
- package/dist/vtc/rooms/storage/migrate/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/storage/migrate/0.2/payload.js +336 -0
- package/dist/vtc/rooms/storage/migrate/0.2/payload.js.map +1 -0
- package/dist/vtc/storage/configs/create/0.1/payload.d.ts +1 -1
- package/dist/vtc/storage/configs/create/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/storage/configs/create/0.2/payload.d.ts +1360 -0
- package/dist/vtc/storage/configs/create/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/storage/configs/create/0.2/payload.js +783 -0
- package/dist/vtc/storage/configs/create/0.2/payload.js.map +1 -0
- package/dist/vtc/storage/configs/get/0.1/payload.d.ts +1 -1
- package/dist/vtc/storage/configs/get/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/storage/configs/get/0.2/payload.d.ts +1854 -0
- package/dist/vtc/storage/configs/get/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/storage/configs/get/0.2/payload.js +1075 -0
- package/dist/vtc/storage/configs/get/0.2/payload.js.map +1 -0
- package/dist/vtc/storage/configs/list/0.1/payload.d.ts +1 -1
- package/dist/vtc/storage/configs/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/storage/configs/list/0.2/payload.d.ts +1955 -0
- package/dist/vtc/storage/configs/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/storage/configs/list/0.2/payload.js +1125 -0
- package/dist/vtc/storage/configs/list/0.2/payload.js.map +1 -0
- package/dist/vtc/storage/configs/update/0.1/payload.d.ts +1 -1
- package/dist/vtc/storage/configs/update/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/storage/configs/update/0.2/payload.d.ts +1362 -0
- package/dist/vtc/storage/configs/update/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/storage/configs/update/0.2/payload.js +782 -0
- package/dist/vtc/storage/configs/update/0.2/payload.js.map +1 -0
- package/dist/vtc/storage/credentials/set/0.1/payload.d.ts +1 -1
- package/dist/vtc/storage/credentials/set/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/storage/credentials/set/0.2/payload.d.ts +979 -0
- package/dist/vtc/storage/credentials/set/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/storage/credentials/set/0.2/payload.js +573 -0
- package/dist/vtc/storage/credentials/set/0.2/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_runtime/freshness.ts +4 -2
- package/src/_shared/components.ts +372 -23
- package/src/device/list/0.1/payload.ts +4 -2
- package/src/device/list/0.2/payload.ts +4 -2
- package/src/device/register/0.1/payload.ts +4 -2
- package/src/device/register/0.2/payload.ts +4 -2
- package/src/index.ts +25 -0
- package/src/rooms/_shared/0.1/room.ts +1 -1
- package/src/rooms/create/0.2/payload.ts +364 -0
- package/src/rooms/epoch/chain/0.2/payload.ts +347 -0
- package/src/rooms/epoch/prune/0.2/payload.ts +315 -0
- package/src/rooms/info/0.2/payload.ts +700 -0
- package/src/rooms/keys/backfill/0.2/payload.ts +260 -0
- package/src/rooms/keys/browse/0.1/payload.ts +2 -2
- package/src/rooms/keys/browse/0.2/payload.ts +628 -0
- package/src/rooms/keys/chain/0.2/payload.ts +308 -0
- package/src/rooms/keys/profile/read/0.1/payload.ts +2 -2
- package/src/rooms/keys/read/0.1/payload.ts +2 -2
- package/src/rooms/owner/anchor/0.1/payload.ts +2 -2
- package/src/rooms/records/get/0.1/payload.ts +2 -2
- package/src/rooms/records/get/0.2/payload.ts +2 -2
- package/src/rooms/records/list/0.1/payload.ts +2 -2
- package/src/rooms/records/list/0.2/payload.ts +2 -2
- package/src/rooms/records/list/0.3/payload.ts +601 -0
- package/src/rooms/records/prune/0.1/payload.ts +451 -0
- package/src/rooms/records/put/0.3/payload.ts +741 -0
- package/src/rooms/records/retention/set/0.1/payload.ts +338 -0
- package/src/vault/credentials/present/0.1/payload.ts +283 -0
- package/src/vta/webvh/dids/create/1.2/payload.ts +660 -0
- package/src/vtc/_shared/0.1/room-migration.ts +17 -0
- package/src/vtc/_shared/0.1/room-storage.ts +1 -1
- package/src/vtc/_shared/0.2/room-storage.ts +17 -0
- package/src/vtc/admin/events/_shared/0.4/topic.ts +32 -0
- package/src/vtc/admin/events/event/0.4/payload.ts +137 -0
- package/src/vtc/admin/events/subscribe/0.4/payload.ts +318 -0
- package/src/vtc/rooms/get/0.2/payload.ts +1372 -0
- package/src/vtc/rooms/storage/migrate/0.2/payload.ts +408 -0
- package/src/vtc/storage/configs/create/0.1/payload.ts +1 -1
- package/src/vtc/storage/configs/create/0.2/payload.ts +830 -0
- package/src/vtc/storage/configs/get/0.1/payload.ts +1 -1
- package/src/vtc/storage/configs/get/0.2/payload.ts +1110 -0
- package/src/vtc/storage/configs/list/0.1/payload.ts +1 -1
- package/src/vtc/storage/configs/list/0.2/payload.ts +1177 -0
- package/src/vtc/storage/configs/update/0.1/payload.ts +1 -1
- package/src/vtc/storage/configs/update/0.2/payload.ts +829 -0
- package/src/vtc/storage/credentials/set/0.1/payload.ts +1 -1
- package/src/vtc/storage/credentials/set/0.2/payload.ts +619 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vta/webvh/dids/create/1.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAGhE;;GAEG;AACH,MAAM,MAAM,aAAa,GACrB;IACE,IAAI,EAAE,WAAW,CAAC;CACnB,GACD;IACE,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd,GACD;IACE,IAAI,EAAE,YAAY,CAAC;CACpB,CAAC;AACN;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAEzC;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,M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E;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkK1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -0,0 +1,480 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vta/webvh/dids/create/1.2/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/** Trust Task type URI. */
|
|
6
|
+
export const TYPE_URI = "https://trusttasks.org/spec/vta/webvh/dids/create/1.2";
|
|
7
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
8
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/webvh/dids/create/1.2#response";
|
|
9
|
+
/**
|
|
10
|
+
* This specification's payload schema, as a value.
|
|
11
|
+
*
|
|
12
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
13
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
14
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
15
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
16
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
17
|
+
*/
|
|
18
|
+
export const PAYLOAD_SCHEMA = {
|
|
19
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
20
|
+
"$id": "https://trusttasks.org/spec/vta/webvh/dids/create/1.2",
|
|
21
|
+
"title": "VTA WebVH DIDs Create — payload",
|
|
22
|
+
"description": "Mint a did:webvh: the VTA generates the keys, writes the log's first entry, and either hands it to a hosting server or returns it for the caller to serve.",
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"required": [
|
|
26
|
+
"contextId"
|
|
27
|
+
],
|
|
28
|
+
"properties": {
|
|
29
|
+
"contextId": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"minLength": 1,
|
|
32
|
+
"description": "Context the DID belongs to. Its keys are minted here, and deleting the context destroys the DID."
|
|
33
|
+
},
|
|
34
|
+
"serverId": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "Hosting server to publish through. Absent means **serverless**: the caller serves the log itself at `url`, and the VTA holds no hosting registration for it."
|
|
37
|
+
},
|
|
38
|
+
"url": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "Where the log will be served, for the serverless case. The DID's identity derives from this location, so changing it later is only possible for a `portable` DID."
|
|
41
|
+
},
|
|
42
|
+
"path": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "Explicit path label under the host. Shorthand for pathMode `explicit`; supplying both is an error."
|
|
45
|
+
},
|
|
46
|
+
"pathMode": {
|
|
47
|
+
"$ref": "#/$defs/WebvhPathMode",
|
|
48
|
+
"description": "How the path under the host is chosen. Absent means `autoAssign`."
|
|
49
|
+
},
|
|
50
|
+
"domain": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"description": "Hosting domain to publish under, when the server serves more than one."
|
|
53
|
+
},
|
|
54
|
+
"label": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"maxLength": 256
|
|
57
|
+
},
|
|
58
|
+
"portable": {
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"default": false,
|
|
61
|
+
"description": "Whether this DID may later move to another domain and keep its identity. **Fixed at creation** — portability is committed in the first log entry and cannot be added afterwards. A DID created non-portable is tied to where it was published for its whole life."
|
|
62
|
+
},
|
|
63
|
+
"addMediatorService": {
|
|
64
|
+
"type": "boolean",
|
|
65
|
+
"description": "Add a DIDComm mediator service entry to the document."
|
|
66
|
+
},
|
|
67
|
+
"addTspService": {
|
|
68
|
+
"type": "boolean",
|
|
69
|
+
"description": "Add a TSP transport service entry to the document."
|
|
70
|
+
},
|
|
71
|
+
"additionalServices": {
|
|
72
|
+
"type": "array",
|
|
73
|
+
"items": {
|
|
74
|
+
"type": "object"
|
|
75
|
+
},
|
|
76
|
+
"description": "Further service entries, verbatim."
|
|
77
|
+
},
|
|
78
|
+
"preRotationCount": {
|
|
79
|
+
"type": "integer",
|
|
80
|
+
"minimum": 0,
|
|
81
|
+
"description": "How many successor keys to commit in advance. **`0` disables pre-rotation**, which means a compromise of the current key cannot be recovered from by rotating: the successor was never committed, so a thief can rotate to their own key as convincingly as the owner can."
|
|
82
|
+
},
|
|
83
|
+
"didDocument": {
|
|
84
|
+
"type": "object",
|
|
85
|
+
"description": "A DID document to publish rather than one the VTA composes."
|
|
86
|
+
},
|
|
87
|
+
"didLog": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "An existing log to adopt, for importing a DID minted elsewhere."
|
|
90
|
+
},
|
|
91
|
+
"setPrimary": {
|
|
92
|
+
"type": "boolean",
|
|
93
|
+
"description": "Make this the context's primary DID."
|
|
94
|
+
},
|
|
95
|
+
"signingKeyId": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"description": "Existing key to sign log entries with. Absent mints a new one."
|
|
98
|
+
},
|
|
99
|
+
"kaKeyId": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"description": "Existing key-agreement key to publish. Absent mints a new one."
|
|
102
|
+
},
|
|
103
|
+
"template": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"description": "DID template to render the document from (see vta/did-templates/*)."
|
|
106
|
+
},
|
|
107
|
+
"templateContext": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"description": "Context whose templates to resolve `template` against. Absent uses the global scope, which is a different namespace and may hold a different template of the same name."
|
|
110
|
+
},
|
|
111
|
+
"templateVars": {
|
|
112
|
+
"type": "object",
|
|
113
|
+
"additionalProperties": {
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
"description": "Variables for the template's placeholders."
|
|
117
|
+
},
|
|
118
|
+
"didMethod": {
|
|
119
|
+
"$ref": "#/$defs/DidMethod"
|
|
120
|
+
},
|
|
121
|
+
"scidAlsoKnownAs": {
|
|
122
|
+
"type": "boolean",
|
|
123
|
+
"description": "Whether the first log entry lists the `did:scid:vh:1` DID URL of the new log (with `src`) in `alsoKnownAs`, linking the two forms as one subject. Absent means the VTA applies its configuration, which defaults to `true`. `false` with `didMethod` `scid` is refused."
|
|
124
|
+
},
|
|
125
|
+
"ext": {
|
|
126
|
+
"$ref": "#/$defs/Ext"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"$defs": {
|
|
130
|
+
"WebvhPathMode": {
|
|
131
|
+
"title": "WebvhPathMode",
|
|
132
|
+
"description": "Where under the host the DID is served. `wellKnown` puts it at the host root (`/.well-known/did.jsonl`) — at most one DID per host can hold that. `explicit` names the path. `autoAssign` lets the server allocate one.",
|
|
133
|
+
"oneOf": [
|
|
134
|
+
{
|
|
135
|
+
"type": "object",
|
|
136
|
+
"additionalProperties": false,
|
|
137
|
+
"required": [
|
|
138
|
+
"mode"
|
|
139
|
+
],
|
|
140
|
+
"properties": {
|
|
141
|
+
"mode": {
|
|
142
|
+
"const": "wellKnown"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"type": "object",
|
|
148
|
+
"additionalProperties": false,
|
|
149
|
+
"required": [
|
|
150
|
+
"mode",
|
|
151
|
+
"path"
|
|
152
|
+
],
|
|
153
|
+
"properties": {
|
|
154
|
+
"mode": {
|
|
155
|
+
"const": "explicit"
|
|
156
|
+
},
|
|
157
|
+
"path": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"minLength": 1
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"type": "object",
|
|
165
|
+
"additionalProperties": false,
|
|
166
|
+
"required": [
|
|
167
|
+
"mode"
|
|
168
|
+
],
|
|
169
|
+
"properties": {
|
|
170
|
+
"mode": {
|
|
171
|
+
"const": "autoAssign"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
"DidMethod": {
|
|
178
|
+
"title": "DidMethod",
|
|
179
|
+
"description": "The identity a did:webvh log is presented as. `webvh` is `did:webvh:<scid>:<host>[:<path>]`. `scid` is `did:scid:vh:1:<scid>`, verified by the same log and located by `?src=<host>[/<path>]`; it requires the alias in `alsoKnownAs`. In a request, absent means the VTA applies its configuration (`webvh` unless configured otherwise); in a response, the form the VTA applied, and `did` is in that form.",
|
|
180
|
+
"type": "string",
|
|
181
|
+
"enum": [
|
|
182
|
+
"webvh",
|
|
183
|
+
"scid"
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
"Response": {
|
|
187
|
+
"$anchor": "response",
|
|
188
|
+
"title": "VTA WebVH DIDs Create — response payload",
|
|
189
|
+
"description": "Success response to vta/webvh/dids/create. Type https://trusttasks.org/spec/vta/webvh/dids/create/1.2#response.",
|
|
190
|
+
"type": "object",
|
|
191
|
+
"additionalProperties": false,
|
|
192
|
+
"required": [
|
|
193
|
+
"did",
|
|
194
|
+
"contextId",
|
|
195
|
+
"serverless",
|
|
196
|
+
"scid",
|
|
197
|
+
"portable",
|
|
198
|
+
"signingKeyId",
|
|
199
|
+
"kaKeyId",
|
|
200
|
+
"preRotationKeyCount",
|
|
201
|
+
"createdAt",
|
|
202
|
+
"didMethod",
|
|
203
|
+
"scidAlsoKnownAs",
|
|
204
|
+
"webvhDid",
|
|
205
|
+
"scidDidUrl"
|
|
206
|
+
],
|
|
207
|
+
"properties": {
|
|
208
|
+
"did": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"description": "The new identity, in the form `didMethod` names: the did:webvh DID, or the bare `did:scid:vh:1:<scid>` DID."
|
|
211
|
+
},
|
|
212
|
+
"contextId": {
|
|
213
|
+
"type": "string"
|
|
214
|
+
},
|
|
215
|
+
"serverId": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"description": "The hosting server the DID was published through. Absent exactly when `serverless` is true."
|
|
218
|
+
},
|
|
219
|
+
"serverless": {
|
|
220
|
+
"type": "boolean",
|
|
221
|
+
"description": "True when no hosting server was published to: the VTA holds the log, and the DID does not resolve until the caller serves `logEntry` at the DID's URL. Stated, rather than left to be inferred from an absent `serverId`, so a client can refuse to rely on a DID nobody serves."
|
|
222
|
+
},
|
|
223
|
+
"mnemonic": {
|
|
224
|
+
"type": "string",
|
|
225
|
+
"description": "The hosting server's handle for the record. Absent for a serverless DID."
|
|
226
|
+
},
|
|
227
|
+
"scid": {
|
|
228
|
+
"type": "string",
|
|
229
|
+
"description": "Self-certifying identifier committing to the log's first entry."
|
|
230
|
+
},
|
|
231
|
+
"portable": {
|
|
232
|
+
"type": "boolean"
|
|
233
|
+
},
|
|
234
|
+
"signingKeyId": {
|
|
235
|
+
"type": "string"
|
|
236
|
+
},
|
|
237
|
+
"kaKeyId": {
|
|
238
|
+
"type": "string"
|
|
239
|
+
},
|
|
240
|
+
"preRotationKeyCount": {
|
|
241
|
+
"type": "integer",
|
|
242
|
+
"minimum": 0,
|
|
243
|
+
"description": "Successor keys committed. `0` means pre-rotation is off for this DID."
|
|
244
|
+
},
|
|
245
|
+
"createdAt": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"format": "date-time"
|
|
248
|
+
},
|
|
249
|
+
"didDocument": {
|
|
250
|
+
"type": "object",
|
|
251
|
+
"description": "The published document, when the VTA composed one."
|
|
252
|
+
},
|
|
253
|
+
"logEntry": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"description": "The log's first entry. For a serverless DID this is what the caller must serve — the DID does not resolve until they do."
|
|
256
|
+
},
|
|
257
|
+
"didMethod": {
|
|
258
|
+
"$ref": "#/$defs/DidMethod"
|
|
259
|
+
},
|
|
260
|
+
"scidAlsoKnownAs": {
|
|
261
|
+
"type": "boolean",
|
|
262
|
+
"description": "Whether the first log entry lists `scidDidUrl` in `alsoKnownAs`."
|
|
263
|
+
},
|
|
264
|
+
"webvhDid": {
|
|
265
|
+
"type": "string",
|
|
266
|
+
"description": "The did:webvh DID of the log. Equal to `did` when `didMethod` is `webvh`."
|
|
267
|
+
},
|
|
268
|
+
"scidDidUrl": {
|
|
269
|
+
"type": "string",
|
|
270
|
+
"description": "The `did:scid:vh:1:<scid>?src=<source>` DID URL of the log: the did:scid DID with the locator a recipient needs to resolve it. A producer gives this out, rather than the bare DID, wherever the recipient may not hold a source."
|
|
271
|
+
},
|
|
272
|
+
"ext": {
|
|
273
|
+
"$ref": "#/$defs/Ext"
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"Ext": {
|
|
278
|
+
"title": "Ext",
|
|
279
|
+
"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.",
|
|
280
|
+
"type": "object",
|
|
281
|
+
"minProperties": 1,
|
|
282
|
+
"additionalProperties": true,
|
|
283
|
+
"propertyNames": {
|
|
284
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
290
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
291
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
292
|
+
"$ref": "#/$defs/Response",
|
|
293
|
+
"$defs": {
|
|
294
|
+
"WebvhPathMode": {
|
|
295
|
+
"title": "WebvhPathMode",
|
|
296
|
+
"description": "Where under the host the DID is served. `wellKnown` puts it at the host root (`/.well-known/did.jsonl`) — at most one DID per host can hold that. `explicit` names the path. `autoAssign` lets the server allocate one.",
|
|
297
|
+
"oneOf": [
|
|
298
|
+
{
|
|
299
|
+
"type": "object",
|
|
300
|
+
"additionalProperties": false,
|
|
301
|
+
"required": [
|
|
302
|
+
"mode"
|
|
303
|
+
],
|
|
304
|
+
"properties": {
|
|
305
|
+
"mode": {
|
|
306
|
+
"const": "wellKnown"
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"type": "object",
|
|
312
|
+
"additionalProperties": false,
|
|
313
|
+
"required": [
|
|
314
|
+
"mode",
|
|
315
|
+
"path"
|
|
316
|
+
],
|
|
317
|
+
"properties": {
|
|
318
|
+
"mode": {
|
|
319
|
+
"const": "explicit"
|
|
320
|
+
},
|
|
321
|
+
"path": {
|
|
322
|
+
"type": "string",
|
|
323
|
+
"minLength": 1
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"type": "object",
|
|
329
|
+
"additionalProperties": false,
|
|
330
|
+
"required": [
|
|
331
|
+
"mode"
|
|
332
|
+
],
|
|
333
|
+
"properties": {
|
|
334
|
+
"mode": {
|
|
335
|
+
"const": "autoAssign"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
]
|
|
340
|
+
},
|
|
341
|
+
"DidMethod": {
|
|
342
|
+
"title": "DidMethod",
|
|
343
|
+
"description": "The identity a did:webvh log is presented as. `webvh` is `did:webvh:<scid>:<host>[:<path>]`. `scid` is `did:scid:vh:1:<scid>`, verified by the same log and located by `?src=<host>[/<path>]`; it requires the alias in `alsoKnownAs`. In a request, absent means the VTA applies its configuration (`webvh` unless configured otherwise); in a response, the form the VTA applied, and `did` is in that form.",
|
|
344
|
+
"type": "string",
|
|
345
|
+
"enum": [
|
|
346
|
+
"webvh",
|
|
347
|
+
"scid"
|
|
348
|
+
]
|
|
349
|
+
},
|
|
350
|
+
"Response": {
|
|
351
|
+
"$anchor": "response",
|
|
352
|
+
"title": "VTA WebVH DIDs Create — response payload",
|
|
353
|
+
"description": "Success response to vta/webvh/dids/create. Type https://trusttasks.org/spec/vta/webvh/dids/create/1.2#response.",
|
|
354
|
+
"type": "object",
|
|
355
|
+
"additionalProperties": false,
|
|
356
|
+
"required": [
|
|
357
|
+
"did",
|
|
358
|
+
"contextId",
|
|
359
|
+
"serverless",
|
|
360
|
+
"scid",
|
|
361
|
+
"portable",
|
|
362
|
+
"signingKeyId",
|
|
363
|
+
"kaKeyId",
|
|
364
|
+
"preRotationKeyCount",
|
|
365
|
+
"createdAt",
|
|
366
|
+
"didMethod",
|
|
367
|
+
"scidAlsoKnownAs",
|
|
368
|
+
"webvhDid",
|
|
369
|
+
"scidDidUrl"
|
|
370
|
+
],
|
|
371
|
+
"properties": {
|
|
372
|
+
"did": {
|
|
373
|
+
"type": "string",
|
|
374
|
+
"description": "The new identity, in the form `didMethod` names: the did:webvh DID, or the bare `did:scid:vh:1:<scid>` DID."
|
|
375
|
+
},
|
|
376
|
+
"contextId": {
|
|
377
|
+
"type": "string"
|
|
378
|
+
},
|
|
379
|
+
"serverId": {
|
|
380
|
+
"type": "string",
|
|
381
|
+
"description": "The hosting server the DID was published through. Absent exactly when `serverless` is true."
|
|
382
|
+
},
|
|
383
|
+
"serverless": {
|
|
384
|
+
"type": "boolean",
|
|
385
|
+
"description": "True when no hosting server was published to: the VTA holds the log, and the DID does not resolve until the caller serves `logEntry` at the DID's URL. Stated, rather than left to be inferred from an absent `serverId`, so a client can refuse to rely on a DID nobody serves."
|
|
386
|
+
},
|
|
387
|
+
"mnemonic": {
|
|
388
|
+
"type": "string",
|
|
389
|
+
"description": "The hosting server's handle for the record. Absent for a serverless DID."
|
|
390
|
+
},
|
|
391
|
+
"scid": {
|
|
392
|
+
"type": "string",
|
|
393
|
+
"description": "Self-certifying identifier committing to the log's first entry."
|
|
394
|
+
},
|
|
395
|
+
"portable": {
|
|
396
|
+
"type": "boolean"
|
|
397
|
+
},
|
|
398
|
+
"signingKeyId": {
|
|
399
|
+
"type": "string"
|
|
400
|
+
},
|
|
401
|
+
"kaKeyId": {
|
|
402
|
+
"type": "string"
|
|
403
|
+
},
|
|
404
|
+
"preRotationKeyCount": {
|
|
405
|
+
"type": "integer",
|
|
406
|
+
"minimum": 0,
|
|
407
|
+
"description": "Successor keys committed. `0` means pre-rotation is off for this DID."
|
|
408
|
+
},
|
|
409
|
+
"createdAt": {
|
|
410
|
+
"type": "string",
|
|
411
|
+
"format": "date-time"
|
|
412
|
+
},
|
|
413
|
+
"didDocument": {
|
|
414
|
+
"type": "object",
|
|
415
|
+
"description": "The published document, when the VTA composed one."
|
|
416
|
+
},
|
|
417
|
+
"logEntry": {
|
|
418
|
+
"type": "string",
|
|
419
|
+
"description": "The log's first entry. For a serverless DID this is what the caller must serve — the DID does not resolve until they do."
|
|
420
|
+
},
|
|
421
|
+
"didMethod": {
|
|
422
|
+
"$ref": "#/$defs/DidMethod"
|
|
423
|
+
},
|
|
424
|
+
"scidAlsoKnownAs": {
|
|
425
|
+
"type": "boolean",
|
|
426
|
+
"description": "Whether the first log entry lists `scidDidUrl` in `alsoKnownAs`."
|
|
427
|
+
},
|
|
428
|
+
"webvhDid": {
|
|
429
|
+
"type": "string",
|
|
430
|
+
"description": "The did:webvh DID of the log. Equal to `did` when `didMethod` is `webvh`."
|
|
431
|
+
},
|
|
432
|
+
"scidDidUrl": {
|
|
433
|
+
"type": "string",
|
|
434
|
+
"description": "The `did:scid:vh:1:<scid>?src=<source>` DID URL of the log: the did:scid DID with the locator a recipient needs to resolve it. A producer gives this out, rather than the bare DID, wherever the recipient may not hold a source."
|
|
435
|
+
},
|
|
436
|
+
"ext": {
|
|
437
|
+
"$ref": "#/$defs/Ext"
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
"Ext": {
|
|
442
|
+
"title": "Ext",
|
|
443
|
+
"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.",
|
|
444
|
+
"type": "object",
|
|
445
|
+
"minProperties": 1,
|
|
446
|
+
"additionalProperties": true,
|
|
447
|
+
"propertyNames": {
|
|
448
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
};
|
|
453
|
+
/**
|
|
454
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
455
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
456
|
+
* per-specification and cannot be derived from the document alone, and
|
|
457
|
+
* item 2 needs the schema this carries.
|
|
458
|
+
*/
|
|
459
|
+
export const SPEC = {
|
|
460
|
+
typeUri: TYPE_URI,
|
|
461
|
+
isBearer: false,
|
|
462
|
+
isProofRequired: true,
|
|
463
|
+
isRecipientRequired: true,
|
|
464
|
+
isIssuedAtRequired: true,
|
|
465
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
466
|
+
};
|
|
467
|
+
/**
|
|
468
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
469
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
470
|
+
* parties (§7.3 item 5).
|
|
471
|
+
*/
|
|
472
|
+
export const RESPONSE_SPEC = {
|
|
473
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
474
|
+
isBearer: false,
|
|
475
|
+
isProofRequired: true,
|
|
476
|
+
isRecipientRequired: true,
|
|
477
|
+
isIssuedAtRequired: true,
|
|
478
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
479
|
+
};
|
|
480
|
+
//# sourceMappingURL=payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vta/webvh/dids/create/1.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA2KH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,uDAAgE,CAAC;AAKzF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,gEAAyE,CAAC;AAK3G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,uDAAuD;IAC9D,OAAO,EAAE,iCAAiC;IAC1C,aAAa,EAAE,4JAA4J;IAC3K,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,WAAW;KACZ;IACD,YAAY,EAAE;QACZ,WAAW,EAAE;YACX,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,aAAa,EAAE,kGAAkG;SAClH;QACD,UAAU,EAAE;YACV,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,8JAA8J;SAC9K;QACD,KAAK,EAAE;YACL,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,mKAAmK;SACnL;QACD,MAAM,EAAE;YACN,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,oGAAoG;SACpH;QACD,UAAU,EAAE;YACV,MAAM,EAAE,uBAAuB;YAC/B,aAAa,EAAE,mEAAmE;SACnF;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,wEAAwE;SACxF;QACD,OAAO,EAAE;YACP,MAAM,EAAE,QAAQ;YAChB,WAAW,EAA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js — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/_shared/0.1/room-migration.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Shared types for how a hosted room's storage migration is reported, by vtc/rooms/storage/migrate (0.2 and later) and vtc/rooms/get (0.2 and later), which return the same migration and must describe it the same way. Not itself a Trust Task specification (the `_shared` folder is skipped by the registry build and the codegen).
|
|
7
|
+
*/
|
|
8
|
+
export interface VTCSharedRoomStorageMigrationDefinitions {
|
|
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 { MigrationLastError, MigrationPauseCause, MigrationState } from "../../../_shared/components.js";
|
|
16
|
+
//# sourceMappingURL=room-migration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"room-migration.d.ts","sourceRoot":"","sources":["../../../../src/vtc/_shared/0.1/room-migration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACvD,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"room-migration.js","sourceRoot":"","sources":["../../../../src/vtc/_shared/0.1/room-migration.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -12,5 +12,5 @@ export interface VTCSharedRoomStorageDefinitions {
|
|
|
12
12
|
* The definitions this shared schema publishes, hoisted to one declaration each.
|
|
13
13
|
* See "../../../_shared/components.js".
|
|
14
14
|
*/
|
|
15
|
-
export type { ConfigState, CredentialState, EffectiveLimits, ExternalAccountContextId, ExternalAccountId, GcsSettings, HostedRoom, LimitSource, LimitTarget, LocalSettings, ObjectPrefix, S3Settings, StorageAuth, StorageConfig, StorageConfigFacts, StorageConfigId, StorageHealth, StorageKind, StorageSettings, WalrusSettings } from "../../../_shared/components.js";
|
|
15
|
+
export type { ConfigState, CredentialState_VtcV0_1 as CredentialState, EffectiveLimits, ExternalAccountContextId, ExternalAccountId, GcsSettings, HostedRoom, LimitSource, LimitTarget, LocalSettings, ObjectPrefix, S3Settings, StorageAuth_VtcV0_1 as StorageAuth, StorageConfig_VtcV0_1 as StorageConfig, StorageConfigFacts_VtcV0_1 as StorageConfigFacts, StorageConfigId, StorageHealth, StorageKind, StorageSettings, WalrusSettings } from "../../../_shared/components.js";
|
|
16
16
|
//# sourceMappingURL=room-storage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"room-storage.d.ts","sourceRoot":"","sources":["../../../../src/vtc/_shared/0.1/room-storage.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,eAAe,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,aAAa,EAAE,kBAAkB,EAAE,eAAe,EAAE,aAAa,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"room-storage.d.ts","sourceRoot":"","sources":["../../../../src/vtc/_shared/0.1/room-storage.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,WAAW,EAAE,uBAAuB,IAAI,eAAe,EAAE,eAAe,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,UAAU,EAAE,mBAAmB,IAAI,WAAW,EAAE,qBAAqB,IAAI,aAAa,EAAE,0BAA0B,IAAI,kBAAkB,EAAE,eAAe,EAAE,aAAa,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/_shared/0.2/room-storage.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Shared types for the host-side administration of files in the data rooms a community hosts: the vtc/storage/configs/*, vtc/storage/credentials/set, vtc/rooms/get, vtc/rooms/limits/set, vtc/rooms/usage and vtc/rooms/storage/* tasks. A storage config is one named backend — a local directory, an S3-compatible bucket, a Google Cloud Storage bucket or Walrus — with its own account and credentials. Every room is assigned to exactly one config, which receives its new uploads; one config serves any number of rooms; every blob remembers the config it was written to, so reassigning a room strands nothing. Limits, usage and blob shapes come from rooms/_shared/0.1/blobs.schema.json. No member of any type here carries a secret: a credential is referred to by mode, account and fingerprint, never by value. Version 0.2 adds `roleArn` to `ambient` authentication (the IAM role an S3 config's ambient identity assumes), the `notAllowed` credential status for a mode the host no longer permits, and `SealedStorageCredential`, the cleartext a `sealed` credential is carried in; the rules for using an `ambient` or `sealed` credential are vtc/storage/configs/create/0.2's. Not itself a Trust Task specification (the `_shared` folder is skipped by the registry build and the codegen).
|
|
7
|
+
*/
|
|
8
|
+
export interface VTCSharedRoomStorageDefinitions {
|
|
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 { AwsRoleArn, ConfigState, CredentialState_VtcV0_2 as CredentialState, ExternalAccountContextId, ExternalAccountId, GcsSettings, LocalSettings, ObjectPrefix, S3Settings, SealedStorageCredential, StorageAuth_VtcV0_2 as StorageAuth, StorageConfig_VtcV0_2 as StorageConfig, StorageConfigFacts_VtcV0_2 as StorageConfigFacts, StorageConfigId, StorageHealth, StorageKind, StorageSettings, WalrusSettings } from "../../../_shared/components.js";
|
|
16
|
+
//# sourceMappingURL=room-storage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"room-storage.d.ts","sourceRoot":"","sources":["../../../../src/vtc/_shared/0.2/room-storage.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,uBAAuB,IAAI,eAAe,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,UAAU,EAAE,uBAAuB,EAAE,mBAAmB,IAAI,WAAW,EAAE,qBAAqB,IAAI,aAAa,EAAE,0BAA0B,IAAI,kBAAkB,EAAE,eAAe,EAAE,aAAa,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"room-storage.js","sourceRoot":"","sources":["../../../../src/vtc/_shared/0.2/room-storage.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/admin/events/_shared/0.4/topic.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Shared shapes for a Verifiable Trust Community's live administrative console events: a hint-only channel that tells an administrator's console WHEN to re-read, never WHAT changed.
|
|
7
|
+
*
|
|
8
|
+
* THE MODEL. A console subscribes once per session with `vtc/admin/events/subscribe`, naming the topics it renders. The community answers with a stream of `vtc/admin/events/event` documents, each naming one topic and, for a count topic, the caller's current count. An event carries no record and no personal data. The console reacts by re-fetching the topic's own signed read, so the read stays the only place authorization is decided and the only place data leaves the community: the stream can neither leak a record nor grant a read. Polling those reads remains the fallback whenever the stream is down.
|
|
9
|
+
*
|
|
10
|
+
* TOPICS AND THEIR READS. Each topic names one read. A community sends a topic's events only to a caller it would answer on that read.
|
|
11
|
+
*
|
|
12
|
+
* - `actions` — the caller's visible administrative actions (`vtc/admin/actions/list`). Count topic: the caller's `waitingForMe` count.
|
|
13
|
+
* - `acknowledgements` — the acknowledge-category actions awaiting the caller (`vtc/admin/actions/list`). Count topic: the open acknowledge actions the caller has not yet acknowledged.
|
|
14
|
+
* - `joinRequests` — the community's join requests (`vtc/join-requests/list`). Count topic: the join requests awaiting a decision.
|
|
15
|
+
* - `members` — the community's members (`vtc/members/list`). No count.
|
|
16
|
+
* - `singleAdminMode` — whether single-administrator mode is in effect. Every administrator may read it. No count.
|
|
17
|
+
* - `config` — the community's stored configuration (`vtc/config/export`). No count.
|
|
18
|
+
* - `rooms` — the rooms this community hosts and where their files are kept (`vtc/rooms/list`, `vtc/rooms/usage`, `vtc/storage/configs/list`), for holders of `vtc.rooms.admin`. No count. Added in 0.2.
|
|
19
|
+
* - `directory` — the community's member directory as administrators see it: its field schema, its entries, and the administrators' notes on them (the `vtc/directory/*` reads), for holders of `vtc.directory.admin` or `vtc.directory.notes`. No count. Added in 0.3.
|
|
20
|
+
* - `groups` — the community's groups, their members and bindings, and requests to join them (the `vtc/groups/*` reads), for holders of `vtc.groups.manage`. No count. Added in 0.3.
|
|
21
|
+
* - `communityRooms` — the data rooms the community itself owns, as their owner sees them: the rooms, their details, and each one's admissions and removals (`vtc/rooms/community/list`, `vtc/rooms/community/get`, `vtc/rooms/community/members/list`), for holders of `vtc.rooms.manage`. No count. Added in 0.4.
|
|
22
|
+
*/
|
|
23
|
+
export interface VTCAdminEventsSharedDefinitions {
|
|
24
|
+
[k: string]: unknown | undefined;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The definitions this shared schema publishes, hoisted to one declaration each.
|
|
28
|
+
* See "../../../../../_shared/components.js".
|
|
29
|
+
*/
|
|
30
|
+
export type { ResumeToken, Topic_VtcAdminEventsV0_4 as Topic } from "../../../../../_shared/components.js";
|
|
31
|
+
//# sourceMappingURL=topic.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topic.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/admin/events/_shared/0.4/topic.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,+BAA+B;IAC9C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,WAAW,EAAE,wBAAwB,IAAI,KAAK,EAAE,MAAM,sCAAsC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topic.js","sourceRoot":"","sources":["../../../../../../src/vtc/admin/events/_shared/0.4/topic.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|