@openvtc/trust-tasks 0.28.8 → 0.28.9
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 +109 -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 +288 -0
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/index.d.ts +117 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +117 -0
- package/dist/index.js.map +1 -1
- package/dist/notifications/_shared/0.1/notification.d.ts +22 -0
- package/dist/notifications/_shared/0.1/notification.d.ts.map +1 -0
- package/dist/notifications/_shared/0.1/notification.js +6 -0
- package/dist/notifications/_shared/0.1/notification.js.map +1 -0
- package/dist/notifications/notify/0.1/payload.d.ts +652 -0
- package/dist/notifications/notify/0.1/payload.d.ts.map +1 -0
- package/dist/notifications/notify/0.1/payload.js +383 -0
- package/dist/notifications/notify/0.1/payload.js.map +1 -0
- package/dist/notifications/relay/0.1/payload.d.ts +309 -0
- package/dist/notifications/relay/0.1/payload.d.ts.map +1 -0
- package/dist/notifications/relay/0.1/payload.js +179 -0
- package/dist/notifications/relay/0.1/payload.js.map +1 -0
- package/dist/voting/_shared/0.4/voting.d.ts +16 -0
- package/dist/voting/_shared/0.4/voting.d.ts.map +1 -0
- package/dist/voting/_shared/0.4/voting.js +6 -0
- package/dist/voting/_shared/0.4/voting.js.map +1 -0
- package/dist/voting/election/register/0.1/payload.d.ts +4 -4
- package/dist/voting/election/register/0.1/payload.js +1 -1
- package/dist/voting/election/register/0.2/payload.d.ts +4 -4
- package/dist/voting/election/register/0.2/payload.js +1 -1
- package/dist/voting/election/register/0.3/payload.d.ts +13 -2
- package/dist/voting/election/register/0.3/payload.d.ts.map +1 -1
- package/dist/voting/election/register/0.3/payload.js +1 -1
- package/dist/voting/election/register/0.3/payload.js.map +1 -1
- package/dist/voting/election/register/0.4/payload.d.ts +2054 -0
- package/dist/voting/election/register/0.4/payload.d.ts.map +1 -0
- package/dist/voting/election/register/0.4/payload.js +1264 -0
- package/dist/voting/election/register/0.4/payload.js.map +1 -0
- package/dist/voting/election/show/0.1/payload.d.ts +4 -4
- package/dist/voting/election/show/0.1/payload.js +1 -1
- package/dist/voting/election/show/0.2/payload.d.ts +4 -4
- package/dist/voting/election/show/0.2/payload.js +1 -1
- package/dist/voting/election/show/0.3/payload.d.ts +13 -2
- package/dist/voting/election/show/0.3/payload.d.ts.map +1 -1
- package/dist/voting/election/show/0.3/payload.js +1 -1
- package/dist/voting/election/show/0.3/payload.js.map +1 -1
- package/dist/voting/election/show/0.4/payload.d.ts +1958 -0
- package/dist/voting/election/show/0.4/payload.d.ts.map +1 -0
- package/dist/voting/election/show/0.4/payload.js +1210 -0
- package/dist/voting/election/show/0.4/payload.js.map +1 -0
- package/dist/vta/notifications/_shared/0.1/held-notification.d.ts +16 -0
- package/dist/vta/notifications/_shared/0.1/held-notification.d.ts.map +1 -0
- package/dist/vta/notifications/_shared/0.1/held-notification.js +6 -0
- package/dist/vta/notifications/_shared/0.1/held-notification.js.map +1 -0
- package/dist/vta/notifications/dismiss/0.1/payload.d.ts +300 -0
- package/dist/vta/notifications/dismiss/0.1/payload.d.ts.map +1 -0
- package/dist/vta/notifications/dismiss/0.1/payload.js +179 -0
- package/dist/vta/notifications/dismiss/0.1/payload.js.map +1 -0
- package/dist/vta/notifications/list/0.1/payload.d.ts +1100 -0
- package/dist/vta/notifications/list/0.1/payload.d.ts.map +1 -0
- package/dist/vta/notifications/list/0.1/payload.js +627 -0
- package/dist/vta/notifications/list/0.1/payload.js.map +1 -0
- package/dist/vta/notifications/show/0.1/payload.d.ts +1004 -0
- package/dist/vta/notifications/show/0.1/payload.d.ts.map +1 -0
- package/dist/vta/notifications/show/0.1/payload.js +595 -0
- package/dist/vta/notifications/show/0.1/payload.js.map +1 -0
- package/dist/vta/pcs/trustee/deal/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/deal/0.2/payload.js +1 -1
- package/dist/vta/pcs/trustee/deal/0.3/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/deal/0.3/payload.js +1 -1
- package/dist/vta/pcs/trustee/deal/0.4/payload.d.ts +13 -2
- package/dist/vta/pcs/trustee/deal/0.4/payload.d.ts.map +1 -1
- package/dist/vta/pcs/trustee/deal/0.4/payload.js +1 -1
- package/dist/vta/pcs/trustee/deal/0.4/payload.js.map +1 -1
- package/dist/vta/pcs/trustee/deal/0.5/payload.d.ts +1966 -0
- package/dist/vta/pcs/trustee/deal/0.5/payload.d.ts.map +1 -0
- package/dist/vta/pcs/trustee/deal/0.5/payload.js +1175 -0
- package/dist/vta/pcs/trustee/deal/0.5/payload.js.map +1 -0
- package/dist/vta/pcs/trustee/enrol/0.1/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/enrol/0.1/payload.js +1 -1
- package/dist/vta/pcs/trustee/enrol/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/enrol/0.2/payload.js +1 -1
- package/dist/vta/pcs/trustee/enrol/0.3/payload.d.ts +13 -2
- package/dist/vta/pcs/trustee/enrol/0.3/payload.d.ts.map +1 -1
- package/dist/vta/pcs/trustee/enrol/0.3/payload.js +1 -1
- package/dist/vta/pcs/trustee/enrol/0.3/payload.js.map +1 -1
- package/dist/vta/pcs/trustee/enrol/0.4/payload.d.ts +1890 -0
- package/dist/vta/pcs/trustee/enrol/0.4/payload.d.ts.map +1 -0
- package/dist/vta/pcs/trustee/enrol/0.4/payload.js +1138 -0
- package/dist/vta/pcs/trustee/enrol/0.4/payload.js.map +1 -0
- package/dist/vta/pcs/trustee/justify/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/justify/0.2/payload.js +1 -1
- package/dist/vta/pcs/trustee/justify/0.3/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/justify/0.3/payload.js +1 -1
- package/dist/vta/pcs/trustee/justify/0.4/payload.d.ts +13 -2
- package/dist/vta/pcs/trustee/justify/0.4/payload.d.ts.map +1 -1
- package/dist/vta/pcs/trustee/justify/0.4/payload.js +1 -1
- package/dist/vta/pcs/trustee/justify/0.4/payload.js.map +1 -1
- package/dist/vta/pcs/trustee/justify/0.5/payload.d.ts +2001 -0
- package/dist/vta/pcs/trustee/justify/0.5/payload.d.ts.map +1 -0
- package/dist/vta/pcs/trustee/justify/0.5/payload.js +1193 -0
- package/dist/vta/pcs/trustee/justify/0.5/payload.js.map +1 -0
- package/dist/vta/pcs/trustee/keys/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/keys/0.2/payload.js +1 -1
- package/dist/vta/pcs/trustee/keys/0.3/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/keys/0.3/payload.js +1 -1
- package/dist/vta/pcs/trustee/keys/0.4/payload.d.ts +13 -2
- package/dist/vta/pcs/trustee/keys/0.4/payload.d.ts.map +1 -1
- package/dist/vta/pcs/trustee/keys/0.4/payload.js +1 -1
- package/dist/vta/pcs/trustee/keys/0.4/payload.js.map +1 -1
- package/dist/vta/pcs/trustee/keys/0.5/payload.d.ts +2046 -0
- package/dist/vta/pcs/trustee/keys/0.5/payload.d.ts.map +1 -0
- package/dist/vta/pcs/trustee/keys/0.5/payload.js +1213 -0
- package/dist/vta/pcs/trustee/keys/0.5/payload.js.map +1 -0
- package/dist/vta/pcs/trustee/read/0.1/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/read/0.1/payload.js +1 -1
- package/dist/vta/pcs/trustee/read/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/trustee/read/0.2/payload.js +1 -1
- package/dist/vta/pcs/trustee/read/0.3/payload.d.ts +14 -2
- package/dist/vta/pcs/trustee/read/0.3/payload.d.ts.map +1 -1
- package/dist/vta/pcs/trustee/read/0.3/payload.js +1 -1
- package/dist/vta/pcs/trustee/read/0.3/payload.js.map +1 -1
- package/dist/vta/pcs/trustee/read/0.4/payload.d.ts +540 -0
- package/dist/vta/pcs/trustee/read/0.4/payload.d.ts.map +1 -0
- package/dist/vta/pcs/trustee/read/0.4/payload.js +304 -0
- package/dist/vta/pcs/trustee/read/0.4/payload.js.map +1 -0
- package/dist/vta/pcs/vote/0.1/payload.d.ts +4 -4
- package/dist/vta/pcs/vote/0.1/payload.js +1 -1
- package/dist/vta/pcs/vote/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/vote/0.2/payload.js +1 -1
- package/dist/vta/pcs/vote/0.3/payload.d.ts +13 -2
- package/dist/vta/pcs/vote/0.3/payload.d.ts.map +1 -1
- package/dist/vta/pcs/vote/0.3/payload.js +1 -1
- package/dist/vta/pcs/vote/0.3/payload.js.map +1 -1
- package/dist/vta/pcs/vote/0.4/payload.d.ts +2342 -0
- package/dist/vta/pcs/vote/0.4/payload.d.ts.map +1 -0
- package/dist/vta/pcs/vote/0.4/payload.js +1380 -0
- package/dist/vta/pcs/vote/0.4/payload.js.map +1 -0
- package/dist/vta/pcs/vote-encrypted/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/vote-encrypted/0.2/payload.js +1 -1
- package/dist/vta/pcs/vote-encrypted/0.3/payload.d.ts +4 -4
- package/dist/vta/pcs/vote-encrypted/0.3/payload.js +1 -1
- package/dist/vta/pcs/vote-encrypted/0.4/payload.d.ts +13 -2
- package/dist/vta/pcs/vote-encrypted/0.4/payload.d.ts.map +1 -1
- package/dist/vta/pcs/vote-encrypted/0.4/payload.js +1 -1
- package/dist/vta/pcs/vote-encrypted/0.4/payload.js.map +1 -1
- package/dist/vta/pcs/vote-encrypted/0.5/payload.d.ts +2362 -0
- package/dist/vta/pcs/vote-encrypted/0.5/payload.d.ts.map +1 -0
- package/dist/vta/pcs/vote-encrypted/0.5/payload.js +1398 -0
- package/dist/vta/pcs/vote-encrypted/0.5/payload.js.map +1 -0
- package/dist/vta/pcs/voter/accept/0.1/payload.d.ts +3 -3
- package/dist/vta/pcs/voter/accept/0.1/payload.js +1 -1
- package/dist/vta/pcs/voter/read/0.1/payload.d.ts +4 -4
- package/dist/vta/pcs/voter/read/0.1/payload.js +1 -1
- package/dist/vta/pcs/voter/read/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/voter/read/0.2/payload.js +1 -1
- package/dist/vta/pcs/voter/read/0.3/payload.d.ts +14 -2
- package/dist/vta/pcs/voter/read/0.3/payload.d.ts.map +1 -1
- package/dist/vta/pcs/voter/read/0.3/payload.js +1 -1
- package/dist/vta/pcs/voter/read/0.3/payload.js.map +1 -1
- package/dist/vta/pcs/voter/read/0.4/payload.d.ts +515 -0
- package/dist/vta/pcs/voter/read/0.4/payload.d.ts.map +1 -0
- package/dist/vta/pcs/voter/read/0.4/payload.js +285 -0
- package/dist/vta/pcs/voter/read/0.4/payload.js.map +1 -0
- package/dist/vta/pcs/voter/read/0.5/payload.d.ts +549 -0
- package/dist/vta/pcs/voter/read/0.5/payload.d.ts.map +1 -0
- package/dist/vta/pcs/voter/read/0.5/payload.js +300 -0
- package/dist/vta/pcs/voter/read/0.5/payload.js.map +1 -0
- package/dist/vta/pcs/voter/read/0.6/payload.d.ts +561 -0
- package/dist/vta/pcs/voter/read/0.6/payload.d.ts.map +1 -0
- package/dist/vta/pcs/voter/read/0.6/payload.js +312 -0
- package/dist/vta/pcs/voter/read/0.6/payload.js.map +1 -0
- package/dist/vta/pcs/voter/register/0.1/payload.d.ts +4 -4
- package/dist/vta/pcs/voter/register/0.1/payload.js +1 -1
- package/dist/vta/pcs/voter/register/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/voter/register/0.2/payload.js +1 -1
- package/dist/vta/pcs/voter/register/0.3/payload.d.ts +14 -2
- package/dist/vta/pcs/voter/register/0.3/payload.d.ts.map +1 -1
- package/dist/vta/pcs/voter/register/0.3/payload.js +1 -1
- package/dist/vta/pcs/voter/register/0.3/payload.js.map +1 -1
- package/dist/vta/pcs/voter/register/0.4/payload.d.ts +2324 -0
- package/dist/vta/pcs/voter/register/0.4/payload.d.ts.map +1 -0
- package/dist/vta/pcs/voter/register/0.4/payload.js +1352 -0
- package/dist/vta/pcs/voter/register/0.4/payload.js.map +1 -0
- package/dist/vta/pcs/voter/register/0.5/payload.d.ts +2312 -0
- package/dist/vta/pcs/voter/register/0.5/payload.d.ts.map +1 -0
- package/dist/vta/pcs/voter/register/0.5/payload.js +1352 -0
- package/dist/vta/pcs/voter/register/0.5/payload.js.map +1 -0
- package/dist/vtc/_shared/0.6/network-membership.d.ts +16 -0
- package/dist/vtc/_shared/0.6/network-membership.d.ts.map +1 -0
- package/dist/vtc/_shared/0.6/network-membership.js +6 -0
- package/dist/vtc/_shared/0.6/network-membership.js.map +1 -0
- package/dist/vtc/elections/create/0.1/payload.d.ts +4 -4
- package/dist/vtc/elections/create/0.1/payload.js +1 -1
- package/dist/vtc/elections/create/0.2/payload.d.ts +4 -4
- package/dist/vtc/elections/create/0.2/payload.js +1 -1
- package/dist/vtc/elections/create/0.3/payload.d.ts +4 -4
- package/dist/vtc/elections/create/0.3/payload.js +1 -1
- package/dist/vtc/elections/create/0.4/payload.d.ts +14 -2
- package/dist/vtc/elections/create/0.4/payload.d.ts.map +1 -1
- package/dist/vtc/elections/create/0.4/payload.js +1 -1
- package/dist/vtc/elections/create/0.4/payload.js.map +1 -1
- package/dist/vtc/elections/create/0.5/payload.d.ts +1790 -0
- package/dist/vtc/elections/create/0.5/payload.d.ts.map +1 -0
- package/dist/vtc/elections/create/0.5/payload.js +1092 -0
- package/dist/vtc/elections/create/0.5/payload.js.map +1 -0
- package/dist/vtc/elections/list/0.1/payload.d.ts +4 -4
- package/dist/vtc/elections/list/0.1/payload.js +1 -1
- package/dist/vtc/elections/list/0.2/payload.d.ts +4 -4
- package/dist/vtc/elections/list/0.2/payload.js +1 -1
- package/dist/vtc/elections/list/0.3/payload.d.ts +14 -2
- package/dist/vtc/elections/list/0.3/payload.d.ts.map +1 -1
- package/dist/vtc/elections/list/0.3/payload.js +1 -1
- package/dist/vtc/elections/list/0.3/payload.js.map +1 -1
- package/dist/vtc/elections/list/0.4/payload.d.ts +547 -0
- package/dist/vtc/elections/list/0.4/payload.d.ts.map +1 -0
- package/dist/vtc/elections/list/0.4/payload.js +304 -0
- package/dist/vtc/elections/list/0.4/payload.js.map +1 -0
- package/dist/vtc/elections/list/0.5/payload.d.ts +535 -0
- package/dist/vtc/elections/list/0.5/payload.d.ts.map +1 -0
- package/dist/vtc/elections/list/0.5/payload.js +304 -0
- package/dist/vtc/elections/list/0.5/payload.js.map +1 -0
- package/dist/vtc/elections/show/0.1/payload.d.ts +4 -4
- package/dist/vtc/elections/show/0.1/payload.js +1 -1
- package/dist/vtc/elections/show/0.2/payload.d.ts +4 -4
- package/dist/vtc/elections/show/0.2/payload.js +1 -1
- package/dist/vtc/elections/show/0.3/payload.d.ts +14 -2
- package/dist/vtc/elections/show/0.3/payload.d.ts.map +1 -1
- package/dist/vtc/elections/show/0.3/payload.js +1 -1
- package/dist/vtc/elections/show/0.3/payload.js.map +1 -1
- package/dist/vtc/elections/show/0.4/payload.d.ts +3290 -0
- package/dist/vtc/elections/show/0.4/payload.d.ts.map +1 -0
- package/dist/vtc/elections/show/0.4/payload.js +1931 -0
- package/dist/vtc/elections/show/0.4/payload.js.map +1 -0
- package/dist/vtc/elections/show/0.5/payload.d.ts +3318 -0
- package/dist/vtc/elections/show/0.5/payload.d.ts.map +1 -0
- package/dist/vtc/elections/show/0.5/payload.js +1946 -0
- package/dist/vtc/elections/show/0.5/payload.js.map +1 -0
- package/dist/vtc/elections/show/0.6/payload.d.ts +3306 -0
- package/dist/vtc/elections/show/0.6/payload.d.ts.map +1 -0
- package/dist/vtc/elections/show/0.6/payload.js +1946 -0
- package/dist/vtc/elections/show/0.6/payload.js.map +1 -0
- package/dist/vtc/elections/tickets/issue/0.1/payload.d.ts +14 -2
- package/dist/vtc/elections/tickets/issue/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/elections/tickets/issue/0.1/payload.js +1 -1
- package/dist/vtc/elections/tickets/issue/0.1/payload.js.map +1 -1
- package/dist/vtc/elections/tickets/issue/0.2/payload.d.ts +651 -0
- package/dist/vtc/elections/tickets/issue/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/elections/tickets/issue/0.2/payload.js +347 -0
- package/dist/vtc/elections/tickets/issue/0.2/payload.js.map +1 -0
- package/dist/vtc/elections/tickets/issue/0.3/payload.d.ts +639 -0
- package/dist/vtc/elections/tickets/issue/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/elections/tickets/issue/0.3/payload.js +347 -0
- package/dist/vtc/elections/tickets/issue/0.3/payload.js.map +1 -0
- package/dist/vtc/networks/evidence/0.1/payload.d.ts +412 -0
- package/dist/vtc/networks/evidence/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/evidence/0.1/payload.js +233 -0
- package/dist/vtc/networks/evidence/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/groups/register/0.1/payload.d.ts +680 -0
- package/dist/vtc/networks/groups/register/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/groups/register/0.1/payload.js +401 -0
- package/dist/vtc/networks/groups/register/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/join/0.1/payload.d.ts +760 -0
- package/dist/vtc/networks/join/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/join/0.1/payload.js +445 -0
- package/dist/vtc/networks/join/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/leave/0.1/payload.d.ts +664 -0
- package/dist/vtc/networks/leave/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/leave/0.1/payload.js +393 -0
- package/dist/vtc/networks/leave/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/list/0.1/payload.d.ts +713 -0
- package/dist/vtc/networks/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/list/0.1/payload.js +417 -0
- package/dist/vtc/networks/list/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/notice/0.1/payload.d.ts +210 -0
- package/dist/vtc/networks/notice/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/notice/0.1/payload.js +116 -0
- package/dist/vtc/networks/notice/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/repudiate/0.1/payload.d.ts +680 -0
- package/dist/vtc/networks/repudiate/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/repudiate/0.1/payload.js +400 -0
- package/dist/vtc/networks/repudiate/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/show/0.1/payload.d.ts +650 -0
- package/dist/vtc/networks/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/show/0.1/payload.js +388 -0
- package/dist/vtc/networks/show/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_extends.ts +5 -0
- package/src/_shared/components.ts +293 -0
- package/src/index.ts +117 -0
- package/src/notifications/_shared/0.1/notification.ts +23 -0
- package/src/notifications/notify/0.1/payload.ts +420 -0
- package/src/notifications/relay/0.1/payload.ts +220 -0
- package/src/voting/_shared/0.4/voting.ts +17 -0
- package/src/voting/election/register/0.1/payload.ts +5 -5
- package/src/voting/election/register/0.2/payload.ts +5 -5
- package/src/voting/election/register/0.3/payload.ts +14 -3
- package/src/voting/election/register/0.4/payload.ts +1307 -0
- package/src/voting/election/show/0.1/payload.ts +5 -5
- package/src/voting/election/show/0.2/payload.ts +5 -5
- package/src/voting/election/show/0.3/payload.ts +14 -3
- package/src/voting/election/show/0.4/payload.ts +1249 -0
- package/src/vta/notifications/_shared/0.1/held-notification.ts +17 -0
- package/src/vta/notifications/dismiss/0.1/payload.ts +214 -0
- package/src/vta/notifications/list/0.1/payload.ts +688 -0
- package/src/vta/notifications/show/0.1/payload.ts +630 -0
- package/src/vta/pcs/trustee/deal/0.2/payload.ts +5 -5
- package/src/vta/pcs/trustee/deal/0.3/payload.ts +5 -5
- package/src/vta/pcs/trustee/deal/0.4/payload.ts +14 -3
- package/src/vta/pcs/trustee/deal/0.5/payload.ts +1248 -0
- package/src/vta/pcs/trustee/enrol/0.1/payload.ts +5 -5
- package/src/vta/pcs/trustee/enrol/0.2/payload.ts +5 -5
- package/src/vta/pcs/trustee/enrol/0.3/payload.ts +14 -3
- package/src/vta/pcs/trustee/enrol/0.4/payload.ts +1207 -0
- package/src/vta/pcs/trustee/justify/0.2/payload.ts +5 -5
- package/src/vta/pcs/trustee/justify/0.3/payload.ts +5 -5
- package/src/vta/pcs/trustee/justify/0.4/payload.ts +14 -3
- package/src/vta/pcs/trustee/justify/0.5/payload.ts +1267 -0
- package/src/vta/pcs/trustee/keys/0.2/payload.ts +5 -5
- package/src/vta/pcs/trustee/keys/0.3/payload.ts +5 -5
- package/src/vta/pcs/trustee/keys/0.4/payload.ts +14 -3
- package/src/vta/pcs/trustee/keys/0.5/payload.ts +1294 -0
- package/src/vta/pcs/trustee/read/0.1/payload.ts +5 -5
- package/src/vta/pcs/trustee/read/0.2/payload.ts +5 -5
- package/src/vta/pcs/trustee/read/0.3/payload.ts +15 -3
- package/src/vta/pcs/trustee/read/0.4/payload.ts +385 -0
- package/src/vta/pcs/vote/0.1/payload.ts +5 -5
- package/src/vta/pcs/vote/0.2/payload.ts +5 -5
- package/src/vta/pcs/vote/0.3/payload.ts +14 -3
- package/src/vta/pcs/vote/0.4/payload.ts +1465 -0
- package/src/vta/pcs/vote-encrypted/0.2/payload.ts +5 -5
- package/src/vta/pcs/vote-encrypted/0.3/payload.ts +5 -5
- package/src/vta/pcs/vote-encrypted/0.4/payload.ts +14 -3
- package/src/vta/pcs/vote-encrypted/0.5/payload.ts +1469 -0
- package/src/vta/pcs/voter/accept/0.1/payload.ts +2 -2
- package/src/vta/pcs/voter/read/0.1/payload.ts +5 -5
- package/src/vta/pcs/voter/read/0.2/payload.ts +5 -5
- package/src/vta/pcs/voter/read/0.3/payload.ts +15 -3
- package/src/vta/pcs/voter/read/0.4/payload.ts +375 -0
- package/src/vta/pcs/voter/read/0.5/payload.ts +394 -0
- package/src/vta/pcs/voter/read/0.6/payload.ts +398 -0
- package/src/vta/pcs/voter/register/0.1/payload.ts +5 -5
- package/src/vta/pcs/voter/register/0.2/payload.ts +5 -5
- package/src/vta/pcs/voter/register/0.3/payload.ts +15 -3
- package/src/vta/pcs/voter/register/0.4/payload.ts +1478 -0
- package/src/vta/pcs/voter/register/0.5/payload.ts +1466 -0
- package/src/vtc/_shared/0.6/network-membership.ts +17 -0
- package/src/vtc/elections/create/0.1/payload.ts +5 -5
- package/src/vtc/elections/create/0.2/payload.ts +5 -5
- package/src/vtc/elections/create/0.3/payload.ts +5 -5
- package/src/vtc/elections/create/0.4/payload.ts +15 -3
- package/src/vtc/elections/create/0.5/payload.ts +1141 -0
- package/src/vtc/elections/list/0.1/payload.ts +5 -5
- package/src/vtc/elections/list/0.2/payload.ts +5 -5
- package/src/vtc/elections/list/0.3/payload.ts +15 -3
- package/src/vtc/elections/list/0.4/payload.ts +399 -0
- package/src/vtc/elections/list/0.5/payload.ts +387 -0
- package/src/vtc/elections/show/0.1/payload.ts +5 -5
- package/src/vtc/elections/show/0.2/payload.ts +5 -5
- package/src/vtc/elections/show/0.3/payload.ts +15 -3
- package/src/vtc/elections/show/0.4/payload.ts +2043 -0
- package/src/vtc/elections/show/0.5/payload.ts +2062 -0
- package/src/vtc/elections/show/0.6/payload.ts +2050 -0
- package/src/vtc/elections/tickets/issue/0.1/payload.ts +15 -3
- package/src/vtc/elections/tickets/issue/0.2/payload.ts +441 -0
- package/src/vtc/elections/tickets/issue/0.3/payload.ts +429 -0
- package/src/vtc/networks/evidence/0.1/payload.ts +290 -0
- package/src/vtc/networks/groups/register/0.1/payload.ts +446 -0
- package/src/vtc/networks/join/0.1/payload.ts +492 -0
- package/src/vtc/networks/leave/0.1/payload.ts +434 -0
- package/src/vtc/networks/list/0.1/payload.ts +463 -0
- package/src/vtc/networks/notice/0.1/payload.ts +172 -0
- package/src/vtc/networks/repudiate/0.1/payload.ts +445 -0
- package/src/vtc/networks/show/0.1/payload.ts +425 -0
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,115 @@ The package versions over **its own API** — what a consumer compiles against
|
|
|
11
11
|
not over `SPEC.md`. Below 1.0 a breaking change bumps the leading non-zero
|
|
12
12
|
component.
|
|
13
13
|
|
|
14
|
+
## 0.28.9 — 2026-11-03
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- **vtc/networks**: A community's side of Verifiable Trust Network membership (#1014)
|
|
20
|
+
|
|
21
|
+
A Verifiable Trust Network (VTN) curates communities and networks
|
|
22
|
+
(dtgwg-vti-spec 11a-vtn.md, VTI-VTN-001..063). Listing is one-sided;
|
|
23
|
+
membership is the listed party's acknowledgement. These tasks are the
|
|
24
|
+
community's side of that relationship.
|
|
25
|
+
|
|
26
|
+
- vtc/networks/list, vtc/networks/show (0.1): the community's network
|
|
27
|
+
memberships, with the credentials that evidence each state.
|
|
28
|
+
- vtc/networks/join (0.1): accept a listing. The community checks the
|
|
29
|
+
network at the URL is the DID the administrator named, verifies the
|
|
30
|
+
listing, registers groups for the network's roles (required ones first),
|
|
31
|
+
signs the acknowledgement as itself and verifies the grant.
|
|
32
|
+
- vtc/networks/repudiate (0.1): reject a listing; the network publishes
|
|
33
|
+
the repudiation beside it (VTI-VTN-012).
|
|
34
|
+
- vtc/networks/leave (0.1): depart by repudiating the grant (VTI-VTN-053).
|
|
35
|
+
- vtc/networks/groups/register (0.1): nominate a community group to serve
|
|
36
|
+
a network role. The community is the registrant; the network learns
|
|
37
|
+
the group's DID, never its members.
|
|
38
|
+
- vtc/networks/notice (0.1): the community passes a network broadcast on
|
|
39
|
+
to members of the registered group, carrying the network's signed
|
|
40
|
+
envelope unchanged. Distinct from notifications/notify, which carries
|
|
41
|
+
a reference and none of the content (VTI-NTF-003).
|
|
42
|
+
- vtc/networks/evidence (0.1): a member gets the registration and
|
|
43
|
+
acceptance linking their group to a network, to present for a network
|
|
44
|
+
room pass.
|
|
45
|
+
|
|
46
|
+
The shared NetworkMembership, RegisteredGroup and RoleAssignment records
|
|
47
|
+
are in vtc/_shared/0.6/network-membership.schema.json. Rust, TypeScript,
|
|
48
|
+
Go and Dart bindings are regenerated.
|
|
49
|
+
|
|
50
|
+
- **notifications**: A generic notification family — notify, relay, and the VTA's list, show and dismiss (#1012)
|
|
51
|
+
|
|
52
|
+
notifications/notify/0.1 tells the party a DID names (an individual,
|
|
53
|
+
group, community or network) that a thing exists it, or those it stands
|
|
54
|
+
for, may take part in: where it is held, its identifier there, the task
|
|
55
|
+
that opens it, and the audience it concerns, with a kind from an
|
|
56
|
+
extensible registry (`election` registered) and nothing of the thing's
|
|
57
|
+
content. Signed by the originator; deduplicated by issuer +
|
|
58
|
+
notificationId, with revision for change and withdrawal; the receipt is
|
|
59
|
+
the same whatever the recipient did.
|
|
60
|
+
|
|
61
|
+
notifications/relay/0.1 lets the addressee pass it on, carrying the
|
|
62
|
+
received document whole and opaque so every signed member survives; the
|
|
63
|
+
recipient verifies every layer, to at most four relays.
|
|
64
|
+
|
|
65
|
+
vta/notifications/list, show and dismiss (0.1) are the principal's view
|
|
66
|
+
of what its VTA holds, per context; show returns the delivering document
|
|
67
|
+
as received.
|
|
68
|
+
|
|
69
|
+
Implements VTI-NTF-001 – VTI-NTF-063 (trustoverip/dtgwg-vti-spec#91).
|
|
70
|
+
|
|
71
|
+
- **voting**: A member-party election's ticket claim says nothing to an unproven claimant, and a presentation outage is indeterminate whatever the election (vtc/elections/tickets/issue/0.3, vtc/elections/show/0.6, vta/pcs/voter/register/0.5, vta/pcs/voter/read/0.6) (#1011)
|
|
72
|
+
|
|
73
|
+
Follows trustoverip/dtgwg-vti-spec#90 (VTI-VOT-015 - VTI-VOT-018,
|
|
74
|
+
VTI-VOT-025).
|
|
75
|
+
|
|
76
|
+
- **voting**: An election put to a member party's members is shown only to a reader who proves that membership (vtc/elections/show/0.5, vtc/elections/list/0.5, vta/pcs/voter/read/0.5) (#1010)
|
|
77
|
+
|
|
78
|
+
Follows trustoverip/dtgwg-vti-spec VTI-VOT-015/016. Under show/0.4 and
|
|
79
|
+
list/0.4, an election whose credential roll names a member party was shown
|
|
80
|
+
to any caller, so its title, questions and options were public.
|
|
81
|
+
|
|
82
|
+
- vtc/elections/show/0.5 (extends 0.4): optional `presentation` in the form
|
|
83
|
+
tickets/issue/0.2 carries (nonce = document id, domain/aud = community,
|
|
84
|
+
in a document the holder signs). Considered only for a member-party
|
|
85
|
+
election the caller cannot otherwise see, in a signed document within the
|
|
86
|
+
acceptance window and used once; checked as tickets/issue/0.2 item 5.2 to
|
|
87
|
+
5.4. Every failure, indeterminate included, is electionUnknown. Never a
|
|
88
|
+
refusal for carrying one. maxDocumentBytes.request 98304.
|
|
89
|
+
- vtc/elections/list/0.5 (extends 0.4): prose only. A member-party
|
|
90
|
+
election is listed only to administrators and the party itself; to
|
|
91
|
+
everyone else it is omitted, with no stub. A list never carries a
|
|
92
|
+
presentation.
|
|
93
|
+
- vta/pcs/voter/read/0.5: signs list/0.5 and show/0.5; optional
|
|
94
|
+
`membershipCredential` (only with read = show, a dependentSchemas rule),
|
|
95
|
+
which the engine presents from the vault in the show it signs. New code
|
|
96
|
+
membershipCredentialUnusable.
|
|
97
|
+
- CONVENTIONS.md: a Member-party election term, and the §4 row for
|
|
98
|
+
list/show.
|
|
99
|
+
|
|
100
|
+
- **voting**: A credential roll, proven when the ticket is claimed (voting/_shared/0.4, vtc/elections/tickets/issue/0.2) (#1008)
|
|
101
|
+
|
|
102
|
+
* feat(voting): a credential roll, proven when the ticket is claimed (voting/_shared/0.4, vtc/elections/tickets/issue/0.2)
|
|
103
|
+
|
|
104
|
+
Follows trustoverip/dtgwg-vti-spec#88 (VTI-VOT-021, VTI-VOT-022,
|
|
105
|
+
VTI-VOT-025 – VTI-VOT-028, VTI-VOT-090).
|
|
106
|
+
|
|
107
|
+
voting/_shared/0.4 appends `credential` to the roll rule, with `roll.memberOf`
|
|
108
|
+
naming exactly one DID: the community, one of its groups, or a community or
|
|
109
|
+
network it recognises. memberOf is required with `credential` and refused with
|
|
110
|
+
every other rule, and `listed` is refused with `credential` (dependentSchemas,
|
|
111
|
+
which the generators read as an optional member). Disclosure gains an optional
|
|
112
|
+
RollCredentialDisclosure saying whose credential counts (VTI-VOT-090).
|
|
113
|
+
|
|
114
|
+
Every task carrying the manifest takes a new version re-pinned to 0.4, and the
|
|
115
|
+
signed reads name the newer reads. vtc/elections/tickets/issue/0.2 (extends 0.1)
|
|
116
|
+
carries the membership presentation, bound to the document's id and the
|
|
117
|
+
community, checked at issuance, with five appended error codes.
|
|
118
|
+
vtc/elections/create/0.5 refuses an untrusted memberOf (rollUntrusted,
|
|
119
|
+
rollIndeterminate). vta/pcs/voter/register/0.4 presents a vault credential in
|
|
120
|
+
the ticket document it signs. vtc/elections/list/0.4 (extends 0.3) says who sees
|
|
121
|
+
an election under a credential roll.
|
|
122
|
+
|
|
14
123
|
## 0.28.8 — 2026-11-02
|
|
15
124
|
|
|
16
125
|
|
package/dist/_extends.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_extends.d.ts","sourceRoot":"","sources":["../src/_extends.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAExE;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"_extends.d.ts","sourceRoot":"","sources":["../src/_extends.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAExE;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAc/D,CAAC"}
|
package/dist/_extends.js
CHANGED
|
@@ -14,5 +14,10 @@ export const EXTENDS_BY_TYPE_URI = Object.freeze({
|
|
|
14
14
|
"https://trusttasks.org/spec/vta/did-templates/list/3.2": "3.1",
|
|
15
15
|
"https://trusttasks.org/spec/vta/did-templates/update/3.2": "3.1",
|
|
16
16
|
"https://trusttasks.org/spec/vta/webvh/dids/update/1.1": "1.0",
|
|
17
|
+
"https://trusttasks.org/spec/vtc/elections/list/0.4": "0.3",
|
|
18
|
+
"https://trusttasks.org/spec/vtc/elections/list/0.5": "0.4",
|
|
19
|
+
"https://trusttasks.org/spec/vtc/elections/show/0.5": "0.4",
|
|
20
|
+
"https://trusttasks.org/spec/vtc/elections/show/0.6": "0.5",
|
|
21
|
+
"https://trusttasks.org/spec/vtc/elections/tickets/issue/0.2": "0.1",
|
|
17
22
|
});
|
|
18
23
|
//# sourceMappingURL=_extends.js.map
|
package/dist/_extends.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_extends.js","sourceRoot":"","sources":["../src/_extends.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAExE;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAqC,MAAM,CAAC,MAAM,CAAC;IACjF,iDAAiD,EAAE,KAAK;IACxD,gDAAgD,EAAE,KAAK;IACvD,mDAAmD,EAAE,KAAK;IAC1D,0DAA0D,EAAE,KAAK;IACjE,uDAAuD,EAAE,KAAK;IAC9D,wDAAwD,EAAE,KAAK;IAC/D,0DAA0D,EAAE,KAAK;IACjE,uDAAuD,EAAE,KAAK;
|
|
1
|
+
{"version":3,"file":"_extends.js","sourceRoot":"","sources":["../src/_extends.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAExE;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAqC,MAAM,CAAC,MAAM,CAAC;IACjF,iDAAiD,EAAE,KAAK;IACxD,gDAAgD,EAAE,KAAK;IACvD,mDAAmD,EAAE,KAAK;IAC1D,0DAA0D,EAAE,KAAK;IACjE,uDAAuD,EAAE,KAAK;IAC9D,wDAAwD,EAAE,KAAK;IAC/D,0DAA0D,EAAE,KAAK;IACjE,uDAAuD,EAAE,KAAK;IAC9D,oDAAoD,EAAE,KAAK;IAC3D,oDAAoD,EAAE,KAAK;IAC3D,oDAAoD,EAAE,KAAK;IAC3D,oDAAoD,EAAE,KAAK;IAC3D,6DAA6D,EAAE,KAAK;CACrE,CAAC,CAAC"}
|
|
@@ -477,6 +477,10 @@ export type ConsumerKind_DeviceV0_1 = Companion_DeviceV0_1 | Service_DeviceV0_1;
|
|
|
477
477
|
* Discriminator: is this consumer a user-driven Companion or a headless Service?
|
|
478
478
|
*/
|
|
479
479
|
export type ConsumerKind_DeviceV0_2 = Companion_DeviceV0_2 | Service_DeviceV0_2;
|
|
480
|
+
/**
|
|
481
|
+
* The trust context the notification is held in: the one the addressed DID belongs to.
|
|
482
|
+
*/
|
|
483
|
+
export type ContextId = string;
|
|
480
484
|
/**
|
|
481
485
|
* Opaque identifier of one of the maintainer's contexts, compared by the maintainer's own ancestry predicate. Its grammar is the maintainer's.
|
|
482
486
|
*/
|
|
@@ -568,6 +572,10 @@ export type Did_GitNsV0_1 = string;
|
|
|
568
572
|
* A bare DID in the W3C DID Core syntax (§3.1): `did:`, a method name of lowercase letters and digits, `:`, and a method-specific id of colon-separated segments drawn from `A-Z a-z 0-9 . - _` and percent-encoded octets, the last segment non-empty. A DID URL is not a DID: no path, query or fragment (`/`, `?`, `#`), so a verification-method id such as `did:key:z6Mk…#z6Mk…` is refused. Compared by exact string equality — no case folding or percent-decoding. A consumer MUST still treat the value as data: the pattern keeps shell metacharacters, whitespace and quotes out of the wire form, but it does not make a DID safe to splice into a command or markup.
|
|
569
573
|
*/
|
|
570
574
|
export type Did_GitNsV0_3 = string;
|
|
575
|
+
/**
|
|
576
|
+
* A DID.
|
|
577
|
+
*/
|
|
578
|
+
export type Did_NotificationsV0_1 = string;
|
|
571
579
|
/**
|
|
572
580
|
* 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.
|
|
573
581
|
*
|
|
@@ -900,6 +908,10 @@ export type Key_VtaV0_1 = string;
|
|
|
900
908
|
* The interaction kind: a 1:1 direct message, a multi-party group, or a broadcast channel.
|
|
901
909
|
*/
|
|
902
910
|
export type Kind = "dm" | "group" | "channel";
|
|
911
|
+
/**
|
|
912
|
+
* What the thing is. Either a registered kind — one lowerCamelCase name in the VTI specification's notification kind registry (Appendix G), such as `election` — or an unregistered kind, written `<reverse-DNS domain>:<name>` under a domain its definer controls, such as `org.example:meetingInvite`. A recipient that does not recognise a kind holds, lists and discards it and does nothing else with it (VTI-NTF-012).
|
|
913
|
+
*/
|
|
914
|
+
export type Kind_NotificationsV0_1 = string;
|
|
903
915
|
/**
|
|
904
916
|
* A BCP 47 language tag, e.g. `en`, `de-AT`. Compared case-insensitively.
|
|
905
917
|
*/
|
|
@@ -1012,6 +1024,10 @@ export type NoteId = string;
|
|
|
1012
1024
|
* The note, as plain text. Read only by holders of `vtc.directory.notes`. A reader MUST NOT treat it as instructions.
|
|
1013
1025
|
*/
|
|
1014
1026
|
export type NoteText = string;
|
|
1027
|
+
/**
|
|
1028
|
+
* The originator's identifier for one notification, unique among the notifications that originator issues and the same in every document that carries it — retries, re-issued documents and relayed copies alike. It is the notification's idempotency key (VTI-NTF-021). Compared for equality only. An originator SHOULD make it unguessable and SHOULD NOT make it descriptive: it travels as far as the notification does.
|
|
1029
|
+
*/
|
|
1030
|
+
export type NotificationId = string;
|
|
1015
1031
|
/**
|
|
1016
1032
|
* A key prefix inside the bucket, ending in `/`, under which the config's `rooms/` tree is placed. Restricted to the S3 safe-character set so that it can be placed in a downscoped policy without escaping.
|
|
1017
1033
|
*/
|
|
@@ -1364,6 +1380,10 @@ export type RecordEvidence = RecordEvidenceRecord | RecordEvidenceCredential;
|
|
|
1364
1380
|
* @maxItems 32
|
|
1365
1381
|
*/
|
|
1366
1382
|
export type RecordEvidenceList = [RecordEvidence, ...RecordEvidence[]];
|
|
1383
|
+
/**
|
|
1384
|
+
* The VTA's own identifier for one held notification, stable across the revisions that replace it. Opaque and compared for equality only; unguessable, because a show of a record in a context the caller may not read is refused and an enumerable identifier would turn the refusal into an oracle.
|
|
1385
|
+
*/
|
|
1386
|
+
export type RecordId = string;
|
|
1367
1387
|
/**
|
|
1368
1388
|
* The path from one record's leaf to the room's `DataCommitment` — a Merkle inclusion proof, in the vocabulary this work already uses for it.
|
|
1369
1389
|
*
|
|
@@ -1689,6 +1709,14 @@ export type SiteTarget_VaultV0_2 = WebOrigin_VaultV0_2 | Did_VaultV0_2 | IosApp_
|
|
|
1689
1709
|
* Other values are the holder's or the producer's own and carry no meaning a maintainer interprets.
|
|
1690
1710
|
*/
|
|
1691
1711
|
export type Slot = string;
|
|
1712
|
+
/**
|
|
1713
|
+
* The principal's disposition of a held notification: `active`, or `dismissed` by vta/notifications/dismiss. Dismissal is the principal's alone and changes nothing outside the VTA (VTI-NTF-052).
|
|
1714
|
+
*/
|
|
1715
|
+
export type State = "active" | "dismissed";
|
|
1716
|
+
/**
|
|
1717
|
+
* Whether the thing is still open to the audience: `available`, or `withdrawn` — cancelled by its holder, or no longer open to the audience — in which case the recipient keeps the record only to show that it was withdrawn (VTI-NTF-024).
|
|
1718
|
+
*/
|
|
1719
|
+
export type Status = "available" | "withdrawn";
|
|
1692
1720
|
/**
|
|
1693
1721
|
* How the community authenticates to a config's backend. Absent on a `local` config, which needs none.
|
|
1694
1722
|
*
|
|
@@ -7426,6 +7454,32 @@ export interface Disclosure {
|
|
|
7426
7454
|
*/
|
|
7427
7455
|
coercionResistance: false;
|
|
7428
7456
|
}
|
|
7457
|
+
/**
|
|
7458
|
+
* The statement a community publishes, and shows a member before they request a ticket, about how one election is run (VTI-VOT-090). Generated from the election's manifest and the community's configuration, never written by hand. Under a `credential` roll it also says whose membership credential counts (`rollCredential`).
|
|
7459
|
+
*/
|
|
7460
|
+
export interface Disclosure_VotingV0_4 {
|
|
7461
|
+
/**
|
|
7462
|
+
* The ballot box's DID.
|
|
7463
|
+
*/
|
|
7464
|
+
ballotBox: string;
|
|
7465
|
+
/**
|
|
7466
|
+
* Who operates the ballot box, as the community names them.
|
|
7467
|
+
*/
|
|
7468
|
+
ballotBoxOperator: string;
|
|
7469
|
+
/**
|
|
7470
|
+
* Whether the party operating the community's VTC also operates the ballot box.
|
|
7471
|
+
*/
|
|
7472
|
+
sameOperator: boolean;
|
|
7473
|
+
trustees?: Trustees;
|
|
7474
|
+
boardVisibility: BoardVisibility;
|
|
7475
|
+
auditors: string[];
|
|
7476
|
+
revote: Revote;
|
|
7477
|
+
rollCredential?: RollCredentialDisclosure;
|
|
7478
|
+
/**
|
|
7479
|
+
* Always false: a voter can prove how they voted, so the community cannot protect a member against being made to vote a certain way.
|
|
7480
|
+
*/
|
|
7481
|
+
coercionResistance: false;
|
|
7482
|
+
}
|
|
7429
7483
|
/**
|
|
7430
7484
|
* The member's three discoverability decisions, made separately.
|
|
7431
7485
|
*/
|
|
@@ -8433,6 +8487,40 @@ export interface GroupMember {
|
|
|
8433
8487
|
*/
|
|
8434
8488
|
credentialValidUntil?: string;
|
|
8435
8489
|
}
|
|
8490
|
+
/**
|
|
8491
|
+
* One notification the VTA holds, as a client with standing in its context sees it. `originator` and every entry of `relayedBy` were verified by the VTA when it accepted the notification (VTI-NTF-042); a client that does not take the VTA's word for them reads the document with vta/notifications/show and verifies it itself.
|
|
8492
|
+
*/
|
|
8493
|
+
export interface HeldNotification {
|
|
8494
|
+
recordId: RecordId;
|
|
8495
|
+
contextId: ContextId;
|
|
8496
|
+
/**
|
|
8497
|
+
* The principal's DID the notification, or the relay that delivered it, was addressed to.
|
|
8498
|
+
*/
|
|
8499
|
+
addressee: Did_NotificationsV0_1;
|
|
8500
|
+
/**
|
|
8501
|
+
* The issuer of the notifications/notify document: who said the thing exists.
|
|
8502
|
+
*/
|
|
8503
|
+
originator: Did_NotificationsV0_1;
|
|
8504
|
+
/**
|
|
8505
|
+
* The relayers the held revision passed through, in the order they relayed it: the first is the notification's own addressee, the last the relayer that delivered it to `addressee`. Empty for a notification the originator sent to `addressee` directly. The acceptance policy counted the last one (VTI-NTF-031).
|
|
8506
|
+
*
|
|
8507
|
+
* @maxItems 4
|
|
8508
|
+
*/
|
|
8509
|
+
relayedBy: [] | [Did_NotificationsV0_1] | [Did_NotificationsV0_1, Did_NotificationsV0_1] | [Did_NotificationsV0_1, Did_NotificationsV0_1, Did_NotificationsV0_1] | [Did_NotificationsV0_1, Did_NotificationsV0_1, Did_NotificationsV0_1, Did_NotificationsV0_1];
|
|
8510
|
+
/**
|
|
8511
|
+
* The notification's members at the revision held.
|
|
8512
|
+
*/
|
|
8513
|
+
notification: Notification;
|
|
8514
|
+
state: State;
|
|
8515
|
+
/**
|
|
8516
|
+
* When the VTA accepted the revision held.
|
|
8517
|
+
*/
|
|
8518
|
+
receivedAt: string;
|
|
8519
|
+
/**
|
|
8520
|
+
* When the principal dismissed it. Present exactly when `state` is `dismissed`.
|
|
8521
|
+
*/
|
|
8522
|
+
dismissedAt?: string;
|
|
8523
|
+
}
|
|
8436
8524
|
/**
|
|
8437
8525
|
* The applicant's proof that distinct eligible vetters of the community vetted it, as a join submission carries it under `extensions.hiddenVetting`. Built by vta/pcs/prove, verified by the community.
|
|
8438
8526
|
*/
|
|
@@ -9350,6 +9438,51 @@ export interface Manifest_VotingV0_3 {
|
|
|
9350
9438
|
*/
|
|
9351
9439
|
textReleaseThreshold: number;
|
|
9352
9440
|
}
|
|
9441
|
+
/**
|
|
9442
|
+
* What an election asks and how it is decided (VTI-VOT-010). Its digest (`manifestDigest`) is the SHA-256 multihash of its RFC 8785 (JCS) canonicalization, and every cast is bound to it (VTI-VOT-011).
|
|
9443
|
+
*/
|
|
9444
|
+
export interface Manifest_VotingV0_4 {
|
|
9445
|
+
electionId: ElectionId;
|
|
9446
|
+
/**
|
|
9447
|
+
* The community's DID.
|
|
9448
|
+
*/
|
|
9449
|
+
community: string;
|
|
9450
|
+
title?: string;
|
|
9451
|
+
description?: string;
|
|
9452
|
+
/**
|
|
9453
|
+
* @minItems 1
|
|
9454
|
+
* @maxItems 128
|
|
9455
|
+
*/
|
|
9456
|
+
questions: [Question, ...Question[]];
|
|
9457
|
+
secrecy: SecrecyLevel;
|
|
9458
|
+
roll: RollRule_VotingV0_4;
|
|
9459
|
+
registrationOpensAt: string;
|
|
9460
|
+
votingOpensAt: string;
|
|
9461
|
+
votingClosesAt: string;
|
|
9462
|
+
revote: Revote;
|
|
9463
|
+
board: {
|
|
9464
|
+
visibility: BoardVisibility;
|
|
9465
|
+
auditors: string[];
|
|
9466
|
+
};
|
|
9467
|
+
/**
|
|
9468
|
+
* The DID of the voting service that holds the board.
|
|
9469
|
+
*/
|
|
9470
|
+
ballotBox: string;
|
|
9471
|
+
trustees?: Trustees;
|
|
9472
|
+
/**
|
|
9473
|
+
* Whether the community treats the result as deciding something; creating a binding election takes another administrator's consent (VTI-VOT-081).
|
|
9474
|
+
*/
|
|
9475
|
+
binding: boolean;
|
|
9476
|
+
allowEarlyClose: boolean;
|
|
9477
|
+
/**
|
|
9478
|
+
* Open elections only: whether running totals may be read while voting is open (VTI-VOT-061).
|
|
9479
|
+
*/
|
|
9480
|
+
resultsBeforeClose: boolean;
|
|
9481
|
+
/**
|
|
9482
|
+
* Counted ballots required before any text answer is disclosed (VTI-VOT-065). At least 1, and SHOULD be at least 10: a written answer can identify its author by what it says or how it is phrased, and the fewer the ballots released together, the easier that is. Where it is below 10, the disclosure a member is shown before they request a ticket MUST say so, and MUST say that a written answer may identify its author (VTI-VOT-090).
|
|
9483
|
+
*/
|
|
9484
|
+
textReleaseThreshold: number;
|
|
9485
|
+
}
|
|
9353
9486
|
/**
|
|
9354
9487
|
* The mediator's per-account access-control capability set, expressed as named booleans (the transport-agnostic form of the mediator's internal capability flags). On a set request, members omitted are left unchanged; a get/response carries the full realized set.
|
|
9355
9488
|
*/
|
|
@@ -9779,6 +9912,46 @@ export interface MonitorFilter {
|
|
|
9779
9912
|
*/
|
|
9780
9913
|
failuresOnly?: boolean;
|
|
9781
9914
|
}
|
|
9915
|
+
export interface NetworkMembership {
|
|
9916
|
+
/**
|
|
9917
|
+
* The network's DID.
|
|
9918
|
+
*/
|
|
9919
|
+
network: string;
|
|
9920
|
+
/**
|
|
9921
|
+
* Where the network's API is reached: the base its `/.well-known/vtn` profile is served under.
|
|
9922
|
+
*/
|
|
9923
|
+
url: string;
|
|
9924
|
+
/**
|
|
9925
|
+
* The network's name, as its profile gives it.
|
|
9926
|
+
*/
|
|
9927
|
+
name?: string;
|
|
9928
|
+
/**
|
|
9929
|
+
* `acknowledged`: the community is a member — it signed the acknowledgement of the network's grant. `repudiated`: the community rejected the network's listing of it. `departed`: the community left, by repudiating the grant.
|
|
9930
|
+
*/
|
|
9931
|
+
state: "acknowledged" | "repudiated" | "departed";
|
|
9932
|
+
/**
|
|
9933
|
+
* The network's listing credential naming the community, as the community verified it.
|
|
9934
|
+
*/
|
|
9935
|
+
listing: {};
|
|
9936
|
+
/**
|
|
9937
|
+
* The network's membership grant (VMC), once the community acknowledged.
|
|
9938
|
+
*/
|
|
9939
|
+
grant?: {};
|
|
9940
|
+
/**
|
|
9941
|
+
* The community's acknowledgement (VMC carrying the grant's digest).
|
|
9942
|
+
*/
|
|
9943
|
+
acknowledgement?: {};
|
|
9944
|
+
/**
|
|
9945
|
+
* The community's repudiation (VSC) of the listing, or — on departure — of the grant.
|
|
9946
|
+
*/
|
|
9947
|
+
repudiation?: {};
|
|
9948
|
+
/**
|
|
9949
|
+
* @maxItems 64
|
|
9950
|
+
*/
|
|
9951
|
+
groups: RegisteredGroup[];
|
|
9952
|
+
joinedAt?: string;
|
|
9953
|
+
updatedAt: string;
|
|
9954
|
+
}
|
|
9782
9955
|
/**
|
|
9783
9956
|
* The discoverability a card has when the community creates it, before its member chooses. A new card is never published beyond the community (VTI-DIR-042), so there is no member for that here: `externalCards` says whether the member may turn it on.
|
|
9784
9957
|
*/
|
|
@@ -9796,6 +9969,35 @@ export interface NewCardDefaults {
|
|
|
9796
9969
|
*/
|
|
9797
9970
|
introductions?: Introductions;
|
|
9798
9971
|
}
|
|
9972
|
+
/**
|
|
9973
|
+
* The members of one notification, as notifications/notify carries them and as a recipient's agent records them. The originator is the `issuer` of the notifications/notify document and the addressee its `recipient`; neither is repeated here, because the originator's proof covers both.
|
|
9974
|
+
*/
|
|
9975
|
+
export interface Notification {
|
|
9976
|
+
notificationId: NotificationId;
|
|
9977
|
+
/**
|
|
9978
|
+
* The revision of this notification. A recipient replaces the record it holds with a higher revision and leaves it unchanged for an equal or lower one (VTI-NTF-022). The first revision is 1.
|
|
9979
|
+
*/
|
|
9980
|
+
revision: number;
|
|
9981
|
+
kind: Kind_NotificationsV0_1;
|
|
9982
|
+
subject: Subject;
|
|
9983
|
+
/**
|
|
9984
|
+
* The DID whose holders or members the thing concerns — for an election under a credential roll, the DID the roll names (`roll.memberOf`); otherwise the community's own. It says whom the thing is for, not that the recipient is one of them: a recipient may be the audience itself, or a party the audience relayed the notification to.
|
|
9985
|
+
*/
|
|
9986
|
+
audience: Did_NotificationsV0_1;
|
|
9987
|
+
status: Status;
|
|
9988
|
+
/**
|
|
9989
|
+
* Whether the addressee may relay this notification to the parties it stands for (notifications/relay). The originator states it explicitly; an addressee MUST NOT relay a notification whose `relayable` is false, or whose kind may not be relayed (VTI-NTF-041).
|
|
9990
|
+
*/
|
|
9991
|
+
relayable: boolean;
|
|
9992
|
+
/**
|
|
9993
|
+
* When the thing can first be acted on — for an election, when voting opens. Absent: it can be acted on now.
|
|
9994
|
+
*/
|
|
9995
|
+
validFrom?: string;
|
|
9996
|
+
/**
|
|
9997
|
+
* When the thing can no longer be acted on, and the notification lapses — for an election, when voting closes. A recipient discards a notification received after it (VTI-NTF-032). Absent: the kind's definition says when it lapses.
|
|
9998
|
+
*/
|
|
9999
|
+
validUntil?: string;
|
|
10000
|
+
}
|
|
9799
10001
|
/**
|
|
9800
10002
|
* A community's offer of admission to a room it owns, as the member it is addressed to sees it.
|
|
9801
10003
|
*/
|
|
@@ -10969,6 +11171,33 @@ export interface RegisteredCredential {
|
|
|
10969
11171
|
*/
|
|
10970
11172
|
lastUsedAt?: string;
|
|
10971
11173
|
}
|
|
11174
|
+
export interface RegisteredGroup {
|
|
11175
|
+
/**
|
|
11176
|
+
* A role the network defines, e.g. `admins`: lowercase letters, digits, `-` and `_`.
|
|
11177
|
+
*/
|
|
11178
|
+
role: string;
|
|
11179
|
+
/**
|
|
11180
|
+
* The community's identifier for the group.
|
|
11181
|
+
*/
|
|
11182
|
+
groupId: string;
|
|
11183
|
+
/**
|
|
11184
|
+
* The group's own DID, which the registration names as its subject.
|
|
11185
|
+
*/
|
|
11186
|
+
groupDid: string;
|
|
11187
|
+
/**
|
|
11188
|
+
* Where the network delivers broadcasts for the group: the community's relay endpoint for it.
|
|
11189
|
+
*/
|
|
11190
|
+
endpoint: string;
|
|
11191
|
+
/**
|
|
11192
|
+
* The community's `servesRole` statement (VSC): the group serves `role` in the network.
|
|
11193
|
+
*/
|
|
11194
|
+
registration: {};
|
|
11195
|
+
/**
|
|
11196
|
+
* The network's `groupRegistered` statement (VSC), bound to the registration's digest.
|
|
11197
|
+
*/
|
|
11198
|
+
acceptance: {};
|
|
11199
|
+
registeredAt: string;
|
|
11200
|
+
}
|
|
10972
11201
|
/**
|
|
10973
11202
|
* The `ServiceInstance` shape of `did-management/_shared/0.1`, with `lastSeen` renamed `lastSeenAt`; named apart from `service-instance.schema.json`'s `ServiceInstance`, a different shape, so the two do not collide in generated code.
|
|
10974
11203
|
*/
|
|
@@ -11408,6 +11637,16 @@ export interface RightRecord_GitNsV0_6 {
|
|
|
11408
11637
|
*/
|
|
11409
11638
|
breakGlass?: BreakGlass_GitNsV0_6;
|
|
11410
11639
|
}
|
|
11640
|
+
export interface RoleAssignment {
|
|
11641
|
+
/**
|
|
11642
|
+
* A role the network defines, e.g. `admins`: lowercase letters, digits, `-` and `_`.
|
|
11643
|
+
*/
|
|
11644
|
+
role: string;
|
|
11645
|
+
/**
|
|
11646
|
+
* The community group to serve the role.
|
|
11647
|
+
*/
|
|
11648
|
+
groupId: string;
|
|
11649
|
+
}
|
|
11411
11650
|
/**
|
|
11412
11651
|
* A grant set by reference: the capability ceiling of a defined role, conferred as resource grants exactly as a `grants` binding confers its list. It never assigns the role itself — an entry's administrative role and its community role stay direct assignments.
|
|
11413
11652
|
*/
|
|
@@ -11573,6 +11812,27 @@ export interface RoleSummary {
|
|
|
11573
11812
|
*/
|
|
11574
11813
|
preRotationCommitments?: number;
|
|
11575
11814
|
}
|
|
11815
|
+
/**
|
|
11816
|
+
* Under a `credential` roll, whose membership credential admits a party to a ticket, as a member is shown it before they claim one (VTI-VOT-090): the DID the roll names, what kind of party it is to this community, and its name as the community knows it. Present in a disclosure exactly when the election's roll rule is `credential`.
|
|
11817
|
+
*/
|
|
11818
|
+
export interface RollCredentialDisclosure {
|
|
11819
|
+
/**
|
|
11820
|
+
* The manifest's `roll.memberOf`.
|
|
11821
|
+
*/
|
|
11822
|
+
memberOf: string;
|
|
11823
|
+
/**
|
|
11824
|
+
* `thisCommunity`: the community itself. `communityGroup`: one of the community's own groups, whose membership credentials it authorizes the group to issue (VTI-DIR-083). `memberParty`: a party outside the community that is itself an active member of it — another community, a group of another community, or a network — whose own membership credentials admit their holders (VTI-VOT-026).
|
|
11825
|
+
*/
|
|
11826
|
+
memberOfKind: "thisCommunity" | "communityGroup" | "memberParty";
|
|
11827
|
+
/**
|
|
11828
|
+
* The name the community shows for the party `memberOf` names: the group's name, or the member party's name as the community's records hold it. Absent where showing it would disclose more than the group's visibility admits (VTI-DIR-070).
|
|
11829
|
+
*/
|
|
11830
|
+
memberOfName?: string;
|
|
11831
|
+
/**
|
|
11832
|
+
* Always true: claiming a ticket shows the community the presenter's membership credential for `memberOf`, so the community learns that the presenter is a member of that party.
|
|
11833
|
+
*/
|
|
11834
|
+
presenterDisclosed?: true;
|
|
11835
|
+
}
|
|
11576
11836
|
/**
|
|
11577
11837
|
* Who may be issued a ticket (VTI-VOT-021): the community's active members, its active members and the parties `listed` names, or only the parties `listed` names.
|
|
11578
11838
|
*/
|
|
@@ -11580,6 +11840,17 @@ export interface RollRule {
|
|
|
11580
11840
|
rule: "members" | "membersAndListed" | "listed";
|
|
11581
11841
|
listed?: string[];
|
|
11582
11842
|
}
|
|
11843
|
+
/**
|
|
11844
|
+
* Who may be issued a ticket (VTI-VOT-021): the community's active members (`members`), its active members and the parties `listed` names (`membersAndListed`), only the parties `listed` names (`listed`), or the holders of a membership credential for the one DID `memberOf` names (`credential`), proven by presentation when the holder claims their ticket and never resolved when the election is created (VTI-VOT-025). `memberOf` is present exactly when `rule` is `credential`, and `listed` is never present with it.
|
|
11845
|
+
*/
|
|
11846
|
+
export interface RollRule_VotingV0_4 {
|
|
11847
|
+
rule: "members" | "membersAndListed" | "listed" | "credential";
|
|
11848
|
+
listed?: string[];
|
|
11849
|
+
/**
|
|
11850
|
+
* The DID whose membership credential admits its holder, under the `credential` rule: this community, one of its groups, or a party that is itself an active member of this community — holding a membership credential this community issued it — such as another community, a group of another community, or a network (VTI-VOT-026). Always a DID, never a group's local identifier or name. A community refuses to create an election naming any other DID (vtc/elections/create:rollUntrusted).
|
|
11851
|
+
*/
|
|
11852
|
+
memberOf?: string;
|
|
11853
|
+
}
|
|
11583
11854
|
/**
|
|
11584
11855
|
* The outcome of a rollback. Distinct from ServiceMutationResult because a rollback can legitimately publish nothing: if the previous state already equals the current one there is no change to write, and `kind: "noOp"` says so with `logEntryVersionId` absent. Treating that as a failure would be wrong — the requested state holds — and treating it as an ordinary success would report a log entry that does not exist.
|
|
11585
11856
|
*/
|
|
@@ -12850,6 +13121,23 @@ export interface StreamDescriptor {
|
|
|
12850
13121
|
expectedSizeBytes: ExpectedSizeBytes;
|
|
12851
13122
|
expiresAt: ExpiresAt;
|
|
12852
13123
|
}
|
|
13124
|
+
/**
|
|
13125
|
+
* Where the thing is and how to open it. Only these three members: what the thing contains is shown by its holder, to a reader it admits, when the thing is opened with `openWith`.
|
|
13126
|
+
*/
|
|
13127
|
+
export interface Subject {
|
|
13128
|
+
/**
|
|
13129
|
+
* The DID of the party holding the thing — for an election, the community. The party a recipient sends `openWith` to.
|
|
13130
|
+
*/
|
|
13131
|
+
heldBy: Did_NotificationsV0_1;
|
|
13132
|
+
/**
|
|
13133
|
+
* The thing's identifier at `heldBy`, in the form the `openWith` task takes it — for an election, its `electionId`.
|
|
13134
|
+
*/
|
|
13135
|
+
id: string;
|
|
13136
|
+
/**
|
|
13137
|
+
* The Type URI of the Trust Task by which a recipient opens the thing at `heldBy` — for an election, `https://trusttasks.org/spec/vtc/elections/show/0.6`. A recipient opens it only at its principal's choice (VTI-NTF-053), and only by a version of that task it and `heldBy` both serve.
|
|
13138
|
+
*/
|
|
13139
|
+
openWith: string;
|
|
13140
|
+
}
|
|
12853
13141
|
/**
|
|
12854
13142
|
* Withdraws a party: every credential naming them as subject or issuer whose `validFrom` is earlier than `revokedAt`.
|
|
12855
13143
|
*/
|