@openvtc/trust-tasks 0.28.13 → 0.28.15
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 +122 -0
- package/dist/_extends.d.ts.map +1 -1
- package/dist/_extends.js +5 -0
- package/dist/_extends.js.map +1 -1
- package/dist/_shared/components.d.ts +344 -1
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/did-management/stats/set-resolution/0.1/payload.d.ts +398 -0
- package/dist/did-management/stats/set-resolution/0.1/payload.d.ts.map +1 -0
- package/dist/did-management/stats/set-resolution/0.1/payload.js +247 -0
- package/dist/did-management/stats/set-resolution/0.1/payload.js.map +1 -0
- package/dist/index.d.ts +76 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +76 -0
- package/dist/index.js.map +1 -1
- package/dist/process-attestation/0.1/payload.d.ts +73 -7
- package/dist/process-attestation/0.1/payload.d.ts.map +1 -1
- package/dist/process-attestation/0.1/payload.js +40 -6
- package/dist/process-attestation/0.1/payload.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/_shared/0.2/room.d.ts +1 -1
- package/dist/rooms/_shared/0.2/room.d.ts.map +1 -1
- package/dist/rooms/_shared/0.3/member-profile.d.ts +11 -0
- package/dist/rooms/_shared/0.3/member-profile.d.ts.map +1 -0
- package/dist/rooms/_shared/0.3/member-profile.js +6 -0
- package/dist/rooms/_shared/0.3/member-profile.js.map +1 -0
- package/dist/rooms/changed/0.1/payload.d.ts +139 -0
- package/dist/rooms/changed/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/changed/0.1/payload.js +84 -0
- package/dist/rooms/changed/0.1/payload.js.map +1 -0
- package/dist/rooms/keys/act/0.1/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.1/payload.js +1 -1
- package/dist/rooms/keys/act/0.10/payload.d.ts +14 -2
- package/dist/rooms/keys/act/0.10/payload.d.ts.map +1 -1
- package/dist/rooms/keys/act/0.10/payload.js +1 -1
- package/dist/rooms/keys/act/0.10/payload.js.map +1 -1
- package/dist/rooms/keys/act/0.11/payload.d.ts +572 -0
- package/dist/rooms/keys/act/0.11/payload.d.ts.map +1 -0
- package/dist/rooms/keys/act/0.11/payload.js +319 -0
- package/dist/rooms/keys/act/0.11/payload.js.map +1 -0
- package/dist/rooms/keys/act/0.12/payload.d.ts +560 -0
- package/dist/rooms/keys/act/0.12/payload.d.ts.map +1 -0
- package/dist/rooms/keys/act/0.12/payload.js +319 -0
- package/dist/rooms/keys/act/0.12/payload.js.map +1 -0
- package/dist/rooms/keys/act/0.2/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.2/payload.js +1 -1
- package/dist/rooms/keys/act/0.3/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.3/payload.js +1 -1
- package/dist/rooms/keys/act/0.4/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.4/payload.js +1 -1
- package/dist/rooms/keys/act/0.5/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.5/payload.js +1 -1
- package/dist/rooms/keys/act/0.6/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.6/payload.js +1 -1
- package/dist/rooms/keys/act/0.7/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.7/payload.js +1 -1
- package/dist/rooms/keys/act/0.8/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.8/payload.js +1 -1
- package/dist/rooms/keys/act/0.9/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.9/payload.js +1 -1
- package/dist/rooms/keys/browse/0.1/payload.d.ts +4 -4
- package/dist/rooms/keys/browse/0.1/payload.js +1 -1
- package/dist/rooms/keys/browse/0.2/payload.d.ts +4 -4
- package/dist/rooms/keys/browse/0.2/payload.js +1 -1
- package/dist/rooms/keys/browse/0.3/payload.d.ts +14 -2
- package/dist/rooms/keys/browse/0.3/payload.d.ts.map +1 -1
- package/dist/rooms/keys/browse/0.3/payload.js +1 -1
- package/dist/rooms/keys/browse/0.3/payload.js.map +1 -1
- package/dist/rooms/keys/browse/0.4/payload.d.ts +1127 -0
- package/dist/rooms/keys/browse/0.4/payload.d.ts.map +1 -0
- package/dist/rooms/keys/browse/0.4/payload.js +658 -0
- package/dist/rooms/keys/browse/0.4/payload.js.map +1 -0
- package/dist/rooms/keys/changed/0.1/payload.d.ts +173 -0
- package/dist/rooms/keys/changed/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/keys/changed/0.1/payload.js +99 -0
- package/dist/rooms/keys/changed/0.1/payload.js.map +1 -0
- package/dist/rooms/keys/profile/read/0.1/payload.d.ts +56 -4
- package/dist/rooms/keys/profile/read/0.1/payload.d.ts.map +1 -1
- package/dist/rooms/keys/profile/read/0.1/payload.js +28 -2
- package/dist/rooms/keys/profile/read/0.1/payload.js.map +1 -1
- package/dist/rooms/keys/profile/write/0.1/payload.d.ts +56 -4
- package/dist/rooms/keys/profile/write/0.1/payload.d.ts.map +1 -1
- package/dist/rooms/keys/profile/write/0.1/payload.js +28 -2
- package/dist/rooms/keys/profile/write/0.1/payload.js.map +1 -1
- package/dist/rooms/keys/read/0.1/payload.d.ts +14 -2
- package/dist/rooms/keys/read/0.1/payload.d.ts.map +1 -1
- package/dist/rooms/keys/read/0.1/payload.js +1 -1
- package/dist/rooms/keys/read/0.1/payload.js.map +1 -1
- package/dist/rooms/keys/read/0.2/payload.d.ts +1287 -0
- package/dist/rooms/keys/read/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/keys/read/0.2/payload.js +689 -0
- package/dist/rooms/keys/read/0.2/payload.js.map +1 -0
- package/dist/rooms/keys/seal/0.1/payload.d.ts +4 -4
- package/dist/rooms/keys/seal/0.1/payload.js +1 -1
- package/dist/rooms/keys/seal/0.2/payload.d.ts +13 -2
- package/dist/rooms/keys/seal/0.2/payload.d.ts.map +1 -1
- package/dist/rooms/keys/seal/0.2/payload.js +1 -1
- package/dist/rooms/keys/seal/0.2/payload.js.map +1 -1
- package/dist/rooms/keys/seal/0.3/payload.d.ts +402 -0
- package/dist/rooms/keys/seal/0.3/payload.d.ts.map +1 -0
- package/dist/rooms/keys/seal/0.3/payload.js +229 -0
- package/dist/rooms/keys/seal/0.3/payload.js.map +1 -0
- package/dist/rooms/keys/watch/0.1/payload.d.ts +652 -0
- package/dist/rooms/keys/watch/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/keys/watch/0.1/payload.js +343 -0
- package/dist/rooms/keys/watch/0.1/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 +13 -2
- package/dist/rooms/records/get/0.2/payload.d.ts.map +1 -1
- package/dist/rooms/records/get/0.2/payload.js +1 -1
- package/dist/rooms/records/get/0.2/payload.js.map +1 -1
- package/dist/rooms/records/get/0.3/payload.d.ts +1064 -0
- package/dist/rooms/records/get/0.3/payload.d.ts.map +1 -0
- package/dist/rooms/records/get/0.3/payload.js +571 -0
- package/dist/rooms/records/get/0.3/payload.js.map +1 -0
- package/dist/rooms/records/list/0.1/payload.d.ts +4 -4
- package/dist/rooms/records/list/0.1/payload.js +1 -1
- package/dist/rooms/records/list/0.2/payload.d.ts +4 -4
- package/dist/rooms/records/list/0.2/payload.js +1 -1
- package/dist/rooms/records/list/0.3/payload.d.ts +4 -4
- package/dist/rooms/records/list/0.3/payload.js +1 -1
- package/dist/rooms/records/list/0.4/payload.d.ts +4 -4
- package/dist/rooms/records/list/0.4/payload.js +1 -1
- package/dist/rooms/records/list/0.5/payload.d.ts +13 -2
- package/dist/rooms/records/list/0.5/payload.d.ts.map +1 -1
- package/dist/rooms/records/list/0.5/payload.js +1 -1
- package/dist/rooms/records/list/0.5/payload.js.map +1 -1
- package/dist/rooms/records/list/0.6/payload.d.ts +1096 -0
- package/dist/rooms/records/list/0.6/payload.d.ts.map +1 -0
- package/dist/rooms/records/list/0.6/payload.js +596 -0
- package/dist/rooms/records/list/0.6/payload.js.map +1 -0
- package/dist/rooms/records/put/0.1/payload.d.ts +4 -4
- package/dist/rooms/records/put/0.1/payload.js +1 -1
- package/dist/rooms/records/put/0.2/payload.d.ts +4 -4
- package/dist/rooms/records/put/0.2/payload.js +1 -1
- package/dist/rooms/records/put/0.3/payload.d.ts +4 -4
- package/dist/rooms/records/put/0.3/payload.js +1 -1
- package/dist/rooms/records/put/0.4/payload.d.ts +146 -6
- package/dist/rooms/records/put/0.4/payload.d.ts.map +1 -1
- package/dist/rooms/records/put/0.4/payload.js +81 -3
- package/dist/rooms/records/put/0.4/payload.js.map +1 -1
- package/dist/rooms/records/put/0.5/payload.d.ts +1808 -0
- package/dist/rooms/records/put/0.5/payload.d.ts.map +1 -0
- package/dist/rooms/records/put/0.5/payload.js +984 -0
- package/dist/rooms/records/put/0.5/payload.js.map +1 -0
- package/dist/rooms/watch/0.1/payload.d.ts +497 -0
- package/dist/rooms/watch/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/watch/0.1/payload.js +268 -0
- package/dist/rooms/watch/0.1/payload.js.map +1 -0
- package/dist/trust-task-discovery/0.1/payload.d.ts +4 -4
- package/dist/trust-task-discovery/0.1/payload.js +1 -1
- package/dist/trust-task-discovery/0.2/payload.d.ts +4 -4
- package/dist/trust-task-discovery/0.2/payload.js +1 -1
- package/dist/trust-task-discovery/0.3/payload.d.ts +14 -2
- package/dist/trust-task-discovery/0.3/payload.d.ts.map +1 -1
- package/dist/trust-task-discovery/0.3/payload.js +1 -1
- package/dist/trust-task-discovery/0.3/payload.js.map +1 -1
- package/dist/trust-task-discovery/0.4/payload.d.ts +521 -0
- package/dist/trust-task-discovery/0.4/payload.d.ts.map +1 -0
- package/dist/trust-task-discovery/0.4/payload.js +266 -0
- package/dist/trust-task-discovery/0.4/payload.js.map +1 -0
- package/dist/vtc/_shared/0.7/network-membership.d.ts +16 -0
- package/dist/vtc/_shared/0.7/network-membership.d.ts.map +1 -0
- package/dist/vtc/_shared/0.7/network-membership.js +6 -0
- package/dist/vtc/_shared/0.7/network-membership.js.map +1 -0
- package/dist/vtc/boards/delete/0.1/payload.d.ts +416 -0
- package/dist/vtc/boards/delete/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/boards/delete/0.1/payload.js +236 -0
- package/dist/vtc/boards/delete/0.1/payload.js.map +1 -0
- package/dist/vtc/boards/update/0.1/payload.d.ts +147 -2
- package/dist/vtc/boards/update/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/boards/update/0.1/payload.js +72 -0
- package/dist/vtc/boards/update/0.1/payload.js.map +1 -1
- package/dist/vtc/elections/list/0.5/payload.d.ts +3 -3
- package/dist/vtc/elections/list/0.5/payload.js +1 -1
- package/dist/vtc/elections/list/0.5/payload.js.map +1 -1
- package/dist/vtc/elections/show/0.6/payload.d.ts +3 -3
- package/dist/vtc/elections/show/0.6/payload.js +1 -1
- package/dist/vtc/elections/show/0.6/payload.js.map +1 -1
- package/dist/vtc/elections/tombstones/show/0.1/payload.d.ts +593 -0
- package/dist/vtc/elections/tombstones/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/elections/tombstones/show/0.1/payload.js +335 -0
- package/dist/vtc/elections/tombstones/show/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/deliver/0.1/payload.d.ts +354 -0
- package/dist/vtc/networks/deliver/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/deliver/0.1/payload.js +213 -0
- package/dist/vtc/networks/deliver/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/evidence/0.1/payload.d.ts +14 -2
- package/dist/vtc/networks/evidence/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/networks/evidence/0.1/payload.js +1 -1
- package/dist/vtc/networks/evidence/0.1/payload.js.map +1 -1
- package/dist/vtc/networks/evidence/0.2/payload.d.ts +412 -0
- package/dist/vtc/networks/evidence/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/networks/evidence/0.2/payload.js +233 -0
- package/dist/vtc/networks/evidence/0.2/payload.js.map +1 -0
- package/dist/vtc/networks/groups/register/0.1/payload.d.ts +14 -2
- package/dist/vtc/networks/groups/register/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/networks/groups/register/0.1/payload.js +1 -1
- package/dist/vtc/networks/groups/register/0.1/payload.js.map +1 -1
- package/dist/vtc/networks/groups/register/0.2/payload.d.ts +680 -0
- package/dist/vtc/networks/groups/register/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/networks/groups/register/0.2/payload.js +401 -0
- package/dist/vtc/networks/groups/register/0.2/payload.js.map +1 -0
- package/dist/vtc/networks/join/0.1/payload.d.ts +14 -2
- package/dist/vtc/networks/join/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/networks/join/0.1/payload.js +1 -1
- package/dist/vtc/networks/join/0.1/payload.js.map +1 -1
- package/dist/vtc/networks/join/0.2/payload.d.ts +760 -0
- package/dist/vtc/networks/join/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/networks/join/0.2/payload.js +445 -0
- package/dist/vtc/networks/join/0.2/payload.js.map +1 -0
- package/dist/vtc/networks/leave/0.1/payload.d.ts +14 -2
- package/dist/vtc/networks/leave/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/networks/leave/0.1/payload.js +1 -1
- package/dist/vtc/networks/leave/0.1/payload.js.map +1 -1
- package/dist/vtc/networks/leave/0.2/payload.d.ts +664 -0
- package/dist/vtc/networks/leave/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/networks/leave/0.2/payload.js +393 -0
- package/dist/vtc/networks/leave/0.2/payload.js.map +1 -0
- package/dist/vtc/networks/list/0.1/payload.d.ts +14 -2
- package/dist/vtc/networks/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/networks/list/0.1/payload.js +1 -1
- package/dist/vtc/networks/list/0.1/payload.js.map +1 -1
- package/dist/vtc/networks/list/0.2/payload.d.ts +713 -0
- package/dist/vtc/networks/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/networks/list/0.2/payload.js +417 -0
- package/dist/vtc/networks/list/0.2/payload.js.map +1 -0
- package/dist/vtc/networks/repudiate/0.1/payload.d.ts +14 -2
- package/dist/vtc/networks/repudiate/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/networks/repudiate/0.1/payload.js +1 -1
- package/dist/vtc/networks/repudiate/0.1/payload.js.map +1 -1
- package/dist/vtc/networks/repudiate/0.2/payload.d.ts +680 -0
- package/dist/vtc/networks/repudiate/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/networks/repudiate/0.2/payload.js +400 -0
- package/dist/vtc/networks/repudiate/0.2/payload.js.map +1 -0
- package/dist/vtc/networks/show/0.1/payload.d.ts +14 -2
- package/dist/vtc/networks/show/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/networks/show/0.1/payload.js +1 -1
- package/dist/vtc/networks/show/0.1/payload.js.map +1 -1
- package/dist/vtc/networks/show/0.2/payload.d.ts +650 -0
- package/dist/vtc/networks/show/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/networks/show/0.2/payload.js +388 -0
- package/dist/vtc/networks/show/0.2/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_extends.ts +5 -0
- package/src/_shared/components.ts +352 -1
- package/src/did-management/stats/set-resolution/0.1/payload.ts +312 -0
- package/src/index.ts +76 -0
- package/src/process-attestation/0.1/payload.ts +53 -9
- package/src/rooms/_shared/0.1/room.ts +1 -1
- package/src/rooms/_shared/0.2/room.ts +1 -1
- package/src/rooms/_shared/0.3/member-profile.ts +11 -0
- package/src/rooms/changed/0.1/payload.ts +115 -0
- package/src/rooms/keys/act/0.1/payload.ts +5 -5
- package/src/rooms/keys/act/0.10/payload.ts +15 -3
- package/src/rooms/keys/act/0.11/payload.ts +408 -0
- package/src/rooms/keys/act/0.12/payload.ts +396 -0
- package/src/rooms/keys/act/0.2/payload.ts +5 -5
- package/src/rooms/keys/act/0.3/payload.ts +5 -5
- package/src/rooms/keys/act/0.4/payload.ts +5 -5
- package/src/rooms/keys/act/0.5/payload.ts +5 -5
- package/src/rooms/keys/act/0.6/payload.ts +5 -5
- package/src/rooms/keys/act/0.7/payload.ts +5 -5
- package/src/rooms/keys/act/0.8/payload.ts +5 -5
- package/src/rooms/keys/act/0.9/payload.ts +5 -5
- package/src/rooms/keys/browse/0.1/payload.ts +5 -5
- package/src/rooms/keys/browse/0.2/payload.ts +5 -5
- package/src/rooms/keys/browse/0.3/payload.ts +15 -3
- package/src/rooms/keys/browse/0.4/payload.ts +730 -0
- package/src/rooms/keys/changed/0.1/payload.ts +138 -0
- package/src/rooms/keys/profile/read/0.1/payload.ts +28 -2
- package/src/rooms/keys/profile/write/0.1/payload.ts +28 -2
- package/src/rooms/keys/read/0.1/payload.ts +15 -3
- package/src/rooms/keys/read/0.2/payload.ts +855 -0
- package/src/rooms/keys/seal/0.1/payload.ts +5 -5
- package/src/rooms/keys/seal/0.2/payload.ts +14 -3
- package/src/rooms/keys/seal/0.3/payload.ts +282 -0
- package/src/rooms/keys/watch/0.1/payload.ts +452 -0
- package/src/rooms/records/get/0.1/payload.ts +5 -5
- package/src/rooms/records/get/0.2/payload.ts +14 -3
- package/src/rooms/records/get/0.3/payload.ts +684 -0
- package/src/rooms/records/list/0.1/payload.ts +5 -5
- package/src/rooms/records/list/0.2/payload.ts +5 -5
- package/src/rooms/records/list/0.3/payload.ts +5 -5
- package/src/rooms/records/list/0.4/payload.ts +5 -5
- package/src/rooms/records/list/0.5/payload.ts +14 -3
- package/src/rooms/records/list/0.6/payload.ts +673 -0
- package/src/rooms/records/put/0.1/payload.ts +5 -5
- package/src/rooms/records/put/0.2/payload.ts +5 -5
- package/src/rooms/records/put/0.3/payload.ts +5 -5
- package/src/rooms/records/put/0.4/payload.ts +95 -5
- package/src/rooms/records/put/0.5/payload.ts +1095 -0
- package/src/rooms/watch/0.1/payload.ts +340 -0
- package/src/trust-task-discovery/0.1/payload.ts +5 -5
- package/src/trust-task-discovery/0.2/payload.ts +5 -5
- package/src/trust-task-discovery/0.3/payload.ts +15 -3
- package/src/trust-task-discovery/0.4/payload.ts +387 -0
- package/src/vtc/_shared/0.7/network-membership.ts +17 -0
- package/src/vtc/boards/delete/0.1/payload.ts +293 -0
- package/src/vtc/boards/update/0.1/payload.ts +91 -2
- package/src/vtc/elections/list/0.5/payload.ts +2 -2
- package/src/vtc/elections/show/0.6/payload.ts +2 -2
- package/src/vtc/elections/tombstones/show/0.1/payload.ts +401 -0
- package/src/vtc/networks/deliver/0.1/payload.ts +254 -0
- package/src/vtc/networks/evidence/0.1/payload.ts +15 -3
- package/src/vtc/networks/evidence/0.2/payload.ts +290 -0
- package/src/vtc/networks/groups/register/0.1/payload.ts +15 -3
- package/src/vtc/networks/groups/register/0.2/payload.ts +446 -0
- package/src/vtc/networks/join/0.1/payload.ts +15 -3
- package/src/vtc/networks/join/0.2/payload.ts +492 -0
- package/src/vtc/networks/leave/0.1/payload.ts +15 -3
- package/src/vtc/networks/leave/0.2/payload.ts +434 -0
- package/src/vtc/networks/list/0.1/payload.ts +15 -3
- package/src/vtc/networks/list/0.2/payload.ts +463 -0
- package/src/vtc/networks/repudiate/0.1/payload.ts +15 -3
- package/src/vtc/networks/repudiate/0.2/payload.ts +445 -0
- package/src/vtc/networks/show/0.1/payload.ts +15 -3
- package/src/vtc/networks/show/0.2/payload.ts +425 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Source: specs/process-attestation/0.1/payload.schema.json
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type { Ext } from "../../_shared/components.js";
|
|
6
|
+
import type { DigestMultibase, Ext } from "../../_shared/components.js";
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -22,6 +22,10 @@ export type ReceiptReference =
|
|
|
22
22
|
type: "uri";
|
|
23
23
|
uri: string;
|
|
24
24
|
mediaType?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Digest of the exact receipt bytes the URI serves. The response's proof covers the URI and not what it serves, so this is what lets a retained response show which receipt it referred to; a Verifier that dereferences the URI compares before relying on the bytes (Verifier rule 6).
|
|
27
|
+
*/
|
|
28
|
+
digestMultibase?: DigestMultibase;
|
|
25
29
|
}
|
|
26
30
|
| {
|
|
27
31
|
type: "inline";
|
|
@@ -102,13 +106,19 @@ export interface Disclosed {
|
|
|
102
106
|
endedAt?: string;
|
|
103
107
|
checkpointCount?: number;
|
|
104
108
|
};
|
|
109
|
+
/**
|
|
110
|
+
* The Holder's own report of its receipt's state. It is not verification: a Verifier relies on its own verification of the receipt (Verifier rules 4 and 7).
|
|
111
|
+
*/
|
|
105
112
|
integrity?: {
|
|
106
113
|
chainValid?: boolean;
|
|
107
114
|
signatureValid?: boolean;
|
|
108
115
|
keyCustody?: "software" | "tpm" | "secureEnclave";
|
|
109
116
|
};
|
|
110
117
|
anchors?: {
|
|
111
|
-
|
|
118
|
+
/**
|
|
119
|
+
* The anchoring mechanism. `rfc3161` is a timestamp-authority response, `opentimestamps` an OpenTimestamps proof, `roughtime` a Roughtime sample, `blockchain` a direct chain anchor. Appended values are additive; a reader passes an unrecognised one through.
|
|
120
|
+
*/
|
|
121
|
+
kind: "rfc3161" | "opentimestamps" | "roughtime" | "blockchain";
|
|
112
122
|
anchoredAt?: string;
|
|
113
123
|
}[];
|
|
114
124
|
}
|
|
@@ -123,7 +133,7 @@ export interface Unavailable {
|
|
|
123
133
|
}
|
|
124
134
|
|
|
125
135
|
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
126
|
-
export type { Ext };
|
|
136
|
+
export type { DigestMultibase, Ext };
|
|
127
137
|
|
|
128
138
|
/** Trust Task type URI. */
|
|
129
139
|
export const TYPE_URI = "https://trusttasks.org/spec/process-attestation/0.1" as const;
|
|
@@ -350,6 +360,10 @@ export const PAYLOAD_SCHEMA = {
|
|
|
350
360
|
"mediaType": {
|
|
351
361
|
"type": "string",
|
|
352
362
|
"maxLength": 255
|
|
363
|
+
},
|
|
364
|
+
"digestMultibase": {
|
|
365
|
+
"$ref": "#/$defs/DigestMultibase",
|
|
366
|
+
"description": "Digest of the exact receipt bytes the URI serves. The response's proof covers the URI and not what it serves, so this is what lets a retained response show which receipt it referred to; a Verifier that dereferences the URI compares before relying on the bytes (Verifier rule 6)."
|
|
353
367
|
}
|
|
354
368
|
}
|
|
355
369
|
},
|
|
@@ -440,7 +454,8 @@ export const PAYLOAD_SCHEMA = {
|
|
|
440
454
|
"secureEnclave"
|
|
441
455
|
]
|
|
442
456
|
}
|
|
443
|
-
}
|
|
457
|
+
},
|
|
458
|
+
"description": "The Holder's own report of its receipt's state. It is not verification: a Verifier relies on its own verification of the receipt (Verifier rules 4 and 7)."
|
|
444
459
|
},
|
|
445
460
|
"anchors": {
|
|
446
461
|
"type": "array",
|
|
@@ -456,8 +471,10 @@ export const PAYLOAD_SCHEMA = {
|
|
|
456
471
|
"enum": [
|
|
457
472
|
"rfc3161",
|
|
458
473
|
"opentimestamps",
|
|
459
|
-
"roughtime"
|
|
460
|
-
|
|
474
|
+
"roughtime",
|
|
475
|
+
"blockchain"
|
|
476
|
+
],
|
|
477
|
+
"description": "The anchoring mechanism. `rfc3161` is a timestamp-authority response, `opentimestamps` an OpenTimestamps proof, `roughtime` a Roughtime sample, `blockchain` a direct chain anchor. Appended values are additive; a reader passes an unrecognised one through."
|
|
461
478
|
},
|
|
462
479
|
"anchoredAt": {
|
|
463
480
|
"type": "string",
|
|
@@ -468,6 +485,16 @@ export const PAYLOAD_SCHEMA = {
|
|
|
468
485
|
}
|
|
469
486
|
}
|
|
470
487
|
},
|
|
488
|
+
"DigestMultibase": {
|
|
489
|
+
"title": "DigestMultibase",
|
|
490
|
+
"description": "A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.\n\nMultihash carries the hash algorithm in-band, so the value is self-describing and the wire format survives an algorithm change without a schema revision; multibase does the same for the base encoding, so a verifier never infers base58 from base64url by context. A bare hex string or a `sha-256:`-style prefix hard-codes one algorithm into the wire contract and is non-conforming here.\n\nThis definition constrains the *encoding only*. What the digest is computed over is stated by each referencing field, because it differs legitimately: a digest over a JSON document is taken over its RFC 8785 (JCS) canonicalization, while a digest over an opaque artifact is taken over its bytes. A field whose input is a JSON document and which does not name a canonicalization is not reproducible.\n\nRestricted to the two multibase headers W3C Controlled Identifiers 1.0 §2.4 normatively requires — `z` (base58btc) and `u` (base64url-no-pad). CID permits others but states that \"interoperability is not guaranteed between implementations using such values\", and a registry whose purpose is interoperability should not mint digests a conforming verifier may be unable to read. The alphabets are enforced rather than assumed: base58btc excludes 0, O, I and l, and an earlier permissive pattern let three published examples carry digests that were not valid base58 at all. base58btc is RECOMMENDED, for consistency with `did:key` and `did:webvh`.",
|
|
491
|
+
"type": "string",
|
|
492
|
+
"minLength": 16,
|
|
493
|
+
"pattern": "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$",
|
|
494
|
+
"examples": [
|
|
495
|
+
"zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"
|
|
496
|
+
]
|
|
497
|
+
},
|
|
471
498
|
"Ext": {
|
|
472
499
|
"title": "Ext",
|
|
473
500
|
"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.",
|
|
@@ -640,6 +667,10 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
640
667
|
"mediaType": {
|
|
641
668
|
"type": "string",
|
|
642
669
|
"maxLength": 255
|
|
670
|
+
},
|
|
671
|
+
"digestMultibase": {
|
|
672
|
+
"$ref": "#/$defs/DigestMultibase",
|
|
673
|
+
"description": "Digest of the exact receipt bytes the URI serves. The response's proof covers the URI and not what it serves, so this is what lets a retained response show which receipt it referred to; a Verifier that dereferences the URI compares before relying on the bytes (Verifier rule 6)."
|
|
643
674
|
}
|
|
644
675
|
}
|
|
645
676
|
},
|
|
@@ -730,7 +761,8 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
730
761
|
"secureEnclave"
|
|
731
762
|
]
|
|
732
763
|
}
|
|
733
|
-
}
|
|
764
|
+
},
|
|
765
|
+
"description": "The Holder's own report of its receipt's state. It is not verification: a Verifier relies on its own verification of the receipt (Verifier rules 4 and 7)."
|
|
734
766
|
},
|
|
735
767
|
"anchors": {
|
|
736
768
|
"type": "array",
|
|
@@ -746,8 +778,10 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
746
778
|
"enum": [
|
|
747
779
|
"rfc3161",
|
|
748
780
|
"opentimestamps",
|
|
749
|
-
"roughtime"
|
|
750
|
-
|
|
781
|
+
"roughtime",
|
|
782
|
+
"blockchain"
|
|
783
|
+
],
|
|
784
|
+
"description": "The anchoring mechanism. `rfc3161` is a timestamp-authority response, `opentimestamps` an OpenTimestamps proof, `roughtime` a Roughtime sample, `blockchain` a direct chain anchor. Appended values are additive; a reader passes an unrecognised one through."
|
|
751
785
|
},
|
|
752
786
|
"anchoredAt": {
|
|
753
787
|
"type": "string",
|
|
@@ -758,6 +792,16 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
758
792
|
}
|
|
759
793
|
}
|
|
760
794
|
},
|
|
795
|
+
"DigestMultibase": {
|
|
796
|
+
"title": "DigestMultibase",
|
|
797
|
+
"description": "A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.\n\nMultihash carries the hash algorithm in-band, so the value is self-describing and the wire format survives an algorithm change without a schema revision; multibase does the same for the base encoding, so a verifier never infers base58 from base64url by context. A bare hex string or a `sha-256:`-style prefix hard-codes one algorithm into the wire contract and is non-conforming here.\n\nThis definition constrains the *encoding only*. What the digest is computed over is stated by each referencing field, because it differs legitimately: a digest over a JSON document is taken over its RFC 8785 (JCS) canonicalization, while a digest over an opaque artifact is taken over its bytes. A field whose input is a JSON document and which does not name a canonicalization is not reproducible.\n\nRestricted to the two multibase headers W3C Controlled Identifiers 1.0 §2.4 normatively requires — `z` (base58btc) and `u` (base64url-no-pad). CID permits others but states that \"interoperability is not guaranteed between implementations using such values\", and a registry whose purpose is interoperability should not mint digests a conforming verifier may be unable to read. The alphabets are enforced rather than assumed: base58btc excludes 0, O, I and l, and an earlier permissive pattern let three published examples carry digests that were not valid base58 at all. base58btc is RECOMMENDED, for consistency with `did:key` and `did:webvh`.",
|
|
798
|
+
"type": "string",
|
|
799
|
+
"minLength": 16,
|
|
800
|
+
"pattern": "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$",
|
|
801
|
+
"examples": [
|
|
802
|
+
"zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"
|
|
803
|
+
]
|
|
804
|
+
},
|
|
761
805
|
"Ext": {
|
|
762
806
|
"title": "Ext",
|
|
763
807
|
"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.",
|
|
@@ -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 { AnchorCadence, AuthorityPresentation, CredentialRevocation, DataCommitment, EpochAnchor, EpochFloor, EpochLink, HeadVersion, PermittedUse, ReadVerification, RecordBasis, RecordConfidence, RecordCount, RecordEvidence, RecordEvidenceCredential, RecordEvidenceList, RecordEvidenceRecord, RecordMetadata, RecordMetadataV2, RecordPrune_RoomsV0_1 as RecordPrune, RecordRetention, RecordTrace, RecordValidUntil, RetentionPolicy, RevocationEntry, RevocationHead, RevocationList, RoomProfile, RoomRevocation, SealedRecord, SubjectRevocation, Visibility } from "../../../_shared/components.js";
|
|
17
|
+
export type { AnchorCadence, AuthorityPresentation, CredentialRevocation, DataCommitment, EpochAnchor, EpochFloor, EpochLink, HeadVersion, PermittedUse, ReadVerification, RecordBasis, RecordConfidence, RecordCount, RecordEditedAt, RecordEvidence, RecordEvidenceCredential, RecordEvidenceList, RecordEvidenceRecord, RecordKind, RecordMetadata, RecordMetadataV2, RecordPrune_RoomsV0_1 as RecordPrune, RecordReference, RecordRetention, RecordTrace, RecordValidUntil, RecordWrittenAt, RetentionPolicy, RevocationEntry, RevocationHead, RevocationList, RoomProfile, RoomRevocation, SealedRecord, SubjectRevocation, Visibility } from "../../../_shared/components.js";
|
|
@@ -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, ReadVerification, RecordCount, RecordMetadata, RecordMetadataV2, RecordPrune_RoomsV0_2 as RecordPrune, RecordRetention, RetentionPolicy, 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, RecordReference, RecordRetention, RecordValidUntil, RecordWrittenAt, RetentionPolicy, RoomProfile, RoomProfileStatement, SealedRecordBody, Visibility } from "../../../_shared/components.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/rooms/_shared/0.3/member-profile.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* How a member tells the other members of a room what to call them: a record of kind `memberProfile`, written by the member into the room like any other record, whose `title` is the name. A reader shows that name wherever it shows the member's DID — beside a message, on a quoted record, in the list of who reacted. It adds no task and changes no existing schema: the record is an ordinary `SealedRecordBody` on the sealed tiers and ordinary `cleartext` of `rooms/records/put` on an `open` room, using only members both already have, so a key holder that seals at `rooms/keys/seal/0.3` seals it unchanged and a host stores it like any other record. New in 0.3 of this family's shared types; `room.schema.json` stays at 0.2, and `blobs.schema.json` and `personal-label.schema.json` at 0.1. Plain text throughout: a reader renders the name as text, never as markup, and an agent reading it MUST NOT treat it as instructions. Not itself a Trust Task specification (the `_shared` folder is skipped by the registry build and the codegen).
|
|
8
|
+
*/
|
|
9
|
+
export interface RoomsAMemberSNameInARoom {
|
|
10
|
+
[k: string]: unknown | undefined;
|
|
11
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/rooms/changed/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { Ext } from "../../../_shared/components.js";
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* One-way signal from a room's host to the address of an armed `rooms/watch`: the room has moved past the version the member had read to. The room and its latest version, and nothing about what changed. There is no #response form. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.
|
|
11
|
+
*/
|
|
12
|
+
export interface RoomsChangedPayload {
|
|
13
|
+
/**
|
|
14
|
+
* The room the watch was armed on, exactly as the member named it.
|
|
15
|
+
*/
|
|
16
|
+
roomId: string;
|
|
17
|
+
/**
|
|
18
|
+
* The highest version the room had taken when the host sent the signal: the version a `rooms/records/list` with the member's watermark as `sinceVersion` would at least reach. A hint for the reader, who learns what changed only by listing.
|
|
19
|
+
*/
|
|
20
|
+
latestVersion: number;
|
|
21
|
+
/**
|
|
22
|
+
* Ecosystem-defined extension members per SPEC.md §4.5.1. A host MUST NOT put anything here about what changed.
|
|
23
|
+
*/
|
|
24
|
+
ext?: Ext;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
28
|
+
export type { Ext };
|
|
29
|
+
|
|
30
|
+
/** Trust Task type URI. */
|
|
31
|
+
export const TYPE_URI = "https://trusttasks.org/spec/rooms/changed/0.1" as const;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* The earlier version of this specification that this one declares it
|
|
35
|
+
* extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
|
|
36
|
+
* `null`. Only the direct declaration — follow the chain with
|
|
37
|
+
* `extendsChain` / `readForSpec`.
|
|
38
|
+
*/
|
|
39
|
+
export const EXTENDS: string | null = null;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Why this version is deprecated, or `null` while it is current. A
|
|
43
|
+
* superseded or retired version is still supported, and is withdrawn from
|
|
44
|
+
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
45
|
+
* Versions").
|
|
46
|
+
*/
|
|
47
|
+
export const DEPRECATION: string | null = null;
|
|
48
|
+
|
|
49
|
+
/** Stable alias for this specification's request payload shape. */
|
|
50
|
+
export type Payload = RoomsChangedPayload;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* This specification's payload schema, as a value.
|
|
54
|
+
*
|
|
55
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
56
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
57
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
58
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
59
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
60
|
+
*/
|
|
61
|
+
export const PAYLOAD_SCHEMA = {
|
|
62
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
63
|
+
"$id": "https://trusttasks.org/spec/rooms/changed/0.1",
|
|
64
|
+
"title": "Rooms — Changed — payload",
|
|
65
|
+
"description": "One-way signal from a room's host to the address of an armed `rooms/watch`: the room has moved past the version the member had read to. The room and its latest version, and nothing about what changed. There is no #response form. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.",
|
|
66
|
+
"type": "object",
|
|
67
|
+
"additionalProperties": false,
|
|
68
|
+
"required": [
|
|
69
|
+
"roomId",
|
|
70
|
+
"latestVersion"
|
|
71
|
+
],
|
|
72
|
+
"properties": {
|
|
73
|
+
"roomId": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"minLength": 1,
|
|
76
|
+
"description": "The room the watch was armed on, exactly as the member named it."
|
|
77
|
+
},
|
|
78
|
+
"latestVersion": {
|
|
79
|
+
"type": "integer",
|
|
80
|
+
"minimum": 1,
|
|
81
|
+
"description": "The highest version the room had taken when the host sent the signal: the version a `rooms/records/list` with the member's watermark as `sinceVersion` would at least reach. A hint for the reader, who learns what changed only by listing."
|
|
82
|
+
},
|
|
83
|
+
"ext": {
|
|
84
|
+
"$ref": "#/$defs/Ext",
|
|
85
|
+
"description": "Ecosystem-defined extension members per SPEC.md §4.5.1. A host MUST NOT put anything here about what changed."
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"$defs": {
|
|
89
|
+
"Ext": {
|
|
90
|
+
"title": "Ext",
|
|
91
|
+
"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.",
|
|
92
|
+
"type": "object",
|
|
93
|
+
"minProperties": 1,
|
|
94
|
+
"additionalProperties": true,
|
|
95
|
+
"propertyNames": {
|
|
96
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
} as const;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
104
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
105
|
+
* per-specification and cannot be derived from the document alone, and
|
|
106
|
+
* item 2 needs the schema this carries.
|
|
107
|
+
*/
|
|
108
|
+
export const SPEC = {
|
|
109
|
+
typeUri: TYPE_URI,
|
|
110
|
+
isBearer: false,
|
|
111
|
+
isProofRequired: false,
|
|
112
|
+
isRecipientRequired: true,
|
|
113
|
+
isIssuedAtRequired: false,
|
|
114
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
115
|
+
} as const;
|
|
@@ -9,7 +9,7 @@ import type { Ext } from "../../../../_shared/components.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* A member's own client asks the member's key holder to complete one host-bound room request as the member: the member's own authority narrowed to the one action the request's type needs, the member as issuer, and the member's signature. The outer document members are owned by the framework — SPEC §6.3.
|
|
11
11
|
*
|
|
12
|
-
* @deprecated superseded by rooms/keys/act/0.
|
|
12
|
+
* @deprecated superseded by rooms/keys/act/0.12
|
|
13
13
|
*/
|
|
14
14
|
export interface RoomsKeysActPayload {
|
|
15
15
|
document: UnsignedRoomRequest;
|
|
@@ -50,7 +50,7 @@ export interface UnsignedRoomRequest {
|
|
|
50
50
|
/**
|
|
51
51
|
* Success response to rooms/keys/act. Type https://trusttasks.org/spec/rooms/keys/act/0.1#response. The request, completed as the member, for the caller to send to its recipient unaltered.
|
|
52
52
|
*
|
|
53
|
-
* @deprecated superseded by rooms/keys/act/0.
|
|
53
|
+
* @deprecated superseded by rooms/keys/act/0.12
|
|
54
54
|
*/
|
|
55
55
|
export interface RoomsKeysActResponsePayload {
|
|
56
56
|
/**
|
|
@@ -88,12 +88,12 @@ export const EXTENDS: string | null = null;
|
|
|
88
88
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
89
89
|
* Versions").
|
|
90
90
|
*/
|
|
91
|
-
export const DEPRECATION: string | null = "superseded by rooms/keys/act/0.
|
|
91
|
+
export const DEPRECATION: string | null = "superseded by rooms/keys/act/0.12";
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
* Stable alias for this specification's request payload shape.
|
|
95
95
|
*
|
|
96
|
-
* @deprecated superseded by rooms/keys/act/0.
|
|
96
|
+
* @deprecated superseded by rooms/keys/act/0.12
|
|
97
97
|
*/
|
|
98
98
|
export type Payload = RoomsKeysActPayload;
|
|
99
99
|
|
|
@@ -103,7 +103,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/keys/act/0.1
|
|
|
103
103
|
/**
|
|
104
104
|
* Stable alias for this specification's success-response payload shape.
|
|
105
105
|
*
|
|
106
|
-
* @deprecated superseded by rooms/keys/act/0.
|
|
106
|
+
* @deprecated superseded by rooms/keys/act/0.12
|
|
107
107
|
*/
|
|
108
108
|
export type Response = RoomsKeysActResponsePayload;
|
|
109
109
|
|
|
@@ -8,6 +8,8 @@ import type { Ext } from "../../../../_shared/components.js";
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* A member's own client asks the member's key holder to complete one host-bound room request — or one of the two requests by which a member takes up a community's offer of admission to a room — as the member: the member's own authority narrowed to the one action the request's type needs, the member as issuer, and the member's signature. The outer document members are owned by the framework — SPEC §6.3.
|
|
11
|
+
*
|
|
12
|
+
* @deprecated superseded by rooms/keys/act/0.12
|
|
11
13
|
*/
|
|
12
14
|
export interface RoomsKeysActPayload {
|
|
13
15
|
document: UnsignedRoomRequest;
|
|
@@ -47,6 +49,8 @@ export interface UnsignedRoomRequest {
|
|
|
47
49
|
}
|
|
48
50
|
/**
|
|
49
51
|
* Success response to rooms/keys/act. Type https://trusttasks.org/spec/rooms/keys/act/0.10#response. The request, completed as the member, for the caller to send to its recipient unaltered.
|
|
52
|
+
*
|
|
53
|
+
* @deprecated superseded by rooms/keys/act/0.12
|
|
50
54
|
*/
|
|
51
55
|
export interface RoomsKeysActResponsePayload {
|
|
52
56
|
/**
|
|
@@ -84,15 +88,23 @@ export const EXTENDS: string | null = "0.9";
|
|
|
84
88
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
85
89
|
* Versions").
|
|
86
90
|
*/
|
|
87
|
-
export const DEPRECATION: string | null =
|
|
91
|
+
export const DEPRECATION: string | null = "superseded by rooms/keys/act/0.12";
|
|
88
92
|
|
|
89
|
-
/**
|
|
93
|
+
/**
|
|
94
|
+
* Stable alias for this specification's request payload shape.
|
|
95
|
+
*
|
|
96
|
+
* @deprecated superseded by rooms/keys/act/0.12
|
|
97
|
+
*/
|
|
90
98
|
export type Payload = RoomsKeysActPayload;
|
|
91
99
|
|
|
92
100
|
/** Trust Task response type URI (request type URI + "#response"). */
|
|
93
101
|
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/keys/act/0.10#response" as const;
|
|
94
102
|
|
|
95
|
-
/**
|
|
103
|
+
/**
|
|
104
|
+
* Stable alias for this specification's success-response payload shape.
|
|
105
|
+
*
|
|
106
|
+
* @deprecated superseded by rooms/keys/act/0.12
|
|
107
|
+
*/
|
|
96
108
|
export type Response = RoomsKeysActResponsePayload;
|
|
97
109
|
|
|
98
110
|
/**
|