@hypercerts-org/certified-group-service 0.0.0-stage → 0.0.0
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/LICENSE-APACHE +202 -0
- package/LICENSE-MIT +21 -0
- package/README.md +74 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/lexicons/app/certified/group/admin/setOwner.d.ts +3 -0
- package/dist/lexicons/app/certified/group/admin/setOwner.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/admin/setOwner.defs.d.ts +63 -0
- package/dist/lexicons/app/certified/group/admin/setOwner.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/admin/setOwner.defs.js +15 -0
- package/dist/lexicons/app/certified/group/admin/setOwner.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/admin/setOwner.js +6 -0
- package/dist/lexicons/app/certified/group/admin/setOwner.js.map +1 -0
- package/dist/lexicons/app/certified/group/admin.d.ts +2 -0
- package/dist/lexicons/app/certified/group/admin.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/admin.js +5 -0
- package/dist/lexicons/app/certified/group/admin.js.map +1 -0
- package/dist/lexicons/app/certified/group/audit/query.d.ts +3 -0
- package/dist/lexicons/app/certified/group/audit/query.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/audit/query.defs.d.ts +77 -0
- package/dist/lexicons/app/certified/group/audit/query.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/audit/query.defs.js +16 -0
- package/dist/lexicons/app/certified/group/audit/query.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/audit/query.js +6 -0
- package/dist/lexicons/app/certified/group/audit/query.js.map +1 -0
- package/dist/lexicons/app/certified/group/audit.d.ts +2 -0
- package/dist/lexicons/app/certified/group/audit.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/audit.js +5 -0
- package/dist/lexicons/app/certified/group/audit.js.map +1 -0
- package/dist/lexicons/app/certified/group/destroy.d.ts +3 -0
- package/dist/lexicons/app/certified/group/destroy.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/destroy.defs.d.ts +35 -0
- package/dist/lexicons/app/certified/group/destroy.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/destroy.defs.js +15 -0
- package/dist/lexicons/app/certified/group/destroy.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/destroy.js +6 -0
- package/dist/lexicons/app/certified/group/destroy.js.map +1 -0
- package/dist/lexicons/app/certified/group/import.d.ts +3 -0
- package/dist/lexicons/app/certified/group/import.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/import.defs.d.ts +45 -0
- package/dist/lexicons/app/certified/group/import.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/import.defs.js +15 -0
- package/dist/lexicons/app/certified/group/import.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/import.js +6 -0
- package/dist/lexicons/app/certified/group/import.js.map +1 -0
- package/dist/lexicons/app/certified/group/keys/create.d.ts +3 -0
- package/dist/lexicons/app/certified/group/keys/create.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/keys/create.defs.d.ts +49 -0
- package/dist/lexicons/app/certified/group/keys/create.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/keys/create.defs.js +15 -0
- package/dist/lexicons/app/certified/group/keys/create.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/keys/create.js +6 -0
- package/dist/lexicons/app/certified/group/keys/create.js.map +1 -0
- package/dist/lexicons/app/certified/group/keys/delete.d.ts +3 -0
- package/dist/lexicons/app/certified/group/keys/delete.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/keys/delete.defs.d.ts +39 -0
- package/dist/lexicons/app/certified/group/keys/delete.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/keys/delete.defs.js +15 -0
- package/dist/lexicons/app/certified/group/keys/delete.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/keys/delete.js +6 -0
- package/dist/lexicons/app/certified/group/keys/delete.js.map +1 -0
- package/dist/lexicons/app/certified/group/keys/list.d.ts +3 -0
- package/dist/lexicons/app/certified/group/keys/list.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/keys/list.defs.d.ts +49 -0
- package/dist/lexicons/app/certified/group/keys/list.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/keys/list.defs.js +16 -0
- package/dist/lexicons/app/certified/group/keys/list.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/keys/list.js +6 -0
- package/dist/lexicons/app/certified/group/keys/list.js.map +1 -0
- package/dist/lexicons/app/certified/group/keys.d.ts +4 -0
- package/dist/lexicons/app/certified/group/keys.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/keys.js +7 -0
- package/dist/lexicons/app/certified/group/keys.js.map +1 -0
- package/dist/lexicons/app/certified/group/member/add.d.ts +3 -0
- package/dist/lexicons/app/certified/group/member/add.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/member/add.defs.d.ts +65 -0
- package/dist/lexicons/app/certified/group/member/add.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/member/add.defs.js +15 -0
- package/dist/lexicons/app/certified/group/member/add.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/member/add.js +6 -0
- package/dist/lexicons/app/certified/group/member/add.js.map +1 -0
- package/dist/lexicons/app/certified/group/member/list.d.ts +3 -0
- package/dist/lexicons/app/certified/group/member/list.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/member/list.defs.d.ts +44 -0
- package/dist/lexicons/app/certified/group/member/list.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/member/list.defs.js +16 -0
- package/dist/lexicons/app/certified/group/member/list.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/member/list.js +6 -0
- package/dist/lexicons/app/certified/group/member/list.js.map +1 -0
- package/dist/lexicons/app/certified/group/member/remove.d.ts +3 -0
- package/dist/lexicons/app/certified/group/member/remove.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/member/remove.defs.d.ts +33 -0
- package/dist/lexicons/app/certified/group/member/remove.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/member/remove.defs.js +15 -0
- package/dist/lexicons/app/certified/group/member/remove.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/member/remove.js +6 -0
- package/dist/lexicons/app/certified/group/member/remove.js.map +1 -0
- package/dist/lexicons/app/certified/group/member.d.ts +4 -0
- package/dist/lexicons/app/certified/group/member.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/member.js +7 -0
- package/dist/lexicons/app/certified/group/member.js.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/accept.d.ts +3 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/accept.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/accept.defs.d.ts +53 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/accept.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/accept.defs.js +15 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/accept.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/accept.js +6 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/accept.js.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/cancel.d.ts +3 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/cancel.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/cancel.defs.d.ts +37 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/cancel.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/cancel.defs.js +15 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/cancel.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/cancel.js +6 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/cancel.js.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/propose.d.ts +3 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/propose.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/propose.defs.d.ts +65 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/propose.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/propose.defs.js +15 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/propose.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/propose.js +6 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/propose.js.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/status.d.ts +3 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/status.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/status.defs.d.ts +58 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/status.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/status.defs.js +14 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/status.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/status.js +6 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer/status.js.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer.d.ts +5 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer.js +8 -0
- package/dist/lexicons/app/certified/group/ownershipTransfer.js.map +1 -0
- package/dist/lexicons/app/certified/group/register.d.ts +3 -0
- package/dist/lexicons/app/certified/group/register.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/register.defs.d.ts +43 -0
- package/dist/lexicons/app/certified/group/register.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/register.defs.js +15 -0
- package/dist/lexicons/app/certified/group/register.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/register.js +6 -0
- package/dist/lexicons/app/certified/group/register.js.map +1 -0
- package/dist/lexicons/app/certified/group/repo/createRecord.d.ts +3 -0
- package/dist/lexicons/app/certified/group/repo/createRecord.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/repo/createRecord.defs.d.ts +53 -0
- package/dist/lexicons/app/certified/group/repo/createRecord.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/repo/createRecord.defs.js +15 -0
- package/dist/lexicons/app/certified/group/repo/createRecord.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/repo/createRecord.js +6 -0
- package/dist/lexicons/app/certified/group/repo/createRecord.js.map +1 -0
- package/dist/lexicons/app/certified/group/repo/deleteRecord.d.ts +3 -0
- package/dist/lexicons/app/certified/group/repo/deleteRecord.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/repo/deleteRecord.defs.d.ts +47 -0
- package/dist/lexicons/app/certified/group/repo/deleteRecord.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/repo/deleteRecord.defs.js +15 -0
- package/dist/lexicons/app/certified/group/repo/deleteRecord.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/repo/deleteRecord.js +6 -0
- package/dist/lexicons/app/certified/group/repo/deleteRecord.js.map +1 -0
- package/dist/lexicons/app/certified/group/repo/putRecord.d.ts +3 -0
- package/dist/lexicons/app/certified/group/repo/putRecord.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/repo/putRecord.defs.d.ts +59 -0
- package/dist/lexicons/app/certified/group/repo/putRecord.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/repo/putRecord.defs.js +15 -0
- package/dist/lexicons/app/certified/group/repo/putRecord.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/repo/putRecord.js +6 -0
- package/dist/lexicons/app/certified/group/repo/putRecord.js.map +1 -0
- package/dist/lexicons/app/certified/group/repo/uploadBlob.d.ts +3 -0
- package/dist/lexicons/app/certified/group/repo/uploadBlob.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/repo/uploadBlob.defs.d.ts +31 -0
- package/dist/lexicons/app/certified/group/repo/uploadBlob.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/repo/uploadBlob.defs.js +15 -0
- package/dist/lexicons/app/certified/group/repo/uploadBlob.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/repo/uploadBlob.js +6 -0
- package/dist/lexicons/app/certified/group/repo/uploadBlob.js.map +1 -0
- package/dist/lexicons/app/certified/group/repo.d.ts +5 -0
- package/dist/lexicons/app/certified/group/repo.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/repo.js +8 -0
- package/dist/lexicons/app/certified/group/repo.js.map +1 -0
- package/dist/lexicons/app/certified/group/role/set.d.ts +3 -0
- package/dist/lexicons/app/certified/group/role/set.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/role/set.defs.d.ts +59 -0
- package/dist/lexicons/app/certified/group/role/set.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/role/set.defs.js +15 -0
- package/dist/lexicons/app/certified/group/role/set.defs.js.map +1 -0
- package/dist/lexicons/app/certified/group/role/set.js +6 -0
- package/dist/lexicons/app/certified/group/role/set.js.map +1 -0
- package/dist/lexicons/app/certified/group/role.d.ts +2 -0
- package/dist/lexicons/app/certified/group/role.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group/role.js +5 -0
- package/dist/lexicons/app/certified/group/role.js.map +1 -0
- package/dist/lexicons/app/certified/group.d.ts +11 -0
- package/dist/lexicons/app/certified/group.d.ts.map +1 -0
- package/dist/lexicons/app/certified/group.js +14 -0
- package/dist/lexicons/app/certified/group.js.map +1 -0
- package/dist/lexicons/app/certified/groups/membership/list.d.ts +3 -0
- package/dist/lexicons/app/certified/groups/membership/list.d.ts.map +1 -0
- package/dist/lexicons/app/certified/groups/membership/list.defs.d.ts +37 -0
- package/dist/lexicons/app/certified/groups/membership/list.defs.d.ts.map +1 -0
- package/dist/lexicons/app/certified/groups/membership/list.defs.js +16 -0
- package/dist/lexicons/app/certified/groups/membership/list.defs.js.map +1 -0
- package/dist/lexicons/app/certified/groups/membership/list.js +6 -0
- package/dist/lexicons/app/certified/groups/membership/list.js.map +1 -0
- package/dist/lexicons/app/certified/groups/membership.d.ts +2 -0
- package/dist/lexicons/app/certified/groups/membership.d.ts.map +1 -0
- package/dist/lexicons/app/certified/groups/membership.js +5 -0
- package/dist/lexicons/app/certified/groups/membership.js.map +1 -0
- package/dist/lexicons/app/certified/groups.d.ts +2 -0
- package/dist/lexicons/app/certified/groups.d.ts.map +1 -0
- package/dist/lexicons/app/certified/groups.js +5 -0
- package/dist/lexicons/app/certified/groups.js.map +1 -0
- package/dist/lexicons/app/certified.d.ts +3 -0
- package/dist/lexicons/app/certified.d.ts.map +1 -0
- package/dist/lexicons/app/certified.js +6 -0
- package/dist/lexicons/app/certified.js.map +1 -0
- package/dist/lexicons/app.d.ts +2 -0
- package/dist/lexicons/app.d.ts.map +1 -0
- package/dist/lexicons/app.js +5 -0
- package/dist/lexicons/app.js.map +1 -0
- package/dist/lexicons/index.d.ts +2 -0
- package/dist/lexicons/index.d.ts.map +1 -0
- package/dist/lexicons/index.js +5 -0
- package/dist/lexicons/index.js.map +1 -0
- package/package.json +47 -3
- package/src/index.ts +6 -0
- package/src/lexicons/app/certified/group/admin/setOwner.defs.ts +36 -0
- package/src/lexicons/app/certified/group/admin/setOwner.ts +6 -0
- package/src/lexicons/app/certified/group/admin.ts +5 -0
- package/src/lexicons/app/certified/group/audit/query.defs.ts +39 -0
- package/src/lexicons/app/certified/group/audit/query.ts +6 -0
- package/src/lexicons/app/certified/group/audit.ts +5 -0
- package/src/lexicons/app/certified/group/destroy.defs.ts +36 -0
- package/src/lexicons/app/certified/group/destroy.ts +6 -0
- package/src/lexicons/app/certified/group/import.defs.ts +36 -0
- package/src/lexicons/app/certified/group/import.ts +6 -0
- package/src/lexicons/app/certified/group/keys/create.defs.ts +36 -0
- package/src/lexicons/app/certified/group/keys/create.ts +6 -0
- package/src/lexicons/app/certified/group/keys/delete.defs.ts +36 -0
- package/src/lexicons/app/certified/group/keys/delete.ts +6 -0
- package/src/lexicons/app/certified/group/keys/list.defs.ts +39 -0
- package/src/lexicons/app/certified/group/keys/list.ts +6 -0
- package/src/lexicons/app/certified/group/keys.ts +7 -0
- package/src/lexicons/app/certified/group/member/add.defs.ts +36 -0
- package/src/lexicons/app/certified/group/member/add.ts +6 -0
- package/src/lexicons/app/certified/group/member/list.defs.ts +39 -0
- package/src/lexicons/app/certified/group/member/list.ts +6 -0
- package/src/lexicons/app/certified/group/member/remove.defs.ts +36 -0
- package/src/lexicons/app/certified/group/member/remove.ts +6 -0
- package/src/lexicons/app/certified/group/member.ts +7 -0
- package/src/lexicons/app/certified/group/ownershipTransfer/accept.defs.ts +36 -0
- package/src/lexicons/app/certified/group/ownershipTransfer/accept.ts +6 -0
- package/src/lexicons/app/certified/group/ownershipTransfer/cancel.defs.ts +36 -0
- package/src/lexicons/app/certified/group/ownershipTransfer/cancel.ts +6 -0
- package/src/lexicons/app/certified/group/ownershipTransfer/propose.defs.ts +36 -0
- package/src/lexicons/app/certified/group/ownershipTransfer/propose.ts +6 -0
- package/src/lexicons/app/certified/group/ownershipTransfer/status.defs.ts +31 -0
- package/src/lexicons/app/certified/group/ownershipTransfer/status.ts +6 -0
- package/src/lexicons/app/certified/group/ownershipTransfer.ts +8 -0
- package/src/lexicons/app/certified/group/register.defs.ts +36 -0
- package/src/lexicons/app/certified/group/register.ts +6 -0
- package/src/lexicons/app/certified/group/repo/createRecord.defs.ts +36 -0
- package/src/lexicons/app/certified/group/repo/createRecord.ts +6 -0
- package/src/lexicons/app/certified/group/repo/deleteRecord.defs.ts +36 -0
- package/src/lexicons/app/certified/group/repo/deleteRecord.ts +6 -0
- package/src/lexicons/app/certified/group/repo/putRecord.defs.ts +36 -0
- package/src/lexicons/app/certified/group/repo/putRecord.ts +6 -0
- package/src/lexicons/app/certified/group/repo/uploadBlob.defs.ts +36 -0
- package/src/lexicons/app/certified/group/repo/uploadBlob.ts +6 -0
- package/src/lexicons/app/certified/group/repo.ts +8 -0
- package/src/lexicons/app/certified/group/role/set.defs.ts +36 -0
- package/src/lexicons/app/certified/group/role/set.ts +6 -0
- package/src/lexicons/app/certified/group/role.ts +5 -0
- package/src/lexicons/app/certified/group.ts +14 -0
- package/src/lexicons/app/certified/groups/membership/list.defs.ts +39 -0
- package/src/lexicons/app/certified/groups/membership/list.ts +6 -0
- package/src/lexicons/app/certified/groups/membership.ts +5 -0
- package/src/lexicons/app/certified/groups.ts +5 -0
- package/src/lexicons/app/certified.ts +6 -0
- package/src/lexicons/app.ts +5 -0
- package/src/lexicons/index.ts +5 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { l } from "@atproto/lex";
|
|
2
|
+
declare const $nsid = "app.certified.group.destroy";
|
|
3
|
+
type $nsid = typeof $nsid;
|
|
4
|
+
export { $nsid };
|
|
5
|
+
export declare const $params: l.ParamsSchema<{
|
|
6
|
+
readonly repo: l.OptionalSchema<l.StringSchema<{
|
|
7
|
+
readonly format: "at-identifier";
|
|
8
|
+
}>>;
|
|
9
|
+
}>;
|
|
10
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
11
|
+
export declare const $input: l.Payload<undefined, undefined>;
|
|
12
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
13
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
14
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
15
|
+
groupDid: l.StringSchema<{
|
|
16
|
+
readonly format: "did";
|
|
17
|
+
}>;
|
|
18
|
+
}>>;
|
|
19
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
20
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
21
|
+
/** Destroy a group: remove it from the group service (credentials, member index, and per-group database). Lossy and irreversible — the audit log and record-authorship table are deleted. The underlying PDS account is left untouched (not account deletion): the account can be re-imported later, but the re-imported group loses its prior authorship and audit history. Requires the owner role. */
|
|
22
|
+
declare const main: l.Procedure<"app.certified.group.destroy", l.ParamsSchema<{
|
|
23
|
+
readonly repo: l.OptionalSchema<l.StringSchema<{
|
|
24
|
+
readonly format: "at-identifier";
|
|
25
|
+
}>>;
|
|
26
|
+
}>, l.Payload<undefined, undefined>, l.Payload<"application/json", l.ObjectSchema<{
|
|
27
|
+
groupDid: l.StringSchema<{
|
|
28
|
+
readonly format: "did";
|
|
29
|
+
}>;
|
|
30
|
+
}>>, readonly ["GroupNotFound"]>;
|
|
31
|
+
export { main };
|
|
32
|
+
declare const $lxm = "app.certified.group.destroy";
|
|
33
|
+
type $lxm = typeof $lxm;
|
|
34
|
+
export { $lxm };
|
|
35
|
+
//# sourceMappingURL=destroy.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destroy.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/certified/group/destroy.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,gCAAgC,CAAC;AAE5C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO;;;;EAAgH,CAAC;AAErI,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,MAAM,iCAA4B,CAAC;AAEhD,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AACxE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AAEhF,eAAO,MAAM,OAAO;;;;GAAqF,CAAC;AAE1G,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,yYAAyY;AACzY,QAAA,MAAM,IAAI;;;;;;;;gCAAgF,CAAC;AAE3F,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,gCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from "@atproto/lex";
|
|
5
|
+
const $nsid = "app.certified.group.destroy";
|
|
6
|
+
export { $nsid };
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params({ "repo": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "at-identifier" })) });
|
|
8
|
+
export const $input = /*#__PURE__*/ l.payload();
|
|
9
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({ "groupDid": /*#__PURE__*/ l.string({ "format": "did" }) });
|
|
10
|
+
/** Destroy a group: remove it from the group service (credentials, member index, and per-group database). Lossy and irreversible — the audit log and record-authorship table are deleted. The underlying PDS account is left untouched (not account deletion): the account can be re-imported later, but the re-imported group loses its prior authorship and audit history. Requires the owner role. */
|
|
11
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["GroupNotFound"]);
|
|
12
|
+
export { main };
|
|
13
|
+
const $lxm = $nsid;
|
|
14
|
+
export { $lxm };
|
|
15
|
+
//# sourceMappingURL=destroy.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destroy.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/certified/group/destroy.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,6BAA6B,CAAC;AAI5C,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,eAAe,EAAC,CAAC,CAAC,EAAC,CAAC,CAAC;AAIrI,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;AAKhD,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,UAAU,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,CAAC,CAAC;AAK1G,yYAAyY;AACzY,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC;AAE3F,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destroy.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/certified/group/destroy.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/certified/group/import.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { l } from "@atproto/lex";
|
|
2
|
+
declare const $nsid = "app.certified.group.import";
|
|
3
|
+
type $nsid = typeof $nsid;
|
|
4
|
+
export { $nsid };
|
|
5
|
+
export declare const $params: l.ParamsSchema<{}>;
|
|
6
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
7
|
+
export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
8
|
+
groupDid: l.StringSchema<{
|
|
9
|
+
readonly format: "did";
|
|
10
|
+
}>;
|
|
11
|
+
appPassword: l.StringSchema<{}>;
|
|
12
|
+
ownerDid: l.StringSchema<{
|
|
13
|
+
readonly format: "did";
|
|
14
|
+
}>;
|
|
15
|
+
}>>;
|
|
16
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
17
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
18
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
19
|
+
groupDid: l.StringSchema<{
|
|
20
|
+
readonly format: "did";
|
|
21
|
+
}>;
|
|
22
|
+
handle: l.StringSchema<{}>;
|
|
23
|
+
}>>;
|
|
24
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
25
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
26
|
+
/** Import an existing PDS account as a group. Sibling to app.certified.group.register, but reuses an existing account rather than creating a new one. Stores the supplied app password so the service can act on the account's behalf, and seeds the caller as owner. Does not modify the account's DID document. */
|
|
27
|
+
declare const main: l.Procedure<"app.certified.group.import", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
28
|
+
groupDid: l.StringSchema<{
|
|
29
|
+
readonly format: "did";
|
|
30
|
+
}>;
|
|
31
|
+
appPassword: l.StringSchema<{}>;
|
|
32
|
+
ownerDid: l.StringSchema<{
|
|
33
|
+
readonly format: "did";
|
|
34
|
+
}>;
|
|
35
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
36
|
+
groupDid: l.StringSchema<{
|
|
37
|
+
readonly format: "did";
|
|
38
|
+
}>;
|
|
39
|
+
handle: l.StringSchema<{}>;
|
|
40
|
+
}>>, readonly ["InvalidRequest", "InvalidAppPassword", "GroupAlreadyRegistered"]>;
|
|
41
|
+
export { main };
|
|
42
|
+
declare const $lxm = "app.certified.group.import";
|
|
43
|
+
type $lxm = typeof $lxm;
|
|
44
|
+
export { $lxm };
|
|
45
|
+
//# sourceMappingURL=import.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/certified/group/import.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,+BAA+B,CAAC;AAE3C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO,oBAA2B,CAAC;AAEhD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,MAAM;;;;;;;;GAAgL,CAAC;AAEpM,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AACxE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AAEhF,eAAO,MAAM,OAAO;;;;;GAAuH,CAAC;AAE5I,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,qTAAqT;AACrT,QAAA,MAAM,IAAI;;;;;;;;;;;;;iFAA+H,CAAC;AAE1I,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,+BAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from "@atproto/lex";
|
|
5
|
+
const $nsid = "app.certified.group.import";
|
|
6
|
+
export { $nsid };
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
8
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({ "groupDid": /*#__PURE__*/ l.string({ "format": "did" }), "appPassword": /*#__PURE__*/ l.string(), "ownerDid": /*#__PURE__*/ l.string({ "format": "did" }) });
|
|
9
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({ "groupDid": /*#__PURE__*/ l.string({ "format": "did" }), "handle": /*#__PURE__*/ l.string() });
|
|
10
|
+
/** Import an existing PDS account as a group. Sibling to app.certified.group.register, but reuses an existing account rather than creating a new one. Stores the supplied app password so the service can act on the account's behalf, and seeds the caller as owner. Does not modify the account's DID document. */
|
|
11
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["InvalidRequest", "InvalidAppPassword", "GroupAlreadyRegistered"]);
|
|
12
|
+
export { main };
|
|
13
|
+
const $lxm = $nsid;
|
|
14
|
+
export { $lxm };
|
|
15
|
+
//# sourceMappingURL=import.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/certified/group/import.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,4BAA4B,CAAC;AAI3C,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;AAIhD,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,UAAU,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,aAAa,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAC,UAAU,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,CAAC,CAAC;AAKpM,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,UAAU,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,QAAQ,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAC,CAAC,CAAC;AAK5I,qTAAqT;AACrT,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,gBAAgB,EAAC,oBAAoB,EAAC,wBAAwB,CAAC,CAAC,CAAC;AAE1I,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/certified/group/import.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/keys/create.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { l } from "@atproto/lex";
|
|
2
|
+
declare const $nsid = "app.certified.group.keys.create";
|
|
3
|
+
type $nsid = typeof $nsid;
|
|
4
|
+
export { $nsid };
|
|
5
|
+
export declare const $params: l.ParamsSchema<{}>;
|
|
6
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
7
|
+
export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
8
|
+
repo: l.OptionalSchema<l.StringSchema<{
|
|
9
|
+
readonly format: "at-identifier";
|
|
10
|
+
}>>;
|
|
11
|
+
name: l.StringSchema<{
|
|
12
|
+
readonly maxLength: 256;
|
|
13
|
+
}>;
|
|
14
|
+
scopes: l.ArraySchema<l.StringSchema<{}>>;
|
|
15
|
+
}>>;
|
|
16
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
17
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
18
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
19
|
+
keyRef: l.StringSchema<{}>;
|
|
20
|
+
key: l.StringSchema<{}>;
|
|
21
|
+
scopes: l.ArraySchema<l.StringSchema<{}>>;
|
|
22
|
+
createdAt: l.StringSchema<{
|
|
23
|
+
readonly format: "datetime";
|
|
24
|
+
}>;
|
|
25
|
+
}>>;
|
|
26
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
27
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
28
|
+
/** Mint a long-lived, scope-limited API key for the caller's group membership. Member-authenticated JWT only; API keys cannot mint more keys. The plaintext key is returned exactly once and never retrievable again. */
|
|
29
|
+
declare const main: l.Procedure<"app.certified.group.keys.create", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
30
|
+
repo: l.OptionalSchema<l.StringSchema<{
|
|
31
|
+
readonly format: "at-identifier";
|
|
32
|
+
}>>;
|
|
33
|
+
name: l.StringSchema<{
|
|
34
|
+
readonly maxLength: 256;
|
|
35
|
+
}>;
|
|
36
|
+
scopes: l.ArraySchema<l.StringSchema<{}>>;
|
|
37
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
38
|
+
keyRef: l.StringSchema<{}>;
|
|
39
|
+
key: l.StringSchema<{}>;
|
|
40
|
+
scopes: l.ArraySchema<l.StringSchema<{}>>;
|
|
41
|
+
createdAt: l.StringSchema<{
|
|
42
|
+
readonly format: "datetime";
|
|
43
|
+
}>;
|
|
44
|
+
}>>, readonly ["Unauthorized", "Forbidden", "InvalidScope"]>;
|
|
45
|
+
export { main };
|
|
46
|
+
declare const $lxm = "app.certified.group.keys.create";
|
|
47
|
+
type $lxm = typeof $lxm;
|
|
48
|
+
export { $lxm };
|
|
49
|
+
//# sourceMappingURL=create.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/keys/create.defs.ts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/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from "@atproto/lex";
|
|
5
|
+
const $nsid = "app.certified.group.keys.create";
|
|
6
|
+
export { $nsid };
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
8
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({ "repo": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "at-identifier" })), "name": /*#__PURE__*/ l.string({ "maxLength": 256 }), "scopes": /*#__PURE__*/ l.array(/*#__PURE__*/ l.string(), { "minLength": 1 }) });
|
|
9
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({ "keyRef": /*#__PURE__*/ l.string(), "key": /*#__PURE__*/ l.string(), "scopes": /*#__PURE__*/ l.array(/*#__PURE__*/ l.string()), "createdAt": /*#__PURE__*/ l.string({ "format": "datetime" }) });
|
|
10
|
+
/** Mint a long-lived, scope-limited API key for the caller's group membership. Member-authenticated JWT only; API keys cannot mint more keys. The plaintext key is returned exactly once and never retrievable again. */
|
|
11
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["Unauthorized", "Forbidden", "InvalidScope"]);
|
|
12
|
+
export { main };
|
|
13
|
+
const $lxm = $nsid;
|
|
14
|
+
export { $lxm };
|
|
15
|
+
//# sourceMappingURL=create.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.defs.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/keys/create.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,iCAAiC,CAAC;AAIhD,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;AAIhD,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAA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E,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/keys/delete.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { l } from "@atproto/lex";
|
|
2
|
+
declare const $nsid = "app.certified.group.keys.delete";
|
|
3
|
+
type $nsid = typeof $nsid;
|
|
4
|
+
export { $nsid };
|
|
5
|
+
export declare const $params: l.ParamsSchema<{}>;
|
|
6
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
7
|
+
export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
8
|
+
repo: l.OptionalSchema<l.StringSchema<{
|
|
9
|
+
readonly format: "at-identifier";
|
|
10
|
+
}>>;
|
|
11
|
+
keyRef: l.StringSchema<{}>;
|
|
12
|
+
}>>;
|
|
13
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
14
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
15
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
16
|
+
keyRef: l.StringSchema<{}>;
|
|
17
|
+
revokedAt: l.StringSchema<{
|
|
18
|
+
readonly format: "datetime";
|
|
19
|
+
}>;
|
|
20
|
+
}>>;
|
|
21
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
22
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
23
|
+
/** Revoke an API key by its keyRef. Members can revoke their own keys; owners can revoke any key in the group. JWT only; API keys cannot revoke keys. Soft-delete: the key is rejected on its next use. */
|
|
24
|
+
declare const main: l.Procedure<"app.certified.group.keys.delete", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
25
|
+
repo: l.OptionalSchema<l.StringSchema<{
|
|
26
|
+
readonly format: "at-identifier";
|
|
27
|
+
}>>;
|
|
28
|
+
keyRef: l.StringSchema<{}>;
|
|
29
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
30
|
+
keyRef: l.StringSchema<{}>;
|
|
31
|
+
revokedAt: l.StringSchema<{
|
|
32
|
+
readonly format: "datetime";
|
|
33
|
+
}>;
|
|
34
|
+
}>>, readonly ["Unauthorized", "Forbidden", "KeyNotFound"]>;
|
|
35
|
+
export { main };
|
|
36
|
+
declare const $lxm = "app.certified.group.keys.delete";
|
|
37
|
+
type $lxm = typeof $lxm;
|
|
38
|
+
export { $lxm };
|
|
39
|
+
//# sourceMappingURL=delete.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/keys/delete.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,oCAAoC,CAAC;AAEhD,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO,oBAA2B,CAAC;AAEhD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,MAAM;;;;;GAAuJ,CAAC;AAE3K,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AACxE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AAEhF,eAAO,MAAM,OAAO;;;;;GAA6H,CAAC;AAElJ,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,2MAA2M;AAC3M,QAAA,MAAM,IAAI;;;;;;;;;;2DAAyG,CAAC;AAEpH,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,oCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from "@atproto/lex";
|
|
5
|
+
const $nsid = "app.certified.group.keys.delete";
|
|
6
|
+
export { $nsid };
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
8
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({ "repo": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "at-identifier" })), "keyRef": /*#__PURE__*/ l.string() });
|
|
9
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({ "keyRef": /*#__PURE__*/ l.string(), "revokedAt": /*#__PURE__*/ l.string({ "format": "datetime" }) });
|
|
10
|
+
/** Revoke an API key by its keyRef. Members can revoke their own keys; owners can revoke any key in the group. JWT only; API keys cannot revoke keys. Soft-delete: the key is rejected on its next use. */
|
|
11
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["Unauthorized", "Forbidden", "KeyNotFound"]);
|
|
12
|
+
export { main };
|
|
13
|
+
const $lxm = $nsid;
|
|
14
|
+
export { $lxm };
|
|
15
|
+
//# sourceMappingURL=delete.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.defs.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/keys/delete.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,iCAAiC,CAAC;AAIhD,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;AAIhD,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,eAAe,EAAC,CAAC,CAAC,EAAC,QAAQ,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAC,CAAC,CAAC;AAK3K,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,QAAQ,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAC,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,UAAU,EAAC,CAAC,EAAC,CAAC,CAAC;AAKlJ,2MAA2M;AAC3M,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,cAAc,EAAC,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC;AAEpH,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/keys/delete.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/keys/list.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { l } from "@atproto/lex";
|
|
2
|
+
declare const $nsid = "app.certified.group.keys.list";
|
|
3
|
+
type $nsid = typeof $nsid;
|
|
4
|
+
export { $nsid };
|
|
5
|
+
export declare const $params: l.ParamsSchema<{
|
|
6
|
+
readonly repo: l.OptionalSchema<l.StringSchema<{
|
|
7
|
+
readonly format: "at-identifier";
|
|
8
|
+
}>>;
|
|
9
|
+
readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
|
|
10
|
+
readonly cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
11
|
+
readonly includeRevoked: l.OptionalSchema<l.WithDefaultSchema<l.BooleanSchema>>;
|
|
12
|
+
}>;
|
|
13
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
14
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
15
|
+
cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
16
|
+
keys: l.ArraySchema<l.RefSchema<l.Validator<Key, Key>>>;
|
|
17
|
+
}>>;
|
|
18
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
19
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
20
|
+
/** List API keys issued for the group. Members see only their own keys; owners see all keys. JWT only; API keys cannot list keys. Never returns the secret or its hash. */
|
|
21
|
+
declare const main: l.Query<"app.certified.group.keys.list", l.ParamsSchema<{
|
|
22
|
+
readonly repo: l.OptionalSchema<l.StringSchema<{
|
|
23
|
+
readonly format: "at-identifier";
|
|
24
|
+
}>>;
|
|
25
|
+
readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
|
|
26
|
+
readonly cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
27
|
+
readonly includeRevoked: l.OptionalSchema<l.WithDefaultSchema<l.BooleanSchema>>;
|
|
28
|
+
}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
29
|
+
cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
30
|
+
keys: l.ArraySchema<l.RefSchema<l.Validator<Key, Key>>>;
|
|
31
|
+
}>>, readonly ["Unauthorized", "Forbidden"]>;
|
|
32
|
+
export { main };
|
|
33
|
+
declare const $lxm = "app.certified.group.keys.list";
|
|
34
|
+
type $lxm = typeof $lxm;
|
|
35
|
+
export { $lxm };
|
|
36
|
+
type Key = {
|
|
37
|
+
$type?: "app.certified.group.keys.list#key";
|
|
38
|
+
"keyRef": string;
|
|
39
|
+
"name": string;
|
|
40
|
+
"scopes": (string)[];
|
|
41
|
+
"createdBy": l.DidString;
|
|
42
|
+
"createdAt": l.DatetimeString;
|
|
43
|
+
"lastUsedAt"?: l.DatetimeString;
|
|
44
|
+
"revokedAt"?: l.DatetimeString;
|
|
45
|
+
};
|
|
46
|
+
export type { Key };
|
|
47
|
+
declare const key: l.TypedObjectSchema<"app.certified.group.keys.list#key", l.Validator<Key, Key>>;
|
|
48
|
+
export { key };
|
|
49
|
+
//# sourceMappingURL=list.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/keys/list.defs.ts"],"names":[],"mappings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,MAAM,GAAG,iFAAie,CAAC;AAE3e,OAAO,EAAE,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from "@atproto/lex";
|
|
5
|
+
const $nsid = "app.certified.group.keys.list";
|
|
6
|
+
export { $nsid };
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params({ "repo": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "at-identifier" })), "limit": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.integer({ "minimum": 1, "maximum": 100 }), 50)), "cursor": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "includeRevoked": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false)) });
|
|
8
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({ "cursor": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "keys": /*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => key))) });
|
|
9
|
+
/** List API keys issued for the group. Members see only their own keys; owners see all keys. JWT only; API keys cannot list keys. Never returns the secret or its hash. */
|
|
10
|
+
const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["Unauthorized", "Forbidden"]);
|
|
11
|
+
export { main };
|
|
12
|
+
const $lxm = $nsid;
|
|
13
|
+
export { $lxm };
|
|
14
|
+
const key = /*#__PURE__*/ l.typedObject($nsid, "key", /*#__PURE__*/ l.object({ "keyRef": /*#__PURE__*/ l.string(), "name": /*#__PURE__*/ l.string(), "scopes": /*#__PURE__*/ l.array(/*#__PURE__*/ l.string()), "createdBy": /*#__PURE__*/ l.string({ "format": "did" }), "createdAt": /*#__PURE__*/ l.string({ "format": "datetime" }), "lastUsedAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })), "revokedAt": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "datetime" })) }));
|
|
15
|
+
export { key };
|
|
16
|
+
//# sourceMappingURL=list.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.defs.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/keys/list.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,+BAA+B,CAAC;AAI9C,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,eAAe,EAAC,CAAC,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,EAAC,SAAS,EAAC,CAAC,EAAC,SAAS,EAAC,GAAG,EAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAC,QAAQ,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAC,gBAAgB,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC,CAAC,EAAC,CAAC,CAAC;AAIla,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,QAAQ,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MA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CAAC,CAAC;AAE3e,OAAO,EAAE,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/keys/list.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/certified/group/keys.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/certified/group/keys.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/member/add.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { l } from "@atproto/lex";
|
|
2
|
+
declare const $nsid = "app.certified.group.member.add";
|
|
3
|
+
type $nsid = typeof $nsid;
|
|
4
|
+
export { $nsid };
|
|
5
|
+
export declare const $params: l.ParamsSchema<{}>;
|
|
6
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
7
|
+
export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
8
|
+
repo: l.OptionalSchema<l.StringSchema<{
|
|
9
|
+
readonly format: "at-identifier";
|
|
10
|
+
}>>;
|
|
11
|
+
memberDid: l.StringSchema<{
|
|
12
|
+
readonly format: "did";
|
|
13
|
+
}>;
|
|
14
|
+
role: l.StringSchema<{
|
|
15
|
+
knownValues: ["member", "admin"];
|
|
16
|
+
}>;
|
|
17
|
+
}>>;
|
|
18
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
19
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
20
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
21
|
+
memberDid: l.StringSchema<{
|
|
22
|
+
readonly format: "did";
|
|
23
|
+
}>;
|
|
24
|
+
role: l.StringSchema<{
|
|
25
|
+
knownValues: ["member", "admin"];
|
|
26
|
+
}>;
|
|
27
|
+
addedBy: l.StringSchema<{
|
|
28
|
+
readonly format: "did";
|
|
29
|
+
}>;
|
|
30
|
+
addedAt: l.StringSchema<{
|
|
31
|
+
readonly format: "datetime";
|
|
32
|
+
}>;
|
|
33
|
+
}>>;
|
|
34
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
35
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
36
|
+
/** Add a member to the group. Requires admin or owner role. */
|
|
37
|
+
declare const main: l.Procedure<"app.certified.group.member.add", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
38
|
+
repo: l.OptionalSchema<l.StringSchema<{
|
|
39
|
+
readonly format: "at-identifier";
|
|
40
|
+
}>>;
|
|
41
|
+
memberDid: l.StringSchema<{
|
|
42
|
+
readonly format: "did";
|
|
43
|
+
}>;
|
|
44
|
+
role: l.StringSchema<{
|
|
45
|
+
knownValues: ["member", "admin"];
|
|
46
|
+
}>;
|
|
47
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
48
|
+
memberDid: l.StringSchema<{
|
|
49
|
+
readonly format: "did";
|
|
50
|
+
}>;
|
|
51
|
+
role: l.StringSchema<{
|
|
52
|
+
knownValues: ["member", "admin"];
|
|
53
|
+
}>;
|
|
54
|
+
addedBy: l.StringSchema<{
|
|
55
|
+
readonly format: "did";
|
|
56
|
+
}>;
|
|
57
|
+
addedAt: l.StringSchema<{
|
|
58
|
+
readonly format: "datetime";
|
|
59
|
+
}>;
|
|
60
|
+
}>>, readonly ["Unauthorized", "Forbidden", "MemberAlreadyExists"]>;
|
|
61
|
+
export { main };
|
|
62
|
+
declare const $lxm = "app.certified.group.member.add";
|
|
63
|
+
type $lxm = typeof $lxm;
|
|
64
|
+
export { $lxm };
|
|
65
|
+
//# sourceMappingURL=add.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add.defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/member/add.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,mCAAmC,CAAC;AAE/C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO,oBAA2B,CAAC;AAEhD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,MAAM;;;;;;;;;;GAA8O,CAAC;AAElQ,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AACxE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AAEhF,eAAO,MAAM,OAAO;;;;;;;;;;;;;GAAqQ,CAAC;AAE1R,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,+DAA+D;AAC/D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;mEAAiH,CAAC;AAE5H,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,mCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from "@atproto/lex";
|
|
5
|
+
const $nsid = "app.certified.group.member.add";
|
|
6
|
+
export { $nsid };
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
8
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({ "repo": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "at-identifier" })), "memberDid": /*#__PURE__*/ l.string({ "format": "did" }), "role": /*#__PURE__*/ l.string() });
|
|
9
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({ "memberDid": /*#__PURE__*/ l.string({ "format": "did" }), "role": /*#__PURE__*/ l.string(), "addedBy": /*#__PURE__*/ l.string({ "format": "did" }), "addedAt": /*#__PURE__*/ l.string({ "format": "datetime" }) });
|
|
10
|
+
/** Add a member to the group. Requires admin or owner role. */
|
|
11
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["Unauthorized", "Forbidden", "MemberAlreadyExists"]);
|
|
12
|
+
export { main };
|
|
13
|
+
const $lxm = $nsid;
|
|
14
|
+
export { $lxm };
|
|
15
|
+
//# sourceMappingURL=add.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add.defs.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/member/add.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,gCAAgC,CAAC;AAI/C,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;AAIhD,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,eAAe,EAAC,CAAC,CAAC,EAAC,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAsC,EAAC,CAAC,CAAC;AAKlQ,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAsC,EAAC,SAAS,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,SAAS,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,UAAU,EAAC,CAAC,EAAC,CAAC,CAAC;AAK1R,+DAA+D;AAC/D,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,cAAc,EAAC,WAAW,EAAC,qBAAqB,CAAC,CAAC,CAAC;AAE5H,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/member/add.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/member/list.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|