@openvtc/trust-tasks 0.28.17 → 0.28.19
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 +68 -0
- package/dist/_shared/components.d.ts +254 -1
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/index.d.ts +87 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +87 -0
- package/dist/index.js.map +1 -1
- package/dist/vta/collection/_shared/0.1/collection.d.ts +2 -2
- package/dist/vta/collection/_shared/0.1/collection.d.ts.map +1 -1
- package/dist/vta/collection/list/0.1/payload.d.ts +4 -4
- package/dist/vta/collection/list/0.1/payload.js +2 -2
- package/dist/vta/collection/list/0.1/payload.js.map +1 -1
- package/dist/vta/collection/settings/set/0.1/payload.d.ts +469 -0
- package/dist/vta/collection/settings/set/0.1/payload.d.ts.map +1 -0
- package/dist/vta/collection/settings/set/0.1/payload.js +275 -0
- package/dist/vta/collection/settings/set/0.1/payload.js.map +1 -0
- package/dist/vta/collection/settings/show/0.1/payload.d.ts +437 -0
- package/dist/vta/collection/settings/show/0.1/payload.d.ts.map +1 -0
- package/dist/vta/collection/settings/show/0.1/payload.js +260 -0
- package/dist/vta/collection/settings/show/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/_shared/0.1/badge.d.ts +22 -0
- package/dist/vtc/badges/_shared/0.1/badge.d.ts.map +1 -0
- package/dist/vtc/badges/_shared/0.1/badge.js +6 -0
- package/dist/vtc/badges/_shared/0.1/badge.js.map +1 -0
- package/dist/vtc/badges/awards/list/0.1/payload.d.ts +1228 -0
- package/dist/vtc/badges/awards/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/awards/list/0.1/payload.js +699 -0
- package/dist/vtc/badges/awards/list/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/awards/offer/0.1/payload.d.ts +793 -0
- package/dist/vtc/badges/awards/offer/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/awards/offer/0.1/payload.js +461 -0
- package/dist/vtc/badges/awards/offer/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/awards/revoke/0.1/payload.d.ts +605 -0
- package/dist/vtc/badges/awards/revoke/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/awards/revoke/0.1/payload.js +351 -0
- package/dist/vtc/badges/awards/revoke/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/awards/withdraw/0.1/payload.d.ts +605 -0
- package/dist/vtc/badges/awards/withdraw/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/awards/withdraw/0.1/payload.js +351 -0
- package/dist/vtc/badges/awards/withdraw/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/create/0.1/payload.d.ts +1829 -0
- package/dist/vtc/badges/create/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/create/0.1/payload.js +1051 -0
- package/dist/vtc/badges/create/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/holders/list/0.1/payload.d.ts +984 -0
- package/dist/vtc/badges/holders/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/holders/list/0.1/payload.js +555 -0
- package/dist/vtc/badges/holders/list/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/images/get/0.1/payload.d.ts +454 -0
- package/dist/vtc/badges/images/get/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/images/get/0.1/payload.js +266 -0
- package/dist/vtc/badges/images/get/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/images/upload/0.1/payload.d.ts +455 -0
- package/dist/vtc/badges/images/upload/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/images/upload/0.1/payload.js +276 -0
- package/dist/vtc/badges/images/upload/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/kudos/give/0.1/payload.d.ts +613 -0
- package/dist/vtc/badges/kudos/give/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/kudos/give/0.1/payload.js +353 -0
- package/dist/vtc/badges/kudos/give/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/kudos/list/0.1/payload.d.ts +1766 -0
- package/dist/vtc/badges/kudos/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/kudos/list/0.1/payload.js +995 -0
- package/dist/vtc/badges/kudos/list/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/list/0.1/payload.d.ts +1096 -0
- package/dist/vtc/badges/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/list/0.1/payload.js +617 -0
- package/dist/vtc/badges/list/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/mine/accept/0.1/payload.d.ts +1376 -0
- package/dist/vtc/badges/mine/accept/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/mine/accept/0.1/payload.js +799 -0
- package/dist/vtc/badges/mine/accept/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/mine/arrange/0.1/payload.d.ts +1217 -0
- package/dist/vtc/badges/mine/arrange/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/mine/arrange/0.1/payload.js +698 -0
- package/dist/vtc/badges/mine/arrange/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/mine/decline/0.1/payload.d.ts +589 -0
- package/dist/vtc/badges/mine/decline/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/mine/decline/0.1/payload.js +344 -0
- package/dist/vtc/badges/mine/decline/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/mine/hide/0.1/payload.d.ts +1093 -0
- package/dist/vtc/badges/mine/hide/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/mine/hide/0.1/payload.js +630 -0
- package/dist/vtc/badges/mine/hide/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/mine/list/0.1/payload.d.ts +1897 -0
- package/dist/vtc/badges/mine/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/mine/list/0.1/payload.js +1087 -0
- package/dist/vtc/badges/mine/list/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/mine/show/0.1/payload.d.ts +1093 -0
- package/dist/vtc/badges/mine/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/mine/show/0.1/payload.js +630 -0
- package/dist/vtc/badges/mine/show/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/promote/0.1/payload.d.ts +1757 -0
- package/dist/vtc/badges/promote/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/promote/0.1/payload.js +1018 -0
- package/dist/vtc/badges/promote/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/retire/0.1/payload.d.ts +904 -0
- package/dist/vtc/badges/retire/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/retire/0.1/payload.js +524 -0
- package/dist/vtc/badges/retire/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/settings/show/0.1/payload.d.ts +731 -0
- package/dist/vtc/badges/settings/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/settings/show/0.1/payload.js +421 -0
- package/dist/vtc/badges/settings/show/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/settings/update/0.1/payload.d.ts +775 -0
- package/dist/vtc/badges/settings/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/settings/update/0.1/payload.js +444 -0
- package/dist/vtc/badges/settings/update/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/show/0.1/payload.d.ts +1056 -0
- package/dist/vtc/badges/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/show/0.1/payload.js +613 -0
- package/dist/vtc/badges/show/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/update/0.1/payload.d.ts +1033 -0
- package/dist/vtc/badges/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/update/0.1/payload.js +588 -0
- package/dist/vtc/badges/update/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/wall/show/0.1/payload.d.ts +1099 -0
- package/dist/vtc/badges/wall/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/wall/show/0.1/payload.js +634 -0
- package/dist/vtc/badges/wall/show/0.1/payload.js.map +1 -0
- package/dist/vtc/groups/create/0.1/payload.d.ts +42 -2
- package/dist/vtc/groups/create/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/groups/create/0.1/payload.js +20 -0
- package/dist/vtc/groups/create/0.1/payload.js.map +1 -1
- package/dist/vtc/groups/list/0.1/payload.d.ts +42 -2
- package/dist/vtc/groups/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/groups/list/0.1/payload.js +20 -0
- package/dist/vtc/groups/list/0.1/payload.js.map +1 -1
- package/dist/vtc/groups/list/0.2/payload.d.ts +42 -2
- package/dist/vtc/groups/list/0.2/payload.d.ts.map +1 -1
- package/dist/vtc/groups/list/0.2/payload.js +20 -0
- package/dist/vtc/groups/list/0.2/payload.js.map +1 -1
- package/dist/vtc/groups/show/0.1/payload.d.ts +42 -2
- package/dist/vtc/groups/show/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/groups/show/0.1/payload.js +20 -0
- package/dist/vtc/groups/show/0.1/payload.js.map +1 -1
- package/dist/vtc/groups/update/0.1/payload.d.ts +42 -2
- package/dist/vtc/groups/update/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/groups/update/0.1/payload.js +20 -0
- package/dist/vtc/groups/update/0.1/payload.js.map +1 -1
- package/dist/vtn/registry/check/0.1/payload.d.ts +528 -0
- package/dist/vtn/registry/check/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/registry/check/0.1/payload.js +282 -0
- package/dist/vtn/registry/check/0.1/payload.js.map +1 -0
- package/dist/vtn/registry/status/0.1/payload.d.ts +736 -0
- package/dist/vtn/registry/status/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/registry/status/0.1/payload.js +421 -0
- package/dist/vtn/registry/status/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +254 -1
- package/src/index.ts +87 -0
- package/src/vta/collection/_shared/0.1/collection.ts +2 -2
- package/src/vta/collection/list/0.1/payload.ts +2 -2
- package/src/vta/collection/settings/set/0.1/payload.ts +319 -0
- package/src/vta/collection/settings/show/0.1/payload.ts +296 -0
- package/src/vtc/badges/_shared/0.1/badge.ts +23 -0
- package/src/vtc/badges/awards/list/0.1/payload.ts +768 -0
- package/src/vtc/badges/awards/offer/0.1/payload.ts +530 -0
- package/src/vtc/badges/awards/revoke/0.1/payload.ts +395 -0
- package/src/vtc/badges/awards/withdraw/0.1/payload.ts +395 -0
- package/src/vtc/badges/create/0.1/payload.ts +1137 -0
- package/src/vtc/badges/holders/list/0.1/payload.ts +628 -0
- package/src/vtc/badges/images/get/0.1/payload.ts +311 -0
- package/src/vtc/badges/images/upload/0.1/payload.ts +324 -0
- package/src/vtc/badges/kudos/give/0.1/payload.ts +401 -0
- package/src/vtc/badges/kudos/list/0.1/payload.ts +1080 -0
- package/src/vtc/badges/list/0.1/payload.ts +695 -0
- package/src/vtc/badges/mine/accept/0.1/payload.ts +840 -0
- package/src/vtc/badges/mine/arrange/0.1/payload.ts +768 -0
- package/src/vtc/badges/mine/decline/0.1/payload.ts +384 -0
- package/src/vtc/badges/mine/hide/0.1/payload.ts +670 -0
- package/src/vtc/badges/mine/list/0.1/payload.ts +1153 -0
- package/src/vtc/badges/mine/show/0.1/payload.ts +670 -0
- package/src/vtc/badges/promote/0.1/payload.ts +1088 -0
- package/src/vtc/badges/retire/0.1/payload.ts +565 -0
- package/src/vtc/badges/settings/show/0.1/payload.ts +457 -0
- package/src/vtc/badges/settings/update/0.1/payload.ts +490 -0
- package/src/vtc/badges/show/0.1/payload.ts +675 -0
- package/src/vtc/badges/update/0.1/payload.ts +656 -0
- package/src/vtc/badges/wall/show/0.1/payload.ts +684 -0
- package/src/vtc/groups/create/0.1/payload.ts +22 -2
- package/src/vtc/groups/list/0.1/payload.ts +22 -2
- package/src/vtc/groups/list/0.2/payload.ts +22 -2
- package/src/vtc/groups/show/0.1/payload.ts +22 -2
- package/src/vtc/groups/update/0.1/payload.ts +22 -2
- package/src/vtn/registry/check/0.1/payload.ts +365 -0
- package/src/vtn/registry/status/0.1/payload.ts +502 -0
|
@@ -419,12 +419,48 @@ export type AuthModel =
|
|
|
419
419
|
* An explicit authority scope — used for both the act scope and the approve scope of an entry. Exactly one of three shapes, discriminated by `scope`: `all`, `none`, or `contexts` with a NON-EMPTY list. The empty list is not a fourth shape: it is invalid, so a serializer that drops or empties the list produces a document that fails validation rather than one that silently means something else.
|
|
420
420
|
*/
|
|
421
421
|
export type AuthorityScope = AuthorityScopeAll | AuthorityScopeNone | AuthorityScopeContexts;
|
|
422
|
+
/**
|
|
423
|
+
* Opaque identifier of one giving of a badge to one member: `awd_` followed by 16 to 64 base64url characters. Random and unique within the community.
|
|
424
|
+
*/
|
|
425
|
+
export type AwardId = string;
|
|
426
|
+
/**
|
|
427
|
+
* What the award is for, from the giver, shown to the recipient and written as the award's evidence narrative where the badge carries a credential. Plain text; erased with its author (VTI-BDG-090).
|
|
428
|
+
*/
|
|
429
|
+
export type AwardNote = string;
|
|
430
|
+
/**
|
|
431
|
+
* `offered`: waiting for the recipient. `accepted`: the recipient took it; for a community badge the credential was issued and the membership recorded. `declined`: the recipient declined; nothing was recorded in the group and nothing issued. `withdrawn`: the giver withdrew the offer before a decision. `expired`: the offer lapsed unanswered. `revoked`: taken back after acceptance (VTI-BDG-023).
|
|
432
|
+
*/
|
|
433
|
+
export type AwardState = "offered" | "accepted" | "declined" | "withdrawn" | "expired" | "revoked";
|
|
422
434
|
export type AwsArn = string;
|
|
423
435
|
export type AwsRegion = string;
|
|
424
436
|
/**
|
|
425
437
|
* The ARN of an AWS IAM role, in any AWS partition (`arn:aws:`, `arn:aws-cn:`, `arn:aws-us-gov:`). Validated here because the community passes it to STS AssumeRole and derives the partition of the session policy's resources from it; it must never carry anything but a role ARN.
|
|
426
438
|
*/
|
|
427
439
|
export type AwsRoleArn = string;
|
|
440
|
+
/**
|
|
441
|
+
* How the badge is earned, shown to members and written into the credential's Achievement as its criteria narrative. Plain text.
|
|
442
|
+
*/
|
|
443
|
+
export type BadgeCriteria = string;
|
|
444
|
+
/**
|
|
445
|
+
* What the badge is for. Plain text; a reader MUST NOT treat it as instructions.
|
|
446
|
+
*/
|
|
447
|
+
export type BadgeDescription = string;
|
|
448
|
+
/**
|
|
449
|
+
* Opaque identifier of a badge: `bdg_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BDG-001).
|
|
450
|
+
*/
|
|
451
|
+
export type BadgeId = string;
|
|
452
|
+
/**
|
|
453
|
+
* `community`: defined by holders of `vtc.badges.admin`, given by its owners (its badge group's managers), may carry a credential. `kudos`: made by a member the community's badge settings admit, given by any active member to any other, never a credential. Fixed for the badge's life; a kudos badge becomes a community badge only by promotion (vtc/badges/promote).
|
|
454
|
+
*/
|
|
455
|
+
export type BadgeKind = "community" | "kudos";
|
|
456
|
+
/**
|
|
457
|
+
* The badge's name, shown on the wall and written into the credential's Achievement. Plain text; a reader MUST NOT treat it as instructions.
|
|
458
|
+
*/
|
|
459
|
+
export type BadgeName = string;
|
|
460
|
+
/**
|
|
461
|
+
* `active`: may be given and shown. `retired`: kept for its holders' own history, never given, never shown to members who do not hold it (VTI-BDG-005).
|
|
462
|
+
*/
|
|
463
|
+
export type BadgeState = "active" | "retired";
|
|
428
464
|
export type BindingId = string;
|
|
429
465
|
export type BindingSpec = RoomBindingSpec | GrantsBindingSpec | RoleBindingSpec;
|
|
430
466
|
/**
|
|
@@ -1274,7 +1310,7 @@ export type NamespaceId = string;
|
|
|
1274
1310
|
*/
|
|
1275
1311
|
export type NodeKind = "network" | "community";
|
|
1276
1312
|
/**
|
|
1277
|
-
* Why nobody collects for an identifier the VTA would otherwise collect for: `limit`, the VTA is at the bound it states on the number of identifiers it collects for (VTI-NTF-088); `conflict`, another connection for the identifier kept closing the VTA's, and the VTA stopped after the bound it states until the conflict is resolved (VTI-NTF-085). `disabled`, the VTA's operator has
|
|
1313
|
+
* Why nobody collects for an identifier the VTA would otherwise collect for: `limit`, the VTA is at the bound it states on the number of identifiers it collects for (VTI-NTF-088); `conflict`, another connection for the identifier kept closing the VTA's, and the VTA stopped after the bound it states until the conflict is resolved (VTI-NTF-085). `disabled`, collection by default is disabled for the identifier's trust context — by the context's own setting, or because the VTA's operator has suspended it for every context — so the VTA collects for no identifier there that a client has not claimed (VTI-NTF-097, VTI-NTF-098); vta/collection/settings/show says which.
|
|
1278
1314
|
*/
|
|
1279
1315
|
export type NotCollectedReason = "limit" | "conflict" | "disabled";
|
|
1280
1316
|
/**
|
|
@@ -2513,6 +2549,10 @@ export type Vid = string;
|
|
|
2513
2549
|
* How much of a room its host can see, fixed at creation and immutable thereafter. `open`: records are cleartext, searchable and fully audited. `attributed`: record content is sealed, and the host still learns which member acted. `private`: content is sealed and membership is presented in zero knowledge, so the host verifies that a member acted without learning which. Immutable because a downgrade cannot un-see cleartext and an upgrade would protect only what came after while presenting as though it protected everything.
|
|
2514
2550
|
*/
|
|
2515
2551
|
export type Visibility = "open" | "attributed" | "private";
|
|
2552
|
+
/**
|
|
2553
|
+
* Who sees a member's badges, the member's own setting (VTI-BDG-031). `members`: every active member the directory shows their card to. `nobody`: no one but the member. Never wider than the directory shows the card.
|
|
2554
|
+
*/
|
|
2555
|
+
export type WallVisibility = "members" | "nobody";
|
|
2516
2556
|
/**
|
|
2517
2557
|
* A file's content hash: the lowercase hex SHA-256 of its bytes — the `etag` vtc/website/files/list reports, and the `ETag` a direct read of the path returns, without the HTTP quotes.
|
|
2518
2558
|
*/
|
|
@@ -5916,6 +5956,31 @@ export interface AutoGrantSweep {
|
|
|
5916
5956
|
*/
|
|
5917
5957
|
errors: number;
|
|
5918
5958
|
}
|
|
5959
|
+
/**
|
|
5960
|
+
* One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires.
|
|
5961
|
+
*/
|
|
5962
|
+
export interface Award {
|
|
5963
|
+
awardId: AwardId;
|
|
5964
|
+
badgeId: BadgeId;
|
|
5965
|
+
/**
|
|
5966
|
+
* The recipient.
|
|
5967
|
+
*/
|
|
5968
|
+
entryId: EntryId;
|
|
5969
|
+
givenBy?: EntryId;
|
|
5970
|
+
note?: AwardNote;
|
|
5971
|
+
state: AwardState;
|
|
5972
|
+
offeredAt: string;
|
|
5973
|
+
/**
|
|
5974
|
+
* When the recipient accepted or declined, the giver withdrew, the offer expired, or the award was revoked.
|
|
5975
|
+
*/
|
|
5976
|
+
decidedAt?: string;
|
|
5977
|
+
/**
|
|
5978
|
+
* When an unanswered offer lapses, where the community expires offers.
|
|
5979
|
+
*/
|
|
5980
|
+
expiresAt?: string;
|
|
5981
|
+
credentialId?: GroupCredentialId;
|
|
5982
|
+
ext?: Ext;
|
|
5983
|
+
}
|
|
5919
5984
|
/**
|
|
5920
5985
|
* Unencrypted metadata plus the encrypted payload. The KDF and cipher parameters travel in the clear so a reader can decrypt without knowing this specification's defaults.
|
|
5921
5986
|
*/
|
|
@@ -5951,6 +6016,108 @@ export interface BackupEnvelope {
|
|
|
5951
6016
|
*/
|
|
5952
6017
|
ciphertext: string;
|
|
5953
6018
|
}
|
|
6019
|
+
/**
|
|
6020
|
+
* A badge as a caller who may see it sees it. `groupId` is present exactly when `kind` is `community`. `holderCount` only to callers who may see the badge's holders, counted over holders who have not hidden it (VTI-BDG-030, VTI-BDG-033). `createdBy` is the directory entry of the administrator or member who made it, where they have one.
|
|
6021
|
+
*/
|
|
6022
|
+
export interface Badge {
|
|
6023
|
+
badgeId: BadgeId;
|
|
6024
|
+
kind: BadgeKind;
|
|
6025
|
+
name: BadgeName;
|
|
6026
|
+
description: BadgeDescription;
|
|
6027
|
+
criteria?: BadgeCriteria;
|
|
6028
|
+
/**
|
|
6029
|
+
* The badge's picture, re-encoded and stored by the community (vtc/badges/images/upload), read with vtc/badges/images/get. `url` and `urlExpiresAt` MAY appear in a projection as for a card picture; for a badge whose holders may show it outside, `url` MAY be the picture's stable public location.
|
|
6030
|
+
*/
|
|
6031
|
+
image: CardBlobRef;
|
|
6032
|
+
/**
|
|
6033
|
+
* Whether one member may hold the badge more than once, each giving an award of its own (VTI-BDG-022). Always true for a kudos badge.
|
|
6034
|
+
*/
|
|
6035
|
+
repeatable: boolean;
|
|
6036
|
+
/**
|
|
6037
|
+
* Community badges only. Whether a member may ask for it: a request to join its badge group, decided by its owners (VTI-BDG-014). Absent reads as false.
|
|
6038
|
+
*/
|
|
6039
|
+
requestable?: boolean;
|
|
6040
|
+
/**
|
|
6041
|
+
* Whether members who do not hold the badge see it in the community's badge list. An unlisted badge is seen by its holders, its owners and administrators.
|
|
6042
|
+
*/
|
|
6043
|
+
listed: boolean;
|
|
6044
|
+
/**
|
|
6045
|
+
* Community badges only. Whether its holders may show it outside the community, which decides the credential's regime: short-lived and renewed with no status when false, long-lived with a status in the community's own status set when true (VTI-BDG-061, VTI-BDG-062). Absent reads as false.
|
|
6046
|
+
*/
|
|
6047
|
+
shareableOutside?: boolean;
|
|
6048
|
+
/**
|
|
6049
|
+
* The badge group that backs a community badge: its managers are the badge's owners, its members the holders, its DID the credential's issuer.
|
|
6050
|
+
*/
|
|
6051
|
+
groupId?: GroupId;
|
|
6052
|
+
state: BadgeState;
|
|
6053
|
+
/**
|
|
6054
|
+
* Holders who show the badge. Only to callers who may see the holders.
|
|
6055
|
+
*/
|
|
6056
|
+
holderCount?: number;
|
|
6057
|
+
createdAt: string;
|
|
6058
|
+
createdBy?: EntryId;
|
|
6059
|
+
updatedAt?: string;
|
|
6060
|
+
retiredAt?: string;
|
|
6061
|
+
/**
|
|
6062
|
+
* Ecosystem-defined extension members per SPEC.md §4.5.1. An extension member MUST NOT carry authority.
|
|
6063
|
+
*/
|
|
6064
|
+
ext?: Ext;
|
|
6065
|
+
}
|
|
6066
|
+
/**
|
|
6067
|
+
* The community's bounds (VTI-BDG-032, VTI-BDG-040). Each has a default a community that states none applies.
|
|
6068
|
+
*/
|
|
6069
|
+
export interface BadgeLimits {
|
|
6070
|
+
/**
|
|
6071
|
+
* Kudos one member may give in a day. Default 10.
|
|
6072
|
+
*/
|
|
6073
|
+
kudosPerGiverPerDay?: number;
|
|
6074
|
+
/**
|
|
6075
|
+
* How often the same member may give a kudos badge to the same member: at most once a day, once a week, or without bound. Default `day`.
|
|
6076
|
+
*/
|
|
6077
|
+
sameGiverSameMember?: "day" | "week" | "unbounded";
|
|
6078
|
+
/**
|
|
6079
|
+
* Days of membership before a member may give kudos or make a kudos badge. Default 7.
|
|
6080
|
+
*/
|
|
6081
|
+
minTenureDays?: number;
|
|
6082
|
+
/**
|
|
6083
|
+
* Kudos badges one member may make in a calendar month. Default 5.
|
|
6084
|
+
*/
|
|
6085
|
+
kudosBadgesPerMakerPerMonth?: number;
|
|
6086
|
+
/**
|
|
6087
|
+
* Badges a member may pin beside their name. Default 2.
|
|
6088
|
+
*/
|
|
6089
|
+
maxPinned?: number;
|
|
6090
|
+
/**
|
|
6091
|
+
* Days an unanswered offer stands before it expires. Absent: offers do not expire.
|
|
6092
|
+
*/
|
|
6093
|
+
offerExpiresAfterDays?: number;
|
|
6094
|
+
}
|
|
6095
|
+
/**
|
|
6096
|
+
* The community's badge settings (VTI-BDG-004). `enabled` false hides every badge surface and keeps every record; nothing is given or issued while it is false.
|
|
6097
|
+
*/
|
|
6098
|
+
export interface BadgeSettings {
|
|
6099
|
+
enabled: boolean;
|
|
6100
|
+
kudosMakers: KudosMakers;
|
|
6101
|
+
limits?: BadgeLimits;
|
|
6102
|
+
/**
|
|
6103
|
+
* Whether a member's kudos total is shown on their card (VTI-BDG-043).
|
|
6104
|
+
*/
|
|
6105
|
+
showKudosTotals: boolean;
|
|
6106
|
+
/**
|
|
6107
|
+
* Whether dynamic badge groups are computed (VTI-BDG-013). False: a community badge may not be created on a dynamic group, and existing ones are not recomputed.
|
|
6108
|
+
*/
|
|
6109
|
+
automaticBadges: boolean;
|
|
6110
|
+
/**
|
|
6111
|
+
* Whether any community badge may be marked `requestable`. False: every badge group is closed.
|
|
6112
|
+
*/
|
|
6113
|
+
membersMayRequest: boolean;
|
|
6114
|
+
/**
|
|
6115
|
+
* Validity of a badge credential its holders may show outside (VTI-BDG-062). Default 730.
|
|
6116
|
+
*/
|
|
6117
|
+
credentialValidDays?: number;
|
|
6118
|
+
updatedAt?: string;
|
|
6119
|
+
ext?: Ext;
|
|
6120
|
+
}
|
|
5954
6121
|
/**
|
|
5955
6122
|
* An open ballot: one answer per question of the manifest, in any order. The bytes a cast's proof binds are the RFC 8785 (JCS) canonicalization of this object as received.
|
|
5956
6123
|
*/
|
|
@@ -6735,6 +6902,31 @@ export interface CollectionEntry {
|
|
|
6735
6902
|
claim?: Claim;
|
|
6736
6903
|
notCollectedReason?: NotCollectedReason;
|
|
6737
6904
|
}
|
|
6905
|
+
/**
|
|
6906
|
+
* Whether the VTA collects by default for the identifiers of one trust context that no client has claimed (VTI-NTF-094 – VTI-NTF-098), and who last changed that. The VTA collects for them exactly when `collectByDefault` is true and `suspendedByOperator` is false. `changedBy` and `changedAt` are present together, and both absent while the setting has never been changed.
|
|
6907
|
+
*/
|
|
6908
|
+
export interface CollectionSetting {
|
|
6909
|
+
/**
|
|
6910
|
+
* The trust context the setting belongs to. It applies to that context's identifiers alone, not to its ancestors' or descendants' (VTI-NTF-094).
|
|
6911
|
+
*/
|
|
6912
|
+
contextId: ContextId_VtaCollectionV0_1;
|
|
6913
|
+
/**
|
|
6914
|
+
* The context's own setting: true unless a party with administrative authority over the context has disabled it (VTI-NTF-094, VTI-NTF-095). The VTA keeps it across restarts.
|
|
6915
|
+
*/
|
|
6916
|
+
collectByDefault: boolean;
|
|
6917
|
+
/**
|
|
6918
|
+
* Whether the VTA's operator has suspended collection by default for every context (VTI-NTF-098). While true, the VTA collects for no unclaimed identifier here whatever `collectByDefault` says, and does not change it; once lifted, `collectByDefault` applies again. Always false at a VTA that offers its operator no suspension.
|
|
6919
|
+
*/
|
|
6920
|
+
suspendedByOperator: boolean;
|
|
6921
|
+
/**
|
|
6922
|
+
* The subject of the access control entry that last changed `collectByDefault` (VTI-NTF-096).
|
|
6923
|
+
*/
|
|
6924
|
+
changedBy?: Did_NotificationsV0_1;
|
|
6925
|
+
/**
|
|
6926
|
+
* When `collectByDefault` was last changed.
|
|
6927
|
+
*/
|
|
6928
|
+
changedAt?: string;
|
|
6929
|
+
}
|
|
6738
6930
|
/**
|
|
6739
6931
|
* OPTIONAL. How the community asks to be shown to a prospective applicant: a name, an accent colour and a logo. Presentation only, self-asserted and unverified — `communityDid` identifies the community, never `branding`. Not part of any criterion, so not covered by a `requirementsDigest`. Every member is optional.
|
|
6740
6932
|
*/
|
|
@@ -9798,6 +9990,10 @@ export interface Group {
|
|
|
9798
9990
|
* `true` while the group has a `grants` or `role` binding. Such a group is `static` and `closed` for as long as it does.
|
|
9799
9991
|
*/
|
|
9800
9992
|
carriesAuthority: boolean;
|
|
9993
|
+
/**
|
|
9994
|
+
* Present exactly when the group backs a community badge (vtc/badges/*): its managers are the badge's owners, its members the badge's holders, and its DID issues the badge credential in place of a membership credential. A badge group never carries authority, is not counted among the groups two members share, and is listed among the community's groups only to a caller who asks for badge groups (VTI-BDG-010 – VTI-BDG-012).
|
|
9995
|
+
*/
|
|
9996
|
+
badgeId?: BadgeId;
|
|
9801
9997
|
/**
|
|
9802
9998
|
* Active members. Only to callers who may see the member list.
|
|
9803
9999
|
*/
|
|
@@ -10817,6 +11013,24 @@ export interface KeyScopeListed {
|
|
|
10817
11013
|
export interface KeyScopeNone {
|
|
10818
11014
|
scope: "none";
|
|
10819
11015
|
}
|
|
11016
|
+
/**
|
|
11017
|
+
* Who may make a kudos badge (VTI-BDG-004). `nobody`: no kudos badges. `roles`: holders of any of `roles`, or members of any of `groups`. `members`: every active member.
|
|
11018
|
+
*/
|
|
11019
|
+
export interface KudosMakers {
|
|
11020
|
+
policy: "nobody" | "roles" | "members";
|
|
11021
|
+
/**
|
|
11022
|
+
* Community role names. Read exactly when `policy` is `roles`.
|
|
11023
|
+
*
|
|
11024
|
+
* @maxItems 32
|
|
11025
|
+
*/
|
|
11026
|
+
roles?: string[];
|
|
11027
|
+
/**
|
|
11028
|
+
* Read exactly when `policy` is `roles`.
|
|
11029
|
+
*
|
|
11030
|
+
* @maxItems 32
|
|
11031
|
+
*/
|
|
11032
|
+
groups?: GroupId[];
|
|
11033
|
+
}
|
|
10820
11034
|
/**
|
|
10821
11035
|
* Which limits an override applies to. `room`: the room as a whole. `memberDefault`: every member of the room who has no override of their own. `member`: one named member — `member` is REQUIRED with this kind and forbidden with the others, a rule this schema does not express; a community refuses a violation with `malformedRequest`.
|
|
10822
11036
|
*/
|
|
@@ -11473,6 +11687,26 @@ export interface MonitorFilter {
|
|
|
11473
11687
|
*/
|
|
11474
11688
|
failuresOnly?: boolean;
|
|
11475
11689
|
}
|
|
11690
|
+
/**
|
|
11691
|
+
* A badge as its holder sees it in their own list: the wall entry plus what only the holder knows — whether they hid it, their position for it, and the credential that evidences it.
|
|
11692
|
+
*/
|
|
11693
|
+
export interface MyBadge {
|
|
11694
|
+
badge: Badge;
|
|
11695
|
+
count: number;
|
|
11696
|
+
since: string;
|
|
11697
|
+
latestAt?: string;
|
|
11698
|
+
pinned: boolean;
|
|
11699
|
+
/**
|
|
11700
|
+
* The holder hid it: off their wall, out of the badge's holder list for members, out of its count; the awards, the membership and the credential stand (VTI-BDG-030).
|
|
11701
|
+
*/
|
|
11702
|
+
hidden: boolean;
|
|
11703
|
+
/**
|
|
11704
|
+
* The holder's order on their wall, lowest first.
|
|
11705
|
+
*/
|
|
11706
|
+
position?: number;
|
|
11707
|
+
credentialId?: GroupCredentialId;
|
|
11708
|
+
credentialValidUntil?: string;
|
|
11709
|
+
}
|
|
11476
11710
|
export interface NetworkMembership {
|
|
11477
11711
|
/**
|
|
11478
11712
|
* The network's DID.
|
|
@@ -16399,6 +16633,25 @@ export interface WakeTriggerPolicy {
|
|
|
16399
16633
|
*/
|
|
16400
16634
|
allowedTriggers: string[];
|
|
16401
16635
|
}
|
|
16636
|
+
/**
|
|
16637
|
+
* One badge on a member's wall as a viewer sees it: the badge, how many times the member holds it, since when, and whether the member pinned it. Hidden badges are never wall entries (VTI-BDG-030).
|
|
16638
|
+
*/
|
|
16639
|
+
export interface WallEntry {
|
|
16640
|
+
badge: Badge;
|
|
16641
|
+
/**
|
|
16642
|
+
* Accepted awards of this badge the member holds.
|
|
16643
|
+
*/
|
|
16644
|
+
count: number;
|
|
16645
|
+
/**
|
|
16646
|
+
* When the member first accepted this badge.
|
|
16647
|
+
*/
|
|
16648
|
+
since: string;
|
|
16649
|
+
/**
|
|
16650
|
+
* When the member last accepted an award of this badge.
|
|
16651
|
+
*/
|
|
16652
|
+
latestAt?: string;
|
|
16653
|
+
pinned: boolean;
|
|
16654
|
+
}
|
|
16402
16655
|
export interface WalrusSettings {
|
|
16403
16656
|
kind: "walrus";
|
|
16404
16657
|
/**
|
package/src/index.ts
CHANGED
|
@@ -2394,6 +2394,12 @@ export import VtaCollectionList_v0_1 = _VtaCollectionList_v0_1;
|
|
|
2394
2394
|
import * as _VtaCollectionRelease_v0_1 from "./vta/collection/release/0.1/payload.js";
|
|
2395
2395
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2396
2396
|
export import VtaCollectionRelease_v0_1 = _VtaCollectionRelease_v0_1;
|
|
2397
|
+
import * as _VtaCollectionSettingsSet_v0_1 from "./vta/collection/settings/set/0.1/payload.js";
|
|
2398
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2399
|
+
export import VtaCollectionSettingsSet_v0_1 = _VtaCollectionSettingsSet_v0_1;
|
|
2400
|
+
import * as _VtaCollectionSettingsShow_v0_1 from "./vta/collection/settings/show/0.1/payload.js";
|
|
2401
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2402
|
+
export import VtaCollectionSettingsShow_v0_1 = _VtaCollectionSettingsShow_v0_1;
|
|
2397
2403
|
import * as _VtaContextsCreate_v1_0 from "./vta/contexts/create/1.0/payload.js";
|
|
2398
2404
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2399
2405
|
export import VtaContextsCreate_v1_0 = _VtaContextsCreate_v1_0;
|
|
@@ -3198,6 +3204,81 @@ export import VtcBackupExport_v0_1 = _VtcBackupExport_v0_1;
|
|
|
3198
3204
|
import * as _VtcBackupImport_v0_1 from "./vtc/backup/import/0.1/payload.js";
|
|
3199
3205
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3200
3206
|
export import VtcBackupImport_v0_1 = _VtcBackupImport_v0_1;
|
|
3207
|
+
import * as _BadgeShared_v0_1 from "./vtc/badges/_shared/0.1/badge.js";
|
|
3208
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3209
|
+
export import BadgeShared_v0_1 = _BadgeShared_v0_1;
|
|
3210
|
+
import * as _VtcBadgesAwardsList_v0_1 from "./vtc/badges/awards/list/0.1/payload.js";
|
|
3211
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3212
|
+
export import VtcBadgesAwardsList_v0_1 = _VtcBadgesAwardsList_v0_1;
|
|
3213
|
+
import * as _VtcBadgesAwardsOffer_v0_1 from "./vtc/badges/awards/offer/0.1/payload.js";
|
|
3214
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3215
|
+
export import VtcBadgesAwardsOffer_v0_1 = _VtcBadgesAwardsOffer_v0_1;
|
|
3216
|
+
import * as _VtcBadgesAwardsRevoke_v0_1 from "./vtc/badges/awards/revoke/0.1/payload.js";
|
|
3217
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3218
|
+
export import VtcBadgesAwardsRevoke_v0_1 = _VtcBadgesAwardsRevoke_v0_1;
|
|
3219
|
+
import * as _VtcBadgesAwardsWithdraw_v0_1 from "./vtc/badges/awards/withdraw/0.1/payload.js";
|
|
3220
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3221
|
+
export import VtcBadgesAwardsWithdraw_v0_1 = _VtcBadgesAwardsWithdraw_v0_1;
|
|
3222
|
+
import * as _VtcBadgesCreate_v0_1 from "./vtc/badges/create/0.1/payload.js";
|
|
3223
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3224
|
+
export import VtcBadgesCreate_v0_1 = _VtcBadgesCreate_v0_1;
|
|
3225
|
+
import * as _VtcBadgesHoldersList_v0_1 from "./vtc/badges/holders/list/0.1/payload.js";
|
|
3226
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3227
|
+
export import VtcBadgesHoldersList_v0_1 = _VtcBadgesHoldersList_v0_1;
|
|
3228
|
+
import * as _VtcBadgesImagesGet_v0_1 from "./vtc/badges/images/get/0.1/payload.js";
|
|
3229
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3230
|
+
export import VtcBadgesImagesGet_v0_1 = _VtcBadgesImagesGet_v0_1;
|
|
3231
|
+
import * as _VtcBadgesImagesUpload_v0_1 from "./vtc/badges/images/upload/0.1/payload.js";
|
|
3232
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3233
|
+
export import VtcBadgesImagesUpload_v0_1 = _VtcBadgesImagesUpload_v0_1;
|
|
3234
|
+
import * as _VtcBadgesKudosGive_v0_1 from "./vtc/badges/kudos/give/0.1/payload.js";
|
|
3235
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3236
|
+
export import VtcBadgesKudosGive_v0_1 = _VtcBadgesKudosGive_v0_1;
|
|
3237
|
+
import * as _VtcBadgesKudosList_v0_1 from "./vtc/badges/kudos/list/0.1/payload.js";
|
|
3238
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3239
|
+
export import VtcBadgesKudosList_v0_1 = _VtcBadgesKudosList_v0_1;
|
|
3240
|
+
import * as _VtcBadgesList_v0_1 from "./vtc/badges/list/0.1/payload.js";
|
|
3241
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3242
|
+
export import VtcBadgesList_v0_1 = _VtcBadgesList_v0_1;
|
|
3243
|
+
import * as _VtcBadgesMineAccept_v0_1 from "./vtc/badges/mine/accept/0.1/payload.js";
|
|
3244
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3245
|
+
export import VtcBadgesMineAccept_v0_1 = _VtcBadgesMineAccept_v0_1;
|
|
3246
|
+
import * as _VtcBadgesMineArrange_v0_1 from "./vtc/badges/mine/arrange/0.1/payload.js";
|
|
3247
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3248
|
+
export import VtcBadgesMineArrange_v0_1 = _VtcBadgesMineArrange_v0_1;
|
|
3249
|
+
import * as _VtcBadgesMineDecline_v0_1 from "./vtc/badges/mine/decline/0.1/payload.js";
|
|
3250
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3251
|
+
export import VtcBadgesMineDecline_v0_1 = _VtcBadgesMineDecline_v0_1;
|
|
3252
|
+
import * as _VtcBadgesMineHide_v0_1 from "./vtc/badges/mine/hide/0.1/payload.js";
|
|
3253
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3254
|
+
export import VtcBadgesMineHide_v0_1 = _VtcBadgesMineHide_v0_1;
|
|
3255
|
+
import * as _VtcBadgesMineList_v0_1 from "./vtc/badges/mine/list/0.1/payload.js";
|
|
3256
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3257
|
+
export import VtcBadgesMineList_v0_1 = _VtcBadgesMineList_v0_1;
|
|
3258
|
+
import * as _VtcBadgesMineShow_v0_1 from "./vtc/badges/mine/show/0.1/payload.js";
|
|
3259
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3260
|
+
export import VtcBadgesMineShow_v0_1 = _VtcBadgesMineShow_v0_1;
|
|
3261
|
+
import * as _VtcBadgesPromote_v0_1 from "./vtc/badges/promote/0.1/payload.js";
|
|
3262
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3263
|
+
export import VtcBadgesPromote_v0_1 = _VtcBadgesPromote_v0_1;
|
|
3264
|
+
import * as _VtcBadgesRetire_v0_1 from "./vtc/badges/retire/0.1/payload.js";
|
|
3265
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3266
|
+
export import VtcBadgesRetire_v0_1 = _VtcBadgesRetire_v0_1;
|
|
3267
|
+
import * as _VtcBadgesSettingsShow_v0_1 from "./vtc/badges/settings/show/0.1/payload.js";
|
|
3268
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3269
|
+
export import VtcBadgesSettingsShow_v0_1 = _VtcBadgesSettingsShow_v0_1;
|
|
3270
|
+
import * as _VtcBadgesSettingsUpdate_v0_1 from "./vtc/badges/settings/update/0.1/payload.js";
|
|
3271
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3272
|
+
export import VtcBadgesSettingsUpdate_v0_1 = _VtcBadgesSettingsUpdate_v0_1;
|
|
3273
|
+
import * as _VtcBadgesShow_v0_1 from "./vtc/badges/show/0.1/payload.js";
|
|
3274
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3275
|
+
export import VtcBadgesShow_v0_1 = _VtcBadgesShow_v0_1;
|
|
3276
|
+
import * as _VtcBadgesUpdate_v0_1 from "./vtc/badges/update/0.1/payload.js";
|
|
3277
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3278
|
+
export import VtcBadgesUpdate_v0_1 = _VtcBadgesUpdate_v0_1;
|
|
3279
|
+
import * as _VtcBadgesWallShow_v0_1 from "./vtc/badges/wall/show/0.1/payload.js";
|
|
3280
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3281
|
+
export import VtcBadgesWallShow_v0_1 = _VtcBadgesWallShow_v0_1;
|
|
3201
3282
|
import * as _BoardShared_v0_1 from "./vtc/boards/_shared/0.1/board.js";
|
|
3202
3283
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
3203
3284
|
export import BoardShared_v0_1 = _BoardShared_v0_1;
|
|
@@ -4317,6 +4398,12 @@ export import VtnOutboxList_v0_1 = _VtnOutboxList_v0_1;
|
|
|
4317
4398
|
import * as _VtnOutboxRetry_v0_1 from "./vtn/outbox/retry/0.1/payload.js";
|
|
4318
4399
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
4319
4400
|
export import VtnOutboxRetry_v0_1 = _VtnOutboxRetry_v0_1;
|
|
4401
|
+
import * as _VtnRegistryCheck_v0_1 from "./vtn/registry/check/0.1/payload.js";
|
|
4402
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
4403
|
+
export import VtnRegistryCheck_v0_1 = _VtnRegistryCheck_v0_1;
|
|
4404
|
+
import * as _VtnRegistryStatus_v0_1 from "./vtn/registry/status/0.1/payload.js";
|
|
4405
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
4406
|
+
export import VtnRegistryStatus_v0_1 = _VtnRegistryStatus_v0_1;
|
|
4320
4407
|
import * as _VtnRelayDeliver_v0_1 from "./vtn/relay/deliver/0.1/payload.js";
|
|
4321
4408
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
4322
4409
|
export import VtnRelayDeliver_v0_1 = _VtnRelayDeliver_v0_1;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* Shared shapes for the collection of messages for a principal's identifiers. A VTA collects, from the mediator each identifier's DID document advertises, the messages queued for every identifier whose messaging keys it holds in one of the principal's trust contexts — its personas — unless a client of the principal holds a collection claim for it: a lease, granted by vta/collection/claim and ended by vta/collection/release or at its end, under which that client is the identifier's one collector. The mediator permits one connection per identifier, so at most one party collects for an identifier at a time (VTI-NTF-080 – VTI-NTF-092).
|
|
7
|
+
* Shared shapes for the collection of messages for a principal's identifiers. A VTA collects, from the mediator each identifier's DID document advertises, the messages queued for every identifier whose messaging keys it holds in one of the principal's trust contexts — its personas — unless a client of the principal holds a collection claim for it: a lease, granted by vta/collection/claim and ended by vta/collection/release or at its end, under which that client is the identifier's one collector. The mediator permits one connection per identifier, so at most one party collects for an identifier at a time (VTI-NTF-080 – VTI-NTF-092). Whether the VTA collects by default for the unclaimed identifiers of a trust context is that context's own setting, enabled unless a context administrator disables it with vta/collection/settings/set (VTI-NTF-094 – VTI-NTF-098).
|
|
8
8
|
*/
|
|
9
9
|
export interface VTACollectionSharedDefinitions {
|
|
10
10
|
[k: string]: unknown | undefined;
|
|
@@ -14,4 +14,4 @@ export interface VTACollectionSharedDefinitions {
|
|
|
14
14
|
* The definitions this shared schema publishes, hoisted to one declaration each.
|
|
15
15
|
* See "../../../../_shared/components.js".
|
|
16
16
|
*/
|
|
17
|
-
export type { Claim, CollectionEntry, Collector, ContextId_VtaCollectionV0_1 as ContextId, Did_NotificationsV0_1 as Did, NotCollectedReason } from "../../../../_shared/components.js";
|
|
17
|
+
export type { Claim, CollectionEntry, CollectionSetting, Collector, ContextId_VtaCollectionV0_1 as ContextId, Did_NotificationsV0_1 as Did, NotCollectedReason } from "../../../../_shared/components.js";
|
|
@@ -220,7 +220,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
220
220
|
},
|
|
221
221
|
"NotCollectedReason": {
|
|
222
222
|
"title": "NotCollectedReason",
|
|
223
|
-
"description": "Why nobody collects for an identifier the VTA would otherwise collect for: `limit`, the VTA is at the bound it states on the number of identifiers it collects for (VTI-NTF-088); `conflict`, another connection for the identifier kept closing the VTA's, and the VTA stopped after the bound it states until the conflict is resolved (VTI-NTF-085). `disabled`, the VTA's operator has
|
|
223
|
+
"description": "Why nobody collects for an identifier the VTA would otherwise collect for: `limit`, the VTA is at the bound it states on the number of identifiers it collects for (VTI-NTF-088); `conflict`, another connection for the identifier kept closing the VTA's, and the VTA stopped after the bound it states until the conflict is resolved (VTI-NTF-085). `disabled`, collection by default is disabled for the identifier's trust context — by the context's own setting, or because the VTA's operator has suspended it for every context — so the VTA collects for no identifier there that a client has not claimed (VTI-NTF-097, VTI-NTF-098); vta/collection/settings/show says which.",
|
|
224
224
|
"type": "string",
|
|
225
225
|
"enum": [
|
|
226
226
|
"limit",
|
|
@@ -398,7 +398,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
398
398
|
},
|
|
399
399
|
"NotCollectedReason": {
|
|
400
400
|
"title": "NotCollectedReason",
|
|
401
|
-
"description": "Why nobody collects for an identifier the VTA would otherwise collect for: `limit`, the VTA is at the bound it states on the number of identifiers it collects for (VTI-NTF-088); `conflict`, another connection for the identifier kept closing the VTA's, and the VTA stopped after the bound it states until the conflict is resolved (VTI-NTF-085). `disabled`, the VTA's operator has
|
|
401
|
+
"description": "Why nobody collects for an identifier the VTA would otherwise collect for: `limit`, the VTA is at the bound it states on the number of identifiers it collects for (VTI-NTF-088); `conflict`, another connection for the identifier kept closing the VTA's, and the VTA stopped after the bound it states until the conflict is resolved (VTI-NTF-085). `disabled`, collection by default is disabled for the identifier's trust context — by the context's own setting, or because the VTA's operator has suspended it for every context — so the VTA collects for no identifier there that a client has not claimed (VTI-NTF-097, VTI-NTF-098); vta/collection/settings/show says which.",
|
|
402
402
|
"type": "string",
|
|
403
403
|
"enum": [
|
|
404
404
|
"limit",
|