@openvtc/trust-tasks 0.26.14 → 0.26.16
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 +183 -0
- package/dist/_shared/components.d.ts +392 -1
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/index.d.ts +20 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -1
- package/dist/rooms/_shared/0.1/personal-label.d.ts +16 -0
- package/dist/rooms/_shared/0.1/personal-label.d.ts.map +1 -0
- package/dist/rooms/_shared/0.1/personal-label.js +6 -0
- package/dist/rooms/_shared/0.1/personal-label.js.map +1 -0
- package/dist/rooms/_shared/0.1/room.d.ts +1 -1
- package/dist/rooms/_shared/0.1/room.d.ts.map +1 -1
- package/dist/rooms/blobs/get/0.1/payload.d.ts +4 -4
- package/dist/rooms/blobs/get/0.1/payload.js +2 -2
- package/dist/rooms/blobs/get/0.1/payload.js.map +1 -1
- package/dist/rooms/blobs/get/0.2/payload.d.ts +4 -4
- package/dist/rooms/blobs/get/0.2/payload.js +2 -2
- package/dist/rooms/blobs/get/0.2/payload.js.map +1 -1
- package/dist/rooms/blobs/upload/begin/0.1/payload.d.ts +4 -4
- package/dist/rooms/blobs/upload/begin/0.1/payload.js +2 -2
- package/dist/rooms/blobs/upload/begin/0.1/payload.js.map +1 -1
- package/dist/rooms/blobs/upload/begin/0.2/payload.d.ts +4 -4
- package/dist/rooms/blobs/upload/begin/0.2/payload.js +2 -2
- package/dist/rooms/blobs/upload/begin/0.2/payload.js.map +1 -1
- package/dist/rooms/epoch/chain/0.1/payload.d.ts +4 -4
- package/dist/rooms/epoch/chain/0.1/payload.js +2 -2
- package/dist/rooms/epoch/chain/0.1/payload.js.map +1 -1
- package/dist/rooms/epoch/commits/0.1/payload.d.ts +4 -4
- package/dist/rooms/epoch/commits/0.1/payload.js +2 -2
- package/dist/rooms/epoch/commits/0.1/payload.js.map +1 -1
- package/dist/rooms/epoch/mint/0.1/payload.d.ts +4 -4
- package/dist/rooms/epoch/mint/0.1/payload.js +2 -2
- package/dist/rooms/epoch/mint/0.1/payload.js.map +1 -1
- package/dist/rooms/epoch/prune/0.1/payload.d.ts +4 -4
- package/dist/rooms/epoch/prune/0.1/payload.js +2 -2
- package/dist/rooms/epoch/prune/0.1/payload.js.map +1 -1
- package/dist/rooms/info/0.1/payload.d.ts +4 -4
- package/dist/rooms/info/0.1/payload.js +2 -2
- package/dist/rooms/info/0.1/payload.js.map +1 -1
- package/dist/rooms/keys/act/0.4/payload.d.ts +546 -0
- package/dist/rooms/keys/act/0.4/payload.d.ts.map +1 -0
- package/dist/rooms/keys/act/0.4/payload.js +305 -0
- package/dist/rooms/keys/act/0.4/payload.js.map +1 -0
- package/dist/rooms/keys/label/0.1/payload.d.ts +757 -0
- package/dist/rooms/keys/label/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/keys/label/0.1/payload.js +388 -0
- package/dist/rooms/keys/label/0.1/payload.js.map +1 -0
- package/dist/rooms/keys/list/0.2/payload.d.ts +667 -0
- package/dist/rooms/keys/list/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/keys/list/0.2/payload.js +350 -0
- package/dist/rooms/keys/list/0.2/payload.js.map +1 -0
- package/dist/rooms/keys/present/0.2/payload.d.ts +4 -4
- package/dist/rooms/keys/present/0.2/payload.js +2 -2
- package/dist/rooms/keys/present/0.2/payload.js.map +1 -1
- package/dist/rooms/keys/profile/read/0.1/payload.d.ts +1652 -0
- package/dist/rooms/keys/profile/read/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/keys/profile/read/0.1/payload.js +649 -0
- package/dist/rooms/keys/profile/read/0.1/payload.js.map +1 -0
- package/dist/rooms/keys/profile/write/0.1/payload.d.ts +583 -0
- package/dist/rooms/keys/profile/write/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/keys/profile/write/0.1/payload.js +319 -0
- package/dist/rooms/keys/profile/write/0.1/payload.js.map +1 -0
- package/dist/rooms/owner/claim/0.1/payload.d.ts +4 -4
- package/dist/rooms/owner/claim/0.1/payload.js +2 -2
- package/dist/rooms/owner/claim/0.1/payload.js.map +1 -1
- package/dist/rooms/owner/group/remove/0.2/payload.d.ts +600 -0
- package/dist/rooms/owner/group/remove/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/owner/group/remove/0.2/payload.js +310 -0
- package/dist/rooms/owner/group/remove/0.2/payload.js.map +1 -0
- package/dist/rooms/owner/revoke/0.1/payload.d.ts +1481 -0
- package/dist/rooms/owner/revoke/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/owner/revoke/0.1/payload.js +811 -0
- package/dist/rooms/owner/revoke/0.1/payload.js.map +1 -0
- package/dist/rooms/owner/transfer/0.1/payload.d.ts +4 -4
- package/dist/rooms/owner/transfer/0.1/payload.js +2 -2
- package/dist/rooms/owner/transfer/0.1/payload.js.map +1 -1
- package/dist/rooms/records/curate/0.1/payload.d.ts +4 -4
- package/dist/rooms/records/curate/0.1/payload.js +2 -2
- package/dist/rooms/records/curate/0.1/payload.js.map +1 -1
- package/dist/rooms/records/get/0.1/payload.d.ts +4 -4
- package/dist/rooms/records/get/0.1/payload.js +2 -2
- package/dist/rooms/records/get/0.1/payload.js.map +1 -1
- package/dist/rooms/records/get/0.2/payload.d.ts +4 -4
- package/dist/rooms/records/get/0.2/payload.js +2 -2
- package/dist/rooms/records/get/0.2/payload.js.map +1 -1
- package/dist/rooms/records/list/0.1/payload.d.ts +4 -4
- package/dist/rooms/records/list/0.1/payload.js +2 -2
- package/dist/rooms/records/list/0.1/payload.js.map +1 -1
- package/dist/rooms/records/list/0.2/payload.d.ts +4 -4
- package/dist/rooms/records/list/0.2/payload.js +2 -2
- package/dist/rooms/records/list/0.2/payload.js.map +1 -1
- package/dist/rooms/records/put/0.1/payload.d.ts +4 -4
- package/dist/rooms/records/put/0.1/payload.js +2 -2
- package/dist/rooms/records/put/0.1/payload.js.map +1 -1
- package/dist/rooms/records/put/0.2/payload.d.ts +4 -4
- package/dist/rooms/records/put/0.2/payload.js +2 -2
- package/dist/rooms/records/put/0.2/payload.js.map +1 -1
- package/dist/rooms/revocations/get/0.1/payload.d.ts +905 -0
- package/dist/rooms/revocations/get/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/revocations/get/0.1/payload.js +512 -0
- package/dist/rooms/revocations/get/0.1/payload.js.map +1 -0
- package/dist/rooms/revocations/put/0.1/payload.d.ts +1021 -0
- package/dist/rooms/revocations/put/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/revocations/put/0.1/payload.js +583 -0
- package/dist/rooms/revocations/put/0.1/payload.js.map +1 -0
- package/dist/rooms/usage/0.1/payload.d.ts +4 -4
- package/dist/rooms/usage/0.1/payload.js +2 -2
- package/dist/rooms/usage/0.1/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/community/theme/show/0.1/payload.d.ts +238 -0
- package/dist/vtc/community/theme/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/community/theme/show/0.1/payload.js +135 -0
- package/dist/vtc/community/theme/show/0.1/payload.js.map +1 -0
- package/dist/vtc/community/theme/update/0.1/payload.d.ts +286 -0
- package/dist/vtc/community/theme/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/community/theme/update/0.1/payload.js +157 -0
- package/dist/vtc/community/theme/update/0.1/payload.js.map +1 -0
- package/dist/vtc/rooms/community/create/0.1/payload.d.ts +4 -4
- package/dist/vtc/rooms/community/create/0.1/payload.js +2 -2
- package/dist/vtc/rooms/community/create/0.1/payload.js.map +1 -1
- package/dist/vtc/rooms/community/create/0.2/payload.d.ts +989 -0
- package/dist/vtc/rooms/community/create/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/create/0.2/payload.js +559 -0
- package/dist/vtc/rooms/community/create/0.2/payload.js.map +1 -0
- package/dist/vtc/rooms/community/create/0.3/payload.d.ts +1013 -0
- package/dist/vtc/rooms/community/create/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/create/0.3/payload.js +577 -0
- package/dist/vtc/rooms/community/create/0.3/payload.js.map +1 -0
- package/dist/vtc/rooms/community/get/0.1/payload.d.ts +4 -4
- package/dist/vtc/rooms/community/get/0.1/payload.js +2 -2
- package/dist/vtc/rooms/community/get/0.1/payload.js.map +1 -1
- package/dist/vtc/rooms/community/get/0.2/payload.d.ts +887 -0
- package/dist/vtc/rooms/community/get/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/get/0.2/payload.js +517 -0
- package/dist/vtc/rooms/community/get/0.2/payload.js.map +1 -0
- package/dist/vtc/rooms/community/list/0.1/payload.d.ts +4 -4
- package/dist/vtc/rooms/community/list/0.1/payload.js +2 -2
- package/dist/vtc/rooms/community/list/0.1/payload.js.map +1 -1
- package/dist/vtc/rooms/community/list/0.2/payload.d.ts +960 -0
- package/dist/vtc/rooms/community/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/list/0.2/payload.js +544 -0
- package/dist/vtc/rooms/community/list/0.2/payload.js.map +1 -0
- package/dist/vtc/rooms/community/members/remove/0.2/payload.d.ts +681 -0
- package/dist/vtc/rooms/community/members/remove/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/members/remove/0.2/payload.js +393 -0
- package/dist/vtc/rooms/community/members/remove/0.2/payload.js.map +1 -0
- package/dist/vtc/rooms/community/update/0.1/payload.d.ts +1013 -0
- package/dist/vtc/rooms/community/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/update/0.1/payload.js +573 -0
- package/dist/vtc/rooms/community/update/0.1/payload.js.map +1 -0
- package/dist/vtc/rooms/community/update/0.2/payload.d.ts +1037 -0
- package/dist/vtc/rooms/community/update/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/update/0.2/payload.js +593 -0
- package/dist/vtc/rooms/community/update/0.2/payload.js.map +1 -0
- package/dist/vtc/rooms/offers/list/0.1/payload.d.ts +4 -4
- package/dist/vtc/rooms/offers/list/0.1/payload.js +2 -2
- package/dist/vtc/rooms/offers/list/0.1/payload.js.map +1 -1
- package/dist/vtc/rooms/offers/list/0.2/payload.d.ts +736 -0
- package/dist/vtc/rooms/offers/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/offers/list/0.2/payload.js +430 -0
- package/dist/vtc/rooms/offers/list/0.2/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +426 -1
- package/src/index.ts +20 -0
- package/src/rooms/_shared/0.1/personal-label.ts +17 -0
- package/src/rooms/_shared/0.1/room.ts +1 -1
- package/src/rooms/blobs/get/0.1/payload.ts +2 -2
- package/src/rooms/blobs/get/0.2/payload.ts +2 -2
- package/src/rooms/blobs/upload/begin/0.1/payload.ts +2 -2
- package/src/rooms/blobs/upload/begin/0.2/payload.ts +2 -2
- package/src/rooms/epoch/chain/0.1/payload.ts +2 -2
- package/src/rooms/epoch/commits/0.1/payload.ts +2 -2
- package/src/rooms/epoch/mint/0.1/payload.ts +2 -2
- package/src/rooms/epoch/prune/0.1/payload.ts +2 -2
- package/src/rooms/info/0.1/payload.ts +2 -2
- package/src/rooms/keys/act/0.4/payload.ts +380 -0
- package/src/rooms/keys/label/0.1/payload.ts +474 -0
- package/src/rooms/keys/list/0.2/payload.ts +412 -0
- package/src/rooms/keys/present/0.2/payload.ts +2 -2
- package/src/rooms/keys/profile/read/0.1/payload.ts +1617 -0
- package/src/rooms/keys/profile/write/0.1/payload.ts +388 -0
- package/src/rooms/owner/claim/0.1/payload.ts +2 -2
- package/src/rooms/owner/group/remove/0.2/payload.ts +415 -0
- package/src/rooms/owner/revoke/0.1/payload.ts +954 -0
- package/src/rooms/owner/transfer/0.1/payload.ts +2 -2
- package/src/rooms/records/curate/0.1/payload.ts +2 -2
- package/src/rooms/records/get/0.1/payload.ts +2 -2
- package/src/rooms/records/get/0.2/payload.ts +2 -2
- package/src/rooms/records/list/0.1/payload.ts +2 -2
- package/src/rooms/records/list/0.2/payload.ts +2 -2
- package/src/rooms/records/put/0.1/payload.ts +2 -2
- package/src/rooms/records/put/0.2/payload.ts +2 -2
- package/src/rooms/revocations/get/0.1/payload.ts +562 -0
- package/src/rooms/revocations/put/0.1/payload.ts +637 -0
- package/src/rooms/usage/0.1/payload.ts +2 -2
- package/src/vtc/_shared/0.1/community-room.ts +1 -1
- package/src/vtc/community/theme/show/0.1/payload.ts +170 -0
- package/src/vtc/community/theme/update/0.1/payload.ts +204 -0
- package/src/vtc/rooms/community/create/0.1/payload.ts +2 -2
- package/src/vtc/rooms/community/create/0.2/payload.ts +613 -0
- package/src/vtc/rooms/community/create/0.3/payload.ts +635 -0
- package/src/vtc/rooms/community/get/0.1/payload.ts +2 -2
- package/src/vtc/rooms/community/get/0.2/payload.ts +549 -0
- package/src/vtc/rooms/community/list/0.1/payload.ts +2 -2
- package/src/vtc/rooms/community/list/0.2/payload.ts +591 -0
- package/src/vtc/rooms/community/members/remove/0.2/payload.ts +439 -0
- package/src/vtc/rooms/community/update/0.1/payload.ts +629 -0
- package/src/vtc/rooms/community/update/0.2/payload.ts +653 -0
- package/src/vtc/rooms/offers/list/0.1/payload.ts +2 -2
- package/src/vtc/rooms/offers/list/0.2/payload.ts +473 -0
|
@@ -859,6 +859,170 @@ export type OobKey = string;
|
|
|
859
859
|
* A web origin (`https://host[:port]`, no path, no trailing slash) — for `login`, the origin of the portal where the starter runs, which is the origin of the `serviceEndpoint` of the service's `SignInPortal` service in its DID document.
|
|
860
860
|
*/
|
|
861
861
|
export type Origin = string;
|
|
862
|
+
/**
|
|
863
|
+
* What the room is to the member, in a sentence or a short paragraph. Line breaks and tabs are allowed; other control characters are not.
|
|
864
|
+
*/
|
|
865
|
+
export type PersonalLabelDescription = string;
|
|
866
|
+
/**
|
|
867
|
+
* The member's own name for the room, on one line: no control characters, line breaks included. Shown before every name a third party gave the room, because it is the only one nobody else wrote.
|
|
868
|
+
*/
|
|
869
|
+
export type PersonalLabelName = string;
|
|
870
|
+
/**
|
|
871
|
+
* Longer free-form notes the member keeps about the room: who introduced them, what to look for in it, what they agreed there. Line breaks and tabs are allowed; other control characters are not.
|
|
872
|
+
*/
|
|
873
|
+
export type PersonalLabelNotes = string;
|
|
874
|
+
/**
|
|
875
|
+
* A word or short phrase the member files the room under, in any script, so their own surfaces can group and filter their rooms. Compared exactly, as a string: a key holder does not case-fold or normalise it.
|
|
876
|
+
*/
|
|
877
|
+
export type PersonalLabelTag = string;
|
|
878
|
+
/**
|
|
879
|
+
* The member's tags for the room, one to sixteen, as a set: order carries no meaning. A room with no tags has no `tags` member, never an empty list, so there is one way to say "none".
|
|
880
|
+
*
|
|
881
|
+
* @minItems 1
|
|
882
|
+
* @maxItems 16
|
|
883
|
+
*/
|
|
884
|
+
export type PersonalLabelTags =
|
|
885
|
+
| [PersonalLabelTag]
|
|
886
|
+
| [PersonalLabelTag, PersonalLabelTag]
|
|
887
|
+
| [PersonalLabelTag, PersonalLabelTag, PersonalLabelTag]
|
|
888
|
+
| [PersonalLabelTag, PersonalLabelTag, PersonalLabelTag, PersonalLabelTag]
|
|
889
|
+
| [PersonalLabelTag, PersonalLabelTag, PersonalLabelTag, PersonalLabelTag, PersonalLabelTag]
|
|
890
|
+
| [PersonalLabelTag, PersonalLabelTag, PersonalLabelTag, PersonalLabelTag, PersonalLabelTag, PersonalLabelTag]
|
|
891
|
+
| [
|
|
892
|
+
PersonalLabelTag,
|
|
893
|
+
PersonalLabelTag,
|
|
894
|
+
PersonalLabelTag,
|
|
895
|
+
PersonalLabelTag,
|
|
896
|
+
PersonalLabelTag,
|
|
897
|
+
PersonalLabelTag,
|
|
898
|
+
PersonalLabelTag
|
|
899
|
+
]
|
|
900
|
+
| [
|
|
901
|
+
PersonalLabelTag,
|
|
902
|
+
PersonalLabelTag,
|
|
903
|
+
PersonalLabelTag,
|
|
904
|
+
PersonalLabelTag,
|
|
905
|
+
PersonalLabelTag,
|
|
906
|
+
PersonalLabelTag,
|
|
907
|
+
PersonalLabelTag,
|
|
908
|
+
PersonalLabelTag
|
|
909
|
+
]
|
|
910
|
+
| [
|
|
911
|
+
PersonalLabelTag,
|
|
912
|
+
PersonalLabelTag,
|
|
913
|
+
PersonalLabelTag,
|
|
914
|
+
PersonalLabelTag,
|
|
915
|
+
PersonalLabelTag,
|
|
916
|
+
PersonalLabelTag,
|
|
917
|
+
PersonalLabelTag,
|
|
918
|
+
PersonalLabelTag,
|
|
919
|
+
PersonalLabelTag
|
|
920
|
+
]
|
|
921
|
+
| [
|
|
922
|
+
PersonalLabelTag,
|
|
923
|
+
PersonalLabelTag,
|
|
924
|
+
PersonalLabelTag,
|
|
925
|
+
PersonalLabelTag,
|
|
926
|
+
PersonalLabelTag,
|
|
927
|
+
PersonalLabelTag,
|
|
928
|
+
PersonalLabelTag,
|
|
929
|
+
PersonalLabelTag,
|
|
930
|
+
PersonalLabelTag,
|
|
931
|
+
PersonalLabelTag
|
|
932
|
+
]
|
|
933
|
+
| [
|
|
934
|
+
PersonalLabelTag,
|
|
935
|
+
PersonalLabelTag,
|
|
936
|
+
PersonalLabelTag,
|
|
937
|
+
PersonalLabelTag,
|
|
938
|
+
PersonalLabelTag,
|
|
939
|
+
PersonalLabelTag,
|
|
940
|
+
PersonalLabelTag,
|
|
941
|
+
PersonalLabelTag,
|
|
942
|
+
PersonalLabelTag,
|
|
943
|
+
PersonalLabelTag,
|
|
944
|
+
PersonalLabelTag
|
|
945
|
+
]
|
|
946
|
+
| [
|
|
947
|
+
PersonalLabelTag,
|
|
948
|
+
PersonalLabelTag,
|
|
949
|
+
PersonalLabelTag,
|
|
950
|
+
PersonalLabelTag,
|
|
951
|
+
PersonalLabelTag,
|
|
952
|
+
PersonalLabelTag,
|
|
953
|
+
PersonalLabelTag,
|
|
954
|
+
PersonalLabelTag,
|
|
955
|
+
PersonalLabelTag,
|
|
956
|
+
PersonalLabelTag,
|
|
957
|
+
PersonalLabelTag,
|
|
958
|
+
PersonalLabelTag
|
|
959
|
+
]
|
|
960
|
+
| [
|
|
961
|
+
PersonalLabelTag,
|
|
962
|
+
PersonalLabelTag,
|
|
963
|
+
PersonalLabelTag,
|
|
964
|
+
PersonalLabelTag,
|
|
965
|
+
PersonalLabelTag,
|
|
966
|
+
PersonalLabelTag,
|
|
967
|
+
PersonalLabelTag,
|
|
968
|
+
PersonalLabelTag,
|
|
969
|
+
PersonalLabelTag,
|
|
970
|
+
PersonalLabelTag,
|
|
971
|
+
PersonalLabelTag,
|
|
972
|
+
PersonalLabelTag,
|
|
973
|
+
PersonalLabelTag
|
|
974
|
+
]
|
|
975
|
+
| [
|
|
976
|
+
PersonalLabelTag,
|
|
977
|
+
PersonalLabelTag,
|
|
978
|
+
PersonalLabelTag,
|
|
979
|
+
PersonalLabelTag,
|
|
980
|
+
PersonalLabelTag,
|
|
981
|
+
PersonalLabelTag,
|
|
982
|
+
PersonalLabelTag,
|
|
983
|
+
PersonalLabelTag,
|
|
984
|
+
PersonalLabelTag,
|
|
985
|
+
PersonalLabelTag,
|
|
986
|
+
PersonalLabelTag,
|
|
987
|
+
PersonalLabelTag,
|
|
988
|
+
PersonalLabelTag,
|
|
989
|
+
PersonalLabelTag
|
|
990
|
+
]
|
|
991
|
+
| [
|
|
992
|
+
PersonalLabelTag,
|
|
993
|
+
PersonalLabelTag,
|
|
994
|
+
PersonalLabelTag,
|
|
995
|
+
PersonalLabelTag,
|
|
996
|
+
PersonalLabelTag,
|
|
997
|
+
PersonalLabelTag,
|
|
998
|
+
PersonalLabelTag,
|
|
999
|
+
PersonalLabelTag,
|
|
1000
|
+
PersonalLabelTag,
|
|
1001
|
+
PersonalLabelTag,
|
|
1002
|
+
PersonalLabelTag,
|
|
1003
|
+
PersonalLabelTag,
|
|
1004
|
+
PersonalLabelTag,
|
|
1005
|
+
PersonalLabelTag,
|
|
1006
|
+
PersonalLabelTag
|
|
1007
|
+
]
|
|
1008
|
+
| [
|
|
1009
|
+
PersonalLabelTag,
|
|
1010
|
+
PersonalLabelTag,
|
|
1011
|
+
PersonalLabelTag,
|
|
1012
|
+
PersonalLabelTag,
|
|
1013
|
+
PersonalLabelTag,
|
|
1014
|
+
PersonalLabelTag,
|
|
1015
|
+
PersonalLabelTag,
|
|
1016
|
+
PersonalLabelTag,
|
|
1017
|
+
PersonalLabelTag,
|
|
1018
|
+
PersonalLabelTag,
|
|
1019
|
+
PersonalLabelTag,
|
|
1020
|
+
PersonalLabelTag,
|
|
1021
|
+
PersonalLabelTag,
|
|
1022
|
+
PersonalLabelTag,
|
|
1023
|
+
PersonalLabelTag,
|
|
1024
|
+
PersonalLabelTag
|
|
1025
|
+
];
|
|
862
1026
|
/**
|
|
863
1027
|
* A region or city name as the vetter writes it. Compared case-insensitively and otherwise exactly.
|
|
864
1028
|
*/
|
|
@@ -1090,6 +1254,18 @@ export type ResumeToken = string;
|
|
|
1090
1254
|
* Whether a room keeps its history readable across a membership change, fixed at creation and immutable thereafter — like `Visibility`, and for the same reason: the rungs of an epoch key chain either exist for an epoch or they do not, and no later change of mind can seal key material that was never sealed or unseal what was already severed. `chained`: each advance produces an `EpochLink`, so every member reads the room's whole retained history however long they have been in it — what a **library** wants, at the cost of post-compromise security for record content, since a compromised current key then reaches every retained epoch. `fromJoin`: no rungs are produced, so a member reads only from the epoch their group state is at — what a **stream** wants, and what a room under a strict forward-secrecy obligation wants, at the cost that a joining member finds an empty-looking room and nobody can reread a record once their group state has moved past the epoch it was sealed under. Absent means `chained`; see the prose on why the absent case is the readable one.
|
|
1091
1255
|
*/
|
|
1092
1256
|
export type RetentionPolicy = "chained" | "fromJoin";
|
|
1257
|
+
/**
|
|
1258
|
+
* One withdrawal in a `RevocationList`, discriminated by `kind`.
|
|
1259
|
+
*
|
|
1260
|
+
* - `credential` withdraws one credential, named by its `id`. It matches the membership credential or any authority link whose `id` equals `credentialId`.
|
|
1261
|
+
* - `subject` withdraws a party: every credential the room's chain gave them **before** `revokedAt`. It matches the membership credential or any authority link whose `credentialSubject` id **or** `issuer` is `subject` and whose `validFrom` is earlier than `revokedAt`. Matching the issuer as well as the subject withdraws what the party delegated before their removal, which no re-admission revives. A credential carrying no `validFrom` is treated as issued before every entry.
|
|
1262
|
+
* - `room` withdraws every credential whose `validFrom` is earlier than `revokedAt`, whoever holds it. It is how a room resets access — after a compromise, or on a `private` room, where naming a party would disclose who was a member.
|
|
1263
|
+
*
|
|
1264
|
+
* **Keyed on time, so a party can come back.** A `subject` or `room` entry withdraws what was issued before it and nothing after, so a room that re-admits a removed party issues fresh credentials and they verify. A `credential` entry is permanent for that one credential, which nobody re-issues.
|
|
1265
|
+
*
|
|
1266
|
+
* **Tiers.** On a `private` room a host MUST refuse a list carrying a `credential` or `subject` entry: a presentation there withholds the credential and its subject, so such an entry is one the host cannot apply and a disclosure of who was in the room. Only `room` entries are permitted, and a host serving a `private` room MUST refuse any presentation for which it cannot establish that no credential in it has a `validFrom` earlier than the latest `room` entry's `revokedAt`.
|
|
1267
|
+
*/
|
|
1268
|
+
export type RevocationEntry = CredentialRevocation | SubjectRevocation | RoomRevocation;
|
|
1093
1269
|
/**
|
|
1094
1270
|
* One of the five git rights. Each string is also the TRQP `action` the VTC publishes the right under in its Trust Registry, so it is carried verbatim. `git.ns.admin` and `git.repo.create` apply to a namespace resource; `git.repo.own` and `git.repo.maintain` to a repository resource; `git.commit.sign` to either.
|
|
1095
1271
|
*/
|
|
@@ -1107,9 +1283,32 @@ export type RoleKeyState = "pending" | "staged" | "active" | "retiring" | "retir
|
|
|
1107
1283
|
*/
|
|
1108
1284
|
export type RoleName = string;
|
|
1109
1285
|
/**
|
|
1110
|
-
*
|
|
1286
|
+
* 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.
|
|
1287
|
+
*/
|
|
1288
|
+
export type RoomDescription = string;
|
|
1289
|
+
/**
|
|
1290
|
+
* 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.
|
|
1111
1291
|
*/
|
|
1112
1292
|
export type RoomLabel = string;
|
|
1293
|
+
/**
|
|
1294
|
+
* A short identifier an administrator files a community-owned room under — `board`, `working-group`, `finance` — so the room list can be filtered. Lower-case letters, digits and hyphens, starting with a letter or digit. Owner-side tracking metadata for holders of `vtc.rooms.manage` only: never shown to members, never sent on the room's host path, and it confers nothing.
|
|
1295
|
+
*/
|
|
1296
|
+
export type RoomTag = string;
|
|
1297
|
+
/**
|
|
1298
|
+
* The room's tags, at most eight, as a set: order carries no meaning. An empty list means the room has none — a tag grants nothing, so empty has no more dangerous reading.
|
|
1299
|
+
*
|
|
1300
|
+
* @maxItems 8
|
|
1301
|
+
*/
|
|
1302
|
+
export type RoomTags =
|
|
1303
|
+
| []
|
|
1304
|
+
| [RoomTag]
|
|
1305
|
+
| [RoomTag, RoomTag]
|
|
1306
|
+
| [RoomTag, RoomTag, RoomTag]
|
|
1307
|
+
| [RoomTag, RoomTag, RoomTag, RoomTag]
|
|
1308
|
+
| [RoomTag, RoomTag, RoomTag, RoomTag, RoomTag]
|
|
1309
|
+
| [RoomTag, RoomTag, RoomTag, RoomTag, RoomTag, RoomTag]
|
|
1310
|
+
| [RoomTag, RoomTag, RoomTag, RoomTag, RoomTag, RoomTag, RoomTag]
|
|
1311
|
+
| [RoomTag, RoomTag, RoomTag, RoomTag, RoomTag, RoomTag, RoomTag, RoomTag];
|
|
1113
1312
|
/**
|
|
1114
1313
|
* `planned` — a successor was staged, activated, and the predecessor retired on the operator's schedule. `compromise` — a key was revoked and, where the role would otherwise be empty, replaced in the same log entry. `addition` — a key was added to a role without anything leaving it (for example a post-quantum key alongside a classical one).
|
|
1115
1314
|
*/
|
|
@@ -4221,6 +4420,10 @@ export interface AuthenticatorAttestationResponseRegistration {
|
|
|
4221
4420
|
}
|
|
4222
4421
|
/**
|
|
4223
4422
|
* What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier. A host MUST bind the presenter to the chain's leaf. A chain that verifies is evidence that authority was conferred on somebody; it is not evidence that the party presenting it is that somebody. The leaf's subject MUST equal the party the host authenticated for this request — an identity the transport established or a document `proof` proved, never one named in a payload. A host that omits this check authorizes every captured presentation, and the omission is silent, because the chain still verifies.
|
|
4423
|
+
*
|
|
4424
|
+
* **Every credential is its issuer's attestation, and only its issuer's.** For the membership credential and for every link of `authority`, a host MUST verify the credential's `proof` with a key that the credential's own `issuer` lists for `assertionMethod` in its DID document, and MUST refuse a credential whose proof names a verification method that is not its issuer's. A proof that verifies under some other party's key is that party's statement, not the issuer's, and confers nothing. The same binding holds for every other document a room signs, such as a `RevocationList`.
|
|
4425
|
+
*
|
|
4426
|
+
* **A chain that verifies may still be revoked.** A host that has accepted a `RevocationList` for the room (`rooms/revocations/put`) MUST, from the moment it accepted it, refuse every presentation in which the membership credential or any link of `authority` is revoked by that list, under every task and every version of every task it serves for the room. A chain from which any link is revoked is refused whole: a credential delegated from a revoked one confers nothing, however it was attenuated. The refusal is the same `permissionDenied` as any other failed presentation.
|
|
4224
4427
|
*/
|
|
4225
4428
|
export interface AuthorityPresentation {
|
|
4226
4429
|
/**
|
|
@@ -4685,6 +4888,49 @@ export interface CommunityRoom {
|
|
|
4685
4888
|
*/
|
|
4686
4889
|
createdBy?: string;
|
|
4687
4890
|
}
|
|
4891
|
+
/**
|
|
4892
|
+
* What vtc/rooms/community/{create,get,list}/0.2 and vtc/rooms/community/update/0.1 return: `CommunityRoom` plus the details an administrator keeps track of a room by — `description`, `tags`, and who last changed them and when. A separate definition, not a change to `CommunityRoom`, so that the 0.1 versions of those tasks keep the exact shape they published. The room's creation is `room.createdAt` and `createdBy`.
|
|
4893
|
+
*/
|
|
4894
|
+
export interface CommunityRoomV2 {
|
|
4895
|
+
room: HostedRoom;
|
|
4896
|
+
label: RoomLabel;
|
|
4897
|
+
/**
|
|
4898
|
+
* Absent when the room has none.
|
|
4899
|
+
*/
|
|
4900
|
+
description?: RoomDescription;
|
|
4901
|
+
/**
|
|
4902
|
+
* Absent or empty when the room has none.
|
|
4903
|
+
*/
|
|
4904
|
+
tags?: RoomTags;
|
|
4905
|
+
/**
|
|
4906
|
+
* The storage config receiving the room's new uploads.
|
|
4907
|
+
*/
|
|
4908
|
+
storageConfig?: StorageConfigId;
|
|
4909
|
+
/**
|
|
4910
|
+
* Members in state `admitted`.
|
|
4911
|
+
*/
|
|
4912
|
+
admitted: number;
|
|
4913
|
+
/**
|
|
4914
|
+
* Offers not yet accepted or withdrawn.
|
|
4915
|
+
*/
|
|
4916
|
+
offered: number;
|
|
4917
|
+
/**
|
|
4918
|
+
* When the community's own `admin` authority over the room expires. A room whose owner's authority lapses can no longer advance its epoch, admit or remove; a community SHOULD renew it well before.
|
|
4919
|
+
*/
|
|
4920
|
+
ownerAuthorityValidUntil?: string;
|
|
4921
|
+
/**
|
|
4922
|
+
* The administrator who created it.
|
|
4923
|
+
*/
|
|
4924
|
+
createdBy?: string;
|
|
4925
|
+
/**
|
|
4926
|
+
* When `label`, `description` or `tags` last changed. Absent until the first change after creation. Distinct from `room.updatedAt`, which is the host record's and moves with the room's epoch and lifecycle.
|
|
4927
|
+
*/
|
|
4928
|
+
detailsUpdatedAt?: string;
|
|
4929
|
+
/**
|
|
4930
|
+
* The administrator who made that change. Present exactly when `detailsUpdatedAt` is. The earlier values and who set them are in the community's audit trail, not here.
|
|
4931
|
+
*/
|
|
4932
|
+
detailsUpdatedBy?: string;
|
|
4933
|
+
}
|
|
4688
4934
|
/**
|
|
4689
4935
|
* A community's portable configuration: its profile plus the configuration overrides a maintainer stores for itself. Deliberately excludes per-host layers (environment variables, on-disk config files) — those describe where a maintainer runs, not what the community is, and carrying them would make an import overwrite the target host's own deployment settings.
|
|
4690
4936
|
*
|
|
@@ -4956,6 +5202,24 @@ export interface CredentialReference {
|
|
|
4956
5202
|
*/
|
|
4957
5203
|
expiresAt?: string | null;
|
|
4958
5204
|
}
|
|
5205
|
+
/**
|
|
5206
|
+
* Withdraws one credential — a membership credential or any authority link — by its `id`.
|
|
5207
|
+
*/
|
|
5208
|
+
export interface CredentialRevocation {
|
|
5209
|
+
kind: "credential";
|
|
5210
|
+
/**
|
|
5211
|
+
* The `id` of the credential withdrawn, as `rooms/owner/issue-authority` and `rooms/owner/issue-membership` return it, or as an attenuated credential carries it.
|
|
5212
|
+
*/
|
|
5213
|
+
credentialId: string;
|
|
5214
|
+
/**
|
|
5215
|
+
* When the room made this withdrawal.
|
|
5216
|
+
*/
|
|
5217
|
+
revokedAt: string;
|
|
5218
|
+
/**
|
|
5219
|
+
* OPTIONAL. After this instant every credential the entry matches has expired anyway, so a host MAY discard the entry and the room MAY omit it from later lists. Absent means the entry is kept for as long as the room keeps a list.
|
|
5220
|
+
*/
|
|
5221
|
+
until?: string;
|
|
5222
|
+
}
|
|
4959
5223
|
/**
|
|
4960
5224
|
* A JSON Schema (the W3C `credentialSchema` a credential of this type must conform to), carried as data. Any JSON Schema the community's validator compiles; this specification does not constrain its members. Absent means the type is registered with no schema constraint.
|
|
4961
5225
|
*/
|
|
@@ -6925,6 +7189,30 @@ export interface OfferCredentials {
|
|
|
6925
7189
|
*/
|
|
6926
7190
|
authority: string;
|
|
6927
7191
|
}
|
|
7192
|
+
/**
|
|
7193
|
+
* What vtc/rooms/offers/list/0.2 returns: `Offer` plus `description`. A separate definition, not a change to `Offer`, so that vtc/rooms/offers/list/0.1 keeps the exact shape it published. `label` and `description` are the room's as they stand when the offer is read, not as they stood when it was made.
|
|
7194
|
+
*/
|
|
7195
|
+
export interface OfferV2 {
|
|
7196
|
+
roomId: string;
|
|
7197
|
+
/**
|
|
7198
|
+
* The room's host: this community.
|
|
7199
|
+
*/
|
|
7200
|
+
host: string;
|
|
7201
|
+
label: RoomLabel;
|
|
7202
|
+
/**
|
|
7203
|
+
* Absent when the room has none.
|
|
7204
|
+
*/
|
|
7205
|
+
description?: RoomDescription;
|
|
7206
|
+
visibility: Visibility;
|
|
7207
|
+
actions: MemberActions;
|
|
7208
|
+
validUntil: string;
|
|
7209
|
+
offeredAt: string;
|
|
7210
|
+
/**
|
|
7211
|
+
* `open`: not yet accepted. `accepted`: accepted, kept listed while a repeated accept can still be answered.
|
|
7212
|
+
*/
|
|
7213
|
+
state: "open" | "accepted";
|
|
7214
|
+
credentials: OfferCredentials;
|
|
7215
|
+
}
|
|
6928
7216
|
/**
|
|
6929
7217
|
* One witnessing session's outcome evidence. `session` is the initiating witness/session document; `outcome` is the terminal witness/session/submit #response that the initiating document's own specification declares as its outcome evidence, under the witness's proof, delivering the VWC and its vwcDigestMultibase. A consumer pairs them with a presented VWC by SPEC §4.9.4's four checks and the witnessing checks of witness/session/submit (This response is the outcome evidence).
|
|
6930
7218
|
*/
|
|
@@ -6999,6 +7287,19 @@ export interface PeerDepth {
|
|
|
6999
7287
|
bytes: number;
|
|
7000
7288
|
oldestAgeSeconds?: number;
|
|
7001
7289
|
}
|
|
7290
|
+
/**
|
|
7291
|
+
* A member's personal label for one room, as their key holder keeps it: at least one detail (`minProperties` counts `updatedAt`), and when it last changed. A key holder that holds no detail for the room holds no label, and returns none — there is no empty label.
|
|
7292
|
+
*/
|
|
7293
|
+
export interface PersonalLabel {
|
|
7294
|
+
label?: PersonalLabelName;
|
|
7295
|
+
description?: PersonalLabelDescription;
|
|
7296
|
+
notes?: PersonalLabelNotes;
|
|
7297
|
+
tags?: PersonalLabelTags;
|
|
7298
|
+
/**
|
|
7299
|
+
* When the label last changed, as the key holder recorded it. A request that changed nothing does not move it.
|
|
7300
|
+
*/
|
|
7301
|
+
updatedAt: string;
|
|
7302
|
+
}
|
|
7002
7303
|
/**
|
|
7003
7304
|
* A community's published position on personhood.
|
|
7004
7305
|
*
|
|
@@ -7811,6 +8112,56 @@ export interface ResolvedClaim {
|
|
|
7811
8112
|
*/
|
|
7812
8113
|
updatedAt?: string;
|
|
7813
8114
|
}
|
|
8115
|
+
/**
|
|
8116
|
+
* Which `RevocationList` a party holds, without its entries: comparable between the room's key holder and a host, and between two hosts, without disclosing whom the room withdrew.
|
|
8117
|
+
*/
|
|
8118
|
+
export interface RevocationHead {
|
|
8119
|
+
/**
|
|
8120
|
+
* The list's `sequence`.
|
|
8121
|
+
*/
|
|
8122
|
+
sequence: number;
|
|
8123
|
+
/**
|
|
8124
|
+
* SHA-256 multihash of the list's RFC 8785 (JCS) canonicalization, `proof` included. Two parties holding one sequence with different digests have been given two lists the room signed at one sequence.
|
|
8125
|
+
*/
|
|
8126
|
+
digest: DigestMultibase;
|
|
8127
|
+
}
|
|
8128
|
+
/**
|
|
8129
|
+
* The room's own statement of which credentials it has withdrawn before they expire — signed by the room, cumulative, and numbered, so that it means the same thing at every host it is delivered to.
|
|
8130
|
+
*
|
|
8131
|
+
* **Why the room signs it, and why it is cumulative.** A host authorizes from credentials the room issued and keeps no roster; a withdrawal kept only as a host's own state would make the room unmovable and the host part of the membership. A list the room signed is room state: it moves with the room, any host it is delivered to reaches the same decision, and nothing a host invents can be mistaken for it. It is cumulative — every list carries every entry still in force — so a host holding any one list holds the room's whole withdrawal state, and a host that missed a list loses nothing once it receives a later one.
|
|
8132
|
+
*
|
|
8133
|
+
* **Producing.** The room's key holder builds the object without `proof` and signs it with a W3C Data Integrity proof whose `verificationMethod` is a key the room's DID document lists for `assertionMethod` and whose `proofPurpose` is `assertionMethod`. A producer MUST support `eddsa-jcs-2022`. Each list's `sequence` is exactly one greater than the last list the room signed, and the producer MUST NOT sign two different lists at one `sequence`.
|
|
8134
|
+
*
|
|
8135
|
+
* **Accepting.** A host MUST refuse a list unless: (1) `roomId` is the room it is delivered for; (2) `proof` verifies with a key of `roomId` listed for `assertionMethod` — a list signed by any other key, however valid the signature, is not the room's; (3) `sequence` is greater than that of the list it holds, or equal with an identical list (a repeat, answered as accepted and changing nothing); (4) it is **append-only** against the list it holds: every entry of the held list appears in it unchanged, unless that entry's `until` has passed. A list that lowers the sequence is a rollback and one that drops a live entry is a reinstatement nobody signed for, and both are refused; two different lists at one `sequence` is the room's key equivocating, and the host keeps the list it holds.
|
|
8136
|
+
*
|
|
8137
|
+
* **Applying.** A credential is revoked by an accepted list when any entry matches it (see `RevocationEntry`). An entry whose `until` has passed MAY be discarded by a host and omitted from later lists; no other entry is ever dropped.
|
|
8138
|
+
*
|
|
8139
|
+
* **Size.** A list is bounded at 4096 entries. A room that would exceed it uses a `room` entry, which withdraws everything issued before it and lets the room re-issue to those who remain.
|
|
8140
|
+
*/
|
|
8141
|
+
export interface RevocationList {
|
|
8142
|
+
/**
|
|
8143
|
+
* The room whose credentials this list withdraws, exactly as on the wire. Signed, so a list cannot be replayed against another room.
|
|
8144
|
+
*/
|
|
8145
|
+
roomId: string;
|
|
8146
|
+
/**
|
|
8147
|
+
* The list's position in the room's sequence: exactly one greater than the last list the room signed. A host accepts only a list whose sequence is above the one it holds, which is what stops a host, a relayer or an attacker holding an old list from rolling the room's withdrawals back.
|
|
8148
|
+
*/
|
|
8149
|
+
sequence: number;
|
|
8150
|
+
/**
|
|
8151
|
+
* When the room signed this list.
|
|
8152
|
+
*/
|
|
8153
|
+
issuedAt: string;
|
|
8154
|
+
/**
|
|
8155
|
+
* Every withdrawal still in force, in the order the room made them. Empty is valid: a room that has revoked nothing, or whose every entry has lapsed, can still state its sequence.
|
|
8156
|
+
*
|
|
8157
|
+
* @maxItems 4096
|
|
8158
|
+
*/
|
|
8159
|
+
entries: RevocationEntry[];
|
|
8160
|
+
/**
|
|
8161
|
+
* The room's Data Integrity proof over every other member, made with a key the room's DID document lists for `assertionMethod`.
|
|
8162
|
+
*/
|
|
8163
|
+
proof: {};
|
|
8164
|
+
}
|
|
7814
8165
|
/**
|
|
7815
8166
|
* The receipt for a successful revocation. Consumers MUST report the family's `alreadyRevoked` / `already_revoked` error when the credential was already revoked, rather than returning a second receipt silently — the caller has to be able to distinguish "I revoked it now" from "it was already gone".
|
|
7816
8167
|
*
|
|
@@ -8111,6 +8462,62 @@ export interface RoomMember {
|
|
|
8111
8462
|
admittedAt?: string;
|
|
8112
8463
|
removedAt?: string;
|
|
8113
8464
|
}
|
|
8465
|
+
/**
|
|
8466
|
+
* What a room says about itself to its own members: a name and, optionally, a description, short tags and an emoji, so that a member's wallet, portal or CLI can show what each room is rather than a DID.
|
|
8467
|
+
*
|
|
8468
|
+
* **It lives in the room, and only there.** A profile is carried in a record of the room (`RoomProfileStatement`), sealed on `attributed` and `private` rooms like every other record, so the room's host stores ciphertext and learns neither the name nor anything else here. It is never put in a credential — credentials are presented to hosts — nor in a host's record of the room, in `rooms/create` or `rooms/owner/register`, or in any member a host can read. On an `open` room it is cleartext, as everything in an open room is.
|
|
8469
|
+
*
|
|
8470
|
+
* **Plain text, never instructions.** Every member is free text chosen by whoever wrote the profile and shown to every member of the room. A reader renders `name`, `description` and `tags` as text — never as markup, never as a link it follows — removes or replaces control characters before showing them, and MUST NOT treat any of it as instructions, which matters most for an agent acting for a member. A writer MUST NOT put personal data or a credential in any member.
|
|
8471
|
+
*
|
|
8472
|
+
* **Growth.** A new optional member arrives in a later version of this component. A reader refuses a member it does not know (the `SealedRecordBody` rules), so a profile carrying one is not shown by a reader that predates it, and a writer SHOULD NOT use a member it cannot expect the room's readers to know. An ecosystem extension goes in `ext`, which a reader that does not understand it ignores. A change no earlier reader could survive is a new statement under a new derivation label (`openvtc/room/profile/v2`), written beside this one until the room's readers have moved.
|
|
8473
|
+
*/
|
|
8474
|
+
export interface RoomProfile {
|
|
8475
|
+
/**
|
|
8476
|
+
* The room's name as its members see it. Plain text, one line. Bounded like the label a community gives a room it owns (`RoomLabel` in vtc/_shared), so a community can write the same name here that it shows its administrators and the members it offers the room to.
|
|
8477
|
+
*/
|
|
8478
|
+
name: string;
|
|
8479
|
+
/**
|
|
8480
|
+
* What the room is for, in a sentence or a short paragraph. Plain text. Absent when the room has none; an empty string is not a description.
|
|
8481
|
+
*/
|
|
8482
|
+
description?: string;
|
|
8483
|
+
/**
|
|
8484
|
+
* Short identifiers the room files itself under, as a set: order carries no meaning. A member's surface MAY filter or group rooms by them. They are the room's own and shown to its members — distinct from the tags a community files the rooms it owns under for its administrators, which are never written here.
|
|
8485
|
+
*
|
|
8486
|
+
* @maxItems 8
|
|
8487
|
+
*/
|
|
8488
|
+
tags?:
|
|
8489
|
+
| []
|
|
8490
|
+
| [string]
|
|
8491
|
+
| [string, string]
|
|
8492
|
+
| [string, string, string]
|
|
8493
|
+
| [string, string, string, string]
|
|
8494
|
+
| [string, string, string, string, string]
|
|
8495
|
+
| [string, string, string, string, string, string]
|
|
8496
|
+
| [string, string, string, string, string, string, string]
|
|
8497
|
+
| [string, string, string, string, string, string, string, string];
|
|
8498
|
+
/**
|
|
8499
|
+
* One emoji — a single extended grapheme cluster, such as `📋` — that a surface MAY show beside the name. Text, rendered as text: never an image, never a URL, never anything a reader fetches, since a fetched icon would tell whoever serves it which member opened which room, and when. A reader that cannot render it shows nothing in its place.
|
|
8500
|
+
*/
|
|
8501
|
+
emoji?: string;
|
|
8502
|
+
/**
|
|
8503
|
+
* Ecosystem-defined extension members per SPEC.md §4.5.1. A reader ignores what it does not understand.
|
|
8504
|
+
*/
|
|
8505
|
+
ext?: Ext;
|
|
8506
|
+
}
|
|
8507
|
+
/**
|
|
8508
|
+
* Withdraws every credential whose `validFrom` is earlier than `revokedAt`, whoever holds it.
|
|
8509
|
+
*/
|
|
8510
|
+
export interface RoomRevocation {
|
|
8511
|
+
kind: "room";
|
|
8512
|
+
/**
|
|
8513
|
+
* When the room made this withdrawal.
|
|
8514
|
+
*/
|
|
8515
|
+
revokedAt: string;
|
|
8516
|
+
/**
|
|
8517
|
+
* OPTIONAL. After this instant every credential the entry matches has expired anyway, so a host MAY discard the entry and the room MAY omit it from later lists. Absent means the entry is kept for as long as the room keeps a list.
|
|
8518
|
+
*/
|
|
8519
|
+
until?: string;
|
|
8520
|
+
}
|
|
8114
8521
|
/**
|
|
8115
8522
|
* One change to a role's key set, from preview to completion. The rotation history of a DID is the list of these; the log is the authority for what was published, and this record adds what the log cannot say — which change was which, and (custody projection only) who asked, who approved, and why.
|
|
8116
8523
|
*/
|
|
@@ -8858,6 +9265,24 @@ export interface StreamDescriptor {
|
|
|
8858
9265
|
expectedSizeBytes: ExpectedSizeBytes;
|
|
8859
9266
|
expiresAt: ExpiresAt;
|
|
8860
9267
|
}
|
|
9268
|
+
/**
|
|
9269
|
+
* Withdraws a party: every credential naming them as subject or issuer whose `validFrom` is earlier than `revokedAt`.
|
|
9270
|
+
*/
|
|
9271
|
+
export interface SubjectRevocation {
|
|
9272
|
+
kind: "subject";
|
|
9273
|
+
/**
|
|
9274
|
+
* The party withdrawn. Never the room itself.
|
|
9275
|
+
*/
|
|
9276
|
+
subject: string;
|
|
9277
|
+
/**
|
|
9278
|
+
* When the room made this withdrawal.
|
|
9279
|
+
*/
|
|
9280
|
+
revokedAt: string;
|
|
9281
|
+
/**
|
|
9282
|
+
* OPTIONAL. After this instant every credential the entry matches has expired anyway, so a host MAY discard the entry and the room MAY omit it from later lists. Absent means the entry is kept for as long as the room keeps a list.
|
|
9283
|
+
*/
|
|
9284
|
+
until?: string;
|
|
9285
|
+
}
|
|
8861
9286
|
/**
|
|
8862
9287
|
* One attestation as a submission carries it: its metadata and its token. The attestation itself is inside the submission's `proof`, in the same order.
|
|
8863
9288
|
*/
|
package/src/index.ts
CHANGED
|
@@ -426,6 +426,7 @@ export * as RegistryRecordQuery_v0_1 from "./registry/record/query/0.1/payload.j
|
|
|
426
426
|
export * as RegistryRecordRead_v0_1 from "./registry/record/read/0.1/payload.js";
|
|
427
427
|
export * as RegistryRecordUpdate_v0_1 from "./registry/record/update/0.1/payload.js";
|
|
428
428
|
export * as BlobsShared_v0_1 from "./rooms/_shared/0.1/blobs.js";
|
|
429
|
+
export * as PersonalLabelShared_v0_1 from "./rooms/_shared/0.1/personal-label.js";
|
|
429
430
|
export * as RoomShared_v0_1 from "./rooms/_shared/0.1/room.js";
|
|
430
431
|
export * as RoomsBlobsChunk_v0_1 from "./rooms/blobs/chunk/0.1/payload.js";
|
|
431
432
|
export * as RoomsBlobsGet_v0_1 from "./rooms/blobs/get/0.1/payload.js";
|
|
@@ -447,6 +448,7 @@ export * as RoomsInfo_v0_1 from "./rooms/info/0.1/payload.js";
|
|
|
447
448
|
export * as RoomsKeysAct_v0_1 from "./rooms/keys/act/0.1/payload.js";
|
|
448
449
|
export * as RoomsKeysAct_v0_2 from "./rooms/keys/act/0.2/payload.js";
|
|
449
450
|
export * as RoomsKeysAct_v0_3 from "./rooms/keys/act/0.3/payload.js";
|
|
451
|
+
export * as RoomsKeysAct_v0_4 from "./rooms/keys/act/0.4/payload.js";
|
|
450
452
|
export * as RoomsKeysBackfill_v0_1 from "./rooms/keys/backfill/0.1/payload.js";
|
|
451
453
|
export * as RoomsKeysBrowse_v0_1 from "./rooms/keys/browse/0.1/payload.js";
|
|
452
454
|
export * as RoomsKeysChain_v0_1 from "./rooms/keys/chain/0.1/payload.js";
|
|
@@ -454,11 +456,15 @@ export * as RoomsKeysCommit_v0_1 from "./rooms/keys/commit/0.1/payload.js";
|
|
|
454
456
|
export * as RoomsKeysFileKey_v0_1 from "./rooms/keys/file-key/0.1/payload.js";
|
|
455
457
|
export * as RoomsKeysFileKey_v0_2 from "./rooms/keys/file-key/0.2/payload.js";
|
|
456
458
|
export * as RoomsKeysKeyPackage_v0_1 from "./rooms/keys/key-package/0.1/payload.js";
|
|
459
|
+
export * as RoomsKeysLabel_v0_1 from "./rooms/keys/label/0.1/payload.js";
|
|
457
460
|
export * as RoomsKeysList_v0_1 from "./rooms/keys/list/0.1/payload.js";
|
|
461
|
+
export * as RoomsKeysList_v0_2 from "./rooms/keys/list/0.2/payload.js";
|
|
458
462
|
export * as RoomsKeysOpen_v0_1 from "./rooms/keys/open/0.1/payload.js";
|
|
459
463
|
export * as RoomsKeysOpen_v0_2 from "./rooms/keys/open/0.2/payload.js";
|
|
460
464
|
export * as RoomsKeysPresent_v0_1 from "./rooms/keys/present/0.1/payload.js";
|
|
461
465
|
export * as RoomsKeysPresent_v0_2 from "./rooms/keys/present/0.2/payload.js";
|
|
466
|
+
export * as RoomsKeysProfileRead_v0_1 from "./rooms/keys/profile/read/0.1/payload.js";
|
|
467
|
+
export * as RoomsKeysProfileWrite_v0_1 from "./rooms/keys/profile/write/0.1/payload.js";
|
|
462
468
|
export * as RoomsKeysRead_v0_1 from "./rooms/keys/read/0.1/payload.js";
|
|
463
469
|
export * as RoomsKeysSeal_v0_1 from "./rooms/keys/seal/0.1/payload.js";
|
|
464
470
|
export * as RoomsKeysSeal_v0_2 from "./rooms/keys/seal/0.2/payload.js";
|
|
@@ -469,12 +475,14 @@ export * as RoomsOwnerGroupAdd_v0_1 from "./rooms/owner/group/add/0.1/payload.js
|
|
|
469
475
|
export * as RoomsOwnerGroupAdd_v0_2 from "./rooms/owner/group/add/0.2/payload.js";
|
|
470
476
|
export * as RoomsOwnerGroupCreate_v0_1 from "./rooms/owner/group/create/0.1/payload.js";
|
|
471
477
|
export * as RoomsOwnerGroupRemove_v0_1 from "./rooms/owner/group/remove/0.1/payload.js";
|
|
478
|
+
export * as RoomsOwnerGroupRemove_v0_2 from "./rooms/owner/group/remove/0.2/payload.js";
|
|
472
479
|
export * as RoomsOwnerGroupRenew_v0_1 from "./rooms/owner/group/renew/0.1/payload.js";
|
|
473
480
|
export * as RoomsOwnerInvite_v0_1 from "./rooms/owner/invite/0.1/payload.js";
|
|
474
481
|
export * as RoomsOwnerIssueAuthority_v0_1 from "./rooms/owner/issue-authority/0.1/payload.js";
|
|
475
482
|
export * as RoomsOwnerIssueAuthority_v0_2 from "./rooms/owner/issue-authority/0.2/payload.js";
|
|
476
483
|
export * as RoomsOwnerIssueMembership_v0_1 from "./rooms/owner/issue-membership/0.1/payload.js";
|
|
477
484
|
export * as RoomsOwnerRegister_v0_1 from "./rooms/owner/register/0.1/payload.js";
|
|
485
|
+
export * as RoomsOwnerRevoke_v0_1 from "./rooms/owner/revoke/0.1/payload.js";
|
|
478
486
|
export * as RoomsOwnerTransfer_v0_1 from "./rooms/owner/transfer/0.1/payload.js";
|
|
479
487
|
export * as RoomsRecordsCurate_v0_1 from "./rooms/records/curate/0.1/payload.js";
|
|
480
488
|
export * as RoomsRecordsGet_v0_1 from "./rooms/records/get/0.1/payload.js";
|
|
@@ -483,6 +491,8 @@ export * as RoomsRecordsList_v0_1 from "./rooms/records/list/0.1/payload.js";
|
|
|
483
491
|
export * as RoomsRecordsList_v0_2 from "./rooms/records/list/0.2/payload.js";
|
|
484
492
|
export * as RoomsRecordsPut_v0_1 from "./rooms/records/put/0.1/payload.js";
|
|
485
493
|
export * as RoomsRecordsPut_v0_2 from "./rooms/records/put/0.2/payload.js";
|
|
494
|
+
export * as RoomsRevocationsGet_v0_1 from "./rooms/revocations/get/0.1/payload.js";
|
|
495
|
+
export * as RoomsRevocationsPut_v0_1 from "./rooms/revocations/put/0.1/payload.js";
|
|
486
496
|
export * as RoomsUsage_v0_1 from "./rooms/usage/0.1/payload.js";
|
|
487
497
|
export * as SyncEventShared_v0_1 from "./sync/_shared/0.1/sync-event.js";
|
|
488
498
|
export * as SyncEventShared_v0_2 from "./sync/_shared/0.2/sync-event.js";
|
|
@@ -750,6 +760,8 @@ export * as VtcCommunityProfileShow_v0_1 from "./vtc/community/profile/show/0.1/
|
|
|
750
760
|
export * as VtcCommunityProfileUpdate_v0_1 from "./vtc/community/profile/update/0.1/payload.js";
|
|
751
761
|
export * as VtcCommunityRequestedAttributesShow_v0_1 from "./vtc/community/requested-attributes/show/0.1/payload.js";
|
|
752
762
|
export * as VtcCommunityRequestedAttributesUpdate_v0_1 from "./vtc/community/requested-attributes/update/0.1/payload.js";
|
|
763
|
+
export * as VtcCommunityThemeShow_v0_1 from "./vtc/community/theme/show/0.1/payload.js";
|
|
764
|
+
export * as VtcCommunityThemeUpdate_v0_1 from "./vtc/community/theme/update/0.1/payload.js";
|
|
753
765
|
export * as VtcConfigExport_v0_1 from "./vtc/config/export/0.1/payload.js";
|
|
754
766
|
export * as VtcConfigImport_v0_1 from "./vtc/config/import/0.1/payload.js";
|
|
755
767
|
export * as VtcCredentialsReissue_v0_1 from "./vtc/credentials/reissue/0.1/payload.js";
|
|
@@ -845,16 +857,24 @@ export * as VtcRolesDelete_v0_1 from "./vtc/roles/delete/0.1/payload.js";
|
|
|
845
857
|
export * as VtcRolesList_v0_1 from "./vtc/roles/list/0.1/payload.js";
|
|
846
858
|
export * as VtcRolesShow_v0_1 from "./vtc/roles/show/0.1/payload.js";
|
|
847
859
|
export * as VtcRoomsCommunityCreate_v0_1 from "./vtc/rooms/community/create/0.1/payload.js";
|
|
860
|
+
export * as VtcRoomsCommunityCreate_v0_2 from "./vtc/rooms/community/create/0.2/payload.js";
|
|
861
|
+
export * as VtcRoomsCommunityCreate_v0_3 from "./vtc/rooms/community/create/0.3/payload.js";
|
|
848
862
|
export * as VtcRoomsCommunityGet_v0_1 from "./vtc/rooms/community/get/0.1/payload.js";
|
|
863
|
+
export * as VtcRoomsCommunityGet_v0_2 from "./vtc/rooms/community/get/0.2/payload.js";
|
|
849
864
|
export * as VtcRoomsCommunityList_v0_1 from "./vtc/rooms/community/list/0.1/payload.js";
|
|
865
|
+
export * as VtcRoomsCommunityList_v0_2 from "./vtc/rooms/community/list/0.2/payload.js";
|
|
850
866
|
export * as VtcRoomsCommunityMembersAdd_v0_1 from "./vtc/rooms/community/members/add/0.1/payload.js";
|
|
851
867
|
export * as VtcRoomsCommunityMembersList_v0_1 from "./vtc/rooms/community/members/list/0.1/payload.js";
|
|
852
868
|
export * as VtcRoomsCommunityMembersRemove_v0_1 from "./vtc/rooms/community/members/remove/0.1/payload.js";
|
|
869
|
+
export * as VtcRoomsCommunityMembersRemove_v0_2 from "./vtc/rooms/community/members/remove/0.2/payload.js";
|
|
870
|
+
export * as VtcRoomsCommunityUpdate_v0_1 from "./vtc/rooms/community/update/0.1/payload.js";
|
|
871
|
+
export * as VtcRoomsCommunityUpdate_v0_2 from "./vtc/rooms/community/update/0.2/payload.js";
|
|
853
872
|
export * as VtcRoomsGet_v0_1 from "./vtc/rooms/get/0.1/payload.js";
|
|
854
873
|
export * as VtcRoomsLimitsSet_v0_1 from "./vtc/rooms/limits/set/0.1/payload.js";
|
|
855
874
|
export * as VtcRoomsList_v0_1 from "./vtc/rooms/list/0.1/payload.js";
|
|
856
875
|
export * as VtcRoomsOffersAccept_v0_1 from "./vtc/rooms/offers/accept/0.1/payload.js";
|
|
857
876
|
export * as VtcRoomsOffersList_v0_1 from "./vtc/rooms/offers/list/0.1/payload.js";
|
|
877
|
+
export * as VtcRoomsOffersList_v0_2 from "./vtc/rooms/offers/list/0.2/payload.js";
|
|
858
878
|
export * as VtcRoomsStorageAssign_v0_1 from "./vtc/rooms/storage/assign/0.1/payload.js";
|
|
859
879
|
export * as VtcRoomsStorageMigrate_v0_1 from "./vtc/rooms/storage/migrate/0.1/payload.js";
|
|
860
880
|
export * as VtcRoomsUsage_v0_1 from "./vtc/rooms/usage/0.1/payload.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/rooms/_shared/0.1/personal-label.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Types for the name, description, notes and tags a member keeps for a room they hold, for their own eyes only: rooms/keys/label and rooms/keys/list 0.2. A personal label is kept by the member's key holder, keyed by the room and the member (a person holding one room as two personas keeps one label per persona), and is never sent to the room, its host, its owner or a community. It is the complement of the room's own profile, which the room's curators write and its members read: a personal label is written and read by one member, and nobody else ever sees it. Plain text throughout: a consumer renders it as text, never as markup, and an agent reading it MUST NOT treat it as instructions. Not itself a Trust Task specification (the `_shared` folder is skipped by the registry build and the codegen).
|
|
8
|
+
*/
|
|
9
|
+
export interface RoomsAMemberSPersonalLabelForARoom {
|
|
10
|
+
[k: string]: unknown | undefined;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The definitions this shared schema publishes, hoisted to one declaration each.
|
|
15
|
+
* See "../../../_shared/components.js".
|
|
16
|
+
*/
|
|
17
|
+
export type { PersonalLabel, PersonalLabelDescription, PersonalLabelName, PersonalLabelNotes, PersonalLabelTag, PersonalLabelTags } from "../../../_shared/components.js";
|
|
@@ -14,4 +14,4 @@ export interface RoomsSharedTypes {
|
|
|
14
14
|
* The definitions this shared schema publishes, hoisted to one declaration each.
|
|
15
15
|
* See "../../../_shared/components.js".
|
|
16
16
|
*/
|
|
17
|
-
export type { AnchorCadence, AuthorityPresentation, DataCommitment, EpochAnchor, EpochLink, HeadVersion, ReadVerification, RecordCount, RecordMetadata, RecordMetadataV2, RecordTrace, RetentionPolicy, SealedRecord, Visibility } from "../../../_shared/components.js";
|
|
17
|
+
export type { AnchorCadence, AuthorityPresentation, CredentialRevocation, DataCommitment, EpochAnchor, EpochLink, HeadVersion, ReadVerification, RecordCount, RecordMetadata, RecordMetadataV2, RecordTrace, RetentionPolicy, RevocationEntry, RevocationHead, RevocationList, RoomProfile, RoomRevocation, SealedRecord, SubjectRevocation, Visibility } from "../../../_shared/components.js";
|