Something went wrong. Try again.
a tool for shared writing and social publishing
Something went wrong. Try again.
TypeScript
123456789101112131415161718192021222324252627282930313233343536373839import { LexiconDoc } from "@atproto/lexicon";import { PubLeafletDocument } from "./document";import { PubLeafletPublication, PubLeafletPublicationSubscription,} from "./publication";import { PubLeafletComment } from "./comment";import { PubLeafletPollDefinition, PubLeafletPollVote } from "./polls";import { PubLeafletInteractionsRecommend } from "./interactions";
export const PubLeafletAuthFullPermissions: LexiconDoc = { lexicon: 1, id: "pub.leaflet.authFullPermissions", defs: { main: { type: "permission-set", title: "Full Leaflet Permissions", detail: "Manage creating and updating leaflet documents and publications and all interactions on them.", permissions: [ { type: "permission", resource: "repo", action: ["create", "update", "delete"], collection: [ PubLeafletDocument.id, PubLeafletPublication.id, PubLeafletComment.id, PubLeafletPollDefinition.id, PubLeafletPollVote.id, PubLeafletPublicationSubscription.id, PubLeafletInteractionsRecommend.id, ], }, ], }, },};