@openvtc/trust-tasks 0.28.8 → 0.28.10
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 +116 -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/git-ns/bridge/event/0.1/payload.d.ts +4 -4
- package/dist/git-ns/bridge/event/0.1/payload.js +1 -1
- package/dist/git-ns/bridge/event/0.2/payload.d.ts +4 -4
- package/dist/git-ns/bridge/event/0.2/payload.js +1 -1
- package/dist/git-ns/bridge/event/0.3/payload.d.ts +4 -4
- package/dist/git-ns/bridge/event/0.3/payload.js +1 -1
- package/dist/git-ns/bridge/event/0.4/payload.d.ts +4 -4
- package/dist/git-ns/bridge/event/0.4/payload.js +1 -1
- package/dist/git-ns/bridge/event/0.5/payload.d.ts +14 -2
- package/dist/git-ns/bridge/event/0.5/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/event/0.5/payload.js +1 -1
- package/dist/git-ns/bridge/event/0.5/payload.js.map +1 -1
- package/dist/git-ns/bridge/event/0.6/payload.d.ts +2067 -0
- package/dist/git-ns/bridge/event/0.6/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/event/0.6/payload.js +1119 -0
- package/dist/git-ns/bridge/event/0.6/payload.js.map +1 -0
- package/dist/git-ns/bridge/job/0.1/payload.d.ts +4 -4
- package/dist/git-ns/bridge/job/0.1/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.2/payload.d.ts +4 -4
- package/dist/git-ns/bridge/job/0.2/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.3/payload.d.ts +4 -4
- package/dist/git-ns/bridge/job/0.3/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.4/payload.d.ts +4 -4
- package/dist/git-ns/bridge/job/0.4/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.5/payload.d.ts +4 -4
- package/dist/git-ns/bridge/job/0.5/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.6/payload.d.ts +14 -2
- package/dist/git-ns/bridge/job/0.6/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/job/0.6/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.6/payload.js.map +1 -1
- package/dist/git-ns/bridge/job/0.7/payload.d.ts +1120 -0
- package/dist/git-ns/bridge/job/0.7/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/job/0.7/payload.js +608 -0
- package/dist/git-ns/bridge/job/0.7/payload.js.map +1 -0
- package/dist/git-ns/bridge/job/list/0.4/payload.d.ts +5 -5
- package/dist/git-ns/bridge/job/list/0.4/payload.js +2 -2
- package/dist/index.d.ts +123 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +123 -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/git-ns/bridge/event/0.1/payload.ts +5 -5
- package/src/git-ns/bridge/event/0.2/payload.ts +5 -5
- package/src/git-ns/bridge/event/0.3/payload.ts +5 -5
- package/src/git-ns/bridge/event/0.4/payload.ts +5 -5
- package/src/git-ns/bridge/event/0.5/payload.ts +15 -3
- package/src/git-ns/bridge/event/0.6/payload.ts +1450 -0
- package/src/git-ns/bridge/job/0.1/payload.ts +5 -5
- package/src/git-ns/bridge/job/0.2/payload.ts +5 -5
- package/src/git-ns/bridge/job/0.3/payload.ts +5 -5
- package/src/git-ns/bridge/job/0.4/payload.ts +5 -5
- package/src/git-ns/bridge/job/0.5/payload.ts +5 -5
- package/src/git-ns/bridge/job/0.6/payload.ts +15 -3
- package/src/git-ns/bridge/job/0.7/payload.ts +744 -0
- package/src/git-ns/bridge/job/list/0.4/payload.ts +3 -3
- package/src/index.ts +123 -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
|
@@ -0,0 +1,760 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/networks/join/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { Ext, NetworkMembership, RegisteredGroup, RoleAssignment } from "../../../../_shared/components.js";
|
|
6
|
+
/**
|
|
7
|
+
* Accept a network's listing of the community: register groups for the network's roles, then acknowledge its membership offer. The outer document members are owned by the framework — SPEC §6.3.
|
|
8
|
+
*/
|
|
9
|
+
export interface VTCNetworksJoinPayload {
|
|
10
|
+
/**
|
|
11
|
+
* The network's API base, as the network's administrators gave it.
|
|
12
|
+
*/
|
|
13
|
+
url: string;
|
|
14
|
+
/**
|
|
15
|
+
* The network's DID. For a request naming a `url`, the community refuses if the network found there answers as another DID.
|
|
16
|
+
*/
|
|
17
|
+
network: string;
|
|
18
|
+
/**
|
|
19
|
+
* The community's groups to serve the network's roles. Every role the network requires must be assigned.
|
|
20
|
+
*
|
|
21
|
+
* @maxItems 32
|
|
22
|
+
*/
|
|
23
|
+
groups?: RoleAssignment[];
|
|
24
|
+
ext?: Ext;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The membership as it now stands.
|
|
28
|
+
*/
|
|
29
|
+
export interface VTCNetworksJoinResponsePayload {
|
|
30
|
+
membership: NetworkMembership;
|
|
31
|
+
ext?: Ext;
|
|
32
|
+
}
|
|
33
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
34
|
+
export type { Ext, NetworkMembership, RegisteredGroup, RoleAssignment };
|
|
35
|
+
/** Trust Task type URI. */
|
|
36
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/networks/join/0.1";
|
|
37
|
+
/**
|
|
38
|
+
* The earlier version of this specification that this one declares it
|
|
39
|
+
* extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
|
|
40
|
+
* `null`. Only the direct declaration — follow the chain with
|
|
41
|
+
* `extendsChain` / `readForSpec`.
|
|
42
|
+
*/
|
|
43
|
+
export declare const EXTENDS: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Why this version is deprecated, or `null` while it is current. A
|
|
46
|
+
* superseded or retired version is still supported, and is withdrawn from
|
|
47
|
+
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
48
|
+
* Versions").
|
|
49
|
+
*/
|
|
50
|
+
export declare const DEPRECATION: string | null;
|
|
51
|
+
/** Stable alias for this specification's request payload shape. */
|
|
52
|
+
export type Payload = VTCNetworksJoinPayload;
|
|
53
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
54
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/networks/join/0.1#response";
|
|
55
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
56
|
+
export type Response = VTCNetworksJoinResponsePayload;
|
|
57
|
+
/**
|
|
58
|
+
* This specification's payload schema, as a value.
|
|
59
|
+
*
|
|
60
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
61
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
62
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
63
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
64
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
65
|
+
*/
|
|
66
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
67
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
68
|
+
readonly $id: "https://trusttasks.org/spec/vtc/networks/join/0.1";
|
|
69
|
+
readonly title: "VTC Networks — Join — payload";
|
|
70
|
+
readonly description: "Accept a network's listing of the community: register groups for the network's roles, then acknowledge its membership offer. The outer document members are owned by the framework — SPEC §6.3.";
|
|
71
|
+
readonly type: "object";
|
|
72
|
+
readonly additionalProperties: false;
|
|
73
|
+
readonly required: readonly ["url", "network"];
|
|
74
|
+
readonly properties: {
|
|
75
|
+
readonly url: {
|
|
76
|
+
readonly type: "string";
|
|
77
|
+
readonly format: "uri";
|
|
78
|
+
readonly maxLength: 2048;
|
|
79
|
+
readonly description: "The network's API base, as the network's administrators gave it.";
|
|
80
|
+
};
|
|
81
|
+
readonly network: {
|
|
82
|
+
readonly type: "string";
|
|
83
|
+
readonly pattern: "^did:[a-z0-9]+:.+$";
|
|
84
|
+
readonly maxLength: 2048;
|
|
85
|
+
readonly description: "The network's DID. For a request naming a `url`, the community refuses if the network found there answers as another DID.";
|
|
86
|
+
};
|
|
87
|
+
readonly groups: {
|
|
88
|
+
readonly type: "array";
|
|
89
|
+
readonly maxItems: 32;
|
|
90
|
+
readonly items: {
|
|
91
|
+
readonly $ref: "#/$defs/RoleAssignment";
|
|
92
|
+
};
|
|
93
|
+
readonly description: "The community's groups to serve the network's roles. Every role the network requires must be assigned.";
|
|
94
|
+
};
|
|
95
|
+
readonly ext: {
|
|
96
|
+
readonly $ref: "#/$defs/Ext";
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
readonly $defs: {
|
|
100
|
+
readonly Response: {
|
|
101
|
+
readonly $anchor: "response";
|
|
102
|
+
readonly title: "VTC Networks — Join — response payload";
|
|
103
|
+
readonly description: "The membership as it now stands.";
|
|
104
|
+
readonly type: "object";
|
|
105
|
+
readonly additionalProperties: false;
|
|
106
|
+
readonly required: readonly ["membership"];
|
|
107
|
+
readonly properties: {
|
|
108
|
+
readonly membership: {
|
|
109
|
+
readonly $ref: "#/$defs/NetworkMembership";
|
|
110
|
+
};
|
|
111
|
+
readonly ext: {
|
|
112
|
+
readonly $ref: "#/$defs/Ext";
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
readonly Ext: {
|
|
117
|
+
readonly title: "Ext";
|
|
118
|
+
readonly 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.";
|
|
119
|
+
readonly type: "object";
|
|
120
|
+
readonly minProperties: 1;
|
|
121
|
+
readonly additionalProperties: true;
|
|
122
|
+
readonly propertyNames: {
|
|
123
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
readonly NetworkMembership: {
|
|
127
|
+
readonly type: "object";
|
|
128
|
+
readonly additionalProperties: false;
|
|
129
|
+
readonly required: readonly ["network", "url", "state", "listing", "groups", "updatedAt"];
|
|
130
|
+
readonly properties: {
|
|
131
|
+
readonly network: {
|
|
132
|
+
readonly type: "string";
|
|
133
|
+
readonly pattern: "^did:[a-z0-9]+:.+$";
|
|
134
|
+
readonly maxLength: 2048;
|
|
135
|
+
readonly description: "The network's DID.";
|
|
136
|
+
};
|
|
137
|
+
readonly url: {
|
|
138
|
+
readonly type: "string";
|
|
139
|
+
readonly format: "uri";
|
|
140
|
+
readonly maxLength: 2048;
|
|
141
|
+
readonly description: "Where the network's API is reached: the base its `/.well-known/vtn` profile is served under.";
|
|
142
|
+
};
|
|
143
|
+
readonly name: {
|
|
144
|
+
readonly type: "string";
|
|
145
|
+
readonly maxLength: 200;
|
|
146
|
+
readonly description: "The network's name, as its profile gives it.";
|
|
147
|
+
};
|
|
148
|
+
readonly state: {
|
|
149
|
+
readonly type: "string";
|
|
150
|
+
readonly enum: readonly ["acknowledged", "repudiated", "departed"];
|
|
151
|
+
readonly description: "`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.";
|
|
152
|
+
};
|
|
153
|
+
readonly listing: {
|
|
154
|
+
readonly type: "object";
|
|
155
|
+
readonly description: "The network's listing credential naming the community, as the community verified it.";
|
|
156
|
+
};
|
|
157
|
+
readonly grant: {
|
|
158
|
+
readonly type: "object";
|
|
159
|
+
readonly description: "The network's membership grant (VMC), once the community acknowledged.";
|
|
160
|
+
};
|
|
161
|
+
readonly acknowledgement: {
|
|
162
|
+
readonly type: "object";
|
|
163
|
+
readonly description: "The community's acknowledgement (VMC carrying the grant's digest).";
|
|
164
|
+
};
|
|
165
|
+
readonly repudiation: {
|
|
166
|
+
readonly type: "object";
|
|
167
|
+
readonly description: "The community's repudiation (VSC) of the listing, or — on departure — of the grant.";
|
|
168
|
+
};
|
|
169
|
+
readonly groups: {
|
|
170
|
+
readonly type: "array";
|
|
171
|
+
readonly maxItems: 64;
|
|
172
|
+
readonly items: {
|
|
173
|
+
readonly $ref: "#/$defs/RegisteredGroup";
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
readonly joinedAt: {
|
|
177
|
+
readonly type: "string";
|
|
178
|
+
readonly format: "date-time";
|
|
179
|
+
};
|
|
180
|
+
readonly updatedAt: {
|
|
181
|
+
readonly type: "string";
|
|
182
|
+
readonly format: "date-time";
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
readonly RegisteredGroup: {
|
|
187
|
+
readonly type: "object";
|
|
188
|
+
readonly additionalProperties: false;
|
|
189
|
+
readonly required: readonly ["role", "groupId", "groupDid", "endpoint", "registration", "acceptance", "registeredAt"];
|
|
190
|
+
readonly properties: {
|
|
191
|
+
readonly role: {
|
|
192
|
+
readonly type: "string";
|
|
193
|
+
readonly pattern: "^[a-z0-9_-]{1,64}$";
|
|
194
|
+
readonly description: "A role the network defines, e.g. `admins`: lowercase letters, digits, `-` and `_`.";
|
|
195
|
+
};
|
|
196
|
+
readonly groupId: {
|
|
197
|
+
readonly type: "string";
|
|
198
|
+
readonly minLength: 1;
|
|
199
|
+
readonly maxLength: 128;
|
|
200
|
+
readonly description: "The community's identifier for the group.";
|
|
201
|
+
};
|
|
202
|
+
readonly groupDid: {
|
|
203
|
+
readonly type: "string";
|
|
204
|
+
readonly pattern: "^did:[a-z0-9]+:.+$";
|
|
205
|
+
readonly maxLength: 2048;
|
|
206
|
+
readonly description: "The group's own DID, which the registration names as its subject.";
|
|
207
|
+
};
|
|
208
|
+
readonly endpoint: {
|
|
209
|
+
readonly type: "string";
|
|
210
|
+
readonly format: "uri";
|
|
211
|
+
readonly maxLength: 2048;
|
|
212
|
+
readonly description: "Where the network delivers broadcasts for the group: the community's relay endpoint for it.";
|
|
213
|
+
};
|
|
214
|
+
readonly registration: {
|
|
215
|
+
readonly type: "object";
|
|
216
|
+
readonly description: "The community's `servesRole` statement (VSC): the group serves `role` in the network.";
|
|
217
|
+
};
|
|
218
|
+
readonly acceptance: {
|
|
219
|
+
readonly type: "object";
|
|
220
|
+
readonly description: "The network's `groupRegistered` statement (VSC), bound to the registration's digest.";
|
|
221
|
+
};
|
|
222
|
+
readonly registeredAt: {
|
|
223
|
+
readonly type: "string";
|
|
224
|
+
readonly format: "date-time";
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
readonly RoleAssignment: {
|
|
229
|
+
readonly type: "object";
|
|
230
|
+
readonly additionalProperties: false;
|
|
231
|
+
readonly required: readonly ["role", "groupId"];
|
|
232
|
+
readonly properties: {
|
|
233
|
+
readonly role: {
|
|
234
|
+
readonly type: "string";
|
|
235
|
+
readonly pattern: "^[a-z0-9_-]{1,64}$";
|
|
236
|
+
readonly description: "A role the network defines, e.g. `admins`: lowercase letters, digits, `-` and `_`.";
|
|
237
|
+
};
|
|
238
|
+
readonly groupId: {
|
|
239
|
+
readonly type: "string";
|
|
240
|
+
readonly minLength: 1;
|
|
241
|
+
readonly maxLength: 128;
|
|
242
|
+
readonly description: "The community group to serve the role.";
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
249
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
250
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
251
|
+
readonly $ref: "#/$defs/Response";
|
|
252
|
+
readonly $defs: {
|
|
253
|
+
readonly Response: {
|
|
254
|
+
readonly $anchor: "response";
|
|
255
|
+
readonly title: "VTC Networks — Join — response payload";
|
|
256
|
+
readonly description: "The membership as it now stands.";
|
|
257
|
+
readonly type: "object";
|
|
258
|
+
readonly additionalProperties: false;
|
|
259
|
+
readonly required: readonly ["membership"];
|
|
260
|
+
readonly properties: {
|
|
261
|
+
readonly membership: {
|
|
262
|
+
readonly $ref: "#/$defs/NetworkMembership";
|
|
263
|
+
};
|
|
264
|
+
readonly ext: {
|
|
265
|
+
readonly $ref: "#/$defs/Ext";
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
readonly Ext: {
|
|
270
|
+
readonly title: "Ext";
|
|
271
|
+
readonly 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.";
|
|
272
|
+
readonly type: "object";
|
|
273
|
+
readonly minProperties: 1;
|
|
274
|
+
readonly additionalProperties: true;
|
|
275
|
+
readonly propertyNames: {
|
|
276
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
readonly NetworkMembership: {
|
|
280
|
+
readonly type: "object";
|
|
281
|
+
readonly additionalProperties: false;
|
|
282
|
+
readonly required: readonly ["network", "url", "state", "listing", "groups", "updatedAt"];
|
|
283
|
+
readonly properties: {
|
|
284
|
+
readonly network: {
|
|
285
|
+
readonly type: "string";
|
|
286
|
+
readonly pattern: "^did:[a-z0-9]+:.+$";
|
|
287
|
+
readonly maxLength: 2048;
|
|
288
|
+
readonly description: "The network's DID.";
|
|
289
|
+
};
|
|
290
|
+
readonly url: {
|
|
291
|
+
readonly type: "string";
|
|
292
|
+
readonly format: "uri";
|
|
293
|
+
readonly maxLength: 2048;
|
|
294
|
+
readonly description: "Where the network's API is reached: the base its `/.well-known/vtn` profile is served under.";
|
|
295
|
+
};
|
|
296
|
+
readonly name: {
|
|
297
|
+
readonly type: "string";
|
|
298
|
+
readonly maxLength: 200;
|
|
299
|
+
readonly description: "The network's name, as its profile gives it.";
|
|
300
|
+
};
|
|
301
|
+
readonly state: {
|
|
302
|
+
readonly type: "string";
|
|
303
|
+
readonly enum: readonly ["acknowledged", "repudiated", "departed"];
|
|
304
|
+
readonly description: "`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.";
|
|
305
|
+
};
|
|
306
|
+
readonly listing: {
|
|
307
|
+
readonly type: "object";
|
|
308
|
+
readonly description: "The network's listing credential naming the community, as the community verified it.";
|
|
309
|
+
};
|
|
310
|
+
readonly grant: {
|
|
311
|
+
readonly type: "object";
|
|
312
|
+
readonly description: "The network's membership grant (VMC), once the community acknowledged.";
|
|
313
|
+
};
|
|
314
|
+
readonly acknowledgement: {
|
|
315
|
+
readonly type: "object";
|
|
316
|
+
readonly description: "The community's acknowledgement (VMC carrying the grant's digest).";
|
|
317
|
+
};
|
|
318
|
+
readonly repudiation: {
|
|
319
|
+
readonly type: "object";
|
|
320
|
+
readonly description: "The community's repudiation (VSC) of the listing, or — on departure — of the grant.";
|
|
321
|
+
};
|
|
322
|
+
readonly groups: {
|
|
323
|
+
readonly type: "array";
|
|
324
|
+
readonly maxItems: 64;
|
|
325
|
+
readonly items: {
|
|
326
|
+
readonly $ref: "#/$defs/RegisteredGroup";
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
readonly joinedAt: {
|
|
330
|
+
readonly type: "string";
|
|
331
|
+
readonly format: "date-time";
|
|
332
|
+
};
|
|
333
|
+
readonly updatedAt: {
|
|
334
|
+
readonly type: "string";
|
|
335
|
+
readonly format: "date-time";
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
readonly RegisteredGroup: {
|
|
340
|
+
readonly type: "object";
|
|
341
|
+
readonly additionalProperties: false;
|
|
342
|
+
readonly required: readonly ["role", "groupId", "groupDid", "endpoint", "registration", "acceptance", "registeredAt"];
|
|
343
|
+
readonly properties: {
|
|
344
|
+
readonly role: {
|
|
345
|
+
readonly type: "string";
|
|
346
|
+
readonly pattern: "^[a-z0-9_-]{1,64}$";
|
|
347
|
+
readonly description: "A role the network defines, e.g. `admins`: lowercase letters, digits, `-` and `_`.";
|
|
348
|
+
};
|
|
349
|
+
readonly groupId: {
|
|
350
|
+
readonly type: "string";
|
|
351
|
+
readonly minLength: 1;
|
|
352
|
+
readonly maxLength: 128;
|
|
353
|
+
readonly description: "The community's identifier for the group.";
|
|
354
|
+
};
|
|
355
|
+
readonly groupDid: {
|
|
356
|
+
readonly type: "string";
|
|
357
|
+
readonly pattern: "^did:[a-z0-9]+:.+$";
|
|
358
|
+
readonly maxLength: 2048;
|
|
359
|
+
readonly description: "The group's own DID, which the registration names as its subject.";
|
|
360
|
+
};
|
|
361
|
+
readonly endpoint: {
|
|
362
|
+
readonly type: "string";
|
|
363
|
+
readonly format: "uri";
|
|
364
|
+
readonly maxLength: 2048;
|
|
365
|
+
readonly description: "Where the network delivers broadcasts for the group: the community's relay endpoint for it.";
|
|
366
|
+
};
|
|
367
|
+
readonly registration: {
|
|
368
|
+
readonly type: "object";
|
|
369
|
+
readonly description: "The community's `servesRole` statement (VSC): the group serves `role` in the network.";
|
|
370
|
+
};
|
|
371
|
+
readonly acceptance: {
|
|
372
|
+
readonly type: "object";
|
|
373
|
+
readonly description: "The network's `groupRegistered` statement (VSC), bound to the registration's digest.";
|
|
374
|
+
};
|
|
375
|
+
readonly registeredAt: {
|
|
376
|
+
readonly type: "string";
|
|
377
|
+
readonly format: "date-time";
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
readonly RoleAssignment: {
|
|
382
|
+
readonly type: "object";
|
|
383
|
+
readonly additionalProperties: false;
|
|
384
|
+
readonly required: readonly ["role", "groupId"];
|
|
385
|
+
readonly properties: {
|
|
386
|
+
readonly role: {
|
|
387
|
+
readonly type: "string";
|
|
388
|
+
readonly pattern: "^[a-z0-9_-]{1,64}$";
|
|
389
|
+
readonly description: "A role the network defines, e.g. `admins`: lowercase letters, digits, `-` and `_`.";
|
|
390
|
+
};
|
|
391
|
+
readonly groupId: {
|
|
392
|
+
readonly type: "string";
|
|
393
|
+
readonly minLength: 1;
|
|
394
|
+
readonly maxLength: 128;
|
|
395
|
+
readonly description: "The community group to serve the role.";
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
/**
|
|
402
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
403
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
404
|
+
* per-specification and cannot be derived from the document alone, and
|
|
405
|
+
* item 2 needs the schema this carries.
|
|
406
|
+
*/
|
|
407
|
+
export declare const SPEC: {
|
|
408
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/networks/join/0.1";
|
|
409
|
+
readonly isBearer: false;
|
|
410
|
+
readonly isProofRequired: true;
|
|
411
|
+
readonly isRecipientRequired: true;
|
|
412
|
+
readonly isIssuedAtRequired: true;
|
|
413
|
+
readonly payloadSchema: {
|
|
414
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
415
|
+
readonly $id: "https://trusttasks.org/spec/vtc/networks/join/0.1";
|
|
416
|
+
readonly title: "VTC Networks — Join — payload";
|
|
417
|
+
readonly description: "Accept a network's listing of the community: register groups for the network's roles, then acknowledge its membership offer. The outer document members are owned by the framework — SPEC §6.3.";
|
|
418
|
+
readonly type: "object";
|
|
419
|
+
readonly additionalProperties: false;
|
|
420
|
+
readonly required: readonly ["url", "network"];
|
|
421
|
+
readonly properties: {
|
|
422
|
+
readonly url: {
|
|
423
|
+
readonly type: "string";
|
|
424
|
+
readonly format: "uri";
|
|
425
|
+
readonly maxLength: 2048;
|
|
426
|
+
readonly description: "The network's API base, as the network's administrators gave it.";
|
|
427
|
+
};
|
|
428
|
+
readonly network: {
|
|
429
|
+
readonly type: "string";
|
|
430
|
+
readonly pattern: "^did:[a-z0-9]+:.+$";
|
|
431
|
+
readonly maxLength: 2048;
|
|
432
|
+
readonly description: "The network's DID. For a request naming a `url`, the community refuses if the network found there answers as another DID.";
|
|
433
|
+
};
|
|
434
|
+
readonly groups: {
|
|
435
|
+
readonly type: "array";
|
|
436
|
+
readonly maxItems: 32;
|
|
437
|
+
readonly items: {
|
|
438
|
+
readonly $ref: "#/$defs/RoleAssignment";
|
|
439
|
+
};
|
|
440
|
+
readonly description: "The community's groups to serve the network's roles. Every role the network requires must be assigned.";
|
|
441
|
+
};
|
|
442
|
+
readonly ext: {
|
|
443
|
+
readonly $ref: "#/$defs/Ext";
|
|
444
|
+
};
|
|
445
|
+
};
|
|
446
|
+
readonly $defs: {
|
|
447
|
+
readonly Response: {
|
|
448
|
+
readonly $anchor: "response";
|
|
449
|
+
readonly title: "VTC Networks — Join — response payload";
|
|
450
|
+
readonly description: "The membership as it now stands.";
|
|
451
|
+
readonly type: "object";
|
|
452
|
+
readonly additionalProperties: false;
|
|
453
|
+
readonly required: readonly ["membership"];
|
|
454
|
+
readonly properties: {
|
|
455
|
+
readonly membership: {
|
|
456
|
+
readonly $ref: "#/$defs/NetworkMembership";
|
|
457
|
+
};
|
|
458
|
+
readonly ext: {
|
|
459
|
+
readonly $ref: "#/$defs/Ext";
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
};
|
|
463
|
+
readonly Ext: {
|
|
464
|
+
readonly title: "Ext";
|
|
465
|
+
readonly 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.";
|
|
466
|
+
readonly type: "object";
|
|
467
|
+
readonly minProperties: 1;
|
|
468
|
+
readonly additionalProperties: true;
|
|
469
|
+
readonly propertyNames: {
|
|
470
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
readonly NetworkMembership: {
|
|
474
|
+
readonly type: "object";
|
|
475
|
+
readonly additionalProperties: false;
|
|
476
|
+
readonly required: readonly ["network", "url", "state", "listing", "groups", "updatedAt"];
|
|
477
|
+
readonly properties: {
|
|
478
|
+
readonly network: {
|
|
479
|
+
readonly type: "string";
|
|
480
|
+
readonly pattern: "^did:[a-z0-9]+:.+$";
|
|
481
|
+
readonly maxLength: 2048;
|
|
482
|
+
readonly description: "The network's DID.";
|
|
483
|
+
};
|
|
484
|
+
readonly url: {
|
|
485
|
+
readonly type: "string";
|
|
486
|
+
readonly format: "uri";
|
|
487
|
+
readonly maxLength: 2048;
|
|
488
|
+
readonly description: "Where the network's API is reached: the base its `/.well-known/vtn` profile is served under.";
|
|
489
|
+
};
|
|
490
|
+
readonly name: {
|
|
491
|
+
readonly type: "string";
|
|
492
|
+
readonly maxLength: 200;
|
|
493
|
+
readonly description: "The network's name, as its profile gives it.";
|
|
494
|
+
};
|
|
495
|
+
readonly state: {
|
|
496
|
+
readonly type: "string";
|
|
497
|
+
readonly enum: readonly ["acknowledged", "repudiated", "departed"];
|
|
498
|
+
readonly description: "`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.";
|
|
499
|
+
};
|
|
500
|
+
readonly listing: {
|
|
501
|
+
readonly type: "object";
|
|
502
|
+
readonly description: "The network's listing credential naming the community, as the community verified it.";
|
|
503
|
+
};
|
|
504
|
+
readonly grant: {
|
|
505
|
+
readonly type: "object";
|
|
506
|
+
readonly description: "The network's membership grant (VMC), once the community acknowledged.";
|
|
507
|
+
};
|
|
508
|
+
readonly acknowledgement: {
|
|
509
|
+
readonly type: "object";
|
|
510
|
+
readonly description: "The community's acknowledgement (VMC carrying the grant's digest).";
|
|
511
|
+
};
|
|
512
|
+
readonly repudiation: {
|
|
513
|
+
readonly type: "object";
|
|
514
|
+
readonly description: "The community's repudiation (VSC) of the listing, or — on departure — of the grant.";
|
|
515
|
+
};
|
|
516
|
+
readonly groups: {
|
|
517
|
+
readonly type: "array";
|
|
518
|
+
readonly maxItems: 64;
|
|
519
|
+
readonly items: {
|
|
520
|
+
readonly $ref: "#/$defs/RegisteredGroup";
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
readonly joinedAt: {
|
|
524
|
+
readonly type: "string";
|
|
525
|
+
readonly format: "date-time";
|
|
526
|
+
};
|
|
527
|
+
readonly updatedAt: {
|
|
528
|
+
readonly type: "string";
|
|
529
|
+
readonly format: "date-time";
|
|
530
|
+
};
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
readonly RegisteredGroup: {
|
|
534
|
+
readonly type: "object";
|
|
535
|
+
readonly additionalProperties: false;
|
|
536
|
+
readonly required: readonly ["role", "groupId", "groupDid", "endpoint", "registration", "acceptance", "registeredAt"];
|
|
537
|
+
readonly properties: {
|
|
538
|
+
readonly role: {
|
|
539
|
+
readonly type: "string";
|
|
540
|
+
readonly pattern: "^[a-z0-9_-]{1,64}$";
|
|
541
|
+
readonly description: "A role the network defines, e.g. `admins`: lowercase letters, digits, `-` and `_`.";
|
|
542
|
+
};
|
|
543
|
+
readonly groupId: {
|
|
544
|
+
readonly type: "string";
|
|
545
|
+
readonly minLength: 1;
|
|
546
|
+
readonly maxLength: 128;
|
|
547
|
+
readonly description: "The community's identifier for the group.";
|
|
548
|
+
};
|
|
549
|
+
readonly groupDid: {
|
|
550
|
+
readonly type: "string";
|
|
551
|
+
readonly pattern: "^did:[a-z0-9]+:.+$";
|
|
552
|
+
readonly maxLength: 2048;
|
|
553
|
+
readonly description: "The group's own DID, which the registration names as its subject.";
|
|
554
|
+
};
|
|
555
|
+
readonly endpoint: {
|
|
556
|
+
readonly type: "string";
|
|
557
|
+
readonly format: "uri";
|
|
558
|
+
readonly maxLength: 2048;
|
|
559
|
+
readonly description: "Where the network delivers broadcasts for the group: the community's relay endpoint for it.";
|
|
560
|
+
};
|
|
561
|
+
readonly registration: {
|
|
562
|
+
readonly type: "object";
|
|
563
|
+
readonly description: "The community's `servesRole` statement (VSC): the group serves `role` in the network.";
|
|
564
|
+
};
|
|
565
|
+
readonly acceptance: {
|
|
566
|
+
readonly type: "object";
|
|
567
|
+
readonly description: "The network's `groupRegistered` statement (VSC), bound to the registration's digest.";
|
|
568
|
+
};
|
|
569
|
+
readonly registeredAt: {
|
|
570
|
+
readonly type: "string";
|
|
571
|
+
readonly format: "date-time";
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
readonly RoleAssignment: {
|
|
576
|
+
readonly type: "object";
|
|
577
|
+
readonly additionalProperties: false;
|
|
578
|
+
readonly required: readonly ["role", "groupId"];
|
|
579
|
+
readonly properties: {
|
|
580
|
+
readonly role: {
|
|
581
|
+
readonly type: "string";
|
|
582
|
+
readonly pattern: "^[a-z0-9_-]{1,64}$";
|
|
583
|
+
readonly description: "A role the network defines, e.g. `admins`: lowercase letters, digits, `-` and `_`.";
|
|
584
|
+
};
|
|
585
|
+
readonly groupId: {
|
|
586
|
+
readonly type: "string";
|
|
587
|
+
readonly minLength: 1;
|
|
588
|
+
readonly maxLength: 128;
|
|
589
|
+
readonly description: "The community group to serve the role.";
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
};
|
|
596
|
+
/**
|
|
597
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
598
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
599
|
+
* parties (§7.3 item 5).
|
|
600
|
+
*/
|
|
601
|
+
export declare const RESPONSE_SPEC: {
|
|
602
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/networks/join/0.1#response";
|
|
603
|
+
readonly isBearer: false;
|
|
604
|
+
readonly isProofRequired: true;
|
|
605
|
+
readonly isRecipientRequired: true;
|
|
606
|
+
readonly isIssuedAtRequired: true;
|
|
607
|
+
readonly payloadSchema: {
|
|
608
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
609
|
+
readonly $ref: "#/$defs/Response";
|
|
610
|
+
readonly $defs: {
|
|
611
|
+
readonly Response: {
|
|
612
|
+
readonly $anchor: "response";
|
|
613
|
+
readonly title: "VTC Networks — Join — response payload";
|
|
614
|
+
readonly description: "The membership as it now stands.";
|
|
615
|
+
readonly type: "object";
|
|
616
|
+
readonly additionalProperties: false;
|
|
617
|
+
readonly required: readonly ["membership"];
|
|
618
|
+
readonly properties: {
|
|
619
|
+
readonly membership: {
|
|
620
|
+
readonly $ref: "#/$defs/NetworkMembership";
|
|
621
|
+
};
|
|
622
|
+
readonly ext: {
|
|
623
|
+
readonly $ref: "#/$defs/Ext";
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
};
|
|
627
|
+
readonly Ext: {
|
|
628
|
+
readonly title: "Ext";
|
|
629
|
+
readonly 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.";
|
|
630
|
+
readonly type: "object";
|
|
631
|
+
readonly minProperties: 1;
|
|
632
|
+
readonly additionalProperties: true;
|
|
633
|
+
readonly propertyNames: {
|
|
634
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
readonly NetworkMembership: {
|
|
638
|
+
readonly type: "object";
|
|
639
|
+
readonly additionalProperties: false;
|
|
640
|
+
readonly required: readonly ["network", "url", "state", "listing", "groups", "updatedAt"];
|
|
641
|
+
readonly properties: {
|
|
642
|
+
readonly network: {
|
|
643
|
+
readonly type: "string";
|
|
644
|
+
readonly pattern: "^did:[a-z0-9]+:.+$";
|
|
645
|
+
readonly maxLength: 2048;
|
|
646
|
+
readonly description: "The network's DID.";
|
|
647
|
+
};
|
|
648
|
+
readonly url: {
|
|
649
|
+
readonly type: "string";
|
|
650
|
+
readonly format: "uri";
|
|
651
|
+
readonly maxLength: 2048;
|
|
652
|
+
readonly description: "Where the network's API is reached: the base its `/.well-known/vtn` profile is served under.";
|
|
653
|
+
};
|
|
654
|
+
readonly name: {
|
|
655
|
+
readonly type: "string";
|
|
656
|
+
readonly maxLength: 200;
|
|
657
|
+
readonly description: "The network's name, as its profile gives it.";
|
|
658
|
+
};
|
|
659
|
+
readonly state: {
|
|
660
|
+
readonly type: "string";
|
|
661
|
+
readonly enum: readonly ["acknowledged", "repudiated", "departed"];
|
|
662
|
+
readonly description: "`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.";
|
|
663
|
+
};
|
|
664
|
+
readonly listing: {
|
|
665
|
+
readonly type: "object";
|
|
666
|
+
readonly description: "The network's listing credential naming the community, as the community verified it.";
|
|
667
|
+
};
|
|
668
|
+
readonly grant: {
|
|
669
|
+
readonly type: "object";
|
|
670
|
+
readonly description: "The network's membership grant (VMC), once the community acknowledged.";
|
|
671
|
+
};
|
|
672
|
+
readonly acknowledgement: {
|
|
673
|
+
readonly type: "object";
|
|
674
|
+
readonly description: "The community's acknowledgement (VMC carrying the grant's digest).";
|
|
675
|
+
};
|
|
676
|
+
readonly repudiation: {
|
|
677
|
+
readonly type: "object";
|
|
678
|
+
readonly description: "The community's repudiation (VSC) of the listing, or — on departure — of the grant.";
|
|
679
|
+
};
|
|
680
|
+
readonly groups: {
|
|
681
|
+
readonly type: "array";
|
|
682
|
+
readonly maxItems: 64;
|
|
683
|
+
readonly items: {
|
|
684
|
+
readonly $ref: "#/$defs/RegisteredGroup";
|
|
685
|
+
};
|
|
686
|
+
};
|
|
687
|
+
readonly joinedAt: {
|
|
688
|
+
readonly type: "string";
|
|
689
|
+
readonly format: "date-time";
|
|
690
|
+
};
|
|
691
|
+
readonly updatedAt: {
|
|
692
|
+
readonly type: "string";
|
|
693
|
+
readonly format: "date-time";
|
|
694
|
+
};
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
readonly RegisteredGroup: {
|
|
698
|
+
readonly type: "object";
|
|
699
|
+
readonly additionalProperties: false;
|
|
700
|
+
readonly required: readonly ["role", "groupId", "groupDid", "endpoint", "registration", "acceptance", "registeredAt"];
|
|
701
|
+
readonly properties: {
|
|
702
|
+
readonly role: {
|
|
703
|
+
readonly type: "string";
|
|
704
|
+
readonly pattern: "^[a-z0-9_-]{1,64}$";
|
|
705
|
+
readonly description: "A role the network defines, e.g. `admins`: lowercase letters, digits, `-` and `_`.";
|
|
706
|
+
};
|
|
707
|
+
readonly groupId: {
|
|
708
|
+
readonly type: "string";
|
|
709
|
+
readonly minLength: 1;
|
|
710
|
+
readonly maxLength: 128;
|
|
711
|
+
readonly description: "The community's identifier for the group.";
|
|
712
|
+
};
|
|
713
|
+
readonly groupDid: {
|
|
714
|
+
readonly type: "string";
|
|
715
|
+
readonly pattern: "^did:[a-z0-9]+:.+$";
|
|
716
|
+
readonly maxLength: 2048;
|
|
717
|
+
readonly description: "The group's own DID, which the registration names as its subject.";
|
|
718
|
+
};
|
|
719
|
+
readonly endpoint: {
|
|
720
|
+
readonly type: "string";
|
|
721
|
+
readonly format: "uri";
|
|
722
|
+
readonly maxLength: 2048;
|
|
723
|
+
readonly description: "Where the network delivers broadcasts for the group: the community's relay endpoint for it.";
|
|
724
|
+
};
|
|
725
|
+
readonly registration: {
|
|
726
|
+
readonly type: "object";
|
|
727
|
+
readonly description: "The community's `servesRole` statement (VSC): the group serves `role` in the network.";
|
|
728
|
+
};
|
|
729
|
+
readonly acceptance: {
|
|
730
|
+
readonly type: "object";
|
|
731
|
+
readonly description: "The network's `groupRegistered` statement (VSC), bound to the registration's digest.";
|
|
732
|
+
};
|
|
733
|
+
readonly registeredAt: {
|
|
734
|
+
readonly type: "string";
|
|
735
|
+
readonly format: "date-time";
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
};
|
|
739
|
+
readonly RoleAssignment: {
|
|
740
|
+
readonly type: "object";
|
|
741
|
+
readonly additionalProperties: false;
|
|
742
|
+
readonly required: readonly ["role", "groupId"];
|
|
743
|
+
readonly properties: {
|
|
744
|
+
readonly role: {
|
|
745
|
+
readonly type: "string";
|
|
746
|
+
readonly pattern: "^[a-z0-9_-]{1,64}$";
|
|
747
|
+
readonly description: "A role the network defines, e.g. `admins`: lowercase letters, digits, `-` and `_`.";
|
|
748
|
+
};
|
|
749
|
+
readonly groupId: {
|
|
750
|
+
readonly type: "string";
|
|
751
|
+
readonly minLength: 1;
|
|
752
|
+
readonly maxLength: 128;
|
|
753
|
+
readonly description: "The community group to serve the role.";
|
|
754
|
+
};
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
};
|
|
760
|
+
//# sourceMappingURL=payload.d.ts.map
|