@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,44 @@
|
|
|
1
|
+
import { l } from "@atproto/lex";
|
|
2
|
+
declare const $nsid = "app.certified.group.member.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
|
+
}>;
|
|
12
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
13
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
14
|
+
cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
15
|
+
members: l.ArraySchema<l.RefSchema<l.Validator<Member, Member>>>;
|
|
16
|
+
}>>;
|
|
17
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
18
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
19
|
+
/** List members of the group. Requires membership. */
|
|
20
|
+
declare const main: l.Query<"app.certified.group.member.list", l.ParamsSchema<{
|
|
21
|
+
readonly repo: l.OptionalSchema<l.StringSchema<{
|
|
22
|
+
readonly format: "at-identifier";
|
|
23
|
+
}>>;
|
|
24
|
+
readonly limit: l.OptionalSchema<l.WithDefaultSchema<l.IntegerSchema>>;
|
|
25
|
+
readonly cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
26
|
+
}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
27
|
+
cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
28
|
+
members: l.ArraySchema<l.RefSchema<l.Validator<Member, Member>>>;
|
|
29
|
+
}>>, readonly ["Unauthorized"]>;
|
|
30
|
+
export { main };
|
|
31
|
+
declare const $lxm = "app.certified.group.member.list";
|
|
32
|
+
type $lxm = typeof $lxm;
|
|
33
|
+
export { $lxm };
|
|
34
|
+
type Member = {
|
|
35
|
+
$type?: "app.certified.group.member.list#member";
|
|
36
|
+
"did": l.DidString;
|
|
37
|
+
"role": "member" | "admin" | "owner" | l.UnknownString;
|
|
38
|
+
"addedBy"?: l.DidString;
|
|
39
|
+
"addedAt": l.DatetimeString;
|
|
40
|
+
};
|
|
41
|
+
export type { Member };
|
|
42
|
+
declare const member: l.TypedObjectSchema<"app.certified.group.member.list#member", l.Validator<Member, Member>>;
|
|
43
|
+
export { member };
|
|
44
|
+
//# sourceMappingURL=list.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/member/list.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;;;;;;EAAoS,CAAC;AAEzT,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,OAAO;;;GAAmL,CAAC;AAExM,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,sDAAsD;AACtD,QAAA,MAAM,IAAI;;;;;;;;;+BAAmE,CAAC;AAE9E,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,oCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,KAAK,MAAM,GAAG;IAAE,KAAK,CAAC,EAAE,wCAAwC,CAAC;IAAA,KAAK,EAAC,CAAC,CAAC,SAAS,CAAC;IAAA,MAAM,EAAC,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,CAAC,CAAC,aAAa,CAAC;IAAA,SAAS,CAAC,EAAC,CAAC,CAAC,SAAS,CAAC;IAAA,SAAS,EAAC,CAAC,CAAC,cAAc,CAAA;CAAE,CAAC;AAE7L,YAAY,EAAE,MAAM,EAAE,CAAC;AAEvB,QAAA,MAAM,MAAM,4FAAkV,CAAC;AAE/V,OAAO,EAAE,MAAM,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.member.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()) });
|
|
8
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({ "cursor": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "members": /*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => member))) });
|
|
9
|
+
/** List members of the group. Requires membership. */
|
|
10
|
+
const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["Unauthorized"]);
|
|
11
|
+
export { main };
|
|
12
|
+
const $lxm = $nsid;
|
|
13
|
+
export { $lxm };
|
|
14
|
+
const member = /*#__PURE__*/ l.typedObject($nsid, "member", /*#__PURE__*/ l.object({ "did": /*#__PURE__*/ l.string({ "format": "did" }), "role": /*#__PURE__*/ l.string(), "addedBy": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "did" })), "addedAt": /*#__PURE__*/ l.string({ "format": "datetime" }) }));
|
|
15
|
+
export { member };
|
|
16
|
+
//# sourceMappingURL=list.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.defs.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/member/list.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,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,CAAC,CAAC;AAIzT,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,QAAQ,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAC,SAAS,EAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAS,CAAC,GAAG,EAAE,CAAC,MAAM,CAAQ,CAAC,CAAG,EAAC,CAAC,CAAC;AAKxM,sDAAsD;AACtD,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC;AAE9E,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC;AAMhB,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAS,KAAK,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,KAAK,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAA8C,EAAC,SAAS,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,CAAC,EAAC,SAAS,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,UAAU,EAAC,CAAC,EAAC,CAAC,CAAC,CAAC;AAE/V,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/member/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":"remove.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/member/remove.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { l } from "@atproto/lex";
|
|
2
|
+
declare const $nsid = "app.certified.group.member.remove";
|
|
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
|
+
}>>;
|
|
15
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
16
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
17
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{}>>;
|
|
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
|
+
/** Remove a member from the group. Requires admin or owner role. */
|
|
21
|
+
declare const main: l.Procedure<"app.certified.group.member.remove", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
22
|
+
repo: l.OptionalSchema<l.StringSchema<{
|
|
23
|
+
readonly format: "at-identifier";
|
|
24
|
+
}>>;
|
|
25
|
+
memberDid: l.StringSchema<{
|
|
26
|
+
readonly format: "did";
|
|
27
|
+
}>;
|
|
28
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{}>>, readonly ["Unauthorized", "Forbidden", "MemberNotFound", "CannotRemoveOwner"]>;
|
|
29
|
+
export { main };
|
|
30
|
+
declare const $lxm = "app.certified.group.member.remove";
|
|
31
|
+
type $lxm = typeof $lxm;
|
|
32
|
+
export { $lxm };
|
|
33
|
+
//# sourceMappingURL=remove.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove.defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/member/remove.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,sCAAsC,CAAC;AAElD,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;;;;;;;GAA0K,CAAC;AAE9L,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,mDAAkC,CAAC;AAEvD,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,oEAAoE;AACpE,QAAA,MAAM,IAAI;;;;;;;sIAAgI,CAAC;AAE3I,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,sCAAQ,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.remove";
|
|
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" }) });
|
|
9
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({});
|
|
10
|
+
/** Remove a member from the group. Requires admin or owner role. */
|
|
11
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["Unauthorized", "Forbidden", "MemberNotFound", "CannotRemoveOwner"]);
|
|
12
|
+
export { main };
|
|
13
|
+
const $lxm = $nsid;
|
|
14
|
+
export { $lxm };
|
|
15
|
+
//# sourceMappingURL=remove.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove.defs.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/member/remove.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,mCAAmC,CAAC;AAIlD,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,CAAC,CAAC;AAK9L,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;AAKvD,oEAAoE;AACpE,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,cAAc,EAAC,WAAW,EAAC,gBAAgB,EAAC,mBAAmB,CAAC,CAAC,CAAC;AAE3I,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/member/remove.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":"member.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/certified/group/member.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,GAAG,MAAM,iBAAiB,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"member.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/certified/group/member.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,GAAG,MAAM,iBAAiB,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accept.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/ownershipTransfer/accept.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { l } from "@atproto/lex";
|
|
2
|
+
declare const $nsid = "app.certified.group.ownershipTransfer.accept";
|
|
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
|
+
}>>;
|
|
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
|
+
owner: l.StringSchema<{
|
|
19
|
+
readonly format: "did";
|
|
20
|
+
}>;
|
|
21
|
+
previousOwner: l.OptionalSchema<l.StringSchema<{
|
|
22
|
+
readonly format: "did";
|
|
23
|
+
}>>;
|
|
24
|
+
updatedAt: l.StringSchema<{
|
|
25
|
+
readonly format: "datetime";
|
|
26
|
+
}>;
|
|
27
|
+
}>>;
|
|
28
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
29
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
30
|
+
/** 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. */
|
|
31
|
+
declare const main: l.Procedure<"app.certified.group.ownershipTransfer.accept", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
32
|
+
repo: l.OptionalSchema<l.StringSchema<{
|
|
33
|
+
readonly format: "at-identifier";
|
|
34
|
+
}>>;
|
|
35
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
36
|
+
groupDid: l.StringSchema<{
|
|
37
|
+
readonly format: "did";
|
|
38
|
+
}>;
|
|
39
|
+
owner: l.StringSchema<{
|
|
40
|
+
readonly format: "did";
|
|
41
|
+
}>;
|
|
42
|
+
previousOwner: l.OptionalSchema<l.StringSchema<{
|
|
43
|
+
readonly format: "did";
|
|
44
|
+
}>>;
|
|
45
|
+
updatedAt: l.StringSchema<{
|
|
46
|
+
readonly format: "datetime";
|
|
47
|
+
}>;
|
|
48
|
+
}>>, readonly ["ApiKeyNotPermitted", "UnknownGroup", "NoPendingTransfer"]>;
|
|
49
|
+
export { main };
|
|
50
|
+
declare const $lxm = "app.certified.group.ownershipTransfer.accept";
|
|
51
|
+
type $lxm = typeof $lxm;
|
|
52
|
+
export { $lxm };
|
|
53
|
+
//# sourceMappingURL=accept.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accept.defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/ownershipTransfer/accept.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,iDAAiD,CAAC;AAE7D,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;;;;GAAqH,CAAC;AAEzI,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;;;;;;;;;;;;;GAAmR,CAAC;AAExS,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,4VAA4V;AAC5V,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;0EAAwH,CAAC;AAEnI,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,iDAAQ,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.ownershipTransfer.accept";
|
|
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" })) });
|
|
9
|
+
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" }) });
|
|
10
|
+
/** 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. */
|
|
11
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["ApiKeyNotPermitted", "UnknownGroup", "NoPendingTransfer"]);
|
|
12
|
+
export { main };
|
|
13
|
+
const $lxm = $nsid;
|
|
14
|
+
export { $lxm };
|
|
15
|
+
//# sourceMappingURL=accept.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accept.defs.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/ownershipTransfer/accept.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,8CAA8C,CAAC;AAI7D,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,CAAC,CAAC;AAKzI,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,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,eAAe,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,CAAC,EAAC,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,UAAU,EAAC,CAAC,EAAC,CAAC,CAAC;AAKxS,4VAA4V;AAC5V,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,oBAAoB,EAAC,cAAc,EAAC,mBAAmB,CAAC,CAAC,CAAC;AAEnI,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accept.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/ownershipTransfer/accept.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":"cancel.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/ownershipTransfer/cancel.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { l } from "@atproto/lex";
|
|
2
|
+
declare const $nsid = "app.certified.group.ownershipTransfer.cancel";
|
|
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
|
+
}>>;
|
|
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
|
+
cancelled: l.BooleanSchema;
|
|
19
|
+
}>>;
|
|
20
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
21
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
22
|
+
/** 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. */
|
|
23
|
+
declare const main: l.Procedure<"app.certified.group.ownershipTransfer.cancel", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
24
|
+
repo: l.OptionalSchema<l.StringSchema<{
|
|
25
|
+
readonly format: "at-identifier";
|
|
26
|
+
}>>;
|
|
27
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
28
|
+
groupDid: l.StringSchema<{
|
|
29
|
+
readonly format: "did";
|
|
30
|
+
}>;
|
|
31
|
+
cancelled: l.BooleanSchema;
|
|
32
|
+
}>>, readonly ["UnknownGroup", "NoPendingTransfer"]>;
|
|
33
|
+
export { main };
|
|
34
|
+
declare const $lxm = "app.certified.group.ownershipTransfer.cancel";
|
|
35
|
+
type $lxm = typeof $lxm;
|
|
36
|
+
export { $lxm };
|
|
37
|
+
//# sourceMappingURL=cancel.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel.defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/ownershipTransfer/cancel.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,iDAAiD,CAAC;AAE7D,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;;;;GAAqH,CAAC;AAEzI,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;;;;;GAA2H,CAAC;AAEhJ,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,2LAA2L;AAC3L,QAAA,MAAM,IAAI;;;;;;;;;oDAAmG,CAAC;AAE9G,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,iDAAQ,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.ownershipTransfer.cancel";
|
|
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" })) });
|
|
9
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({ "groupDid": /*#__PURE__*/ l.string({ "format": "did" }), "cancelled": /*#__PURE__*/ l.boolean() });
|
|
10
|
+
/** 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. */
|
|
11
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["UnknownGroup", "NoPendingTransfer"]);
|
|
12
|
+
export { main };
|
|
13
|
+
const $lxm = $nsid;
|
|
14
|
+
export { $lxm };
|
|
15
|
+
//# sourceMappingURL=cancel.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel.defs.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/ownershipTransfer/cancel.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,8CAA8C,CAAC;AAI7D,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,CAAC,CAAC;AAKzI,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,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAC,CAAC,CAAC;AAKhJ,2LAA2L;AAC3L,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,cAAc,EAAC,mBAAmB,CAAC,CAAC,CAAC;AAE9G,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/ownershipTransfer/cancel.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":"propose.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/ownershipTransfer/propose.ts"],"names":[],"mappings":"AAIA,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { l } from "@atproto/lex";
|
|
2
|
+
declare const $nsid = "app.certified.group.ownershipTransfer.propose";
|
|
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
|
+
newOwner: l.StringSchema<{
|
|
12
|
+
readonly format: "at-identifier";
|
|
13
|
+
}>;
|
|
14
|
+
}>>;
|
|
15
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
16
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
17
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
18
|
+
groupDid: l.StringSchema<{
|
|
19
|
+
readonly format: "did";
|
|
20
|
+
}>;
|
|
21
|
+
proposedOwner: l.StringSchema<{
|
|
22
|
+
readonly format: "did";
|
|
23
|
+
}>;
|
|
24
|
+
proposedBy: l.StringSchema<{
|
|
25
|
+
readonly format: "did";
|
|
26
|
+
}>;
|
|
27
|
+
createdAt: l.StringSchema<{
|
|
28
|
+
readonly format: "datetime";
|
|
29
|
+
}>;
|
|
30
|
+
expiresAt: 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
|
+
/** 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. */
|
|
37
|
+
declare const main: l.Procedure<"app.certified.group.ownershipTransfer.propose", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
38
|
+
repo: l.OptionalSchema<l.StringSchema<{
|
|
39
|
+
readonly format: "at-identifier";
|
|
40
|
+
}>>;
|
|
41
|
+
newOwner: l.StringSchema<{
|
|
42
|
+
readonly format: "at-identifier";
|
|
43
|
+
}>;
|
|
44
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
45
|
+
groupDid: l.StringSchema<{
|
|
46
|
+
readonly format: "did";
|
|
47
|
+
}>;
|
|
48
|
+
proposedOwner: l.StringSchema<{
|
|
49
|
+
readonly format: "did";
|
|
50
|
+
}>;
|
|
51
|
+
proposedBy: l.StringSchema<{
|
|
52
|
+
readonly format: "did";
|
|
53
|
+
}>;
|
|
54
|
+
createdAt: l.StringSchema<{
|
|
55
|
+
readonly format: "datetime";
|
|
56
|
+
}>;
|
|
57
|
+
expiresAt: l.StringSchema<{
|
|
58
|
+
readonly format: "datetime";
|
|
59
|
+
}>;
|
|
60
|
+
}>>, readonly ["InvalidRequest", "UnknownGroup", "NotAMember", "AlreadyOwner"]>;
|
|
61
|
+
export { main };
|
|
62
|
+
declare const $lxm = "app.certified.group.ownershipTransfer.propose";
|
|
63
|
+
type $lxm = typeof $lxm;
|
|
64
|
+
export { $lxm };
|
|
65
|
+
//# sourceMappingURL=propose.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"propose.defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/ownershipTransfer/propose.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,kDAAkD,CAAC;AAE9D,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;;;;;;;GAAmL,CAAC;AAEvM,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;;;;;;;;;;;;;;;;GAAwT,CAAC;AAE7U,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,4jBAA4jB;AAC5jB,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;+EAA4H,CAAC;AAEvI,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,kDAAQ,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.ownershipTransfer.propose";
|
|
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" })), "newOwner": /*#__PURE__*/ l.string({ "format": "at-identifier" }) });
|
|
9
|
+
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" }) });
|
|
10
|
+
/** 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. */
|
|
11
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["InvalidRequest", "UnknownGroup", "NotAMember", "AlreadyOwner"]);
|
|
12
|
+
export { main };
|
|
13
|
+
const $lxm = $nsid;
|
|
14
|
+
export { $lxm };
|
|
15
|
+
//# sourceMappingURL=propose.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"propose.defs.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/ownershipTransfer/propose.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,+CAA+C,CAAC;AAI9D,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,UAAU,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,eAAe,EAAC,CAAC,EAAC,CAAC,CAAC;AAKvM,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,eAAe,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,YAAY,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,UAAU,EAAC,CAAC,EAAC,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,UAAU,EAAC,CAAC,EAAC,CAAC,CAAC;AAK7U,4jBAA4jB;AAC5jB,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,gBAAgB,EAAC,cAAc,EAAC,YAAY,EAAC,cAAc,CAAC,CAAC,CAAC;AAEvI,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"propose.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/ownershipTransfer/propose.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":"status.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/ownershipTransfer/status.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { l } from "@atproto/lex";
|
|
2
|
+
declare const $nsid = "app.certified.group.ownershipTransfer.status";
|
|
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 $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
12
|
+
groupDid: l.StringSchema<{
|
|
13
|
+
readonly format: "did";
|
|
14
|
+
}>;
|
|
15
|
+
pending: l.BooleanSchema;
|
|
16
|
+
proposedOwner: l.OptionalSchema<l.StringSchema<{
|
|
17
|
+
readonly format: "did";
|
|
18
|
+
}>>;
|
|
19
|
+
proposedBy: l.OptionalSchema<l.StringSchema<{
|
|
20
|
+
readonly format: "did";
|
|
21
|
+
}>>;
|
|
22
|
+
createdAt: l.OptionalSchema<l.StringSchema<{
|
|
23
|
+
readonly format: "datetime";
|
|
24
|
+
}>>;
|
|
25
|
+
expiresAt: l.OptionalSchema<l.StringSchema<{
|
|
26
|
+
readonly format: "datetime";
|
|
27
|
+
}>>;
|
|
28
|
+
}>>;
|
|
29
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
30
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
31
|
+
/** 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). */
|
|
32
|
+
declare const main: l.Query<"app.certified.group.ownershipTransfer.status", l.ParamsSchema<{
|
|
33
|
+
readonly repo: l.OptionalSchema<l.StringSchema<{
|
|
34
|
+
readonly format: "at-identifier";
|
|
35
|
+
}>>;
|
|
36
|
+
}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
37
|
+
groupDid: l.StringSchema<{
|
|
38
|
+
readonly format: "did";
|
|
39
|
+
}>;
|
|
40
|
+
pending: l.BooleanSchema;
|
|
41
|
+
proposedOwner: l.OptionalSchema<l.StringSchema<{
|
|
42
|
+
readonly format: "did";
|
|
43
|
+
}>>;
|
|
44
|
+
proposedBy: l.OptionalSchema<l.StringSchema<{
|
|
45
|
+
readonly format: "did";
|
|
46
|
+
}>>;
|
|
47
|
+
createdAt: l.OptionalSchema<l.StringSchema<{
|
|
48
|
+
readonly format: "datetime";
|
|
49
|
+
}>>;
|
|
50
|
+
expiresAt: l.OptionalSchema<l.StringSchema<{
|
|
51
|
+
readonly format: "datetime";
|
|
52
|
+
}>>;
|
|
53
|
+
}>>, readonly ["Unauthorized"]>;
|
|
54
|
+
export { main };
|
|
55
|
+
declare const $lxm = "app.certified.group.ownershipTransfer.status";
|
|
56
|
+
type $lxm = typeof $lxm;
|
|
57
|
+
export { $lxm };
|
|
58
|
+
//# sourceMappingURL=status.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/ownershipTransfer/status.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,iDAAiD,CAAC;AAE7D,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,OAAO;;;;;;;;;;;;;;;;;GAAoc,CAAC;AAEzd,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,qRAAqR;AACrR,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;+BAAmE,CAAC;AAE9E,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,iDAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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.ownershipTransfer.status";
|
|
6
|
+
export { $nsid };
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params({ "repo": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "at-identifier" })) });
|
|
8
|
+
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" })) });
|
|
9
|
+
/** 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). */
|
|
10
|
+
const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["Unauthorized"]);
|
|
11
|
+
export { main };
|
|
12
|
+
const $lxm = $nsid;
|
|
13
|
+
export { $lxm };
|
|
14
|
+
//# sourceMappingURL=status.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.defs.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/ownershipTransfer/status.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,8CAA8C,CAAC;AAI7D,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,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,UAAU,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,SAAS,EAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAC,eAAe,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,CAAC,EAAC,YAAY,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,CAAC,EAAC,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,UAAU,EAAC,CAAC,CAAC,EAAC,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,UAAU,EAAC,CAAC,CAAC,EAAC,CAAC,CAAC;AAKzd,qRAAqR;AACrR,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC;AAE9E,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.js","sourceRoot":"","sources":["../../../../../../src/lexicons/app/certified/group/ownershipTransfer/status.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|