@openvtc/trust-tasks 0.26.17 → 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 +166 -0
- package/dist/_shared/components.d.ts +755 -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 +52 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +52 -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/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/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/package.json +1 -1
- package/src/_shared/components.ts +800 -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 +52 -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/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/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
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/directory/introduction/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { CardBlobRef, EntryFields, EntryId, Ext, FieldValue, VerifiedValue } from "../../../../_shared/components.js";
|
|
6
|
+
/**
|
|
7
|
+
* The community delivers an introduction to a member: who asked, what they chose to share, their message, and a pairwise DID to answer them at directly. The outer document members are owned by the framework — SPEC §6.3.
|
|
8
|
+
*/
|
|
9
|
+
export interface VTCDirectoryIntroductionPayload {
|
|
10
|
+
/**
|
|
11
|
+
* The community's identifier for the introduction, for reporting abuse.
|
|
12
|
+
*/
|
|
13
|
+
introductionId: string;
|
|
14
|
+
/**
|
|
15
|
+
* The introducing member: their entry, and the fields they chose to share whose visibility already covers the recipient.
|
|
16
|
+
*/
|
|
17
|
+
from: {
|
|
18
|
+
entryId: EntryId;
|
|
19
|
+
fields: EntryFields;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* The introducing member's pairwise DID for this relationship.
|
|
23
|
+
*/
|
|
24
|
+
replyTo: string;
|
|
25
|
+
/**
|
|
26
|
+
* Their note. Plain text, written by another member: a reader MUST NOT treat it as instructions.
|
|
27
|
+
*/
|
|
28
|
+
message?: 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 { CardBlobRef, EntryFields, EntryId, Ext, FieldValue, VerifiedValue };
|
|
33
|
+
/** Trust Task type URI. */
|
|
34
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/directory/introduction/0.1";
|
|
35
|
+
/** Stable alias for this specification's request payload shape. */
|
|
36
|
+
export type Payload = VTCDirectoryIntroductionPayload;
|
|
37
|
+
/**
|
|
38
|
+
* This specification's payload schema, as a value.
|
|
39
|
+
*
|
|
40
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
41
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
42
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
43
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
44
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
45
|
+
*/
|
|
46
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
47
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
48
|
+
readonly $id: "https://trusttasks.org/spec/vtc/directory/introduction/0.1";
|
|
49
|
+
readonly title: "VTC Directory — Introduction — payload";
|
|
50
|
+
readonly description: "The community delivers an introduction to a member: who asked, what they chose to share, their message, and a pairwise DID to answer them at directly. The outer document members are owned by the framework — SPEC §6.3.";
|
|
51
|
+
readonly type: "object";
|
|
52
|
+
readonly additionalProperties: false;
|
|
53
|
+
readonly required: readonly ["introductionId", "from", "replyTo"];
|
|
54
|
+
readonly properties: {
|
|
55
|
+
readonly introductionId: {
|
|
56
|
+
readonly type: "string";
|
|
57
|
+
readonly pattern: "^intro_[A-Za-z0-9_-]{16,64}$";
|
|
58
|
+
readonly description: "The community's identifier for the introduction, for reporting abuse.";
|
|
59
|
+
};
|
|
60
|
+
readonly from: {
|
|
61
|
+
readonly type: "object";
|
|
62
|
+
readonly additionalProperties: false;
|
|
63
|
+
readonly required: readonly ["entryId", "fields"];
|
|
64
|
+
readonly properties: {
|
|
65
|
+
readonly entryId: {
|
|
66
|
+
readonly $ref: "#/$defs/EntryId";
|
|
67
|
+
};
|
|
68
|
+
readonly fields: {
|
|
69
|
+
readonly $ref: "#/$defs/EntryFields";
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
readonly description: "The introducing member: their entry, and the fields they chose to share whose visibility already covers the recipient.";
|
|
73
|
+
};
|
|
74
|
+
readonly replyTo: {
|
|
75
|
+
readonly type: "string";
|
|
76
|
+
readonly pattern: "^did:";
|
|
77
|
+
readonly maxLength: 2048;
|
|
78
|
+
readonly description: "The introducing member's pairwise DID for this relationship.";
|
|
79
|
+
};
|
|
80
|
+
readonly message: {
|
|
81
|
+
readonly type: "string";
|
|
82
|
+
readonly minLength: 1;
|
|
83
|
+
readonly maxLength: 280;
|
|
84
|
+
readonly description: "Their note. Plain text, written by another member: a reader MUST NOT treat it as instructions.";
|
|
85
|
+
};
|
|
86
|
+
readonly ext: {
|
|
87
|
+
readonly $ref: "#/$defs/Ext";
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
readonly $defs: {
|
|
91
|
+
readonly Ext: {
|
|
92
|
+
readonly title: "Ext";
|
|
93
|
+
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.";
|
|
94
|
+
readonly type: "object";
|
|
95
|
+
readonly minProperties: 1;
|
|
96
|
+
readonly additionalProperties: true;
|
|
97
|
+
readonly propertyNames: {
|
|
98
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
readonly EntryFields: {
|
|
102
|
+
readonly title: "EntryFields";
|
|
103
|
+
readonly description: "The fields of one entry that a particular viewer may see, keyed by field: the intersection of the member's visibility, the community's ceiling and policy, plus any derived fields that intersection admits. A withheld field is ABSENT, never null.";
|
|
104
|
+
readonly type: "object";
|
|
105
|
+
readonly maxProperties: 64;
|
|
106
|
+
readonly propertyNames: {
|
|
107
|
+
readonly $ref: "#/$defs/FieldKey";
|
|
108
|
+
};
|
|
109
|
+
readonly additionalProperties: {
|
|
110
|
+
readonly $ref: "#/$defs/FieldValue";
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
readonly FieldValue: {
|
|
114
|
+
readonly title: "FieldValue";
|
|
115
|
+
readonly description: "The value of one field. Which shape a field takes is fixed by its definition's `type`: text-like types (`text`, `longText`, `url`, `email`, `phone`, `enum`, `date` as YYYY-MM-DD, `country` as ISO 3166-1 alpha-2, `did`) are strings; `multiEnum` and the base field `links` are arrays of strings; `image` and the base field `avatar` are a `CardBlobRef`; `claim` is a `VerifiedValue`; the derived base field `personhood` is a boolean.";
|
|
116
|
+
readonly anyOf: readonly [{
|
|
117
|
+
readonly type: "string";
|
|
118
|
+
readonly maxLength: 2000;
|
|
119
|
+
}, {
|
|
120
|
+
readonly type: "boolean";
|
|
121
|
+
}, {
|
|
122
|
+
readonly type: "array";
|
|
123
|
+
readonly maxItems: 32;
|
|
124
|
+
readonly items: {
|
|
125
|
+
readonly type: "string";
|
|
126
|
+
readonly maxLength: 500;
|
|
127
|
+
};
|
|
128
|
+
}, {
|
|
129
|
+
readonly $ref: "#/$defs/CardBlobRef";
|
|
130
|
+
}, {
|
|
131
|
+
readonly $ref: "#/$defs/VerifiedValue";
|
|
132
|
+
}];
|
|
133
|
+
};
|
|
134
|
+
readonly VerifiedValue: {
|
|
135
|
+
readonly title: "VerifiedValue";
|
|
136
|
+
readonly description: "The value of a `credential`-sourced field: a claim the member disclosed from a credential they presented, with the issuer that attests it. A verified value always names its issuer, and a self-asserted value is never shaped as one. The community keeps only the disclosed claim and these facts about it — never the presentation.";
|
|
137
|
+
readonly type: "object";
|
|
138
|
+
readonly additionalProperties: false;
|
|
139
|
+
readonly required: readonly ["value", "issuer", "verifiedAt"];
|
|
140
|
+
readonly properties: {
|
|
141
|
+
readonly value: {
|
|
142
|
+
readonly anyOf: readonly [{
|
|
143
|
+
readonly type: "string";
|
|
144
|
+
readonly maxLength: 2000;
|
|
145
|
+
}, {
|
|
146
|
+
readonly type: "boolean";
|
|
147
|
+
}, {
|
|
148
|
+
readonly type: "number";
|
|
149
|
+
}];
|
|
150
|
+
readonly description: "The disclosed claim value.";
|
|
151
|
+
};
|
|
152
|
+
readonly issuer: {
|
|
153
|
+
readonly type: "string";
|
|
154
|
+
readonly pattern: "^did:";
|
|
155
|
+
readonly maxLength: 2048;
|
|
156
|
+
readonly description: "DID of the credential's issuer, shown as the field's verification badge.";
|
|
157
|
+
};
|
|
158
|
+
readonly credentialType: {
|
|
159
|
+
readonly type: "string";
|
|
160
|
+
readonly minLength: 1;
|
|
161
|
+
readonly maxLength: 128;
|
|
162
|
+
readonly description: "The most specific `type` of the credential the claim came from.";
|
|
163
|
+
};
|
|
164
|
+
readonly verifiedAt: {
|
|
165
|
+
readonly type: "string";
|
|
166
|
+
readonly format: "date-time";
|
|
167
|
+
readonly description: "When the community verified the presentation.";
|
|
168
|
+
};
|
|
169
|
+
readonly validUntil: {
|
|
170
|
+
readonly type: "string";
|
|
171
|
+
readonly format: "date-time";
|
|
172
|
+
readonly description: "When the credential expires, where it does. The community withdraws the value once it passes.";
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
readonly CardBlobRef: {
|
|
177
|
+
readonly title: "CardBlobRef";
|
|
178
|
+
readonly description: "A content-addressed image held in the community's blob store — an avatar or an `image` field. At most 256 KiB, images only, re-encoded by the community on upload (metadata stripped, dimensions capped) so its digest does not link the member across communities. `url` and `urlExpiresAt` appear only in a projection: a short-lived URL the community checks against the same projection, so a member-only image is never a public URL.";
|
|
179
|
+
readonly type: "object";
|
|
180
|
+
readonly additionalProperties: false;
|
|
181
|
+
readonly required: readonly ["sha256", "mediaType"];
|
|
182
|
+
readonly properties: {
|
|
183
|
+
readonly sha256: {
|
|
184
|
+
readonly type: "string";
|
|
185
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
186
|
+
readonly description: "Lowercase hex SHA-256 of the stored, re-encoded bytes.";
|
|
187
|
+
};
|
|
188
|
+
readonly mediaType: {
|
|
189
|
+
readonly type: "string";
|
|
190
|
+
readonly enum: readonly ["image/png", "image/jpeg", "image/webp", "image/avif"];
|
|
191
|
+
readonly description: "Media type of the stored bytes.";
|
|
192
|
+
};
|
|
193
|
+
readonly size: {
|
|
194
|
+
readonly type: "integer";
|
|
195
|
+
readonly minimum: 1;
|
|
196
|
+
readonly maximum: 262144;
|
|
197
|
+
readonly description: "Size in bytes of the stored bytes.";
|
|
198
|
+
};
|
|
199
|
+
readonly url: {
|
|
200
|
+
readonly type: "string";
|
|
201
|
+
readonly format: "uri";
|
|
202
|
+
readonly maxLength: 2048;
|
|
203
|
+
readonly description: "Projection only: a URL the viewer can fetch the image from until `urlExpiresAt`.";
|
|
204
|
+
};
|
|
205
|
+
readonly urlExpiresAt: {
|
|
206
|
+
readonly type: "string";
|
|
207
|
+
readonly format: "date-time";
|
|
208
|
+
readonly description: "Projection only: when `url` stops working.";
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
readonly FieldKey: {
|
|
213
|
+
readonly title: "FieldKey";
|
|
214
|
+
readonly description: "Identifier of a directory field. A key with no `.` is a BASE field, the same in every community: `displayName`, `nickname`, `avatar`, `pronouns`, `bio`, `links` (written by the member) and `role`, `joinedAt`, `did`, `personhood` (derived from the community's own records, never stored on a card). A community-defined field MUST use a reverse-DNS key (`org.example.employer`), so a base key never collides with one, and a key is never reused with a different meaning once defined.";
|
|
215
|
+
readonly type: "string";
|
|
216
|
+
readonly minLength: 1;
|
|
217
|
+
readonly maxLength: 128;
|
|
218
|
+
readonly pattern: "^([a-z][a-z0-9-]*\\.)*[a-z][a-zA-Z0-9]{0,63}$";
|
|
219
|
+
};
|
|
220
|
+
readonly EntryId: {
|
|
221
|
+
readonly title: "EntryId";
|
|
222
|
+
readonly description: "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.";
|
|
223
|
+
readonly type: "string";
|
|
224
|
+
readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
230
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
231
|
+
* per-specification and cannot be derived from the document alone, and
|
|
232
|
+
* item 2 needs the schema this carries.
|
|
233
|
+
*/
|
|
234
|
+
export declare const SPEC: {
|
|
235
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/directory/introduction/0.1";
|
|
236
|
+
readonly isBearer: false;
|
|
237
|
+
readonly isProofRequired: false;
|
|
238
|
+
readonly isRecipientRequired: true;
|
|
239
|
+
readonly isIssuedAtRequired: false;
|
|
240
|
+
readonly payloadSchema: {
|
|
241
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
242
|
+
readonly $id: "https://trusttasks.org/spec/vtc/directory/introduction/0.1";
|
|
243
|
+
readonly title: "VTC Directory — Introduction — payload";
|
|
244
|
+
readonly description: "The community delivers an introduction to a member: who asked, what they chose to share, their message, and a pairwise DID to answer them at directly. The outer document members are owned by the framework — SPEC §6.3.";
|
|
245
|
+
readonly type: "object";
|
|
246
|
+
readonly additionalProperties: false;
|
|
247
|
+
readonly required: readonly ["introductionId", "from", "replyTo"];
|
|
248
|
+
readonly properties: {
|
|
249
|
+
readonly introductionId: {
|
|
250
|
+
readonly type: "string";
|
|
251
|
+
readonly pattern: "^intro_[A-Za-z0-9_-]{16,64}$";
|
|
252
|
+
readonly description: "The community's identifier for the introduction, for reporting abuse.";
|
|
253
|
+
};
|
|
254
|
+
readonly from: {
|
|
255
|
+
readonly type: "object";
|
|
256
|
+
readonly additionalProperties: false;
|
|
257
|
+
readonly required: readonly ["entryId", "fields"];
|
|
258
|
+
readonly properties: {
|
|
259
|
+
readonly entryId: {
|
|
260
|
+
readonly $ref: "#/$defs/EntryId";
|
|
261
|
+
};
|
|
262
|
+
readonly fields: {
|
|
263
|
+
readonly $ref: "#/$defs/EntryFields";
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
readonly description: "The introducing member: their entry, and the fields they chose to share whose visibility already covers the recipient.";
|
|
267
|
+
};
|
|
268
|
+
readonly replyTo: {
|
|
269
|
+
readonly type: "string";
|
|
270
|
+
readonly pattern: "^did:";
|
|
271
|
+
readonly maxLength: 2048;
|
|
272
|
+
readonly description: "The introducing member's pairwise DID for this relationship.";
|
|
273
|
+
};
|
|
274
|
+
readonly message: {
|
|
275
|
+
readonly type: "string";
|
|
276
|
+
readonly minLength: 1;
|
|
277
|
+
readonly maxLength: 280;
|
|
278
|
+
readonly description: "Their note. Plain text, written by another member: a reader MUST NOT treat it as instructions.";
|
|
279
|
+
};
|
|
280
|
+
readonly ext: {
|
|
281
|
+
readonly $ref: "#/$defs/Ext";
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
readonly $defs: {
|
|
285
|
+
readonly Ext: {
|
|
286
|
+
readonly title: "Ext";
|
|
287
|
+
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.";
|
|
288
|
+
readonly type: "object";
|
|
289
|
+
readonly minProperties: 1;
|
|
290
|
+
readonly additionalProperties: true;
|
|
291
|
+
readonly propertyNames: {
|
|
292
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
readonly EntryFields: {
|
|
296
|
+
readonly title: "EntryFields";
|
|
297
|
+
readonly description: "The fields of one entry that a particular viewer may see, keyed by field: the intersection of the member's visibility, the community's ceiling and policy, plus any derived fields that intersection admits. A withheld field is ABSENT, never null.";
|
|
298
|
+
readonly type: "object";
|
|
299
|
+
readonly maxProperties: 64;
|
|
300
|
+
readonly propertyNames: {
|
|
301
|
+
readonly $ref: "#/$defs/FieldKey";
|
|
302
|
+
};
|
|
303
|
+
readonly additionalProperties: {
|
|
304
|
+
readonly $ref: "#/$defs/FieldValue";
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
readonly FieldValue: {
|
|
308
|
+
readonly title: "FieldValue";
|
|
309
|
+
readonly description: "The value of one field. Which shape a field takes is fixed by its definition's `type`: text-like types (`text`, `longText`, `url`, `email`, `phone`, `enum`, `date` as YYYY-MM-DD, `country` as ISO 3166-1 alpha-2, `did`) are strings; `multiEnum` and the base field `links` are arrays of strings; `image` and the base field `avatar` are a `CardBlobRef`; `claim` is a `VerifiedValue`; the derived base field `personhood` is a boolean.";
|
|
310
|
+
readonly anyOf: readonly [{
|
|
311
|
+
readonly type: "string";
|
|
312
|
+
readonly maxLength: 2000;
|
|
313
|
+
}, {
|
|
314
|
+
readonly type: "boolean";
|
|
315
|
+
}, {
|
|
316
|
+
readonly type: "array";
|
|
317
|
+
readonly maxItems: 32;
|
|
318
|
+
readonly items: {
|
|
319
|
+
readonly type: "string";
|
|
320
|
+
readonly maxLength: 500;
|
|
321
|
+
};
|
|
322
|
+
}, {
|
|
323
|
+
readonly $ref: "#/$defs/CardBlobRef";
|
|
324
|
+
}, {
|
|
325
|
+
readonly $ref: "#/$defs/VerifiedValue";
|
|
326
|
+
}];
|
|
327
|
+
};
|
|
328
|
+
readonly VerifiedValue: {
|
|
329
|
+
readonly title: "VerifiedValue";
|
|
330
|
+
readonly description: "The value of a `credential`-sourced field: a claim the member disclosed from a credential they presented, with the issuer that attests it. A verified value always names its issuer, and a self-asserted value is never shaped as one. The community keeps only the disclosed claim and these facts about it — never the presentation.";
|
|
331
|
+
readonly type: "object";
|
|
332
|
+
readonly additionalProperties: false;
|
|
333
|
+
readonly required: readonly ["value", "issuer", "verifiedAt"];
|
|
334
|
+
readonly properties: {
|
|
335
|
+
readonly value: {
|
|
336
|
+
readonly anyOf: readonly [{
|
|
337
|
+
readonly type: "string";
|
|
338
|
+
readonly maxLength: 2000;
|
|
339
|
+
}, {
|
|
340
|
+
readonly type: "boolean";
|
|
341
|
+
}, {
|
|
342
|
+
readonly type: "number";
|
|
343
|
+
}];
|
|
344
|
+
readonly description: "The disclosed claim value.";
|
|
345
|
+
};
|
|
346
|
+
readonly issuer: {
|
|
347
|
+
readonly type: "string";
|
|
348
|
+
readonly pattern: "^did:";
|
|
349
|
+
readonly maxLength: 2048;
|
|
350
|
+
readonly description: "DID of the credential's issuer, shown as the field's verification badge.";
|
|
351
|
+
};
|
|
352
|
+
readonly credentialType: {
|
|
353
|
+
readonly type: "string";
|
|
354
|
+
readonly minLength: 1;
|
|
355
|
+
readonly maxLength: 128;
|
|
356
|
+
readonly description: "The most specific `type` of the credential the claim came from.";
|
|
357
|
+
};
|
|
358
|
+
readonly verifiedAt: {
|
|
359
|
+
readonly type: "string";
|
|
360
|
+
readonly format: "date-time";
|
|
361
|
+
readonly description: "When the community verified the presentation.";
|
|
362
|
+
};
|
|
363
|
+
readonly validUntil: {
|
|
364
|
+
readonly type: "string";
|
|
365
|
+
readonly format: "date-time";
|
|
366
|
+
readonly description: "When the credential expires, where it does. The community withdraws the value once it passes.";
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
readonly CardBlobRef: {
|
|
371
|
+
readonly title: "CardBlobRef";
|
|
372
|
+
readonly description: "A content-addressed image held in the community's blob store — an avatar or an `image` field. At most 256 KiB, images only, re-encoded by the community on upload (metadata stripped, dimensions capped) so its digest does not link the member across communities. `url` and `urlExpiresAt` appear only in a projection: a short-lived URL the community checks against the same projection, so a member-only image is never a public URL.";
|
|
373
|
+
readonly type: "object";
|
|
374
|
+
readonly additionalProperties: false;
|
|
375
|
+
readonly required: readonly ["sha256", "mediaType"];
|
|
376
|
+
readonly properties: {
|
|
377
|
+
readonly sha256: {
|
|
378
|
+
readonly type: "string";
|
|
379
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
380
|
+
readonly description: "Lowercase hex SHA-256 of the stored, re-encoded bytes.";
|
|
381
|
+
};
|
|
382
|
+
readonly mediaType: {
|
|
383
|
+
readonly type: "string";
|
|
384
|
+
readonly enum: readonly ["image/png", "image/jpeg", "image/webp", "image/avif"];
|
|
385
|
+
readonly description: "Media type of the stored bytes.";
|
|
386
|
+
};
|
|
387
|
+
readonly size: {
|
|
388
|
+
readonly type: "integer";
|
|
389
|
+
readonly minimum: 1;
|
|
390
|
+
readonly maximum: 262144;
|
|
391
|
+
readonly description: "Size in bytes of the stored bytes.";
|
|
392
|
+
};
|
|
393
|
+
readonly url: {
|
|
394
|
+
readonly type: "string";
|
|
395
|
+
readonly format: "uri";
|
|
396
|
+
readonly maxLength: 2048;
|
|
397
|
+
readonly description: "Projection only: a URL the viewer can fetch the image from until `urlExpiresAt`.";
|
|
398
|
+
};
|
|
399
|
+
readonly urlExpiresAt: {
|
|
400
|
+
readonly type: "string";
|
|
401
|
+
readonly format: "date-time";
|
|
402
|
+
readonly description: "Projection only: when `url` stops working.";
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
};
|
|
406
|
+
readonly FieldKey: {
|
|
407
|
+
readonly title: "FieldKey";
|
|
408
|
+
readonly description: "Identifier of a directory field. A key with no `.` is a BASE field, the same in every community: `displayName`, `nickname`, `avatar`, `pronouns`, `bio`, `links` (written by the member) and `role`, `joinedAt`, `did`, `personhood` (derived from the community's own records, never stored on a card). A community-defined field MUST use a reverse-DNS key (`org.example.employer`), so a base key never collides with one, and a key is never reused with a different meaning once defined.";
|
|
409
|
+
readonly type: "string";
|
|
410
|
+
readonly minLength: 1;
|
|
411
|
+
readonly maxLength: 128;
|
|
412
|
+
readonly pattern: "^([a-z][a-z0-9-]*\\.)*[a-z][a-zA-Z0-9]{0,63}$";
|
|
413
|
+
};
|
|
414
|
+
readonly EntryId: {
|
|
415
|
+
readonly title: "EntryId";
|
|
416
|
+
readonly description: "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.";
|
|
417
|
+
readonly type: "string";
|
|
418
|
+
readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
|
|
419
|
+
};
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/directory/introduction/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAG3H;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,IAAI,EAAE;QACJ,OAAO,EAAE,OAAO,CAAC;QACjB,MAAM,EAAE,WAAW,CAAC;KACrB,CAAC;IACF;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC;AAElF,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,4DAAqE,CAAC;AAE9F,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,+BAA+B,CAAC;AAEtD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkNjB,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC"}
|