@openvtc/trust-tasks 0.26.16 → 0.26.18
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 +201 -0
- package/dist/_shared/components.d.ts +790 -3
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/auth/oob/_shared/0.1/oob.d.ts +1 -1
- package/dist/auth/oob/_shared/0.1/oob.d.ts.map +1 -1
- package/dist/auth/oob/grant/0.2/payload.d.ts +262 -0
- package/dist/auth/oob/grant/0.2/payload.d.ts.map +1 -0
- package/dist/auth/oob/grant/0.2/payload.js +140 -0
- package/dist/auth/oob/grant/0.2/payload.js.map +1 -0
- package/dist/auth/oob/prove/0.2/payload.d.ts +836 -0
- package/dist/auth/oob/prove/0.2/payload.d.ts.map +1 -0
- package/dist/auth/oob/prove/0.2/payload.js +468 -0
- package/dist/auth/oob/prove/0.2/payload.js.map +1 -0
- package/dist/auth/oob/respond/0.2/payload.d.ts +235 -0
- package/dist/auth/oob/respond/0.2/payload.d.ts.map +1 -0
- package/dist/auth/oob/respond/0.2/payload.js +140 -0
- package/dist/auth/oob/respond/0.2/payload.js.map +1 -0
- package/dist/device/list/0.1/payload.d.ts +4 -4
- package/dist/device/list/0.1/payload.d.ts.map +1 -1
- package/dist/device/list/0.1/payload.js +2 -0
- package/dist/device/list/0.1/payload.js.map +1 -1
- package/dist/device/list/0.2/payload.d.ts +4 -4
- package/dist/device/list/0.2/payload.d.ts.map +1 -1
- package/dist/device/list/0.2/payload.js +2 -0
- package/dist/device/list/0.2/payload.js.map +1 -1
- package/dist/device/register/0.1/payload.d.ts +4 -4
- package/dist/device/register/0.1/payload.d.ts.map +1 -1
- package/dist/device/register/0.1/payload.js +2 -0
- package/dist/device/register/0.1/payload.js.map +1 -1
- package/dist/device/register/0.2/payload.d.ts +4 -4
- package/dist/device/register/0.2/payload.d.ts.map +1 -1
- package/dist/device/register/0.2/payload.js +2 -0
- package/dist/device/register/0.2/payload.js.map +1 -1
- package/dist/index.d.ts +55 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +55 -0
- package/dist/index.js.map +1 -1
- package/dist/keys/sign-document/0.1/payload.d.ts +627 -0
- package/dist/keys/sign-document/0.1/payload.d.ts.map +1 -0
- package/dist/keys/sign-document/0.1/payload.js +341 -0
- package/dist/keys/sign-document/0.1/payload.js.map +1 -0
- package/dist/persona/_shared/0.1/contact-annotations.d.ts +22 -0
- package/dist/persona/_shared/0.1/contact-annotations.d.ts.map +1 -0
- package/dist/persona/_shared/0.1/contact-annotations.js +6 -0
- package/dist/persona/_shared/0.1/contact-annotations.js.map +1 -0
- package/dist/persona/contact/get/1.1/payload.d.ts +1403 -0
- package/dist/persona/contact/get/1.1/payload.d.ts.map +1 -0
- package/dist/persona/contact/get/1.1/payload.js +804 -0
- package/dist/persona/contact/get/1.1/payload.js.map +1 -0
- package/dist/persona/contact/list/1.1/payload.d.ts +803 -0
- package/dist/persona/contact/list/1.1/payload.d.ts.map +1 -0
- package/dist/persona/contact/list/1.1/payload.js +417 -0
- package/dist/persona/contact/list/1.1/payload.js.map +1 -0
- package/dist/persona/contact/lists/delete/1.0/payload.d.ts +289 -0
- package/dist/persona/contact/lists/delete/1.0/payload.d.ts.map +1 -0
- package/dist/persona/contact/lists/delete/1.0/payload.js +166 -0
- package/dist/persona/contact/lists/delete/1.0/payload.js.map +1 -0
- package/dist/persona/contact/lists/list/1.0/payload.d.ts +527 -0
- package/dist/persona/contact/lists/list/1.0/payload.d.ts.map +1 -0
- package/dist/persona/contact/lists/list/1.0/payload.js +294 -0
- package/dist/persona/contact/lists/list/1.0/payload.js.map +1 -0
- package/dist/persona/contact/lists/put/1.0/payload.d.ts +629 -0
- package/dist/persona/contact/lists/put/1.0/payload.d.ts.map +1 -0
- package/dist/persona/contact/lists/put/1.0/payload.js +366 -0
- package/dist/persona/contact/lists/put/1.0/payload.js.map +1 -0
- package/dist/persona/contact/lists/show/1.0/payload.d.ts +476 -0
- package/dist/persona/contact/lists/show/1.0/payload.d.ts.map +1 -0
- package/dist/persona/contact/lists/show/1.0/payload.js +272 -0
- package/dist/persona/contact/lists/show/1.0/payload.js.map +1 -0
- package/dist/persona/contact/put/1.1/payload.d.ts +1444 -0
- package/dist/persona/contact/put/1.1/payload.d.ts.map +1 -0
- package/dist/persona/contact/put/1.1/payload.js +850 -0
- package/dist/persona/contact/put/1.1/payload.js.map +1 -0
- package/dist/rooms/keys/act/0.5/payload.d.ts +546 -0
- package/dist/rooms/keys/act/0.5/payload.d.ts.map +1 -0
- package/dist/rooms/keys/act/0.5/payload.js +305 -0
- package/dist/rooms/keys/act/0.5/payload.js.map +1 -0
- package/dist/rooms/keys/key-package/0.2/payload.d.ts +304 -0
- package/dist/rooms/keys/key-package/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/keys/key-package/0.2/payload.js +166 -0
- package/dist/rooms/keys/key-package/0.2/payload.js.map +1 -0
- package/dist/rooms/keys/seal/0.1/payload.d.ts +24 -4
- package/dist/rooms/keys/seal/0.1/payload.d.ts.map +1 -1
- package/dist/rooms/keys/seal/0.1/payload.js +12 -2
- package/dist/rooms/keys/seal/0.1/payload.js.map +1 -1
- package/dist/rooms/keys/seal/0.2/payload.d.ts +24 -4
- package/dist/rooms/keys/seal/0.2/payload.d.ts.map +1 -1
- package/dist/rooms/keys/seal/0.2/payload.js +12 -2
- package/dist/rooms/keys/seal/0.2/payload.js.map +1 -1
- package/dist/rooms/owner/group/remove/0.3/payload.d.ts +600 -0
- package/dist/rooms/owner/group/remove/0.3/payload.d.ts.map +1 -0
- package/dist/rooms/owner/group/remove/0.3/payload.js +310 -0
- package/dist/rooms/owner/group/remove/0.3/payload.js.map +1 -0
- package/dist/rooms/owner/register/0.2/payload.d.ts +591 -0
- package/dist/rooms/owner/register/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/owner/register/0.2/payload.js +335 -0
- package/dist/rooms/owner/register/0.2/payload.js.map +1 -0
- package/dist/rooms/records/get/0.1/payload.d.ts +24 -4
- package/dist/rooms/records/get/0.1/payload.d.ts.map +1 -1
- package/dist/rooms/records/get/0.1/payload.js +12 -2
- package/dist/rooms/records/get/0.1/payload.js.map +1 -1
- package/dist/rooms/records/get/0.2/payload.d.ts +24 -4
- package/dist/rooms/records/get/0.2/payload.d.ts.map +1 -1
- package/dist/rooms/records/get/0.2/payload.js +12 -2
- package/dist/rooms/records/get/0.2/payload.js.map +1 -1
- package/dist/rooms/records/put/0.1/payload.d.ts +24 -4
- package/dist/rooms/records/put/0.1/payload.d.ts.map +1 -1
- package/dist/rooms/records/put/0.1/payload.js +12 -2
- package/dist/rooms/records/put/0.1/payload.js.map +1 -1
- package/dist/rooms/records/put/0.2/payload.d.ts +24 -4
- package/dist/rooms/records/put/0.2/payload.d.ts.map +1 -1
- package/dist/rooms/records/put/0.2/payload.js +12 -2
- package/dist/rooms/records/put/0.2/payload.js.map +1 -1
- package/dist/vtc/_shared/0.1/community-room.d.ts +1 -1
- package/dist/vtc/_shared/0.1/community-room.d.ts.map +1 -1
- package/dist/vtc/admin/events/_shared/0.3/topic.d.ts +30 -0
- package/dist/vtc/admin/events/_shared/0.3/topic.d.ts.map +1 -0
- package/dist/vtc/admin/events/_shared/0.3/topic.js +6 -0
- package/dist/vtc/admin/events/_shared/0.3/topic.js.map +1 -0
- package/dist/vtc/admin/events/event/0.3/payload.d.ts +172 -0
- package/dist/vtc/admin/events/event/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/admin/events/event/0.3/payload.js +102 -0
- package/dist/vtc/admin/events/event/0.3/payload.js.map +1 -0
- package/dist/vtc/admin/events/subscribe/0.3/payload.d.ts +409 -0
- package/dist/vtc/admin/events/subscribe/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/admin/events/subscribe/0.3/payload.js +236 -0
- package/dist/vtc/admin/events/subscribe/0.3/payload.js.map +1 -0
- package/dist/vtc/directory/_shared/0.1/admin-note.d.ts +16 -0
- package/dist/vtc/directory/_shared/0.1/admin-note.d.ts.map +1 -0
- package/dist/vtc/directory/_shared/0.1/admin-note.js +6 -0
- package/dist/vtc/directory/_shared/0.1/admin-note.js.map +1 -0
- package/dist/vtc/directory/_shared/0.1/directory-card.d.ts +22 -0
- package/dist/vtc/directory/_shared/0.1/directory-card.d.ts.map +1 -0
- package/dist/vtc/directory/_shared/0.1/directory-card.js +6 -0
- package/dist/vtc/directory/_shared/0.1/directory-card.js.map +1 -0
- package/dist/vtc/directory/_shared/0.1/field-definition.d.ts +16 -0
- package/dist/vtc/directory/_shared/0.1/field-definition.d.ts.map +1 -0
- package/dist/vtc/directory/_shared/0.1/field-definition.js +6 -0
- package/dist/vtc/directory/_shared/0.1/field-definition.js.map +1 -0
- package/dist/vtc/directory/card/assert/0.1/payload.d.ts +780 -0
- package/dist/vtc/directory/card/assert/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/card/assert/0.1/payload.js +454 -0
- package/dist/vtc/directory/card/assert/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/card/present/0.1/payload.d.ts +603 -0
- package/dist/vtc/directory/card/present/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/card/present/0.1/payload.js +297 -0
- package/dist/vtc/directory/card/present/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/card/show/0.1/payload.d.ts +1144 -0
- package/dist/vtc/directory/card/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/card/show/0.1/payload.js +695 -0
- package/dist/vtc/directory/card/show/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/card/update/0.1/payload.d.ts +1291 -0
- package/dist/vtc/directory/card/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/card/update/0.1/payload.js +765 -0
- package/dist/vtc/directory/card/update/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/entries/list/0.1/payload.d.ts +5525 -0
- package/dist/vtc/directory/entries/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/entries/list/0.1/payload.js +656 -0
- package/dist/vtc/directory/entries/list/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/entries/show/0.1/payload.d.ts +861 -0
- package/dist/vtc/directory/entries/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/entries/show/0.1/payload.js +502 -0
- package/dist/vtc/directory/entries/show/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/export/0.1/payload.d.ts +346 -0
- package/dist/vtc/directory/export/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/export/0.1/payload.js +192 -0
- package/dist/vtc/directory/export/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/fields/define/0.1/payload.d.ts +1355 -0
- package/dist/vtc/directory/fields/define/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/fields/define/0.1/payload.js +811 -0
- package/dist/vtc/directory/fields/define/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/fields/list/0.1/payload.d.ts +1236 -0
- package/dist/vtc/directory/fields/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/fields/list/0.1/payload.js +739 -0
- package/dist/vtc/directory/fields/list/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/fields/retire/0.1/payload.d.ts +1146 -0
- package/dist/vtc/directory/fields/retire/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/fields/retire/0.1/payload.js +684 -0
- package/dist/vtc/directory/fields/retire/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/fields/update/0.1/payload.d.ts +1223 -0
- package/dist/vtc/directory/fields/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/fields/update/0.1/payload.js +715 -0
- package/dist/vtc/directory/fields/update/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/introduce/0.1/payload.d.ts +417 -0
- package/dist/vtc/directory/introduce/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/introduce/0.1/payload.js +183 -0
- package/dist/vtc/directory/introduce/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/introduction/0.1/payload.d.ts +423 -0
- package/dist/vtc/directory/introduction/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/introduction/0.1/payload.js +241 -0
- package/dist/vtc/directory/introduction/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/notes/append/0.1/payload.d.ts +494 -0
- package/dist/vtc/directory/notes/append/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/notes/append/0.1/payload.js +281 -0
- package/dist/vtc/directory/notes/append/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/notes/export/0.1/payload.d.ts +530 -0
- package/dist/vtc/directory/notes/export/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/notes/export/0.1/payload.js +294 -0
- package/dist/vtc/directory/notes/export/0.1/payload.js.map +1 -0
- package/dist/vtc/directory/notes/list/0.1/payload.d.ts +528 -0
- package/dist/vtc/directory/notes/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/directory/notes/list/0.1/payload.js +294 -0
- package/dist/vtc/directory/notes/list/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/_shared/0.1/group.d.ts +22 -0
- package/dist/vtc/groups/_shared/0.1/group.d.ts.map +1 -0
- package/dist/vtc/groups/_shared/0.1/group.js +6 -0
- package/dist/vtc/groups/_shared/0.1/group.js.map +1 -0
- package/dist/vtc/groups/bindings/add/0.1/payload.d.ts +914 -0
- package/dist/vtc/groups/bindings/add/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/bindings/add/0.1/payload.js +536 -0
- package/dist/vtc/groups/bindings/add/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/bindings/list/0.1/payload.d.ts +910 -0
- package/dist/vtc/groups/bindings/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/bindings/list/0.1/payload.js +533 -0
- package/dist/vtc/groups/bindings/list/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/bindings/remove/0.1/payload.d.ts +310 -0
- package/dist/vtc/groups/bindings/remove/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/bindings/remove/0.1/payload.js +182 -0
- package/dist/vtc/groups/bindings/remove/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/create/0.1/payload.d.ts +1075 -0
- package/dist/vtc/groups/create/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/create/0.1/payload.js +631 -0
- package/dist/vtc/groups/create/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/delete/0.1/payload.d.ts +317 -0
- package/dist/vtc/groups/delete/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/delete/0.1/payload.js +182 -0
- package/dist/vtc/groups/delete/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/join/0.1/payload.d.ts +1262 -0
- package/dist/vtc/groups/join/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/join/0.1/payload.js +758 -0
- package/dist/vtc/groups/join/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/leave/0.1/payload.d.ts +291 -0
- package/dist/vtc/groups/leave/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/leave/0.1/payload.js +179 -0
- package/dist/vtc/groups/leave/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/list/0.1/payload.d.ts +1127 -0
- package/dist/vtc/groups/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/list/0.1/payload.js +674 -0
- package/dist/vtc/groups/list/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/members/add/0.1/payload.d.ts +1014 -0
- package/dist/vtc/groups/members/add/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/members/add/0.1/payload.js +607 -0
- package/dist/vtc/groups/members/add/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/members/list/0.1/payload.d.ts +1018 -0
- package/dist/vtc/groups/members/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/members/list/0.1/payload.js +606 -0
- package/dist/vtc/groups/members/list/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/members/remove/0.1/payload.d.ts +351 -0
- package/dist/vtc/groups/members/remove/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/members/remove/0.1/payload.js +205 -0
- package/dist/vtc/groups/members/remove/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/requests/decide/0.1/payload.d.ts +1236 -0
- package/dist/vtc/groups/requests/decide/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/requests/decide/0.1/payload.js +741 -0
- package/dist/vtc/groups/requests/decide/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/requests/list/0.1/payload.d.ts +1063 -0
- package/dist/vtc/groups/requests/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/requests/list/0.1/payload.js +622 -0
- package/dist/vtc/groups/requests/list/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/show/0.1/payload.d.ts +1012 -0
- package/dist/vtc/groups/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/show/0.1/payload.js +619 -0
- package/dist/vtc/groups/show/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/update/0.1/payload.d.ts +1078 -0
- package/dist/vtc/groups/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/groups/update/0.1/payload.js +633 -0
- package/dist/vtc/groups/update/0.1/payload.js.map +1 -0
- package/dist/vtc/rooms/memberships/list/0.1/payload.d.ts +696 -0
- package/dist/vtc/rooms/memberships/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/memberships/list/0.1/payload.js +402 -0
- package/dist/vtc/rooms/memberships/list/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +835 -1
- package/src/auth/oob/_shared/0.1/oob.ts +1 -1
- package/src/auth/oob/grant/0.2/payload.ts +186 -0
- package/src/auth/oob/prove/0.2/payload.ts +523 -0
- package/src/auth/oob/respond/0.2/payload.ts +178 -0
- package/src/device/list/0.1/payload.ts +2 -0
- package/src/device/list/0.2/payload.ts +2 -0
- package/src/device/register/0.1/payload.ts +2 -0
- package/src/device/register/0.2/payload.ts +2 -0
- package/src/index.ts +55 -0
- package/src/keys/sign-document/0.1/payload.ts +437 -0
- package/src/persona/_shared/0.1/contact-annotations.ts +23 -0
- package/src/persona/contact/get/1.1/payload.ts +876 -0
- package/src/persona/contact/list/1.1/payload.ts +497 -0
- package/src/persona/contact/lists/delete/1.0/payload.ts +204 -0
- package/src/persona/contact/lists/list/1.0/payload.ts +332 -0
- package/src/persona/contact/lists/put/1.0/payload.ts +429 -0
- package/src/persona/contact/lists/show/1.0/payload.ts +305 -0
- package/src/persona/contact/put/1.1/payload.ts +958 -0
- package/src/rooms/keys/act/0.5/payload.ts +380 -0
- package/src/rooms/keys/key-package/0.2/payload.ts +219 -0
- package/src/rooms/keys/seal/0.1/payload.ts +12 -2
- package/src/rooms/keys/seal/0.2/payload.ts +12 -2
- package/src/rooms/owner/group/remove/0.3/payload.ts +415 -0
- package/src/rooms/owner/register/0.2/payload.ts +415 -0
- package/src/rooms/records/get/0.1/payload.ts +12 -2
- package/src/rooms/records/get/0.2/payload.ts +12 -2
- package/src/rooms/records/put/0.1/payload.ts +12 -2
- package/src/rooms/records/put/0.2/payload.ts +12 -2
- package/src/vtc/_shared/0.1/community-room.ts +1 -1
- package/src/vtc/admin/events/_shared/0.3/topic.ts +31 -0
- package/src/vtc/admin/events/event/0.3/payload.ts +136 -0
- package/src/vtc/admin/events/subscribe/0.3/payload.ts +314 -0
- package/src/vtc/directory/_shared/0.1/admin-note.ts +17 -0
- package/src/vtc/directory/_shared/0.1/directory-card.ts +23 -0
- package/src/vtc/directory/_shared/0.1/field-definition.ts +17 -0
- package/src/vtc/directory/card/assert/0.1/payload.ts +503 -0
- package/src/vtc/directory/card/present/0.1/payload.ts +437 -0
- package/src/vtc/directory/card/show/0.1/payload.ts +732 -0
- package/src/vtc/directory/card/update/0.1/payload.ts +827 -0
- package/src/vtc/directory/entries/list/0.1/payload.ts +5676 -0
- package/src/vtc/directory/entries/show/0.1/payload.ts +541 -0
- package/src/vtc/directory/export/0.1/payload.ts +241 -0
- package/src/vtc/directory/fields/define/0.1/payload.ts +847 -0
- package/src/vtc/directory/fields/list/0.1/payload.ts +780 -0
- package/src/vtc/directory/fields/retire/0.1/payload.ts +723 -0
- package/src/vtc/directory/fields/update/0.1/payload.ts +767 -0
- package/src/vtc/directory/introduce/0.1/payload.ts +324 -0
- package/src/vtc/directory/introduction/0.1/payload.ts +278 -0
- package/src/vtc/directory/notes/append/0.1/payload.ts +319 -0
- package/src/vtc/directory/notes/export/0.1/payload.ts +337 -0
- package/src/vtc/directory/notes/list/0.1/payload.ts +337 -0
- package/src/vtc/groups/_shared/0.1/group.ts +23 -0
- package/src/vtc/groups/bindings/add/0.1/payload.ts +573 -0
- package/src/vtc/groups/bindings/list/0.1/payload.ts +568 -0
- package/src/vtc/groups/bindings/remove/0.1/payload.ts +223 -0
- package/src/vtc/groups/create/0.1/payload.ts +683 -0
- package/src/vtc/groups/delete/0.1/payload.ts +224 -0
- package/src/vtc/groups/join/0.1/payload.ts +807 -0
- package/src/vtc/groups/leave/0.1/payload.ts +219 -0
- package/src/vtc/groups/list/0.1/payload.ts +728 -0
- package/src/vtc/groups/members/add/0.1/payload.ts +648 -0
- package/src/vtc/groups/members/list/0.1/payload.ts +647 -0
- package/src/vtc/groups/members/remove/0.1/payload.ts +251 -0
- package/src/vtc/groups/requests/decide/0.1/payload.ts +786 -0
- package/src/vtc/groups/requests/list/0.1/payload.ts +670 -0
- package/src/vtc/groups/show/0.1/payload.ts +652 -0
- package/src/vtc/groups/update/0.1/payload.ts +682 -0
- package/src/vtc/rooms/memberships/list/0.1/payload.ts +445 -0
|
@@ -0,0 +1,696 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/rooms/memberships/list/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { Ext, MemberAction, MemberActions, MemberState, RoomDescription, RoomLabel, RoomMembership, Visibility } from "../../../../../_shared/components.js";
|
|
6
|
+
export interface VTCRoomsMembershipsListPayload {
|
|
7
|
+
/**
|
|
8
|
+
* Opaque continuation token from a previous page's `nextCursor`.
|
|
9
|
+
*/
|
|
10
|
+
cursor?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Page size. The community chooses when absent (50 in the reference implementation).
|
|
13
|
+
*/
|
|
14
|
+
limit?: number;
|
|
15
|
+
ext?: Ext;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Success response to vtc/rooms/memberships/list. Type https://trusttasks.org/spec/vtc/rooms/memberships/list/0.1#response. The community's record of the caller's admissions to the rooms it owns, in every state, and no one else's.
|
|
19
|
+
*/
|
|
20
|
+
export interface VTCRoomsMembershipsListResponsePayload {
|
|
21
|
+
/**
|
|
22
|
+
* @maxItems 100
|
|
23
|
+
*/
|
|
24
|
+
items: RoomMembership[];
|
|
25
|
+
/**
|
|
26
|
+
* Present when more remain; pass it as `cursor`.
|
|
27
|
+
*/
|
|
28
|
+
nextCursor?: string;
|
|
29
|
+
ext?: Ext;
|
|
30
|
+
}
|
|
31
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
32
|
+
export type { Ext, MemberAction, MemberActions, MemberState, RoomDescription, RoomLabel, RoomMembership, Visibility };
|
|
33
|
+
/** Trust Task type URI. */
|
|
34
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/rooms/memberships/list/0.1";
|
|
35
|
+
/** Stable alias for this specification's request payload shape. */
|
|
36
|
+
export type Payload = VTCRoomsMembershipsListPayload;
|
|
37
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
38
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/rooms/memberships/list/0.1#response";
|
|
39
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
40
|
+
export type Response = VTCRoomsMembershipsListResponsePayload;
|
|
41
|
+
/**
|
|
42
|
+
* This specification's payload schema, as a value.
|
|
43
|
+
*
|
|
44
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
45
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
46
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
47
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
48
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
49
|
+
*/
|
|
50
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
51
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
52
|
+
readonly $id: "https://trusttasks.org/spec/vtc/rooms/memberships/list/0.1";
|
|
53
|
+
readonly title: "VTC Rooms Memberships List — payload";
|
|
54
|
+
readonly type: "object";
|
|
55
|
+
readonly additionalProperties: false;
|
|
56
|
+
readonly properties: {
|
|
57
|
+
readonly cursor: {
|
|
58
|
+
readonly type: "string";
|
|
59
|
+
readonly minLength: 1;
|
|
60
|
+
readonly maxLength: 1024;
|
|
61
|
+
readonly description: "Opaque continuation token from a previous page's `nextCursor`.";
|
|
62
|
+
};
|
|
63
|
+
readonly limit: {
|
|
64
|
+
readonly type: "integer";
|
|
65
|
+
readonly minimum: 1;
|
|
66
|
+
readonly maximum: 100;
|
|
67
|
+
readonly description: "Page size. The community chooses when absent (50 in the reference implementation).";
|
|
68
|
+
};
|
|
69
|
+
readonly ext: {
|
|
70
|
+
readonly $ref: "#/$defs/Ext";
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
readonly $defs: {
|
|
74
|
+
readonly Response: {
|
|
75
|
+
readonly $anchor: "response";
|
|
76
|
+
readonly title: "VTC Rooms Memberships List — response payload";
|
|
77
|
+
readonly description: "Success response to vtc/rooms/memberships/list. Type https://trusttasks.org/spec/vtc/rooms/memberships/list/0.1#response. The community's record of the caller's admissions to the rooms it owns, in every state, and no one else's.";
|
|
78
|
+
readonly type: "object";
|
|
79
|
+
readonly additionalProperties: false;
|
|
80
|
+
readonly required: readonly ["items"];
|
|
81
|
+
readonly properties: {
|
|
82
|
+
readonly items: {
|
|
83
|
+
readonly type: "array";
|
|
84
|
+
readonly maxItems: 100;
|
|
85
|
+
readonly items: {
|
|
86
|
+
readonly $ref: "#/$defs/RoomMembership";
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
readonly nextCursor: {
|
|
90
|
+
readonly type: "string";
|
|
91
|
+
readonly minLength: 1;
|
|
92
|
+
readonly maxLength: 1024;
|
|
93
|
+
readonly description: "Present when more remain; pass it as `cursor`.";
|
|
94
|
+
};
|
|
95
|
+
readonly ext: {
|
|
96
|
+
readonly $ref: "#/$defs/Ext";
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
readonly Ext: {
|
|
101
|
+
readonly title: "Ext";
|
|
102
|
+
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.";
|
|
103
|
+
readonly type: "object";
|
|
104
|
+
readonly minProperties: 1;
|
|
105
|
+
readonly additionalProperties: true;
|
|
106
|
+
readonly propertyNames: {
|
|
107
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
readonly RoomMembership: {
|
|
111
|
+
readonly title: "RoomMembership";
|
|
112
|
+
readonly type: "object";
|
|
113
|
+
readonly additionalProperties: false;
|
|
114
|
+
readonly required: readonly ["roomId", "host", "label", "visibility", "actions", "validUntil", "state", "offeredAt"];
|
|
115
|
+
readonly description: "What vtc/rooms/memberships/list/0.1 returns: one room the community owns, and where the caller's admission to it stands in the community's own record. Unlike `OfferV2` it carries no credentials — those are collected with vtc/rooms/offers/list while an offer is open — and it is listed in every state, for as long as the community keeps the record, not only while an accept can be repeated. `label` and `description` are the room's as they stand when the record is read.";
|
|
116
|
+
readonly properties: {
|
|
117
|
+
readonly roomId: {
|
|
118
|
+
readonly type: "string";
|
|
119
|
+
readonly minLength: 1;
|
|
120
|
+
readonly maxLength: 512;
|
|
121
|
+
};
|
|
122
|
+
readonly host: {
|
|
123
|
+
readonly type: "string";
|
|
124
|
+
readonly pattern: "^did:";
|
|
125
|
+
readonly maxLength: 2048;
|
|
126
|
+
readonly description: "The room's host: this community.";
|
|
127
|
+
};
|
|
128
|
+
readonly label: {
|
|
129
|
+
readonly $ref: "#/$defs/RoomLabel";
|
|
130
|
+
};
|
|
131
|
+
readonly description: {
|
|
132
|
+
readonly $ref: "#/$defs/RoomDescription";
|
|
133
|
+
readonly description: "Absent when the room has none.";
|
|
134
|
+
};
|
|
135
|
+
readonly visibility: {
|
|
136
|
+
readonly $ref: "#/$defs/Visibility";
|
|
137
|
+
};
|
|
138
|
+
readonly actions: {
|
|
139
|
+
readonly $ref: "#/$defs/MemberActions";
|
|
140
|
+
};
|
|
141
|
+
readonly validUntil: {
|
|
142
|
+
readonly type: "string";
|
|
143
|
+
readonly format: "date-time";
|
|
144
|
+
readonly description: "When the member's authority credential expires.";
|
|
145
|
+
};
|
|
146
|
+
readonly state: {
|
|
147
|
+
readonly $ref: "#/$defs/MemberState";
|
|
148
|
+
};
|
|
149
|
+
readonly offeredAt: {
|
|
150
|
+
readonly type: "string";
|
|
151
|
+
readonly format: "date-time";
|
|
152
|
+
};
|
|
153
|
+
readonly admittedAt: {
|
|
154
|
+
readonly type: "string";
|
|
155
|
+
readonly format: "date-time";
|
|
156
|
+
readonly description: "When the community recorded the admission. Present when `state` is `admitted`, and kept when it becomes `removed`.";
|
|
157
|
+
};
|
|
158
|
+
readonly removedAt: {
|
|
159
|
+
readonly type: "string";
|
|
160
|
+
readonly format: "date-time";
|
|
161
|
+
readonly description: "Present exactly when `state` is `removed`.";
|
|
162
|
+
};
|
|
163
|
+
readonly repeatAcceptUntil: {
|
|
164
|
+
readonly type: "string";
|
|
165
|
+
readonly format: "date-time";
|
|
166
|
+
readonly description: "On an `attributed` or `private` room in state `admitted`: until when the community keeps the Welcome, so that a repeated vtc/rooms/offers/accept carrying the same KeyPackage is answered with it. Absent on an `open` room, in any other state, and once the community no longer keeps it. A surface finding the member admitted but the room absent from its key holder's rooms/keys/list finishes the acceptance before this time, and asks an administrator to re-admit the member after it.";
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
readonly MemberState: {
|
|
171
|
+
readonly title: "MemberState";
|
|
172
|
+
readonly type: "string";
|
|
173
|
+
readonly enum: readonly ["offered", "admitted", "removed"];
|
|
174
|
+
readonly description: "Where an admission stands. `offered`: credentials issued and waiting for the member to collect and accept them. `admitted`: accepted — on a sealed tier, the member is in the room's group. `removed`: an administrator removed them; on a sealed tier the room has advanced past them.";
|
|
175
|
+
};
|
|
176
|
+
readonly MemberActions: {
|
|
177
|
+
readonly title: "MemberActions";
|
|
178
|
+
readonly type: "array";
|
|
179
|
+
readonly minItems: 1;
|
|
180
|
+
readonly maxItems: 3;
|
|
181
|
+
readonly uniqueItems: true;
|
|
182
|
+
readonly items: {
|
|
183
|
+
readonly $ref: "#/$defs/MemberAction";
|
|
184
|
+
};
|
|
185
|
+
readonly description: "The actions granted, at least one. An empty list confers nothing rather than everything, and a schema that allowed it would make the more dangerous reading available to a careless consumer.";
|
|
186
|
+
};
|
|
187
|
+
readonly MemberAction: {
|
|
188
|
+
readonly title: "MemberAction";
|
|
189
|
+
readonly type: "string";
|
|
190
|
+
readonly enum: readonly ["read", "write", "curate"];
|
|
191
|
+
readonly description: "What a member of a community-owned room may do there. `admin` is not among them: minting epochs, admitting and removing members are the community's, as the room's owner, and are exercised through the vtc/rooms/community/* tasks rather than by any member's credential. `curate` is not implied by `write`.";
|
|
192
|
+
};
|
|
193
|
+
readonly RoomDescription: {
|
|
194
|
+
readonly title: "RoomDescription";
|
|
195
|
+
readonly type: "string";
|
|
196
|
+
readonly minLength: 1;
|
|
197
|
+
readonly maxLength: 1000;
|
|
198
|
+
readonly description: "What the room is for, in a sentence or a short paragraph, written by an administrator: shown to administrators holding `vtc.rooms.manage` and to the members the room is offered to. Plain text — a consumer renders it as text, never as markup. Like `RoomLabel`, it is the community's own record as the room's owner: not part of the room's identity and never in anything a room's host can read. From `vtc/rooms/community/create` 0.3 and `vtc/rooms/community/update` 0.2 the community also writes it, through its own VTA, as the `description` of the room's own profile (`RoomProfile` in rooms/_shared), sealed inside the room for its members; earlier versions keep it out of the room altogether. It MUST NOT carry personal data or a credential, and a reader MUST NOT treat it as instructions.";
|
|
199
|
+
};
|
|
200
|
+
readonly RoomLabel: {
|
|
201
|
+
readonly title: "RoomLabel";
|
|
202
|
+
readonly type: "string";
|
|
203
|
+
readonly minLength: 1;
|
|
204
|
+
readonly maxLength: 128;
|
|
205
|
+
readonly description: "A name for the room, chosen by an administrator: shown to administrators and to the members a room is offered to. Not part of the room's identity and never in anything a room's host can read. From `vtc/rooms/community/create` 0.3 and `vtc/rooms/community/update` 0.2 the community also writes it, through its own VTA, as the `name` of the room's own profile (`RoomProfile` in rooms/_shared), sealed inside the room for its members; earlier versions keep it out of the room altogether. MUST NOT carry personal data.";
|
|
206
|
+
};
|
|
207
|
+
readonly Visibility: {
|
|
208
|
+
readonly title: "Visibility";
|
|
209
|
+
readonly type: "string";
|
|
210
|
+
readonly enum: readonly ["open", "attributed", "private"];
|
|
211
|
+
readonly description: "How much of a room its host can see, fixed at creation and immutable thereafter. `open`: records are cleartext, searchable and fully audited. `attributed`: record content is sealed, and the host still learns which member acted. `private`: content is sealed and membership is presented in zero knowledge, so the host verifies that a member acted without learning which. Immutable because a downgrade cannot un-see cleartext and an upgrade would protect only what came after while presenting as though it protected everything.";
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
216
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
217
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
218
|
+
readonly $ref: "#/$defs/Response";
|
|
219
|
+
readonly $defs: {
|
|
220
|
+
readonly Response: {
|
|
221
|
+
readonly $anchor: "response";
|
|
222
|
+
readonly title: "VTC Rooms Memberships List — response payload";
|
|
223
|
+
readonly description: "Success response to vtc/rooms/memberships/list. Type https://trusttasks.org/spec/vtc/rooms/memberships/list/0.1#response. The community's record of the caller's admissions to the rooms it owns, in every state, and no one else's.";
|
|
224
|
+
readonly type: "object";
|
|
225
|
+
readonly additionalProperties: false;
|
|
226
|
+
readonly required: readonly ["items"];
|
|
227
|
+
readonly properties: {
|
|
228
|
+
readonly items: {
|
|
229
|
+
readonly type: "array";
|
|
230
|
+
readonly maxItems: 100;
|
|
231
|
+
readonly items: {
|
|
232
|
+
readonly $ref: "#/$defs/RoomMembership";
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
readonly nextCursor: {
|
|
236
|
+
readonly type: "string";
|
|
237
|
+
readonly minLength: 1;
|
|
238
|
+
readonly maxLength: 1024;
|
|
239
|
+
readonly description: "Present when more remain; pass it as `cursor`.";
|
|
240
|
+
};
|
|
241
|
+
readonly ext: {
|
|
242
|
+
readonly $ref: "#/$defs/Ext";
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
readonly Ext: {
|
|
247
|
+
readonly title: "Ext";
|
|
248
|
+
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.";
|
|
249
|
+
readonly type: "object";
|
|
250
|
+
readonly minProperties: 1;
|
|
251
|
+
readonly additionalProperties: true;
|
|
252
|
+
readonly propertyNames: {
|
|
253
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
readonly RoomMembership: {
|
|
257
|
+
readonly title: "RoomMembership";
|
|
258
|
+
readonly type: "object";
|
|
259
|
+
readonly additionalProperties: false;
|
|
260
|
+
readonly required: readonly ["roomId", "host", "label", "visibility", "actions", "validUntil", "state", "offeredAt"];
|
|
261
|
+
readonly description: "What vtc/rooms/memberships/list/0.1 returns: one room the community owns, and where the caller's admission to it stands in the community's own record. Unlike `OfferV2` it carries no credentials — those are collected with vtc/rooms/offers/list while an offer is open — and it is listed in every state, for as long as the community keeps the record, not only while an accept can be repeated. `label` and `description` are the room's as they stand when the record is read.";
|
|
262
|
+
readonly properties: {
|
|
263
|
+
readonly roomId: {
|
|
264
|
+
readonly type: "string";
|
|
265
|
+
readonly minLength: 1;
|
|
266
|
+
readonly maxLength: 512;
|
|
267
|
+
};
|
|
268
|
+
readonly host: {
|
|
269
|
+
readonly type: "string";
|
|
270
|
+
readonly pattern: "^did:";
|
|
271
|
+
readonly maxLength: 2048;
|
|
272
|
+
readonly description: "The room's host: this community.";
|
|
273
|
+
};
|
|
274
|
+
readonly label: {
|
|
275
|
+
readonly $ref: "#/$defs/RoomLabel";
|
|
276
|
+
};
|
|
277
|
+
readonly description: {
|
|
278
|
+
readonly $ref: "#/$defs/RoomDescription";
|
|
279
|
+
readonly description: "Absent when the room has none.";
|
|
280
|
+
};
|
|
281
|
+
readonly visibility: {
|
|
282
|
+
readonly $ref: "#/$defs/Visibility";
|
|
283
|
+
};
|
|
284
|
+
readonly actions: {
|
|
285
|
+
readonly $ref: "#/$defs/MemberActions";
|
|
286
|
+
};
|
|
287
|
+
readonly validUntil: {
|
|
288
|
+
readonly type: "string";
|
|
289
|
+
readonly format: "date-time";
|
|
290
|
+
readonly description: "When the member's authority credential expires.";
|
|
291
|
+
};
|
|
292
|
+
readonly state: {
|
|
293
|
+
readonly $ref: "#/$defs/MemberState";
|
|
294
|
+
};
|
|
295
|
+
readonly offeredAt: {
|
|
296
|
+
readonly type: "string";
|
|
297
|
+
readonly format: "date-time";
|
|
298
|
+
};
|
|
299
|
+
readonly admittedAt: {
|
|
300
|
+
readonly type: "string";
|
|
301
|
+
readonly format: "date-time";
|
|
302
|
+
readonly description: "When the community recorded the admission. Present when `state` is `admitted`, and kept when it becomes `removed`.";
|
|
303
|
+
};
|
|
304
|
+
readonly removedAt: {
|
|
305
|
+
readonly type: "string";
|
|
306
|
+
readonly format: "date-time";
|
|
307
|
+
readonly description: "Present exactly when `state` is `removed`.";
|
|
308
|
+
};
|
|
309
|
+
readonly repeatAcceptUntil: {
|
|
310
|
+
readonly type: "string";
|
|
311
|
+
readonly format: "date-time";
|
|
312
|
+
readonly description: "On an `attributed` or `private` room in state `admitted`: until when the community keeps the Welcome, so that a repeated vtc/rooms/offers/accept carrying the same KeyPackage is answered with it. Absent on an `open` room, in any other state, and once the community no longer keeps it. A surface finding the member admitted but the room absent from its key holder's rooms/keys/list finishes the acceptance before this time, and asks an administrator to re-admit the member after it.";
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
readonly MemberState: {
|
|
317
|
+
readonly title: "MemberState";
|
|
318
|
+
readonly type: "string";
|
|
319
|
+
readonly enum: readonly ["offered", "admitted", "removed"];
|
|
320
|
+
readonly description: "Where an admission stands. `offered`: credentials issued and waiting for the member to collect and accept them. `admitted`: accepted — on a sealed tier, the member is in the room's group. `removed`: an administrator removed them; on a sealed tier the room has advanced past them.";
|
|
321
|
+
};
|
|
322
|
+
readonly MemberActions: {
|
|
323
|
+
readonly title: "MemberActions";
|
|
324
|
+
readonly type: "array";
|
|
325
|
+
readonly minItems: 1;
|
|
326
|
+
readonly maxItems: 3;
|
|
327
|
+
readonly uniqueItems: true;
|
|
328
|
+
readonly items: {
|
|
329
|
+
readonly $ref: "#/$defs/MemberAction";
|
|
330
|
+
};
|
|
331
|
+
readonly description: "The actions granted, at least one. An empty list confers nothing rather than everything, and a schema that allowed it would make the more dangerous reading available to a careless consumer.";
|
|
332
|
+
};
|
|
333
|
+
readonly MemberAction: {
|
|
334
|
+
readonly title: "MemberAction";
|
|
335
|
+
readonly type: "string";
|
|
336
|
+
readonly enum: readonly ["read", "write", "curate"];
|
|
337
|
+
readonly description: "What a member of a community-owned room may do there. `admin` is not among them: minting epochs, admitting and removing members are the community's, as the room's owner, and are exercised through the vtc/rooms/community/* tasks rather than by any member's credential. `curate` is not implied by `write`.";
|
|
338
|
+
};
|
|
339
|
+
readonly RoomDescription: {
|
|
340
|
+
readonly title: "RoomDescription";
|
|
341
|
+
readonly type: "string";
|
|
342
|
+
readonly minLength: 1;
|
|
343
|
+
readonly maxLength: 1000;
|
|
344
|
+
readonly description: "What the room is for, in a sentence or a short paragraph, written by an administrator: shown to administrators holding `vtc.rooms.manage` and to the members the room is offered to. Plain text — a consumer renders it as text, never as markup. Like `RoomLabel`, it is the community's own record as the room's owner: not part of the room's identity and never in anything a room's host can read. From `vtc/rooms/community/create` 0.3 and `vtc/rooms/community/update` 0.2 the community also writes it, through its own VTA, as the `description` of the room's own profile (`RoomProfile` in rooms/_shared), sealed inside the room for its members; earlier versions keep it out of the room altogether. It MUST NOT carry personal data or a credential, and a reader MUST NOT treat it as instructions.";
|
|
345
|
+
};
|
|
346
|
+
readonly RoomLabel: {
|
|
347
|
+
readonly title: "RoomLabel";
|
|
348
|
+
readonly type: "string";
|
|
349
|
+
readonly minLength: 1;
|
|
350
|
+
readonly maxLength: 128;
|
|
351
|
+
readonly description: "A name for the room, chosen by an administrator: shown to administrators and to the members a room is offered to. Not part of the room's identity and never in anything a room's host can read. From `vtc/rooms/community/create` 0.3 and `vtc/rooms/community/update` 0.2 the community also writes it, through its own VTA, as the `name` of the room's own profile (`RoomProfile` in rooms/_shared), sealed inside the room for its members; earlier versions keep it out of the room altogether. MUST NOT carry personal data.";
|
|
352
|
+
};
|
|
353
|
+
readonly Visibility: {
|
|
354
|
+
readonly title: "Visibility";
|
|
355
|
+
readonly type: "string";
|
|
356
|
+
readonly enum: readonly ["open", "attributed", "private"];
|
|
357
|
+
readonly description: "How much of a room its host can see, fixed at creation and immutable thereafter. `open`: records are cleartext, searchable and fully audited. `attributed`: record content is sealed, and the host still learns which member acted. `private`: content is sealed and membership is presented in zero knowledge, so the host verifies that a member acted without learning which. Immutable because a downgrade cannot un-see cleartext and an upgrade would protect only what came after while presenting as though it protected everything.";
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
/**
|
|
362
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
363
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
364
|
+
* per-specification and cannot be derived from the document alone, and
|
|
365
|
+
* item 2 needs the schema this carries.
|
|
366
|
+
*/
|
|
367
|
+
export declare const SPEC: {
|
|
368
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/rooms/memberships/list/0.1";
|
|
369
|
+
readonly isBearer: false;
|
|
370
|
+
readonly isProofRequired: true;
|
|
371
|
+
readonly isRecipientRequired: true;
|
|
372
|
+
readonly isIssuedAtRequired: true;
|
|
373
|
+
readonly payloadSchema: {
|
|
374
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
375
|
+
readonly $id: "https://trusttasks.org/spec/vtc/rooms/memberships/list/0.1";
|
|
376
|
+
readonly title: "VTC Rooms Memberships List — payload";
|
|
377
|
+
readonly type: "object";
|
|
378
|
+
readonly additionalProperties: false;
|
|
379
|
+
readonly properties: {
|
|
380
|
+
readonly cursor: {
|
|
381
|
+
readonly type: "string";
|
|
382
|
+
readonly minLength: 1;
|
|
383
|
+
readonly maxLength: 1024;
|
|
384
|
+
readonly description: "Opaque continuation token from a previous page's `nextCursor`.";
|
|
385
|
+
};
|
|
386
|
+
readonly limit: {
|
|
387
|
+
readonly type: "integer";
|
|
388
|
+
readonly minimum: 1;
|
|
389
|
+
readonly maximum: 100;
|
|
390
|
+
readonly description: "Page size. The community chooses when absent (50 in the reference implementation).";
|
|
391
|
+
};
|
|
392
|
+
readonly ext: {
|
|
393
|
+
readonly $ref: "#/$defs/Ext";
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
readonly $defs: {
|
|
397
|
+
readonly Response: {
|
|
398
|
+
readonly $anchor: "response";
|
|
399
|
+
readonly title: "VTC Rooms Memberships List — response payload";
|
|
400
|
+
readonly description: "Success response to vtc/rooms/memberships/list. Type https://trusttasks.org/spec/vtc/rooms/memberships/list/0.1#response. The community's record of the caller's admissions to the rooms it owns, in every state, and no one else's.";
|
|
401
|
+
readonly type: "object";
|
|
402
|
+
readonly additionalProperties: false;
|
|
403
|
+
readonly required: readonly ["items"];
|
|
404
|
+
readonly properties: {
|
|
405
|
+
readonly items: {
|
|
406
|
+
readonly type: "array";
|
|
407
|
+
readonly maxItems: 100;
|
|
408
|
+
readonly items: {
|
|
409
|
+
readonly $ref: "#/$defs/RoomMembership";
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
readonly nextCursor: {
|
|
413
|
+
readonly type: "string";
|
|
414
|
+
readonly minLength: 1;
|
|
415
|
+
readonly maxLength: 1024;
|
|
416
|
+
readonly description: "Present when more remain; pass it as `cursor`.";
|
|
417
|
+
};
|
|
418
|
+
readonly ext: {
|
|
419
|
+
readonly $ref: "#/$defs/Ext";
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
readonly Ext: {
|
|
424
|
+
readonly title: "Ext";
|
|
425
|
+
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.";
|
|
426
|
+
readonly type: "object";
|
|
427
|
+
readonly minProperties: 1;
|
|
428
|
+
readonly additionalProperties: true;
|
|
429
|
+
readonly propertyNames: {
|
|
430
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
readonly RoomMembership: {
|
|
434
|
+
readonly title: "RoomMembership";
|
|
435
|
+
readonly type: "object";
|
|
436
|
+
readonly additionalProperties: false;
|
|
437
|
+
readonly required: readonly ["roomId", "host", "label", "visibility", "actions", "validUntil", "state", "offeredAt"];
|
|
438
|
+
readonly description: "What vtc/rooms/memberships/list/0.1 returns: one room the community owns, and where the caller's admission to it stands in the community's own record. Unlike `OfferV2` it carries no credentials — those are collected with vtc/rooms/offers/list while an offer is open — and it is listed in every state, for as long as the community keeps the record, not only while an accept can be repeated. `label` and `description` are the room's as they stand when the record is read.";
|
|
439
|
+
readonly properties: {
|
|
440
|
+
readonly roomId: {
|
|
441
|
+
readonly type: "string";
|
|
442
|
+
readonly minLength: 1;
|
|
443
|
+
readonly maxLength: 512;
|
|
444
|
+
};
|
|
445
|
+
readonly host: {
|
|
446
|
+
readonly type: "string";
|
|
447
|
+
readonly pattern: "^did:";
|
|
448
|
+
readonly maxLength: 2048;
|
|
449
|
+
readonly description: "The room's host: this community.";
|
|
450
|
+
};
|
|
451
|
+
readonly label: {
|
|
452
|
+
readonly $ref: "#/$defs/RoomLabel";
|
|
453
|
+
};
|
|
454
|
+
readonly description: {
|
|
455
|
+
readonly $ref: "#/$defs/RoomDescription";
|
|
456
|
+
readonly description: "Absent when the room has none.";
|
|
457
|
+
};
|
|
458
|
+
readonly visibility: {
|
|
459
|
+
readonly $ref: "#/$defs/Visibility";
|
|
460
|
+
};
|
|
461
|
+
readonly actions: {
|
|
462
|
+
readonly $ref: "#/$defs/MemberActions";
|
|
463
|
+
};
|
|
464
|
+
readonly validUntil: {
|
|
465
|
+
readonly type: "string";
|
|
466
|
+
readonly format: "date-time";
|
|
467
|
+
readonly description: "When the member's authority credential expires.";
|
|
468
|
+
};
|
|
469
|
+
readonly state: {
|
|
470
|
+
readonly $ref: "#/$defs/MemberState";
|
|
471
|
+
};
|
|
472
|
+
readonly offeredAt: {
|
|
473
|
+
readonly type: "string";
|
|
474
|
+
readonly format: "date-time";
|
|
475
|
+
};
|
|
476
|
+
readonly admittedAt: {
|
|
477
|
+
readonly type: "string";
|
|
478
|
+
readonly format: "date-time";
|
|
479
|
+
readonly description: "When the community recorded the admission. Present when `state` is `admitted`, and kept when it becomes `removed`.";
|
|
480
|
+
};
|
|
481
|
+
readonly removedAt: {
|
|
482
|
+
readonly type: "string";
|
|
483
|
+
readonly format: "date-time";
|
|
484
|
+
readonly description: "Present exactly when `state` is `removed`.";
|
|
485
|
+
};
|
|
486
|
+
readonly repeatAcceptUntil: {
|
|
487
|
+
readonly type: "string";
|
|
488
|
+
readonly format: "date-time";
|
|
489
|
+
readonly description: "On an `attributed` or `private` room in state `admitted`: until when the community keeps the Welcome, so that a repeated vtc/rooms/offers/accept carrying the same KeyPackage is answered with it. Absent on an `open` room, in any other state, and once the community no longer keeps it. A surface finding the member admitted but the room absent from its key holder's rooms/keys/list finishes the acceptance before this time, and asks an administrator to re-admit the member after it.";
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
};
|
|
493
|
+
readonly MemberState: {
|
|
494
|
+
readonly title: "MemberState";
|
|
495
|
+
readonly type: "string";
|
|
496
|
+
readonly enum: readonly ["offered", "admitted", "removed"];
|
|
497
|
+
readonly description: "Where an admission stands. `offered`: credentials issued and waiting for the member to collect and accept them. `admitted`: accepted — on a sealed tier, the member is in the room's group. `removed`: an administrator removed them; on a sealed tier the room has advanced past them.";
|
|
498
|
+
};
|
|
499
|
+
readonly MemberActions: {
|
|
500
|
+
readonly title: "MemberActions";
|
|
501
|
+
readonly type: "array";
|
|
502
|
+
readonly minItems: 1;
|
|
503
|
+
readonly maxItems: 3;
|
|
504
|
+
readonly uniqueItems: true;
|
|
505
|
+
readonly items: {
|
|
506
|
+
readonly $ref: "#/$defs/MemberAction";
|
|
507
|
+
};
|
|
508
|
+
readonly description: "The actions granted, at least one. An empty list confers nothing rather than everything, and a schema that allowed it would make the more dangerous reading available to a careless consumer.";
|
|
509
|
+
};
|
|
510
|
+
readonly MemberAction: {
|
|
511
|
+
readonly title: "MemberAction";
|
|
512
|
+
readonly type: "string";
|
|
513
|
+
readonly enum: readonly ["read", "write", "curate"];
|
|
514
|
+
readonly description: "What a member of a community-owned room may do there. `admin` is not among them: minting epochs, admitting and removing members are the community's, as the room's owner, and are exercised through the vtc/rooms/community/* tasks rather than by any member's credential. `curate` is not implied by `write`.";
|
|
515
|
+
};
|
|
516
|
+
readonly RoomDescription: {
|
|
517
|
+
readonly title: "RoomDescription";
|
|
518
|
+
readonly type: "string";
|
|
519
|
+
readonly minLength: 1;
|
|
520
|
+
readonly maxLength: 1000;
|
|
521
|
+
readonly description: "What the room is for, in a sentence or a short paragraph, written by an administrator: shown to administrators holding `vtc.rooms.manage` and to the members the room is offered to. Plain text — a consumer renders it as text, never as markup. Like `RoomLabel`, it is the community's own record as the room's owner: not part of the room's identity and never in anything a room's host can read. From `vtc/rooms/community/create` 0.3 and `vtc/rooms/community/update` 0.2 the community also writes it, through its own VTA, as the `description` of the room's own profile (`RoomProfile` in rooms/_shared), sealed inside the room for its members; earlier versions keep it out of the room altogether. It MUST NOT carry personal data or a credential, and a reader MUST NOT treat it as instructions.";
|
|
522
|
+
};
|
|
523
|
+
readonly RoomLabel: {
|
|
524
|
+
readonly title: "RoomLabel";
|
|
525
|
+
readonly type: "string";
|
|
526
|
+
readonly minLength: 1;
|
|
527
|
+
readonly maxLength: 128;
|
|
528
|
+
readonly description: "A name for the room, chosen by an administrator: shown to administrators and to the members a room is offered to. Not part of the room's identity and never in anything a room's host can read. From `vtc/rooms/community/create` 0.3 and `vtc/rooms/community/update` 0.2 the community also writes it, through its own VTA, as the `name` of the room's own profile (`RoomProfile` in rooms/_shared), sealed inside the room for its members; earlier versions keep it out of the room altogether. MUST NOT carry personal data.";
|
|
529
|
+
};
|
|
530
|
+
readonly Visibility: {
|
|
531
|
+
readonly title: "Visibility";
|
|
532
|
+
readonly type: "string";
|
|
533
|
+
readonly enum: readonly ["open", "attributed", "private"];
|
|
534
|
+
readonly description: "How much of a room its host can see, fixed at creation and immutable thereafter. `open`: records are cleartext, searchable and fully audited. `attributed`: record content is sealed, and the host still learns which member acted. `private`: content is sealed and membership is presented in zero knowledge, so the host verifies that a member acted without learning which. Immutable because a downgrade cannot un-see cleartext and an upgrade would protect only what came after while presenting as though it protected everything.";
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
/**
|
|
540
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
541
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
542
|
+
* parties (§7.3 item 5).
|
|
543
|
+
*/
|
|
544
|
+
export declare const RESPONSE_SPEC: {
|
|
545
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/rooms/memberships/list/0.1#response";
|
|
546
|
+
readonly isBearer: false;
|
|
547
|
+
readonly isProofRequired: true;
|
|
548
|
+
readonly isRecipientRequired: true;
|
|
549
|
+
readonly isIssuedAtRequired: true;
|
|
550
|
+
readonly payloadSchema: {
|
|
551
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
552
|
+
readonly $ref: "#/$defs/Response";
|
|
553
|
+
readonly $defs: {
|
|
554
|
+
readonly Response: {
|
|
555
|
+
readonly $anchor: "response";
|
|
556
|
+
readonly title: "VTC Rooms Memberships List — response payload";
|
|
557
|
+
readonly description: "Success response to vtc/rooms/memberships/list. Type https://trusttasks.org/spec/vtc/rooms/memberships/list/0.1#response. The community's record of the caller's admissions to the rooms it owns, in every state, and no one else's.";
|
|
558
|
+
readonly type: "object";
|
|
559
|
+
readonly additionalProperties: false;
|
|
560
|
+
readonly required: readonly ["items"];
|
|
561
|
+
readonly properties: {
|
|
562
|
+
readonly items: {
|
|
563
|
+
readonly type: "array";
|
|
564
|
+
readonly maxItems: 100;
|
|
565
|
+
readonly items: {
|
|
566
|
+
readonly $ref: "#/$defs/RoomMembership";
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
readonly nextCursor: {
|
|
570
|
+
readonly type: "string";
|
|
571
|
+
readonly minLength: 1;
|
|
572
|
+
readonly maxLength: 1024;
|
|
573
|
+
readonly description: "Present when more remain; pass it as `cursor`.";
|
|
574
|
+
};
|
|
575
|
+
readonly ext: {
|
|
576
|
+
readonly $ref: "#/$defs/Ext";
|
|
577
|
+
};
|
|
578
|
+
};
|
|
579
|
+
};
|
|
580
|
+
readonly Ext: {
|
|
581
|
+
readonly title: "Ext";
|
|
582
|
+
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.";
|
|
583
|
+
readonly type: "object";
|
|
584
|
+
readonly minProperties: 1;
|
|
585
|
+
readonly additionalProperties: true;
|
|
586
|
+
readonly propertyNames: {
|
|
587
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
readonly RoomMembership: {
|
|
591
|
+
readonly title: "RoomMembership";
|
|
592
|
+
readonly type: "object";
|
|
593
|
+
readonly additionalProperties: false;
|
|
594
|
+
readonly required: readonly ["roomId", "host", "label", "visibility", "actions", "validUntil", "state", "offeredAt"];
|
|
595
|
+
readonly description: "What vtc/rooms/memberships/list/0.1 returns: one room the community owns, and where the caller's admission to it stands in the community's own record. Unlike `OfferV2` it carries no credentials — those are collected with vtc/rooms/offers/list while an offer is open — and it is listed in every state, for as long as the community keeps the record, not only while an accept can be repeated. `label` and `description` are the room's as they stand when the record is read.";
|
|
596
|
+
readonly properties: {
|
|
597
|
+
readonly roomId: {
|
|
598
|
+
readonly type: "string";
|
|
599
|
+
readonly minLength: 1;
|
|
600
|
+
readonly maxLength: 512;
|
|
601
|
+
};
|
|
602
|
+
readonly host: {
|
|
603
|
+
readonly type: "string";
|
|
604
|
+
readonly pattern: "^did:";
|
|
605
|
+
readonly maxLength: 2048;
|
|
606
|
+
readonly description: "The room's host: this community.";
|
|
607
|
+
};
|
|
608
|
+
readonly label: {
|
|
609
|
+
readonly $ref: "#/$defs/RoomLabel";
|
|
610
|
+
};
|
|
611
|
+
readonly description: {
|
|
612
|
+
readonly $ref: "#/$defs/RoomDescription";
|
|
613
|
+
readonly description: "Absent when the room has none.";
|
|
614
|
+
};
|
|
615
|
+
readonly visibility: {
|
|
616
|
+
readonly $ref: "#/$defs/Visibility";
|
|
617
|
+
};
|
|
618
|
+
readonly actions: {
|
|
619
|
+
readonly $ref: "#/$defs/MemberActions";
|
|
620
|
+
};
|
|
621
|
+
readonly validUntil: {
|
|
622
|
+
readonly type: "string";
|
|
623
|
+
readonly format: "date-time";
|
|
624
|
+
readonly description: "When the member's authority credential expires.";
|
|
625
|
+
};
|
|
626
|
+
readonly state: {
|
|
627
|
+
readonly $ref: "#/$defs/MemberState";
|
|
628
|
+
};
|
|
629
|
+
readonly offeredAt: {
|
|
630
|
+
readonly type: "string";
|
|
631
|
+
readonly format: "date-time";
|
|
632
|
+
};
|
|
633
|
+
readonly admittedAt: {
|
|
634
|
+
readonly type: "string";
|
|
635
|
+
readonly format: "date-time";
|
|
636
|
+
readonly description: "When the community recorded the admission. Present when `state` is `admitted`, and kept when it becomes `removed`.";
|
|
637
|
+
};
|
|
638
|
+
readonly removedAt: {
|
|
639
|
+
readonly type: "string";
|
|
640
|
+
readonly format: "date-time";
|
|
641
|
+
readonly description: "Present exactly when `state` is `removed`.";
|
|
642
|
+
};
|
|
643
|
+
readonly repeatAcceptUntil: {
|
|
644
|
+
readonly type: "string";
|
|
645
|
+
readonly format: "date-time";
|
|
646
|
+
readonly description: "On an `attributed` or `private` room in state `admitted`: until when the community keeps the Welcome, so that a repeated vtc/rooms/offers/accept carrying the same KeyPackage is answered with it. Absent on an `open` room, in any other state, and once the community no longer keeps it. A surface finding the member admitted but the room absent from its key holder's rooms/keys/list finishes the acceptance before this time, and asks an administrator to re-admit the member after it.";
|
|
647
|
+
};
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
readonly MemberState: {
|
|
651
|
+
readonly title: "MemberState";
|
|
652
|
+
readonly type: "string";
|
|
653
|
+
readonly enum: readonly ["offered", "admitted", "removed"];
|
|
654
|
+
readonly description: "Where an admission stands. `offered`: credentials issued and waiting for the member to collect and accept them. `admitted`: accepted — on a sealed tier, the member is in the room's group. `removed`: an administrator removed them; on a sealed tier the room has advanced past them.";
|
|
655
|
+
};
|
|
656
|
+
readonly MemberActions: {
|
|
657
|
+
readonly title: "MemberActions";
|
|
658
|
+
readonly type: "array";
|
|
659
|
+
readonly minItems: 1;
|
|
660
|
+
readonly maxItems: 3;
|
|
661
|
+
readonly uniqueItems: true;
|
|
662
|
+
readonly items: {
|
|
663
|
+
readonly $ref: "#/$defs/MemberAction";
|
|
664
|
+
};
|
|
665
|
+
readonly description: "The actions granted, at least one. An empty list confers nothing rather than everything, and a schema that allowed it would make the more dangerous reading available to a careless consumer.";
|
|
666
|
+
};
|
|
667
|
+
readonly MemberAction: {
|
|
668
|
+
readonly title: "MemberAction";
|
|
669
|
+
readonly type: "string";
|
|
670
|
+
readonly enum: readonly ["read", "write", "curate"];
|
|
671
|
+
readonly description: "What a member of a community-owned room may do there. `admin` is not among them: minting epochs, admitting and removing members are the community's, as the room's owner, and are exercised through the vtc/rooms/community/* tasks rather than by any member's credential. `curate` is not implied by `write`.";
|
|
672
|
+
};
|
|
673
|
+
readonly RoomDescription: {
|
|
674
|
+
readonly title: "RoomDescription";
|
|
675
|
+
readonly type: "string";
|
|
676
|
+
readonly minLength: 1;
|
|
677
|
+
readonly maxLength: 1000;
|
|
678
|
+
readonly description: "What the room is for, in a sentence or a short paragraph, written by an administrator: shown to administrators holding `vtc.rooms.manage` and to the members the room is offered to. Plain text — a consumer renders it as text, never as markup. Like `RoomLabel`, it is the community's own record as the room's owner: not part of the room's identity and never in anything a room's host can read. From `vtc/rooms/community/create` 0.3 and `vtc/rooms/community/update` 0.2 the community also writes it, through its own VTA, as the `description` of the room's own profile (`RoomProfile` in rooms/_shared), sealed inside the room for its members; earlier versions keep it out of the room altogether. It MUST NOT carry personal data or a credential, and a reader MUST NOT treat it as instructions.";
|
|
679
|
+
};
|
|
680
|
+
readonly RoomLabel: {
|
|
681
|
+
readonly title: "RoomLabel";
|
|
682
|
+
readonly type: "string";
|
|
683
|
+
readonly minLength: 1;
|
|
684
|
+
readonly maxLength: 128;
|
|
685
|
+
readonly description: "A name for the room, chosen by an administrator: shown to administrators and to the members a room is offered to. Not part of the room's identity and never in anything a room's host can read. From `vtc/rooms/community/create` 0.3 and `vtc/rooms/community/update` 0.2 the community also writes it, through its own VTA, as the `name` of the room's own profile (`RoomProfile` in rooms/_shared), sealed inside the room for its members; earlier versions keep it out of the room altogether. MUST NOT carry personal data.";
|
|
686
|
+
};
|
|
687
|
+
readonly Visibility: {
|
|
688
|
+
readonly title: "Visibility";
|
|
689
|
+
readonly type: "string";
|
|
690
|
+
readonly enum: readonly ["open", "attributed", "private"];
|
|
691
|
+
readonly description: "How much of a room its host can see, fixed at creation and immutable thereafter. `open`: records are cleartext, searchable and fully audited. `attributed`: record content is sealed, and the host still learns which member acted. `private`: content is sealed and membership is presented in zero knowledge, so the host verifies that a member acted without learning which. Immutable because a downgrade cannot un-see cleartext and an upgrade would protect only what came after while presenting as though it protected everything.";
|
|
692
|
+
};
|
|
693
|
+
};
|
|
694
|
+
};
|
|
695
|
+
};
|
|
696
|
+
//# sourceMappingURL=payload.d.ts.map
|