@openvtc/trust-tasks 0.28.25 → 0.28.26
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 +84 -0
- package/dist/_extends.d.ts.map +1 -1
- package/dist/_extends.js +9 -0
- package/dist/_extends.js.map +1 -1
- package/dist/_shared/components.d.ts +117 -0
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/acl/_shared/0.3/acl-entry.d.ts +24 -0
- package/dist/acl/_shared/0.3/acl-entry.d.ts.map +1 -0
- package/dist/acl/_shared/0.3/acl-entry.js +6 -0
- package/dist/acl/_shared/0.3/acl-entry.js.map +1 -0
- package/dist/acl/change-role/0.1/payload.d.ts +4 -4
- package/dist/acl/change-role/0.1/payload.js +1 -1
- package/dist/acl/change-role/0.2/payload.d.ts +14 -2
- package/dist/acl/change-role/0.2/payload.d.ts.map +1 -1
- package/dist/acl/change-role/0.2/payload.js +1 -1
- package/dist/acl/change-role/0.2/payload.js.map +1 -1
- package/dist/acl/change-role/0.3/payload.d.ts +1925 -0
- package/dist/acl/change-role/0.3/payload.d.ts.map +1 -0
- package/dist/acl/change-role/0.3/payload.js +1109 -0
- package/dist/acl/change-role/0.3/payload.js.map +1 -0
- package/dist/acl/grant/0.1/payload.d.ts +4 -4
- package/dist/acl/grant/0.1/payload.js +1 -1
- package/dist/acl/grant/0.2/payload.d.ts +14 -2
- package/dist/acl/grant/0.2/payload.d.ts.map +1 -1
- package/dist/acl/grant/0.2/payload.js +1 -1
- package/dist/acl/grant/0.2/payload.js.map +1 -1
- package/dist/acl/grant/0.3/payload.d.ts +1895 -0
- package/dist/acl/grant/0.3/payload.d.ts.map +1 -0
- package/dist/acl/grant/0.3/payload.js +1096 -0
- package/dist/acl/grant/0.3/payload.js.map +1 -0
- package/dist/acl/list/0.1/payload.d.ts +4 -4
- package/dist/acl/list/0.1/payload.js +1 -1
- package/dist/acl/list/0.2/payload.d.ts +4 -4
- package/dist/acl/list/0.2/payload.js +1 -1
- package/dist/acl/list/0.3/payload.d.ts +14 -2
- package/dist/acl/list/0.3/payload.d.ts.map +1 -1
- package/dist/acl/list/0.3/payload.js +1 -1
- package/dist/acl/list/0.3/payload.js.map +1 -1
- package/dist/acl/list/0.4/payload.d.ts +2079 -0
- package/dist/acl/list/0.4/payload.d.ts.map +1 -0
- package/dist/acl/list/0.4/payload.js +1185 -0
- package/dist/acl/list/0.4/payload.js.map +1 -0
- package/dist/acl/revoke/0.1/payload.d.ts +4 -4
- package/dist/acl/revoke/0.1/payload.js +1 -1
- package/dist/acl/revoke/0.2/payload.d.ts +14 -2
- package/dist/acl/revoke/0.2/payload.d.ts.map +1 -1
- package/dist/acl/revoke/0.2/payload.js +1 -1
- package/dist/acl/revoke/0.2/payload.js.map +1 -1
- package/dist/acl/revoke/0.3/payload.d.ts +2090 -0
- package/dist/acl/revoke/0.3/payload.d.ts.map +1 -0
- package/dist/acl/revoke/0.3/payload.js +1206 -0
- package/dist/acl/revoke/0.3/payload.js.map +1 -0
- package/dist/acl/show/0.1/payload.d.ts +4 -4
- package/dist/acl/show/0.1/payload.js +1 -1
- package/dist/acl/show/0.2/payload.d.ts +14 -2
- package/dist/acl/show/0.2/payload.d.ts.map +1 -1
- package/dist/acl/show/0.2/payload.js +1 -1
- package/dist/acl/show/0.2/payload.js.map +1 -1
- package/dist/acl/show/0.3/payload.d.ts +1935 -0
- package/dist/acl/show/0.3/payload.d.ts.map +1 -0
- package/dist/acl/show/0.3/payload.js +1122 -0
- package/dist/acl/show/0.3/payload.js.map +1 -0
- package/dist/acl/update/0.1/payload.d.ts +4 -4
- package/dist/acl/update/0.1/payload.js +1 -1
- package/dist/acl/update/0.2/payload.d.ts +14 -2
- package/dist/acl/update/0.2/payload.d.ts.map +1 -1
- package/dist/acl/update/0.2/payload.js +1 -1
- package/dist/acl/update/0.2/payload.js.map +1 -1
- package/dist/acl/update/0.3/payload.d.ts +2042 -0
- package/dist/acl/update/0.3/payload.d.ts.map +1 -0
- package/dist/acl/update/0.3/payload.js +1163 -0
- package/dist/acl/update/0.3/payload.js.map +1 -0
- package/dist/index.d.ts +48 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +48 -0
- package/dist/index.js.map +1 -1
- package/dist/rooms/_shared/0.2/room.d.ts +1 -1
- package/dist/rooms/_shared/0.2/room.d.ts.map +1 -1
- package/dist/rooms/keys/file-key/0.1/payload.d.ts +4 -4
- package/dist/rooms/keys/file-key/0.1/payload.js +1 -1
- package/dist/rooms/keys/file-key/0.2/payload.d.ts +14 -2
- package/dist/rooms/keys/file-key/0.2/payload.d.ts.map +1 -1
- package/dist/rooms/keys/file-key/0.2/payload.js +1 -1
- package/dist/rooms/keys/file-key/0.2/payload.js.map +1 -1
- package/dist/rooms/keys/file-key/0.3/payload.d.ts +396 -0
- package/dist/rooms/keys/file-key/0.3/payload.d.ts.map +1 -0
- package/dist/rooms/keys/file-key/0.3/payload.js +223 -0
- package/dist/rooms/keys/file-key/0.3/payload.js.map +1 -0
- package/dist/rooms/keys/open/0.1/payload.d.ts +4 -4
- package/dist/rooms/keys/open/0.1/payload.js +1 -1
- package/dist/rooms/keys/open/0.2/payload.d.ts +14 -2
- package/dist/rooms/keys/open/0.2/payload.d.ts.map +1 -1
- package/dist/rooms/keys/open/0.2/payload.js +1 -1
- package/dist/rooms/keys/open/0.2/payload.js.map +1 -1
- package/dist/rooms/keys/open/0.3/payload.d.ts +413 -0
- package/dist/rooms/keys/open/0.3/payload.d.ts.map +1 -0
- package/dist/rooms/keys/open/0.3/payload.js +227 -0
- package/dist/rooms/keys/open/0.3/payload.js.map +1 -0
- package/dist/rooms/keys/read/0.1/payload.d.ts +4 -4
- package/dist/rooms/keys/read/0.1/payload.js +1 -1
- package/dist/rooms/keys/read/0.2/payload.d.ts +14 -2
- package/dist/rooms/keys/read/0.2/payload.d.ts.map +1 -1
- package/dist/rooms/keys/read/0.2/payload.js +1 -1
- package/dist/rooms/keys/read/0.2/payload.js.map +1 -1
- package/dist/rooms/keys/read/0.3/payload.d.ts +1363 -0
- package/dist/rooms/keys/read/0.3/payload.d.ts.map +1 -0
- package/dist/rooms/keys/read/0.3/payload.js +731 -0
- package/dist/rooms/keys/read/0.3/payload.js.map +1 -0
- package/dist/rooms/owner/issue-authority/0.2/payload.d.ts +13 -2
- package/dist/rooms/owner/issue-authority/0.2/payload.d.ts.map +1 -1
- package/dist/rooms/owner/issue-authority/0.2/payload.js +1 -1
- package/dist/rooms/owner/issue-authority/0.2/payload.js.map +1 -1
- package/dist/rooms/owner/issue-authority/0.3/payload.d.ts +557 -0
- package/dist/rooms/owner/issue-authority/0.3/payload.d.ts.map +1 -0
- package/dist/rooms/owner/issue-authority/0.3/payload.js +322 -0
- package/dist/rooms/owner/issue-authority/0.3/payload.js.map +1 -0
- package/dist/rooms/records/get/0.1/payload.d.ts +4 -4
- package/dist/rooms/records/get/0.1/payload.js +1 -1
- package/dist/rooms/records/get/0.2/payload.d.ts +4 -4
- package/dist/rooms/records/get/0.2/payload.js +1 -1
- package/dist/rooms/records/get/0.3/payload.d.ts +13 -2
- package/dist/rooms/records/get/0.3/payload.d.ts.map +1 -1
- package/dist/rooms/records/get/0.3/payload.js +1 -1
- package/dist/rooms/records/get/0.3/payload.js.map +1 -1
- package/dist/rooms/records/get/0.4/payload.d.ts +1140 -0
- package/dist/rooms/records/get/0.4/payload.d.ts.map +1 -0
- package/dist/rooms/records/get/0.4/payload.js +613 -0
- package/dist/rooms/records/get/0.4/payload.js.map +1 -0
- package/dist/vault/sign-trust-task/0.2/payload.d.ts +5 -5
- package/dist/vault/sign-trust-task/0.2/payload.js +2 -2
- package/dist/vta/_shared/0.1/memory-record.d.ts +1 -1
- package/dist/vta/_shared/0.1/memory-record.d.ts.map +1 -1
- package/dist/vta/memory/delete/0.1/payload.d.ts +4 -4
- package/dist/vta/memory/delete/0.1/payload.js +1 -1
- package/dist/vta/memory/delete/0.2/payload.d.ts +14 -2
- package/dist/vta/memory/delete/0.2/payload.d.ts.map +1 -1
- package/dist/vta/memory/delete/0.2/payload.js +1 -1
- package/dist/vta/memory/delete/0.2/payload.js.map +1 -1
- package/dist/vta/memory/delete/0.3/payload.d.ts +491 -0
- package/dist/vta/memory/delete/0.3/payload.d.ts.map +1 -0
- package/dist/vta/memory/delete/0.3/payload.js +266 -0
- package/dist/vta/memory/delete/0.3/payload.js.map +1 -0
- package/dist/vta/memory/get/0.1/payload.d.ts +14 -2
- package/dist/vta/memory/get/0.1/payload.d.ts.map +1 -1
- package/dist/vta/memory/get/0.1/payload.js +1 -1
- package/dist/vta/memory/get/0.1/payload.js.map +1 -1
- package/dist/vta/memory/get/0.2/payload.d.ts +722 -0
- package/dist/vta/memory/get/0.2/payload.d.ts.map +1 -0
- package/dist/vta/memory/get/0.2/payload.js +391 -0
- package/dist/vta/memory/get/0.2/payload.js.map +1 -0
- package/dist/vta/memory/list/0.1/payload.d.ts +4 -4
- package/dist/vta/memory/list/0.1/payload.js +1 -1
- package/dist/vta/memory/list/0.2/payload.d.ts +14 -2
- package/dist/vta/memory/list/0.2/payload.d.ts.map +1 -1
- package/dist/vta/memory/list/0.2/payload.js +1 -1
- package/dist/vta/memory/list/0.2/payload.js.map +1 -1
- package/dist/vta/memory/list/0.3/payload.d.ts +769 -0
- package/dist/vta/memory/list/0.3/payload.d.ts.map +1 -0
- package/dist/vta/memory/list/0.3/payload.js +405 -0
- package/dist/vta/memory/list/0.3/payload.js.map +1 -0
- package/dist/vta/memory/put/0.1/payload.d.ts +4 -4
- package/dist/vta/memory/put/0.1/payload.js +1 -1
- package/dist/vta/memory/put/0.2/payload.d.ts +14 -2
- package/dist/vta/memory/put/0.2/payload.d.ts.map +1 -1
- package/dist/vta/memory/put/0.2/payload.js +1 -1
- package/dist/vta/memory/put/0.2/payload.js.map +1 -1
- package/dist/vta/memory/put/0.3/payload.d.ts +566 -0
- package/dist/vta/memory/put/0.3/payload.d.ts.map +1 -0
- package/dist/vta/memory/put/0.3/payload.js +306 -0
- package/dist/vta/memory/put/0.3/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_extends.ts +9 -0
- package/src/_shared/components.ts +117 -0
- package/src/acl/_shared/0.3/acl-entry.ts +25 -0
- package/src/acl/change-role/0.1/payload.ts +5 -5
- package/src/acl/change-role/0.2/payload.ts +15 -3
- package/src/acl/change-role/0.3/payload.ts +1167 -0
- package/src/acl/grant/0.1/payload.ts +5 -5
- package/src/acl/grant/0.2/payload.ts +15 -3
- package/src/acl/grant/0.3/payload.ts +1146 -0
- package/src/acl/list/0.1/payload.ts +5 -5
- package/src/acl/list/0.2/payload.ts +5 -5
- package/src/acl/list/0.3/payload.ts +15 -3
- package/src/acl/list/0.4/payload.ts +1267 -0
- package/src/acl/revoke/0.1/payload.ts +5 -5
- package/src/acl/revoke/0.2/payload.ts +15 -3
- package/src/acl/revoke/0.3/payload.ts +1278 -0
- package/src/acl/show/0.1/payload.ts +5 -5
- package/src/acl/show/0.2/payload.ts +15 -3
- package/src/acl/show/0.3/payload.ts +1172 -0
- package/src/acl/update/0.1/payload.ts +5 -5
- package/src/acl/update/0.2/payload.ts +15 -3
- package/src/acl/update/0.3/payload.ts +1258 -0
- package/src/index.ts +48 -0
- package/src/rooms/_shared/0.2/room.ts +1 -1
- package/src/rooms/keys/file-key/0.1/payload.ts +5 -5
- package/src/rooms/keys/file-key/0.2/payload.ts +15 -3
- package/src/rooms/keys/file-key/0.3/payload.ts +286 -0
- package/src/rooms/keys/open/0.1/payload.ts +5 -5
- package/src/rooms/keys/open/0.2/payload.ts +15 -3
- package/src/rooms/keys/open/0.3/payload.ts +299 -0
- package/src/rooms/keys/read/0.1/payload.ts +5 -5
- package/src/rooms/keys/read/0.2/payload.ts +15 -3
- package/src/rooms/keys/read/0.3/payload.ts +901 -0
- package/src/rooms/owner/issue-authority/0.2/payload.ts +14 -3
- package/src/rooms/owner/issue-authority/0.3/payload.ts +388 -0
- package/src/rooms/records/get/0.1/payload.ts +5 -5
- package/src/rooms/records/get/0.2/payload.ts +5 -5
- package/src/rooms/records/get/0.3/payload.ts +14 -3
- package/src/rooms/records/get/0.4/payload.ts +730 -0
- package/src/vault/sign-trust-task/0.2/payload.ts +3 -3
- package/src/vta/_shared/0.1/memory-record.ts +1 -1
- package/src/vta/memory/delete/0.1/payload.ts +5 -5
- package/src/vta/memory/delete/0.2/payload.ts +15 -3
- package/src/vta/memory/delete/0.3/payload.ts +334 -0
- package/src/vta/memory/get/0.1/payload.ts +15 -3
- package/src/vta/memory/get/0.2/payload.ts +460 -0
- package/src/vta/memory/list/0.1/payload.ts +5 -5
- package/src/vta/memory/list/0.2/payload.ts +15 -3
- package/src/vta/memory/list/0.3/payload.ts +491 -0
- package/src/vta/memory/put/0.1/payload.ts +5 -5
- package/src/vta/memory/put/0.2/payload.ts +15 -3
- package/src/vta/memory/put/0.3/payload.ts +379 -0
package/src/index.ts
CHANGED
|
@@ -22,18 +22,27 @@ export import AclEntryShared_v0_1 = _AclEntryShared_v0_1;
|
|
|
22
22
|
import * as _AclEntryShared_v0_2 from "./acl/_shared/0.2/acl-entry.js";
|
|
23
23
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
24
24
|
export import AclEntryShared_v0_2 = _AclEntryShared_v0_2;
|
|
25
|
+
import * as _AclEntryShared_v0_3 from "./acl/_shared/0.3/acl-entry.js";
|
|
26
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
27
|
+
export import AclEntryShared_v0_3 = _AclEntryShared_v0_3;
|
|
25
28
|
import * as _AclChangeRole_v0_1 from "./acl/change-role/0.1/payload.js";
|
|
26
29
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
27
30
|
export import AclChangeRole_v0_1 = _AclChangeRole_v0_1;
|
|
28
31
|
import * as _AclChangeRole_v0_2 from "./acl/change-role/0.2/payload.js";
|
|
29
32
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
30
33
|
export import AclChangeRole_v0_2 = _AclChangeRole_v0_2;
|
|
34
|
+
import * as _AclChangeRole_v0_3 from "./acl/change-role/0.3/payload.js";
|
|
35
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
36
|
+
export import AclChangeRole_v0_3 = _AclChangeRole_v0_3;
|
|
31
37
|
import * as _AclGrant_v0_1 from "./acl/grant/0.1/payload.js";
|
|
32
38
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
33
39
|
export import AclGrant_v0_1 = _AclGrant_v0_1;
|
|
34
40
|
import * as _AclGrant_v0_2 from "./acl/grant/0.2/payload.js";
|
|
35
41
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
36
42
|
export import AclGrant_v0_2 = _AclGrant_v0_2;
|
|
43
|
+
import * as _AclGrant_v0_3 from "./acl/grant/0.3/payload.js";
|
|
44
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
45
|
+
export import AclGrant_v0_3 = _AclGrant_v0_3;
|
|
37
46
|
import * as _AclList_v0_1 from "./acl/list/0.1/payload.js";
|
|
38
47
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
39
48
|
export import AclList_v0_1 = _AclList_v0_1;
|
|
@@ -43,18 +52,27 @@ export import AclList_v0_2 = _AclList_v0_2;
|
|
|
43
52
|
import * as _AclList_v0_3 from "./acl/list/0.3/payload.js";
|
|
44
53
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
45
54
|
export import AclList_v0_3 = _AclList_v0_3;
|
|
55
|
+
import * as _AclList_v0_4 from "./acl/list/0.4/payload.js";
|
|
56
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
57
|
+
export import AclList_v0_4 = _AclList_v0_4;
|
|
46
58
|
import * as _AclRevoke_v0_1 from "./acl/revoke/0.1/payload.js";
|
|
47
59
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
48
60
|
export import AclRevoke_v0_1 = _AclRevoke_v0_1;
|
|
49
61
|
import * as _AclRevoke_v0_2 from "./acl/revoke/0.2/payload.js";
|
|
50
62
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
51
63
|
export import AclRevoke_v0_2 = _AclRevoke_v0_2;
|
|
64
|
+
import * as _AclRevoke_v0_3 from "./acl/revoke/0.3/payload.js";
|
|
65
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
66
|
+
export import AclRevoke_v0_3 = _AclRevoke_v0_3;
|
|
52
67
|
import * as _AclShow_v0_1 from "./acl/show/0.1/payload.js";
|
|
53
68
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
54
69
|
export import AclShow_v0_1 = _AclShow_v0_1;
|
|
55
70
|
import * as _AclShow_v0_2 from "./acl/show/0.2/payload.js";
|
|
56
71
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
57
72
|
export import AclShow_v0_2 = _AclShow_v0_2;
|
|
73
|
+
import * as _AclShow_v0_3 from "./acl/show/0.3/payload.js";
|
|
74
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
75
|
+
export import AclShow_v0_3 = _AclShow_v0_3;
|
|
58
76
|
import * as _AclSwapKey_v0_1 from "./acl/swap-key/0.1/payload.js";
|
|
59
77
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
60
78
|
export import AclSwapKey_v0_1 = _AclSwapKey_v0_1;
|
|
@@ -64,6 +82,9 @@ export import AclUpdate_v0_1 = _AclUpdate_v0_1;
|
|
|
64
82
|
import * as _AclUpdate_v0_2 from "./acl/update/0.2/payload.js";
|
|
65
83
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
66
84
|
export import AclUpdate_v0_2 = _AclUpdate_v0_2;
|
|
85
|
+
import * as _AclUpdate_v0_3 from "./acl/update/0.3/payload.js";
|
|
86
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
87
|
+
export import AclUpdate_v0_3 = _AclUpdate_v0_3;
|
|
67
88
|
import * as _AuditShared_v0_1 from "./audit/_shared/0.1/audit.js";
|
|
68
89
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
69
90
|
export import AuditShared_v0_1 = _AuditShared_v0_1;
|
|
@@ -1801,6 +1822,9 @@ export import RoomsKeysFileKey_v0_1 = _RoomsKeysFileKey_v0_1;
|
|
|
1801
1822
|
import * as _RoomsKeysFileKey_v0_2 from "./rooms/keys/file-key/0.2/payload.js";
|
|
1802
1823
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1803
1824
|
export import RoomsKeysFileKey_v0_2 = _RoomsKeysFileKey_v0_2;
|
|
1825
|
+
import * as _RoomsKeysFileKey_v0_3 from "./rooms/keys/file-key/0.3/payload.js";
|
|
1826
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1827
|
+
export import RoomsKeysFileKey_v0_3 = _RoomsKeysFileKey_v0_3;
|
|
1804
1828
|
import * as _RoomsKeysKeyPackage_v0_1 from "./rooms/keys/key-package/0.1/payload.js";
|
|
1805
1829
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1806
1830
|
export import RoomsKeysKeyPackage_v0_1 = _RoomsKeysKeyPackage_v0_1;
|
|
@@ -1822,6 +1846,9 @@ export import RoomsKeysOpen_v0_1 = _RoomsKeysOpen_v0_1;
|
|
|
1822
1846
|
import * as _RoomsKeysOpen_v0_2 from "./rooms/keys/open/0.2/payload.js";
|
|
1823
1847
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1824
1848
|
export import RoomsKeysOpen_v0_2 = _RoomsKeysOpen_v0_2;
|
|
1849
|
+
import * as _RoomsKeysOpen_v0_3 from "./rooms/keys/open/0.3/payload.js";
|
|
1850
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1851
|
+
export import RoomsKeysOpen_v0_3 = _RoomsKeysOpen_v0_3;
|
|
1825
1852
|
import * as _RoomsKeysPresent_v0_1 from "./rooms/keys/present/0.1/payload.js";
|
|
1826
1853
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1827
1854
|
export import RoomsKeysPresent_v0_1 = _RoomsKeysPresent_v0_1;
|
|
@@ -1840,6 +1867,9 @@ export import RoomsKeysRead_v0_1 = _RoomsKeysRead_v0_1;
|
|
|
1840
1867
|
import * as _RoomsKeysRead_v0_2 from "./rooms/keys/read/0.2/payload.js";
|
|
1841
1868
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1842
1869
|
export import RoomsKeysRead_v0_2 = _RoomsKeysRead_v0_2;
|
|
1870
|
+
import * as _RoomsKeysRead_v0_3 from "./rooms/keys/read/0.3/payload.js";
|
|
1871
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1872
|
+
export import RoomsKeysRead_v0_3 = _RoomsKeysRead_v0_3;
|
|
1843
1873
|
import * as _RoomsKeysSeal_v0_1 from "./rooms/keys/seal/0.1/payload.js";
|
|
1844
1874
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1845
1875
|
export import RoomsKeysSeal_v0_1 = _RoomsKeysSeal_v0_1;
|
|
@@ -1900,6 +1930,9 @@ export import RoomsOwnerIssueAuthority_v0_1 = _RoomsOwnerIssueAuthority_v0_1;
|
|
|
1900
1930
|
import * as _RoomsOwnerIssueAuthority_v0_2 from "./rooms/owner/issue-authority/0.2/payload.js";
|
|
1901
1931
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1902
1932
|
export import RoomsOwnerIssueAuthority_v0_2 = _RoomsOwnerIssueAuthority_v0_2;
|
|
1933
|
+
import * as _RoomsOwnerIssueAuthority_v0_3 from "./rooms/owner/issue-authority/0.3/payload.js";
|
|
1934
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1935
|
+
export import RoomsOwnerIssueAuthority_v0_3 = _RoomsOwnerIssueAuthority_v0_3;
|
|
1903
1936
|
import * as _RoomsOwnerIssueMembership_v0_1 from "./rooms/owner/issue-membership/0.1/payload.js";
|
|
1904
1937
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1905
1938
|
export import RoomsOwnerIssueMembership_v0_1 = _RoomsOwnerIssueMembership_v0_1;
|
|
@@ -1927,6 +1960,9 @@ export import RoomsRecordsGet_v0_2 = _RoomsRecordsGet_v0_2;
|
|
|
1927
1960
|
import * as _RoomsRecordsGet_v0_3 from "./rooms/records/get/0.3/payload.js";
|
|
1928
1961
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1929
1962
|
export import RoomsRecordsGet_v0_3 = _RoomsRecordsGet_v0_3;
|
|
1963
|
+
import * as _RoomsRecordsGet_v0_4 from "./rooms/records/get/0.4/payload.js";
|
|
1964
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1965
|
+
export import RoomsRecordsGet_v0_4 = _RoomsRecordsGet_v0_4;
|
|
1930
1966
|
import * as _RoomsRecordsList_v0_1 from "./rooms/records/list/0.1/payload.js";
|
|
1931
1967
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1932
1968
|
export import RoomsRecordsList_v0_1 = _RoomsRecordsList_v0_1;
|
|
@@ -2613,21 +2649,33 @@ export import VtaMemoryDelete_v0_1 = _VtaMemoryDelete_v0_1;
|
|
|
2613
2649
|
import * as _VtaMemoryDelete_v0_2 from "./vta/memory/delete/0.2/payload.js";
|
|
2614
2650
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2615
2651
|
export import VtaMemoryDelete_v0_2 = _VtaMemoryDelete_v0_2;
|
|
2652
|
+
import * as _VtaMemoryDelete_v0_3 from "./vta/memory/delete/0.3/payload.js";
|
|
2653
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2654
|
+
export import VtaMemoryDelete_v0_3 = _VtaMemoryDelete_v0_3;
|
|
2616
2655
|
import * as _VtaMemoryGet_v0_1 from "./vta/memory/get/0.1/payload.js";
|
|
2617
2656
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2618
2657
|
export import VtaMemoryGet_v0_1 = _VtaMemoryGet_v0_1;
|
|
2658
|
+
import * as _VtaMemoryGet_v0_2 from "./vta/memory/get/0.2/payload.js";
|
|
2659
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2660
|
+
export import VtaMemoryGet_v0_2 = _VtaMemoryGet_v0_2;
|
|
2619
2661
|
import * as _VtaMemoryList_v0_1 from "./vta/memory/list/0.1/payload.js";
|
|
2620
2662
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2621
2663
|
export import VtaMemoryList_v0_1 = _VtaMemoryList_v0_1;
|
|
2622
2664
|
import * as _VtaMemoryList_v0_2 from "./vta/memory/list/0.2/payload.js";
|
|
2623
2665
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2624
2666
|
export import VtaMemoryList_v0_2 = _VtaMemoryList_v0_2;
|
|
2667
|
+
import * as _VtaMemoryList_v0_3 from "./vta/memory/list/0.3/payload.js";
|
|
2668
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2669
|
+
export import VtaMemoryList_v0_3 = _VtaMemoryList_v0_3;
|
|
2625
2670
|
import * as _VtaMemoryPut_v0_1 from "./vta/memory/put/0.1/payload.js";
|
|
2626
2671
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2627
2672
|
export import VtaMemoryPut_v0_1 = _VtaMemoryPut_v0_1;
|
|
2628
2673
|
import * as _VtaMemoryPut_v0_2 from "./vta/memory/put/0.2/payload.js";
|
|
2629
2674
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2630
2675
|
export import VtaMemoryPut_v0_2 = _VtaMemoryPut_v0_2;
|
|
2676
|
+
import * as _VtaMemoryPut_v0_3 from "./vta/memory/put/0.3/payload.js";
|
|
2677
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2678
|
+
export import VtaMemoryPut_v0_3 = _VtaMemoryPut_v0_3;
|
|
2631
2679
|
import * as _VtaMetricsShow_v0_1 from "./vta/metrics/show/0.1/payload.js";
|
|
2632
2680
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2633
2681
|
export import VtaMetricsShow_v0_1 = _VtaMetricsShow_v0_1;
|
|
@@ -14,4 +14,4 @@ export interface RoomsSharedTypes {
|
|
|
14
14
|
* The definitions this shared schema publishes, hoisted to one declaration each.
|
|
15
15
|
* See "../../../_shared/components.js".
|
|
16
16
|
*/
|
|
17
|
-
export type { AuthorityPresentation, DataCommitment, HeadVersion, PermittedUse, ReadVerification, RecordBasis, RecordConfidence, RecordCount, RecordEditedAt, RecordEvidence, RecordEvidenceCredential, RecordEvidenceList, RecordEvidenceRecord, RecordKind, RecordMetadata, RecordMetadataV2, RecordMetadataV3, RecordPrune_RoomsV0_2 as RecordPrune, RecordReference, RecordRetention, RecordValidUntil, RecordWrittenAt, RetentionPolicy, RoomProfile, RoomProfileStatement, SealedRecordBody, Visibility } from "../../../_shared/components.js";
|
|
17
|
+
export type { AuthorityPresentation, DataCommitment, HeadVersion, PermittedUse, ReadVerification, RecordBasis, RecordConfidence, RecordCount, RecordEditedAt, RecordEvidence, RecordEvidenceCredential, RecordEvidenceList, RecordEvidenceRecord, RecordKind, RecordMetadata, RecordMetadataV2, RecordMetadataV3, RecordPrune_RoomsV0_2 as RecordPrune, RecordPurpose, RecordReference, RecordRetention, RecordValidUntil, RecordWrittenAt, RetentionPolicy, RoomProfile, RoomProfileStatement, SealedRecordBody, Visibility } from "../../../_shared/components.js";
|
|
@@ -9,7 +9,7 @@ import type { Ext } from "../../../../_shared/components.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* A caller asks the party holding its principal's room keys for the key of ONE file in a room: derived from the room's storage key for an epoch, bound to the room, the epoch and the file's identifier, and opening that file and nothing else.
|
|
11
11
|
*
|
|
12
|
-
* @deprecated superseded by rooms/keys/file-key/0.
|
|
12
|
+
* @deprecated superseded by rooms/keys/file-key/0.3
|
|
13
13
|
*/
|
|
14
14
|
export interface RoomsKeysFileKeyPayload {
|
|
15
15
|
/**
|
|
@@ -36,7 +36,7 @@ export interface RoomsKeysFileKeyPayload {
|
|
|
36
36
|
/**
|
|
37
37
|
* Success response to rooms/keys/file-key. Type https://trusttasks.org/spec/rooms/keys/file-key/0.1#response.
|
|
38
38
|
*
|
|
39
|
-
* @deprecated superseded by rooms/keys/file-key/0.
|
|
39
|
+
* @deprecated superseded by rooms/keys/file-key/0.3
|
|
40
40
|
*/
|
|
41
41
|
export interface RoomsKeysFileKeyResponsePayload {
|
|
42
42
|
/**
|
|
@@ -70,12 +70,12 @@ export const EXTENDS: string | null = null;
|
|
|
70
70
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
71
71
|
* Versions").
|
|
72
72
|
*/
|
|
73
|
-
export const DEPRECATION: string | null = "superseded by rooms/keys/file-key/0.
|
|
73
|
+
export const DEPRECATION: string | null = "superseded by rooms/keys/file-key/0.3";
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* Stable alias for this specification's request payload shape.
|
|
77
77
|
*
|
|
78
|
-
* @deprecated superseded by rooms/keys/file-key/0.
|
|
78
|
+
* @deprecated superseded by rooms/keys/file-key/0.3
|
|
79
79
|
*/
|
|
80
80
|
export type Payload = RoomsKeysFileKeyPayload;
|
|
81
81
|
|
|
@@ -85,7 +85,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/keys/file-ke
|
|
|
85
85
|
/**
|
|
86
86
|
* Stable alias for this specification's success-response payload shape.
|
|
87
87
|
*
|
|
88
|
-
* @deprecated superseded by rooms/keys/file-key/0.
|
|
88
|
+
* @deprecated superseded by rooms/keys/file-key/0.3
|
|
89
89
|
*/
|
|
90
90
|
export type Response = RoomsKeysFileKeyResponsePayload;
|
|
91
91
|
|
|
@@ -8,6 +8,8 @@ import type { Ext } from "../../../../_shared/components.js";
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* A caller asks the party holding its principal's room keys for the key of ONE file in a room: derived from the room's storage key for an epoch, bound to the room, the epoch and the file's identifier, and opening that file and nothing else.
|
|
11
|
+
*
|
|
12
|
+
* @deprecated superseded by rooms/keys/file-key/0.3
|
|
11
13
|
*/
|
|
12
14
|
export interface RoomsKeysFileKeyPayload {
|
|
13
15
|
/**
|
|
@@ -33,6 +35,8 @@ export interface RoomsKeysFileKeyPayload {
|
|
|
33
35
|
}
|
|
34
36
|
/**
|
|
35
37
|
* Success response to rooms/keys/file-key. Type https://trusttasks.org/spec/rooms/keys/file-key/0.2#response.
|
|
38
|
+
*
|
|
39
|
+
* @deprecated superseded by rooms/keys/file-key/0.3
|
|
36
40
|
*/
|
|
37
41
|
export interface RoomsKeysFileKeyResponsePayload {
|
|
38
42
|
/**
|
|
@@ -66,15 +70,23 @@ export const EXTENDS: string | null = null;
|
|
|
66
70
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
67
71
|
* Versions").
|
|
68
72
|
*/
|
|
69
|
-
export const DEPRECATION: string | null =
|
|
73
|
+
export const DEPRECATION: string | null = "superseded by rooms/keys/file-key/0.3";
|
|
70
74
|
|
|
71
|
-
/**
|
|
75
|
+
/**
|
|
76
|
+
* Stable alias for this specification's request payload shape.
|
|
77
|
+
*
|
|
78
|
+
* @deprecated superseded by rooms/keys/file-key/0.3
|
|
79
|
+
*/
|
|
72
80
|
export type Payload = RoomsKeysFileKeyPayload;
|
|
73
81
|
|
|
74
82
|
/** Trust Task response type URI (request type URI + "#response"). */
|
|
75
83
|
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/keys/file-key/0.2#response" as const;
|
|
76
84
|
|
|
77
|
-
/**
|
|
85
|
+
/**
|
|
86
|
+
* Stable alias for this specification's success-response payload shape.
|
|
87
|
+
*
|
|
88
|
+
* @deprecated superseded by rooms/keys/file-key/0.3
|
|
89
|
+
*/
|
|
78
90
|
export type Response = RoomsKeysFileKeyResponsePayload;
|
|
79
91
|
|
|
80
92
|
/**
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/rooms/keys/file-key/0.3/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Ext, Purpose_AclV0_3 as Purpose, Purpose_AclV0_31, Purpose_AclV0_32, RecordPurpose } from "../../../../_shared/components.js";
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* A caller asks the party holding its principal's room keys for the key of ONE file in a room: derived from the room's storage key for an epoch, bound to the room, the epoch and the file's identifier, and opening that file and nothing else.
|
|
11
|
+
*/
|
|
12
|
+
export interface RoomsKeysFileKeyPayload {
|
|
13
|
+
/**
|
|
14
|
+
* The room the file belongs to. Bound into the derivation, so a key released for one room cannot open a blob relocated from another.
|
|
15
|
+
*/
|
|
16
|
+
roomId: string;
|
|
17
|
+
/**
|
|
18
|
+
* The file's identifier: 32 random bytes, base64url without padding, as in FileManifest.fileId. The salt of the derivation. For `seal` the caller mints it fresh and MUST NOT reuse it; for `open` it is read from the sealed record's file manifest.
|
|
19
|
+
*/
|
|
20
|
+
fileId: string;
|
|
21
|
+
/**
|
|
22
|
+
* `seal`: a key for a file about to be uploaded, derived under the room's CURRENT epoch, which the response names. `open`: a key for a file already in the room, derived under the epoch its manifest names.
|
|
23
|
+
*/
|
|
24
|
+
purpose: "seal" | "open";
|
|
25
|
+
/**
|
|
26
|
+
* The epoch the file key derives from, as FileManifest.epoch states it. REQUIRED for `open` and forbidden for `seal` — a rule over two members this schema does not express; the custodian refuses a violation with `malformedRequest`. A sealing caller never chooses the epoch: sealing under anything but the current one would produce a file members who joined later could not open, or one a removed member still could.
|
|
27
|
+
*/
|
|
28
|
+
epoch?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Ecosystem-defined extension members per SPEC.md §4.5.1.
|
|
31
|
+
*/
|
|
32
|
+
ext?: Ext;
|
|
33
|
+
/**
|
|
34
|
+
* OPTIONAL. The one purpose the caller will use the file the released key opens for (VTI-ACL-103), as `RecordPurpose` defines it. Named `purposeOfUse` because `purpose` already says which key is asked for. Bound only on `purpose: open`: a `seal` key is for content the caller is about to upload itself. A purpose not granted is refused with `purposeNotGranted`; may be omitted where exactly one purpose is granted, or `any`.
|
|
35
|
+
*/
|
|
36
|
+
purposeOfUse?: RecordPurpose;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Success response to rooms/keys/file-key. Type https://trusttasks.org/spec/rooms/keys/file-key/0.2#response.
|
|
40
|
+
*/
|
|
41
|
+
export interface RoomsKeysFileKeyResponsePayload {
|
|
42
|
+
/**
|
|
43
|
+
* The 32-byte file key, base64url without padding. Opens exactly one file. The caller holds it in memory for as long as the file is being sealed or opened and then discards it; it never stores, logs or forwards it.
|
|
44
|
+
*/
|
|
45
|
+
key: string;
|
|
46
|
+
/**
|
|
47
|
+
* The epoch the key was derived under. For `seal`, the room's current epoch, which the caller writes into the file's manifest; for `open`, the epoch requested.
|
|
48
|
+
*/
|
|
49
|
+
epoch: number;
|
|
50
|
+
ext?: Ext;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
54
|
+
export type { Ext, Purpose, Purpose_AclV0_31, Purpose_AclV0_32, RecordPurpose };
|
|
55
|
+
|
|
56
|
+
/** Trust Task type URI. */
|
|
57
|
+
export const TYPE_URI = "https://trusttasks.org/spec/rooms/keys/file-key/0.3" as const;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* The earlier version of this specification that this one declares it
|
|
61
|
+
* extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
|
|
62
|
+
* `null`. Only the direct declaration — follow the chain with
|
|
63
|
+
* `extendsChain` / `readForSpec`.
|
|
64
|
+
*/
|
|
65
|
+
export const EXTENDS: string | null = "0.2";
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Why this version is deprecated, or `null` while it is current. A
|
|
69
|
+
* superseded or retired version is still supported, and is withdrawn from
|
|
70
|
+
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
71
|
+
* Versions").
|
|
72
|
+
*/
|
|
73
|
+
export const DEPRECATION: string | null = null;
|
|
74
|
+
|
|
75
|
+
/** Stable alias for this specification's request payload shape. */
|
|
76
|
+
export type Payload = RoomsKeysFileKeyPayload;
|
|
77
|
+
|
|
78
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
79
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/keys/file-key/0.3#response" as const;
|
|
80
|
+
|
|
81
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
82
|
+
export type Response = RoomsKeysFileKeyResponsePayload;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* This specification's payload schema, as a value.
|
|
86
|
+
*
|
|
87
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
88
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
89
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
90
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
91
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
92
|
+
*/
|
|
93
|
+
export const PAYLOAD_SCHEMA = {
|
|
94
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
95
|
+
"$id": "https://trusttasks.org/spec/rooms/keys/file-key/0.3",
|
|
96
|
+
"title": "Rooms Keys File Key — payload",
|
|
97
|
+
"description": "A caller asks the party holding its principal's room keys for the key of ONE file in a room: derived from the room's storage key for an epoch, bound to the room, the epoch and the file's identifier, and opening that file and nothing else.",
|
|
98
|
+
"type": "object",
|
|
99
|
+
"additionalProperties": false,
|
|
100
|
+
"required": [
|
|
101
|
+
"roomId",
|
|
102
|
+
"fileId",
|
|
103
|
+
"purpose"
|
|
104
|
+
],
|
|
105
|
+
"properties": {
|
|
106
|
+
"roomId": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"description": "The room the file belongs to. Bound into the derivation, so a key released for one room cannot open a blob relocated from another."
|
|
109
|
+
},
|
|
110
|
+
"fileId": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"pattern": "^[A-Za-z0-9_-]{43}$",
|
|
113
|
+
"description": "The file's identifier: 32 random bytes, base64url without padding, as in FileManifest.fileId. The salt of the derivation. For `seal` the caller mints it fresh and MUST NOT reuse it; for `open` it is read from the sealed record's file manifest."
|
|
114
|
+
},
|
|
115
|
+
"purpose": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"enum": [
|
|
118
|
+
"seal",
|
|
119
|
+
"open"
|
|
120
|
+
],
|
|
121
|
+
"description": "`seal`: a key for a file about to be uploaded, derived under the room's CURRENT epoch, which the response names. `open`: a key for a file already in the room, derived under the epoch its manifest names."
|
|
122
|
+
},
|
|
123
|
+
"epoch": {
|
|
124
|
+
"type": "integer",
|
|
125
|
+
"minimum": 1,
|
|
126
|
+
"description": "The epoch the file key derives from, as FileManifest.epoch states it. REQUIRED for `open` and forbidden for `seal` — a rule over two members this schema does not express; the custodian refuses a violation with `malformedRequest`. A sealing caller never chooses the epoch: sealing under anything but the current one would produce a file members who joined later could not open, or one a removed member still could."
|
|
127
|
+
},
|
|
128
|
+
"ext": {
|
|
129
|
+
"$ref": "#/$defs/Ext",
|
|
130
|
+
"description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
|
|
131
|
+
},
|
|
132
|
+
"purposeOfUse": {
|
|
133
|
+
"$ref": "#/$defs/RecordPurpose",
|
|
134
|
+
"description": "OPTIONAL. The one purpose the caller will use the file the released key opens for (VTI-ACL-103), as `RecordPurpose` defines it. Named `purposeOfUse` because `purpose` already says which key is asked for. Bound only on `purpose: open`: a `seal` key is for content the caller is about to upload itself. A purpose not granted is refused with `purposeNotGranted`; may be omitted where exactly one purpose is granted, or `any`."
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"$defs": {
|
|
138
|
+
"Response": {
|
|
139
|
+
"$anchor": "response",
|
|
140
|
+
"title": "Rooms Keys File Key — response payload",
|
|
141
|
+
"description": "Success response to rooms/keys/file-key. Type https://trusttasks.org/spec/rooms/keys/file-key/0.2#response.",
|
|
142
|
+
"type": "object",
|
|
143
|
+
"additionalProperties": false,
|
|
144
|
+
"required": [
|
|
145
|
+
"key",
|
|
146
|
+
"epoch"
|
|
147
|
+
],
|
|
148
|
+
"properties": {
|
|
149
|
+
"key": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"pattern": "^[A-Za-z0-9_-]{43}$",
|
|
152
|
+
"description": "The 32-byte file key, base64url without padding. Opens exactly one file. The caller holds it in memory for as long as the file is being sealed or opened and then discards it; it never stores, logs or forwards it."
|
|
153
|
+
},
|
|
154
|
+
"epoch": {
|
|
155
|
+
"type": "integer",
|
|
156
|
+
"minimum": 1,
|
|
157
|
+
"description": "The epoch the key was derived under. For `seal`, the room's current epoch, which the caller writes into the file's manifest; for `open`, the epoch requested."
|
|
158
|
+
},
|
|
159
|
+
"ext": {
|
|
160
|
+
"$ref": "#/$defs/Ext"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"Ext": {
|
|
165
|
+
"title": "Ext",
|
|
166
|
+
"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.",
|
|
167
|
+
"type": "object",
|
|
168
|
+
"minProperties": 1,
|
|
169
|
+
"additionalProperties": true,
|
|
170
|
+
"propertyNames": {
|
|
171
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"RecordPurpose": {
|
|
175
|
+
"title": "RecordPurpose",
|
|
176
|
+
"description": "The one purpose for which a caller will use room content a request discloses (VTI-ACL-103): a name registered in the VTI specification's purpose registry (`personalisation`, `taskExecution`, `analytics`, `modelTraining`) or an absolute IRI. Granted only as the caller's authority grants it — `any` grants every purpose but `modelTraining` — refused otherwise (`purposeNotGranted`), and recorded with the read. Distinct from `PermittedUse`, which is what a record's author permits and is a statement, not a grant.",
|
|
177
|
+
"$ref": "#/$defs/Purpose"
|
|
178
|
+
},
|
|
179
|
+
"Purpose": {
|
|
180
|
+
"title": "Purpose",
|
|
181
|
+
"description": "What content is used for: a lowerCamelCase name registered in the VTI specification's purpose registry (Appendix H) — `personalisation`, `taskExecution`, `analytics`, `modelTraining` at the time of writing — or an absolute IRI naming a purpose defined elsewhere, such as a purpose of the W3C Data Privacy Vocabulary (`https://w3id.org/dpv#ServicePersonalisation`). Compared by exact string equality: a consumer MUST NOT treat a purpose it does not recognise as equal to any other, and grants only a request naming exactly a listed purpose (VTI-ACL-109). A registered name is never an IRI, because it contains no `:`.",
|
|
182
|
+
"type": "string",
|
|
183
|
+
"maxLength": 2048,
|
|
184
|
+
"anyOf": [
|
|
185
|
+
{
|
|
186
|
+
"pattern": "^[a-z][a-zA-Z0-9]{0,63}$"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"pattern": "^[a-zA-Z][a-zA-Z0-9+.-]*:[^\\s]+$"
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
} as const;
|
|
195
|
+
|
|
196
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
197
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
198
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
199
|
+
"$ref": "#/$defs/Response",
|
|
200
|
+
"$defs": {
|
|
201
|
+
"Response": {
|
|
202
|
+
"$anchor": "response",
|
|
203
|
+
"title": "Rooms Keys File Key — response payload",
|
|
204
|
+
"description": "Success response to rooms/keys/file-key. Type https://trusttasks.org/spec/rooms/keys/file-key/0.2#response.",
|
|
205
|
+
"type": "object",
|
|
206
|
+
"additionalProperties": false,
|
|
207
|
+
"required": [
|
|
208
|
+
"key",
|
|
209
|
+
"epoch"
|
|
210
|
+
],
|
|
211
|
+
"properties": {
|
|
212
|
+
"key": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"pattern": "^[A-Za-z0-9_-]{43}$",
|
|
215
|
+
"description": "The 32-byte file key, base64url without padding. Opens exactly one file. The caller holds it in memory for as long as the file is being sealed or opened and then discards it; it never stores, logs or forwards it."
|
|
216
|
+
},
|
|
217
|
+
"epoch": {
|
|
218
|
+
"type": "integer",
|
|
219
|
+
"minimum": 1,
|
|
220
|
+
"description": "The epoch the key was derived under. For `seal`, the room's current epoch, which the caller writes into the file's manifest; for `open`, the epoch requested."
|
|
221
|
+
},
|
|
222
|
+
"ext": {
|
|
223
|
+
"$ref": "#/$defs/Ext"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"Ext": {
|
|
228
|
+
"title": "Ext",
|
|
229
|
+
"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.",
|
|
230
|
+
"type": "object",
|
|
231
|
+
"minProperties": 1,
|
|
232
|
+
"additionalProperties": true,
|
|
233
|
+
"propertyNames": {
|
|
234
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"RecordPurpose": {
|
|
238
|
+
"title": "RecordPurpose",
|
|
239
|
+
"description": "The one purpose for which a caller will use room content a request discloses (VTI-ACL-103): a name registered in the VTI specification's purpose registry (`personalisation`, `taskExecution`, `analytics`, `modelTraining`) or an absolute IRI. Granted only as the caller's authority grants it — `any` grants every purpose but `modelTraining` — refused otherwise (`purposeNotGranted`), and recorded with the read. Distinct from `PermittedUse`, which is what a record's author permits and is a statement, not a grant.",
|
|
240
|
+
"$ref": "#/$defs/Purpose"
|
|
241
|
+
},
|
|
242
|
+
"Purpose": {
|
|
243
|
+
"title": "Purpose",
|
|
244
|
+
"description": "What content is used for: a lowerCamelCase name registered in the VTI specification's purpose registry (Appendix H) — `personalisation`, `taskExecution`, `analytics`, `modelTraining` at the time of writing — or an absolute IRI naming a purpose defined elsewhere, such as a purpose of the W3C Data Privacy Vocabulary (`https://w3id.org/dpv#ServicePersonalisation`). Compared by exact string equality: a consumer MUST NOT treat a purpose it does not recognise as equal to any other, and grants only a request naming exactly a listed purpose (VTI-ACL-109). A registered name is never an IRI, because it contains no `:`.",
|
|
245
|
+
"type": "string",
|
|
246
|
+
"maxLength": 2048,
|
|
247
|
+
"anyOf": [
|
|
248
|
+
{
|
|
249
|
+
"pattern": "^[a-z][a-zA-Z0-9]{0,63}$"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"pattern": "^[a-zA-Z][a-zA-Z0-9+.-]*:[^\\s]+$"
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
} as const;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
261
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
262
|
+
* per-specification and cannot be derived from the document alone, and
|
|
263
|
+
* item 2 needs the schema this carries.
|
|
264
|
+
*/
|
|
265
|
+
export const SPEC = {
|
|
266
|
+
typeUri: TYPE_URI,
|
|
267
|
+
isBearer: false,
|
|
268
|
+
isProofRequired: true,
|
|
269
|
+
isRecipientRequired: true,
|
|
270
|
+
isIssuedAtRequired: true,
|
|
271
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
272
|
+
} as const;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
276
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
277
|
+
* parties (§7.3 item 5).
|
|
278
|
+
*/
|
|
279
|
+
export const RESPONSE_SPEC = {
|
|
280
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
281
|
+
isBearer: false,
|
|
282
|
+
isProofRequired: true,
|
|
283
|
+
isRecipientRequired: true,
|
|
284
|
+
isIssuedAtRequired: true,
|
|
285
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
286
|
+
} as const;
|
|
@@ -9,7 +9,7 @@ import type { Ext } from "../../../../_shared/components.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* An agent asks the party holding its principal's room keys to open one sealed record. The key never crosses to the agent: this is a decryption oracle, not a key-release call.
|
|
11
11
|
*
|
|
12
|
-
* @deprecated superseded by rooms/keys/open/0.
|
|
12
|
+
* @deprecated superseded by rooms/keys/open/0.3
|
|
13
13
|
*/
|
|
14
14
|
export interface RoomsKeysOpenPayload {
|
|
15
15
|
/**
|
|
@@ -49,7 +49,7 @@ export interface RoomsKeysOpenPayload {
|
|
|
49
49
|
/**
|
|
50
50
|
* Success response to rooms/keys/open. Type https://trusttasks.org/spec/rooms/keys/open/0.1#response.
|
|
51
51
|
*
|
|
52
|
-
* @deprecated superseded by rooms/keys/open/0.
|
|
52
|
+
* @deprecated superseded by rooms/keys/open/0.3
|
|
53
53
|
*/
|
|
54
54
|
export interface RoomsKeysOpenResponsePayload {
|
|
55
55
|
/**
|
|
@@ -79,12 +79,12 @@ export const EXTENDS: string | null = null;
|
|
|
79
79
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
80
80
|
* Versions").
|
|
81
81
|
*/
|
|
82
|
-
export const DEPRECATION: string | null = "superseded by rooms/keys/open/0.
|
|
82
|
+
export const DEPRECATION: string | null = "superseded by rooms/keys/open/0.3";
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
85
|
* Stable alias for this specification's request payload shape.
|
|
86
86
|
*
|
|
87
|
-
* @deprecated superseded by rooms/keys/open/0.
|
|
87
|
+
* @deprecated superseded by rooms/keys/open/0.3
|
|
88
88
|
*/
|
|
89
89
|
export type Payload = RoomsKeysOpenPayload;
|
|
90
90
|
|
|
@@ -94,7 +94,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/keys/open/0.
|
|
|
94
94
|
/**
|
|
95
95
|
* Stable alias for this specification's success-response payload shape.
|
|
96
96
|
*
|
|
97
|
-
* @deprecated superseded by rooms/keys/open/0.
|
|
97
|
+
* @deprecated superseded by rooms/keys/open/0.3
|
|
98
98
|
*/
|
|
99
99
|
export type Response = RoomsKeysOpenResponsePayload;
|
|
100
100
|
|
|
@@ -8,6 +8,8 @@ import type { Ext } from "../../../../_shared/components.js";
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* An agent asks the party holding its principal's room keys to open one sealed record. The key never crosses to the agent: this is a decryption oracle, not a key-release call.
|
|
11
|
+
*
|
|
12
|
+
* @deprecated superseded by rooms/keys/open/0.3
|
|
11
13
|
*/
|
|
12
14
|
export interface RoomsKeysOpenPayload {
|
|
13
15
|
/**
|
|
@@ -46,6 +48,8 @@ export interface RoomsKeysOpenPayload {
|
|
|
46
48
|
}
|
|
47
49
|
/**
|
|
48
50
|
* Success response to rooms/keys/open. Type https://trusttasks.org/spec/rooms/keys/open/0.2#response.
|
|
51
|
+
*
|
|
52
|
+
* @deprecated superseded by rooms/keys/open/0.3
|
|
49
53
|
*/
|
|
50
54
|
export interface RoomsKeysOpenResponsePayload {
|
|
51
55
|
/**
|
|
@@ -75,15 +79,23 @@ export const EXTENDS: string | null = null;
|
|
|
75
79
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
76
80
|
* Versions").
|
|
77
81
|
*/
|
|
78
|
-
export const DEPRECATION: string | null =
|
|
82
|
+
export const DEPRECATION: string | null = "superseded by rooms/keys/open/0.3";
|
|
79
83
|
|
|
80
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Stable alias for this specification's request payload shape.
|
|
86
|
+
*
|
|
87
|
+
* @deprecated superseded by rooms/keys/open/0.3
|
|
88
|
+
*/
|
|
81
89
|
export type Payload = RoomsKeysOpenPayload;
|
|
82
90
|
|
|
83
91
|
/** Trust Task response type URI (request type URI + "#response"). */
|
|
84
92
|
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/keys/open/0.2#response" as const;
|
|
85
93
|
|
|
86
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* Stable alias for this specification's success-response payload shape.
|
|
96
|
+
*
|
|
97
|
+
* @deprecated superseded by rooms/keys/open/0.3
|
|
98
|
+
*/
|
|
87
99
|
export type Response = RoomsKeysOpenResponsePayload;
|
|
88
100
|
|
|
89
101
|
/**
|