@hypercerts-org/certified-group-service 0.0.0-stage → 0.1.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,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { l } from "@atproto/lex";
|
|
6
|
+
|
|
7
|
+
const $nsid = "app.certified.group.keys.delete";
|
|
8
|
+
|
|
9
|
+
type $nsid = typeof $nsid;
|
|
10
|
+
|
|
11
|
+
export { $nsid };
|
|
12
|
+
|
|
13
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
14
|
+
|
|
15
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
16
|
+
|
|
17
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({"repo":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"at-identifier"})),"keyRef":/*#__PURE__*/ l.string()});
|
|
18
|
+
|
|
19
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
20
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
21
|
+
|
|
22
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({"keyRef":/*#__PURE__*/ l.string(),"revokedAt":/*#__PURE__*/ l.string({"format":"datetime"})});
|
|
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
|
+
|
|
27
|
+
/** 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. */
|
|
28
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["Unauthorized","Forbidden","KeyNotFound"]);
|
|
29
|
+
|
|
30
|
+
export { main };
|
|
31
|
+
|
|
32
|
+
const $lxm = $nsid;
|
|
33
|
+
|
|
34
|
+
type $lxm = typeof $lxm;
|
|
35
|
+
|
|
36
|
+
export { $lxm };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { l } from "@atproto/lex";
|
|
6
|
+
|
|
7
|
+
const $nsid = "app.certified.group.keys.list";
|
|
8
|
+
|
|
9
|
+
type $nsid = typeof $nsid;
|
|
10
|
+
|
|
11
|
+
export { $nsid };
|
|
12
|
+
|
|
13
|
+
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))});
|
|
14
|
+
|
|
15
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
16
|
+
|
|
17
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({"cursor":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),"keys":/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref<Key>((() => key) as any), )});
|
|
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
|
+
|
|
22
|
+
/** 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. */
|
|
23
|
+
const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["Unauthorized","Forbidden"]);
|
|
24
|
+
|
|
25
|
+
export { main };
|
|
26
|
+
|
|
27
|
+
const $lxm = $nsid;
|
|
28
|
+
|
|
29
|
+
type $lxm = typeof $lxm;
|
|
30
|
+
|
|
31
|
+
export { $lxm };
|
|
32
|
+
|
|
33
|
+
type Key = { $type?: "app.certified.group.keys.list#key";"keyRef":string;"name":string;"scopes":(string)[];"createdBy":l.DidString;"createdAt":l.DatetimeString;"lastUsedAt"?:l.DatetimeString;"revokedAt"?:l.DatetimeString };
|
|
34
|
+
|
|
35
|
+
export type { Key };
|
|
36
|
+
|
|
37
|
+
const key = /*#__PURE__*/ l.typedObject<Key>($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"}))}));
|
|
38
|
+
|
|
39
|
+
export { key };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { l } from "@atproto/lex";
|
|
6
|
+
|
|
7
|
+
const $nsid = "app.certified.group.member.add";
|
|
8
|
+
|
|
9
|
+
type $nsid = typeof $nsid;
|
|
10
|
+
|
|
11
|
+
export { $nsid };
|
|
12
|
+
|
|
13
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
14
|
+
|
|
15
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
16
|
+
|
|
17
|
+
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<{"knownValues":["member","admin"]}>()});
|
|
18
|
+
|
|
19
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
20
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
21
|
+
|
|
22
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({"memberDid":/*#__PURE__*/ l.string({"format":"did"}),"role":/*#__PURE__*/ l.string<{"knownValues":["member","admin"]}>(),"addedBy":/*#__PURE__*/ l.string({"format":"did"}),"addedAt":/*#__PURE__*/ l.string({"format":"datetime"})});
|
|
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
|
+
|
|
27
|
+
/** Add a member to the group. Requires admin or owner role. */
|
|
28
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["Unauthorized","Forbidden","MemberAlreadyExists"]);
|
|
29
|
+
|
|
30
|
+
export { main };
|
|
31
|
+
|
|
32
|
+
const $lxm = $nsid;
|
|
33
|
+
|
|
34
|
+
type $lxm = typeof $lxm;
|
|
35
|
+
|
|
36
|
+
export { $lxm };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { l } from "@atproto/lex";
|
|
6
|
+
|
|
7
|
+
const $nsid = "app.certified.group.member.list";
|
|
8
|
+
|
|
9
|
+
type $nsid = typeof $nsid;
|
|
10
|
+
|
|
11
|
+
export { $nsid };
|
|
12
|
+
|
|
13
|
+
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())});
|
|
14
|
+
|
|
15
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
16
|
+
|
|
17
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({"cursor":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),"members":/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref<Member>((() => member) as any), )});
|
|
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
|
+
|
|
22
|
+
/** List members of the group. Requires membership. */
|
|
23
|
+
const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["Unauthorized"]);
|
|
24
|
+
|
|
25
|
+
export { main };
|
|
26
|
+
|
|
27
|
+
const $lxm = $nsid;
|
|
28
|
+
|
|
29
|
+
type $lxm = typeof $lxm;
|
|
30
|
+
|
|
31
|
+
export { $lxm };
|
|
32
|
+
|
|
33
|
+
type Member = { $type?: "app.certified.group.member.list#member";"did":l.DidString;"role":"member" | "admin" | "owner" | l.UnknownString;"addedBy"?:l.DidString;"addedAt":l.DatetimeString };
|
|
34
|
+
|
|
35
|
+
export type { Member };
|
|
36
|
+
|
|
37
|
+
const member = /*#__PURE__*/ l.typedObject<Member>($nsid, "member", /*#__PURE__*/ l.object({"did":/*#__PURE__*/ l.string({"format":"did"}),"role":/*#__PURE__*/ l.string<{"knownValues":["member","admin","owner"]}>(),"addedBy":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"did"})),"addedAt":/*#__PURE__*/ l.string({"format":"datetime"})}));
|
|
38
|
+
|
|
39
|
+
export { member };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { l } from "@atproto/lex";
|
|
6
|
+
|
|
7
|
+
const $nsid = "app.certified.group.member.remove";
|
|
8
|
+
|
|
9
|
+
type $nsid = typeof $nsid;
|
|
10
|
+
|
|
11
|
+
export { $nsid };
|
|
12
|
+
|
|
13
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
14
|
+
|
|
15
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
16
|
+
|
|
17
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({"repo":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"at-identifier"})),"memberDid":/*#__PURE__*/ l.string({"format":"did"})});
|
|
18
|
+
|
|
19
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
20
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
21
|
+
|
|
22
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({});
|
|
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
|
+
|
|
27
|
+
/** Remove a member from the group. Requires admin or owner role. */
|
|
28
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["Unauthorized","Forbidden","MemberNotFound","CannotRemoveOwner"]);
|
|
29
|
+
|
|
30
|
+
export { main };
|
|
31
|
+
|
|
32
|
+
const $lxm = $nsid;
|
|
33
|
+
|
|
34
|
+
type $lxm = typeof $lxm;
|
|
35
|
+
|
|
36
|
+
export { $lxm };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { l } from "@atproto/lex";
|
|
6
|
+
|
|
7
|
+
const $nsid = "app.certified.group.ownershipTransfer.accept";
|
|
8
|
+
|
|
9
|
+
type $nsid = typeof $nsid;
|
|
10
|
+
|
|
11
|
+
export { $nsid };
|
|
12
|
+
|
|
13
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
14
|
+
|
|
15
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
16
|
+
|
|
17
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({"repo":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"at-identifier"}))});
|
|
18
|
+
|
|
19
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
20
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
21
|
+
|
|
22
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({"groupDid":/*#__PURE__*/ l.string({"format":"did"}),"owner":/*#__PURE__*/ l.string({"format":"did"}),"previousOwner":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"did"})),"updatedAt":/*#__PURE__*/ l.string({"format":"datetime"})});
|
|
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
|
+
|
|
27
|
+
/** Accept a pending ownership transfer, becoming the group's owner. Callable only by the DID named as the proposed new owner in the pending proposal — the authenticated request proves they still control that DID. On success the previous owner is demoted to admin, the caller is promoted to owner atomically, and the pending proposal is cleared. */
|
|
28
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["ApiKeyNotPermitted","UnknownGroup","NoPendingTransfer"]);
|
|
29
|
+
|
|
30
|
+
export { main };
|
|
31
|
+
|
|
32
|
+
const $lxm = $nsid;
|
|
33
|
+
|
|
34
|
+
type $lxm = typeof $lxm;
|
|
35
|
+
|
|
36
|
+
export { $lxm };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { l } from "@atproto/lex";
|
|
6
|
+
|
|
7
|
+
const $nsid = "app.certified.group.ownershipTransfer.cancel";
|
|
8
|
+
|
|
9
|
+
type $nsid = typeof $nsid;
|
|
10
|
+
|
|
11
|
+
export { $nsid };
|
|
12
|
+
|
|
13
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
14
|
+
|
|
15
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
16
|
+
|
|
17
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({"repo":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"at-identifier"}))});
|
|
18
|
+
|
|
19
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
20
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
21
|
+
|
|
22
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({"groupDid":/*#__PURE__*/ l.string({"format":"did"}),"cancelled":/*#__PURE__*/ l.boolean()});
|
|
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
|
+
|
|
27
|
+
/** Cancel a pending ownership transfer without moving ownership. Callable by the current owner (who proposed it) or by the proposed new owner (declining). Clears the pending proposal. */
|
|
28
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["UnknownGroup","NoPendingTransfer"]);
|
|
29
|
+
|
|
30
|
+
export { main };
|
|
31
|
+
|
|
32
|
+
const $lxm = $nsid;
|
|
33
|
+
|
|
34
|
+
type $lxm = typeof $lxm;
|
|
35
|
+
|
|
36
|
+
export { $lxm };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { l } from "@atproto/lex";
|
|
6
|
+
|
|
7
|
+
const $nsid = "app.certified.group.ownershipTransfer.propose";
|
|
8
|
+
|
|
9
|
+
type $nsid = typeof $nsid;
|
|
10
|
+
|
|
11
|
+
export { $nsid };
|
|
12
|
+
|
|
13
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
14
|
+
|
|
15
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
16
|
+
|
|
17
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({"repo":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"at-identifier"})),"newOwner":/*#__PURE__*/ l.string({"format":"at-identifier"})});
|
|
18
|
+
|
|
19
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
20
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
21
|
+
|
|
22
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({"groupDid":/*#__PURE__*/ l.string({"format":"did"}),"proposedOwner":/*#__PURE__*/ l.string({"format":"did"}),"proposedBy":/*#__PURE__*/ l.string({"format":"did"}),"createdAt":/*#__PURE__*/ l.string({"format":"datetime"}),"expiresAt":/*#__PURE__*/ l.string({"format":"datetime"})});
|
|
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
|
+
|
|
27
|
+
/** Propose transferring ownership of a group to another member. Owner-only. Ownership does not move until the proposed owner accepts (app.certified.group.ownershipTransfer.accept), which proves they still control their DID — that acceptance is the safety check. The proposed owner must already be a member: a policy choice (keeping outsider onboarding on member.add) and a fail-fast, not part of that safety guarantee. A group has at most one pending transfer at a time — a new proposal replaces any existing one. The proposal lapses if not accepted before it expires. */
|
|
28
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["InvalidRequest","UnknownGroup","NotAMember","AlreadyOwner"]);
|
|
29
|
+
|
|
30
|
+
export { main };
|
|
31
|
+
|
|
32
|
+
const $lxm = $nsid;
|
|
33
|
+
|
|
34
|
+
type $lxm = typeof $lxm;
|
|
35
|
+
|
|
36
|
+
export { $lxm };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { l } from "@atproto/lex";
|
|
6
|
+
|
|
7
|
+
const $nsid = "app.certified.group.ownershipTransfer.status";
|
|
8
|
+
|
|
9
|
+
type $nsid = typeof $nsid;
|
|
10
|
+
|
|
11
|
+
export { $nsid };
|
|
12
|
+
|
|
13
|
+
export const $params = /*#__PURE__*/ l.params({"repo":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"at-identifier"}))});
|
|
14
|
+
|
|
15
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
16
|
+
|
|
17
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({"groupDid":/*#__PURE__*/ l.string({"format":"did"}),"pending":/*#__PURE__*/ l.boolean(),"proposedOwner":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"did"})),"proposedBy":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"did"})),"createdAt":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"datetime"})),"expiresAt":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"datetime"}))});
|
|
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
|
+
|
|
22
|
+
/** Report the group's pending ownership transfer, if any. Visible only to the current owner and the proposed new owner — other members are not told a transfer is in flight. Returns pending=false when there is no live proposal (never proposed, already resolved, or expired). */
|
|
23
|
+
const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["Unauthorized"]);
|
|
24
|
+
|
|
25
|
+
export { main };
|
|
26
|
+
|
|
27
|
+
const $lxm = $nsid;
|
|
28
|
+
|
|
29
|
+
type $lxm = typeof $lxm;
|
|
30
|
+
|
|
31
|
+
export { $lxm };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export * as accept from "./ownershipTransfer/accept.js";
|
|
6
|
+
export * as cancel from "./ownershipTransfer/cancel.js";
|
|
7
|
+
export * as propose from "./ownershipTransfer/propose.js";
|
|
8
|
+
export * as status from "./ownershipTransfer/status.js";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { l } from "@atproto/lex";
|
|
6
|
+
|
|
7
|
+
const $nsid = "app.certified.group.register";
|
|
8
|
+
|
|
9
|
+
type $nsid = typeof $nsid;
|
|
10
|
+
|
|
11
|
+
export { $nsid };
|
|
12
|
+
|
|
13
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
14
|
+
|
|
15
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
16
|
+
|
|
17
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({"handle":/*#__PURE__*/ l.string(),"ownerDid":/*#__PURE__*/ l.string({"format":"did"}),"email":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string())});
|
|
18
|
+
|
|
19
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
20
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
21
|
+
|
|
22
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({"groupDid":/*#__PURE__*/ l.string({"format":"did"}),"handle":/*#__PURE__*/ l.string(),"accountPassword":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string())});
|
|
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
|
+
|
|
27
|
+
/** Register a new group. Creates a group account on the group PDS, generates an app password for the service, and seeds the caller as owner. */
|
|
28
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["InvalidRequest","HandleNotAvailable","GroupAlreadyRegistered"]);
|
|
29
|
+
|
|
30
|
+
export { main };
|
|
31
|
+
|
|
32
|
+
const $lxm = $nsid;
|
|
33
|
+
|
|
34
|
+
type $lxm = typeof $lxm;
|
|
35
|
+
|
|
36
|
+
export { $lxm };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { l } from "@atproto/lex";
|
|
6
|
+
|
|
7
|
+
const $nsid = "app.certified.group.repo.createRecord";
|
|
8
|
+
|
|
9
|
+
type $nsid = typeof $nsid;
|
|
10
|
+
|
|
11
|
+
export { $nsid };
|
|
12
|
+
|
|
13
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
14
|
+
|
|
15
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
16
|
+
|
|
17
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({"repo":/*#__PURE__*/ l.string({"format":"at-identifier"}),"collection":/*#__PURE__*/ l.string({"format":"nsid"}),"rkey":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),"record":/*#__PURE__*/ l.lexMap(),"swapCommit":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"cid"}))});
|
|
18
|
+
|
|
19
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
20
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
21
|
+
|
|
22
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({"uri":/*#__PURE__*/ l.string({"format":"at-uri"}),"cid":/*#__PURE__*/ l.string()});
|
|
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
|
+
|
|
27
|
+
/** Create a record in the group's repository. Proxied through the user's PDS. */
|
|
28
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["InvalidSwap"]);
|
|
29
|
+
|
|
30
|
+
export { main };
|
|
31
|
+
|
|
32
|
+
const $lxm = $nsid;
|
|
33
|
+
|
|
34
|
+
type $lxm = typeof $lxm;
|
|
35
|
+
|
|
36
|
+
export { $lxm };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { l } from "@atproto/lex";
|
|
6
|
+
|
|
7
|
+
const $nsid = "app.certified.group.repo.deleteRecord";
|
|
8
|
+
|
|
9
|
+
type $nsid = typeof $nsid;
|
|
10
|
+
|
|
11
|
+
export { $nsid };
|
|
12
|
+
|
|
13
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
14
|
+
|
|
15
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
16
|
+
|
|
17
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({"repo":/*#__PURE__*/ l.string({"format":"at-identifier"}),"collection":/*#__PURE__*/ l.string({"format":"nsid"}),"rkey":/*#__PURE__*/ l.string(),"swapRecord":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"cid"})),"swapCommit":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"cid"}))});
|
|
18
|
+
|
|
19
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
20
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
21
|
+
|
|
22
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({});
|
|
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
|
+
|
|
27
|
+
/** Delete a record from the group's repository. Proxied through the user's PDS. */
|
|
28
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["InvalidSwap"]);
|
|
29
|
+
|
|
30
|
+
export { main };
|
|
31
|
+
|
|
32
|
+
const $lxm = $nsid;
|
|
33
|
+
|
|
34
|
+
type $lxm = typeof $lxm;
|
|
35
|
+
|
|
36
|
+
export { $lxm };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY scripts/generate.js WITH "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { l } from "@atproto/lex";
|
|
6
|
+
|
|
7
|
+
const $nsid = "app.certified.group.repo.putRecord";
|
|
8
|
+
|
|
9
|
+
type $nsid = typeof $nsid;
|
|
10
|
+
|
|
11
|
+
export { $nsid };
|
|
12
|
+
|
|
13
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
14
|
+
|
|
15
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
16
|
+
|
|
17
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({"repo":/*#__PURE__*/ l.string({"format":"at-identifier"}),"collection":/*#__PURE__*/ l.string({"format":"nsid"}),"rkey":/*#__PURE__*/ l.string(),"record":/*#__PURE__*/ l.lexMap(),"swapRecord":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.nullable(/*#__PURE__*/ l.string({"format":"cid"}))),"swapCommit":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({"format":"cid"}))});
|
|
18
|
+
|
|
19
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
20
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
21
|
+
|
|
22
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({"uri":/*#__PURE__*/ l.string({"format":"at-uri"}),"cid":/*#__PURE__*/ l.string()});
|
|
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
|
+
|
|
27
|
+
/** Create or update a record in the group's repository. Proxied through the user's PDS. */
|
|
28
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["InvalidSwap"]);
|
|
29
|
+
|
|
30
|
+
export { main };
|
|
31
|
+
|
|
32
|
+
const $lxm = $nsid;
|
|
33
|
+
|
|
34
|
+
type $lxm = typeof $lxm;
|
|
35
|
+
|
|
36
|
+
export { $lxm };
|