@atproto/pds 0.5.35 → 0.5.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +59 -0
- package/dist/account-manager/account-manager.d.ts +59 -8
- package/dist/account-manager/account-manager.d.ts.map +1 -1
- package/dist/account-manager/account-manager.js +154 -21
- package/dist/account-manager/account-manager.js.map +1 -1
- package/dist/account-manager/db/migrations/008-account-email-auth-factor.d.ts +9 -0
- package/dist/account-manager/db/migrations/008-account-email-auth-factor.d.ts.map +1 -0
- package/dist/account-manager/db/migrations/008-account-email-auth-factor.js +16 -0
- package/dist/account-manager/db/migrations/008-account-email-auth-factor.js.map +1 -0
- package/dist/account-manager/db/migrations/index.d.ts +2 -0
- package/dist/account-manager/db/migrations/index.d.ts.map +1 -1
- package/dist/account-manager/db/migrations/index.js +2 -0
- package/dist/account-manager/db/migrations/index.js.map +1 -1
- package/dist/account-manager/db/schema/account-email-auth-factor.d.ts +20 -0
- package/dist/account-manager/db/schema/account-email-auth-factor.d.ts.map +1 -0
- package/dist/account-manager/db/schema/account-email-auth-factor.js +2 -0
- package/dist/account-manager/db/schema/account-email-auth-factor.js.map +1 -0
- package/dist/account-manager/db/schema/email-token.d.ts +1 -1
- package/dist/account-manager/db/schema/email-token.d.ts.map +1 -1
- package/dist/account-manager/db/schema/email-token.js.map +1 -1
- package/dist/account-manager/db/schema/index.d.ts +2 -1
- package/dist/account-manager/db/schema/index.d.ts.map +1 -1
- package/dist/account-manager/db/schema/index.js.map +1 -1
- package/dist/account-manager/helpers/account-device.d.ts +4 -2
- package/dist/account-manager/helpers/account-device.d.ts.map +1 -1
- package/dist/account-manager/helpers/account.d.ts +4 -1
- package/dist/account-manager/helpers/account.d.ts.map +1 -1
- package/dist/account-manager/helpers/account.js +4 -1
- package/dist/account-manager/helpers/account.js.map +1 -1
- package/dist/account-manager/helpers/email-auth-factor.d.ts +46 -0
- package/dist/account-manager/helpers/email-auth-factor.d.ts.map +1 -0
- package/dist/account-manager/helpers/email-auth-factor.js +77 -0
- package/dist/account-manager/helpers/email-auth-factor.js.map +1 -0
- package/dist/account-manager/helpers/invite.d.ts +1 -0
- package/dist/account-manager/helpers/invite.d.ts.map +1 -1
- package/dist/account-manager/helpers/token.d.ts +4 -2
- package/dist/account-manager/helpers/token.d.ts.map +1 -1
- package/dist/account-manager/oauth-store.d.ts +4 -2
- package/dist/account-manager/oauth-store.d.ts.map +1 -1
- package/dist/account-manager/oauth-store.js +48 -14
- package/dist/account-manager/oauth-store.js.map +1 -1
- package/dist/actor-store/actor-store-reader.d.ts +3 -1
- package/dist/actor-store/actor-store-reader.d.ts.map +1 -1
- package/dist/actor-store/actor-store-reader.js +72 -5
- package/dist/actor-store/actor-store-reader.js.map +1 -1
- package/dist/actor-store/actor-store-transactor.d.ts +3 -1
- package/dist/actor-store/actor-store-transactor.d.ts.map +1 -1
- package/dist/actor-store/actor-store-transactor.js +6 -3
- package/dist/actor-store/actor-store-transactor.js.map +1 -1
- package/dist/actor-store/actor-store-writer.js +67 -3
- package/dist/actor-store/actor-store-writer.js.map +1 -1
- package/dist/actor-store/actor-store.d.ts +2 -2
- package/dist/actor-store/actor-store.d.ts.map +1 -1
- package/dist/actor-store/actor-store.js +125 -25
- package/dist/actor-store/actor-store.js.map +1 -1
- package/dist/api/com/atproto/admin/updateAccountEmail.d.ts.map +1 -1
- package/dist/api/com/atproto/admin/updateAccountEmail.js +1 -4
- package/dist/api/com/atproto/admin/updateAccountEmail.js.map +1 -1
- package/dist/api/com/atproto/repo/importRepo.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/importRepo.js +7 -2
- package/dist/api/com/atproto/repo/importRepo.js.map +1 -1
- package/dist/api/com/atproto/server/createAccount.js +7 -2
- package/dist/api/com/atproto/server/createAccount.js.map +1 -1
- package/dist/api/com/atproto/server/createSession.d.ts.map +1 -1
- package/dist/api/com/atproto/server/createSession.js +8 -1
- package/dist/api/com/atproto/server/createSession.js.map +1 -1
- package/dist/api/com/atproto/server/getSession.d.ts.map +1 -1
- package/dist/api/com/atproto/server/getSession.js +1 -0
- package/dist/api/com/atproto/server/getSession.js.map +1 -1
- package/dist/api/com/atproto/server/refreshSession.d.ts.map +1 -1
- package/dist/api/com/atproto/server/refreshSession.js +1 -0
- package/dist/api/com/atproto/server/refreshSession.js.map +1 -1
- package/dist/api/com/atproto/server/updateEmail.d.ts.map +1 -1
- package/dist/api/com/atproto/server/updateEmail.js +45 -1
- package/dist/api/com/atproto/server/updateEmail.js.map +1 -1
- package/dist/api/com/atproto/sync/getRecord.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getRecord.js +4 -2
- package/dist/api/com/atproto/sync/getRecord.js.map +1 -1
- package/dist/api/com/atproto/sync/getRepo.d.ts.map +1 -1
- package/dist/api/com/atproto/sync/getRepo.js +3 -1
- package/dist/api/com/atproto/sync/getRepo.js.map +1 -1
- package/dist/auth-verifier.d.ts +1 -0
- package/dist/auth-verifier.d.ts.map +1 -1
- package/dist/auth-verifier.js +1 -0
- package/dist/auth-verifier.js.map +1 -1
- package/dist/config/secrets.d.ts +2 -1
- package/dist/config/secrets.d.ts.map +1 -1
- package/dist/config/secrets.js +25 -18
- package/dist/config/secrets.js.map +1 -1
- package/dist/context.d.ts +4 -4
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +42 -20
- package/dist/context.js.map +1 -1
- package/dist/db/db.d.ts +5 -3
- package/dist/db/db.d.ts.map +1 -1
- package/dist/db/db.js +13 -7
- package/dist/db/db.js.map +1 -1
- package/dist/disk-blobstore.d.ts +3 -2
- package/dist/disk-blobstore.d.ts.map +1 -1
- package/dist/disk-blobstore.js +13 -4
- package/dist/disk-blobstore.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/lexicons/app/bsky/authFullApp.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/authFullApp.defs.js +10 -0
- package/dist/lexicons/app/bsky/authFullApp.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/authManageNotifications.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/authManageNotifications.defs.js +1 -0
- package/dist/lexicons/app/bsky/authManageNotifications.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/feed/defs.defs.d.ts +8 -0
- package/dist/lexicons/app/bsky/feed/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/defs.defs.js +2 -0
- package/dist/lexicons/app/bsky/feed/defs.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/feed/getListFeed.defs.d.ts +4 -0
- package/dist/lexicons/app/bsky/feed/getListFeed.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/getListFeed.defs.js +2 -0
- package/dist/lexicons/app/bsky/feed/getListFeed.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/feed/getQuotes.defs.d.ts +6 -0
- package/dist/lexicons/app/bsky/feed/getQuotes.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/getQuotes.defs.js +2 -0
- package/dist/lexicons/app/bsky/feed/getQuotes.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/feed/getTimeline.defs.d.ts +4 -0
- package/dist/lexicons/app/bsky/feed/getTimeline.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/getTimeline.defs.js +2 -0
- package/dist/lexicons/app/bsky/feed/getTimeline.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.d.ts +3 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.d.ts +299 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.js +231 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.js.map +1 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.js +6 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.js.map +1 -0
- package/dist/lexicons/app/bsky/notification.d.ts +1 -0
- package/dist/lexicons/app/bsky/notification.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/notification.js +1 -0
- package/dist/lexicons/app/bsky/notification.js.map +1 -1
- package/dist/lexicons/tools/ozone/inbox/appealActionedSubject.d.ts +3 -0
- package/dist/lexicons/tools/ozone/inbox/appealActionedSubject.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/appealActionedSubject.defs.d.ts +65 -0
- package/dist/lexicons/tools/ozone/inbox/appealActionedSubject.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/appealActionedSubject.defs.js +49 -0
- package/dist/lexicons/tools/ozone/inbox/appealActionedSubject.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/appealActionedSubject.js +6 -0
- package/dist/lexicons/tools/ozone/inbox/appealActionedSubject.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/defs.d.ts +2 -0
- package/dist/lexicons/tools/ozone/inbox/defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/defs.defs.d.ts +89 -0
- package/dist/lexicons/tools/ozone/inbox/defs.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/defs.defs.js +73 -0
- package/dist/lexicons/tools/ozone/inbox/defs.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/defs.js +5 -0
- package/dist/lexicons/tools/ozone/inbox/defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox.d.ts +3 -0
- package/dist/lexicons/tools/ozone/inbox.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox.js +6 -0
- package/dist/lexicons/tools/ozone/inbox.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.d.ts +2 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.js +2 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/queue/defs.defs.d.ts +4 -0
- package/dist/lexicons/tools/ozone/queue/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/queue/defs.defs.js +2 -0
- package/dist/lexicons/tools/ozone/queue/defs.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.d.ts +3 -1
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.js +3 -0
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/report/defs.defs.d.ts +89 -9
- package/dist/lexicons/tools/ozone/report/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/report/defs.defs.js +20 -0
- package/dist/lexicons/tools/ozone/report/defs.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/report/getLiveStats.defs.d.ts +1 -1
- package/dist/lexicons/tools/ozone/report/getLiveStats.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/report/getLiveStats.defs.js +1 -1
- package/dist/lexicons/tools/ozone/report/getLiveStats.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/report/refreshStats.defs.d.ts +1 -1
- package/dist/lexicons/tools/ozone/report/refreshStats.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/report/refreshStats.defs.js +1 -1
- package/dist/lexicons/tools/ozone/report/refreshStats.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone.d.ts +1 -0
- package/dist/lexicons/tools/ozone.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone.js +1 -0
- package/dist/lexicons/tools/ozone.js.map +1 -1
- package/dist/mailer/index.d.ts +7 -1
- package/dist/mailer/index.d.ts.map +1 -1
- package/dist/mailer/index.js +12 -1
- package/dist/mailer/index.js.map +1 -1
- package/dist/mailer/templates/sign-in-auth-factor.js +43 -0
- package/dist/mailer/templates/sign-in-auth-factor.js.map +1 -0
- package/dist/mailer/templates.d.ts +2 -0
- package/dist/mailer/templates.d.ts.map +1 -1
- package/dist/mailer/templates.js +1 -0
- package/dist/mailer/templates.js.map +1 -1
- package/dist/pipethrough.d.ts.map +1 -1
- package/dist/pipethrough.js +9 -2
- package/dist/pipethrough.js.map +1 -1
- package/package.json +21 -21
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroupedNotifications.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/notification/getGroupedNotifications.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAA;AAChD,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAElD,MAAM,KAAK,GAAG,+CAA+C,CAAA;AAI7D,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC5B,aAAa,CAAC,CAAC,CAAC,WAAW;IACzB,aAAa,CAAC,CAAC,CAAC,MAAM,CASnB,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,EACrB,KAAK,CACN,CACF;IACD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC7B,aAAa,CAAC,CAAC,CAAC,WAAW;IACzB,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EACpD,EAAE,CACH,CACF;IACD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,S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AAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;CAC1D,CAAC,CACH,CAAA;AAEH,OAAO,EAAE,6BAA6B,EAAE,CAAA;AAUxC,0DAA0D;AAC1D,MAAM,wBAAwB;AAC5B,aAAa,CAAC,CAAC,CAAC,WAAW,CACzB,KAAK,EACL,0BAA0B;AAC1B,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;CACjD,CAAC,CACH,CAAA;AAEH,OAAO,EAAE,wBAAwB,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as ActorDefs from '../actor/defs.defs.js'\nimport * as FeedDefs from '../feed/defs.defs.js'\nimport * as GraphDefs from '../graph/defs.defs.js'\n\nconst $nsid = 'app.bsky.notification.getGroupedNotifications'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params({\n feed: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.withDefault(\n /*#__PURE__*/ l.string<{\n maxLength: 32\n knownValues: [\n 'all',\n 'people-i-follow',\n 'conversations',\n 'followers',\n 'activity',\n ]\n }>({ maxLength: 32 }),\n 'all',\n ),\n ),\n limit: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.withDefault(\n /*#__PURE__*/ l.integer({ minimum: 1, maximum: 50 }),\n 30,\n ),\n ),\n cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ maxLength: 1024 })),\n})\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n cursor: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ maxLength: 1024 })),\n groups: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<Group>((() => group) as any),\n ),\n seenAt: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'datetime' }),\n ),\n relatedViews: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.typedUnion(\n [\n /*#__PURE__*/ l.typedRef<ActorDefs.ProfileViewDetailed>(\n (() => ActorDefs.profileViewDetailed) as any,\n ),\n /*#__PURE__*/ l.typedRef<FeedDefs.BlockedPost>(\n (() => FeedDefs.blockedPost) as any,\n ),\n /*#__PURE__*/ l.typedRef<FeedDefs.GeneratorView>(\n (() => FeedDefs.generatorView) as any,\n ),\n /*#__PURE__*/ l.typedRef<FeedDefs.NotFoundPost>(\n (() => FeedDefs.notFoundPost) as any,\n ),\n /*#__PURE__*/ l.typedRef<FeedDefs.PostView>(\n (() => FeedDefs.postView) as any,\n ),\n /*#__PURE__*/ l.typedRef<GraphDefs.StarterPackView>(\n (() => GraphDefs.starterPackView) as any,\n ),\n ],\n false,\n ),\n ),\n ),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** [UNSTABLE - DO NOT USE THIS ENDPOINT WHILE THIS NOTE IS HERE] Enumerate notifications for the requesting account, pre-grouped for rendering. Supersedes listNotifications. Requires auth. */\nconst main = /*#__PURE__*/ l.query($nsid, $params, $output)\n\nexport { main }\n\nconst $lxm = $nsid\n\ntype $lxm = typeof $lxm\n\nexport { $lxm }\n\n/** Contains common metadata and kind-specific data for a notification group or individual notification. */\ntype Group = {\n $type?: 'app.bsky.notification.getGroupedNotifications#group'\n id: string\n isRead: boolean\n indexedAt: l.DatetimeString\n count: number\n kind:\n | l.$Typed<LikeGroup>\n | l.$Typed<MultiPostLikeGroup>\n | l.$Typed<RepostGroup>\n | l.$Typed<LikeViaRepostGroup>\n | l.$Typed<RepostViaRepostGroup>\n | l.$Typed<FollowGroup>\n | l.$Typed<SubscribedPostGroup>\n | l.$Typed<GeneratorLikeGroup>\n | l.$Typed<ReplyNotification>\n | l.$Typed<QuoteNotification>\n | l.$Typed<MentionNotification>\n | l.$Typed<FollowBackNotification>\n | l.$Typed<VerifiedNotification>\n | l.$Typed<UnverifiedNotification>\n | l.$Typed<StarterPackJoinedNotification>\n | l.$Typed<ContactMatchNotification>\n | l.Unknown$TypedObject\n}\n\nexport type { Group }\n\n/** Contains common metadata and kind-specific data for a notification group or individual notification. */\nconst group = /*#__PURE__*/ l.typedObject<Group>(\n $nsid,\n 'group',\n /*#__PURE__*/ l.object({\n id: /*#__PURE__*/ l.string({ maxLength: 256 }),\n isRead: /*#__PURE__*/ l.boolean(),\n indexedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n count: /*#__PURE__*/ l.integer({ minimum: 1 }),\n kind: /*#__PURE__*/ l.typedUnion(\n [\n /*#__PURE__*/ l.typedRef<LikeGroup>((() => likeGroup) as any),\n /*#__PURE__*/ l.typedRef<MultiPostLikeGroup>(\n (() => multiPostLikeGroup) as any,\n ),\n /*#__PURE__*/ l.typedRef<RepostGroup>((() => repostGroup) as any),\n /*#__PURE__*/ l.typedRef<LikeViaRepostGroup>(\n (() => likeViaRepostGroup) as any,\n ),\n /*#__PURE__*/ l.typedRef<RepostViaRepostGroup>(\n (() => repostViaRepostGroup) as any,\n ),\n /*#__PURE__*/ l.typedRef<FollowGroup>((() => followGroup) as any),\n /*#__PURE__*/ l.typedRef<SubscribedPostGroup>(\n (() => subscribedPostGroup) as any,\n ),\n /*#__PURE__*/ l.typedRef<GeneratorLikeGroup>(\n (() => generatorLikeGroup) as any,\n ),\n /*#__PURE__*/ l.typedRef<ReplyNotification>(\n (() => replyNotification) as any,\n ),\n /*#__PURE__*/ l.typedRef<QuoteNotification>(\n (() => quoteNotification) as any,\n ),\n /*#__PURE__*/ l.typedRef<MentionNotification>(\n (() => mentionNotification) as any,\n ),\n /*#__PURE__*/ l.typedRef<FollowBackNotification>(\n (() => followBackNotification) as any,\n ),\n /*#__PURE__*/ l.typedRef<VerifiedNotification>(\n (() => verifiedNotification) as any,\n ),\n /*#__PURE__*/ l.typedRef<UnverifiedNotification>(\n (() => unverifiedNotification) as any,\n ),\n /*#__PURE__*/ l.typedRef<StarterPackJoinedNotification>(\n (() => starterPackJoinedNotification) as any,\n ),\n /*#__PURE__*/ l.typedRef<ContactMatchNotification>(\n (() => contactMatchNotification) as any,\n ),\n ],\n false,\n ),\n }),\n)\n\nexport { group }\n\n/** Group of likes by different actors on the same post. */\ntype LikeGroup = {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeGroup'\n post: l.AtUriString\n items: LikeItem[]\n}\n\nexport type { LikeGroup }\n\n/** Group of likes by different actors on the same post. */\nconst likeGroup = /*#__PURE__*/ l.typedObject<LikeGroup>(\n $nsid,\n 'likeGroup',\n /*#__PURE__*/ l.object({\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n items: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<LikeItem>((() => likeItem) as any),\n { minLength: 1 },\n ),\n }),\n)\n\nexport { likeGroup }\n\n/** One actor who liked the group's post. */\ntype LikeItem = {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeItem'\n actor: l.DidString\n}\n\nexport type { LikeItem }\n\n/** One actor who liked the group's post. */\nconst likeItem = /*#__PURE__*/ l.typedObject<LikeItem>(\n $nsid,\n 'likeItem',\n /*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }),\n)\n\nexport { likeItem }\n\n/** Group of likes by the same actor on different posts. */\ntype MultiPostLikeGroup = {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeGroup'\n actor: l.DidString\n items: MultiPostLikeItem[]\n}\n\nexport type { MultiPostLikeGroup }\n\n/** Group of likes by the same actor on different posts. */\nconst multiPostLikeGroup = /*#__PURE__*/ l.typedObject<MultiPostLikeGroup>(\n $nsid,\n 'multiPostLikeGroup',\n /*#__PURE__*/ l.object({\n actor: /*#__PURE__*/ l.string({ format: 'did' }),\n items: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<MultiPostLikeItem>((() => multiPostLikeItem) as any),\n { minLength: 2 },\n ),\n }),\n)\n\nexport { multiPostLikeGroup }\n\n/** One post which was liked by the group's actor. */\ntype MultiPostLikeItem = {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeItem'\n post: l.AtUriString\n}\n\nexport type { MultiPostLikeItem }\n\n/** One post which was liked by the group's actor. */\nconst multiPostLikeItem = /*#__PURE__*/ l.typedObject<MultiPostLikeItem>(\n $nsid,\n 'multiPostLikeItem',\n /*#__PURE__*/ l.object({\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n }),\n)\n\nexport { multiPostLikeItem }\n\n/** Group of reposts by different actors of the same post. */\ntype RepostGroup = {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostGroup'\n post: l.AtUriString\n items: RepostItem[]\n}\n\nexport type { RepostGroup }\n\n/** Group of reposts by different actors of the same post. */\nconst repostGroup = /*#__PURE__*/ l.typedObject<RepostGroup>(\n $nsid,\n 'repostGroup',\n /*#__PURE__*/ l.object({\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n items: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<RepostItem>((() => repostItem) as any),\n { minLength: 1 },\n ),\n }),\n)\n\nexport { repostGroup }\n\n/** One actor who reposted the group's post. */\ntype RepostItem = {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostItem'\n actor: l.DidString\n}\n\nexport type { RepostItem }\n\n/** One actor who reposted the group's post. */\nconst repostItem = /*#__PURE__*/ l.typedObject<RepostItem>(\n $nsid,\n 'repostItem',\n /*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }),\n)\n\nexport { repostItem }\n\n/** Group of likes by different actors on the same post via the requesting account's repost. */\ntype LikeViaRepostGroup = {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeViaRepostGroup'\n post: l.AtUriString\n viaRepost: l.AtUriString\n items: LikeViaRepostItem[]\n}\n\nexport type { LikeViaRepostGroup }\n\n/** Group of likes by different actors on the same post via the requesting account's repost. */\nconst likeViaRepostGroup = /*#__PURE__*/ l.typedObject<LikeViaRepostGroup>(\n $nsid,\n 'likeViaRepostGroup',\n /*#__PURE__*/ l.object({\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n viaRepost: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n items: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<LikeViaRepostItem>((() => likeViaRepostItem) as any),\n { minLength: 1 },\n ),\n }),\n)\n\nexport { likeViaRepostGroup }\n\n/** One actor who liked the group's post via the requesting account's repost. */\ntype LikeViaRepostItem = {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeViaRepostItem'\n actor: l.DidString\n}\n\nexport type { LikeViaRepostItem }\n\n/** One actor who liked the group's post via the requesting account's repost. */\nconst likeViaRepostItem = /*#__PURE__*/ l.typedObject<LikeViaRepostItem>(\n $nsid,\n 'likeViaRepostItem',\n /*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }),\n)\n\nexport { likeViaRepostItem }\n\n/** Group of reposts by different actors of the same post via the requesting account's repost. */\ntype RepostViaRepostGroup = {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostViaRepostGroup'\n post: l.AtUriString\n viaRepost: l.AtUriString\n items: RepostViaRepostItem[]\n}\n\nexport type { RepostViaRepostGroup }\n\n/** Group of reposts by different actors of the same post via the requesting account's repost. */\nconst repostViaRepostGroup = /*#__PURE__*/ l.typedObject<RepostViaRepostGroup>(\n $nsid,\n 'repostViaRepostGroup',\n /*#__PURE__*/ l.object({\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n viaRepost: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n items: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<RepostViaRepostItem>(\n (() => repostViaRepostItem) as any,\n ),\n { minLength: 1 },\n ),\n }),\n)\n\nexport { repostViaRepostGroup }\n\n/** One actor who reposted the group's post via the requesting account's repost. */\ntype RepostViaRepostItem = {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostViaRepostItem'\n actor: l.DidString\n}\n\nexport type { RepostViaRepostItem }\n\n/** One actor who reposted the group's post via the requesting account's repost. */\nconst repostViaRepostItem = /*#__PURE__*/ l.typedObject<RepostViaRepostItem>(\n $nsid,\n 'repostViaRepostItem',\n /*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }),\n)\n\nexport { repostViaRepostItem }\n\n/** Group of actors who followed the requesting account. */\ntype FollowGroup = {\n $type?: 'app.bsky.notification.getGroupedNotifications#followGroup'\n items: FollowItem[]\n}\n\nexport type { FollowGroup }\n\n/** Group of actors who followed the requesting account. */\nconst followGroup = /*#__PURE__*/ l.typedObject<FollowGroup>(\n $nsid,\n 'followGroup',\n /*#__PURE__*/ l.object({\n items: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<FollowItem>((() => followItem) as any),\n { minLength: 1 },\n ),\n }),\n)\n\nexport { followGroup }\n\n/** An actor who followed the requesting account, possibly via a starter pack. */\ntype FollowItem = {\n $type?: 'app.bsky.notification.getGroupedNotifications#followItem'\n actor: l.DidString\n starterPack?: l.AtUriString\n}\n\nexport type { FollowItem }\n\n/** An actor who followed the requesting account, possibly via a starter pack. */\nconst followItem = /*#__PURE__*/ l.typedObject<FollowItem>(\n $nsid,\n 'followItem',\n /*#__PURE__*/ l.object({\n actor: /*#__PURE__*/ l.string({ format: 'did' }),\n starterPack: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'at-uri' }),\n ),\n }),\n)\n\nexport { followItem }\n\n/** Group of new posts by actors the requesting account subscribes to. */\ntype SubscribedPostGroup = {\n $type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostGroup'\n items: SubscribedPostItem[]\n}\n\nexport type { SubscribedPostGroup }\n\n/** Group of new posts by actors the requesting account subscribes to. */\nconst subscribedPostGroup = /*#__PURE__*/ l.typedObject<SubscribedPostGroup>(\n $nsid,\n 'subscribedPostGroup',\n /*#__PURE__*/ l.object({\n items: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<SubscribedPostItem>(\n (() => subscribedPostItem) as any,\n ),\n { minLength: 1 },\n ),\n }),\n)\n\nexport { subscribedPostGroup }\n\n/** One new post by an actor the requesting account subscribes to. */\ntype SubscribedPostItem = {\n $type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostItem'\n actor: l.DidString\n post: l.AtUriString\n}\n\nexport type { SubscribedPostItem }\n\n/** One new post by an actor the requesting account subscribes to. */\nconst subscribedPostItem = /*#__PURE__*/ l.typedObject<SubscribedPostItem>(\n $nsid,\n 'subscribedPostItem',\n /*#__PURE__*/ l.object({\n actor: /*#__PURE__*/ l.string({ format: 'did' }),\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n }),\n)\n\nexport { subscribedPostItem }\n\n/** Group of likes by different actors on the same feed generator. */\ntype GeneratorLikeGroup = {\n $type?: 'app.bsky.notification.getGroupedNotifications#generatorLikeGroup'\n generator: l.AtUriString\n items: GeneratorLikeItem[]\n}\n\nexport type { GeneratorLikeGroup }\n\n/** Group of likes by different actors on the same feed generator. */\nconst generatorLikeGroup = /*#__PURE__*/ l.typedObject<GeneratorLikeGroup>(\n $nsid,\n 'generatorLikeGroup',\n /*#__PURE__*/ l.object({\n generator: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n items: /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.ref<GeneratorLikeItem>((() => generatorLikeItem) as any),\n { minLength: 1 },\n ),\n }),\n)\n\nexport { generatorLikeGroup }\n\n/** One actor who liked the feed generator in the group. */\ntype GeneratorLikeItem = {\n $type?: 'app.bsky.notification.getGroupedNotifications#generatorLikeItem'\n actor: l.DidString\n}\n\nexport type { GeneratorLikeItem }\n\n/** One actor who liked the feed generator in the group. */\nconst generatorLikeItem = /*#__PURE__*/ l.typedObject<GeneratorLikeItem>(\n $nsid,\n 'generatorLikeItem',\n /*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }),\n)\n\nexport { generatorLikeItem }\n\n/** A reply to a post by the requesting account or to a thread they are participating in. */\ntype ReplyNotification = {\n $type?: 'app.bsky.notification.getGroupedNotifications#replyNotification'\n post: l.AtUriString\n parent: l.AtUriString\n}\n\nexport type { ReplyNotification }\n\n/** A reply to a post by the requesting account or to a thread they are participating in. */\nconst replyNotification = /*#__PURE__*/ l.typedObject<ReplyNotification>(\n $nsid,\n 'replyNotification',\n /*#__PURE__*/ l.object({\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n parent: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n }),\n)\n\nexport { replyNotification }\n\n/** A post quoting a post by the requesting account. */\ntype QuoteNotification = {\n $type?: 'app.bsky.notification.getGroupedNotifications#quoteNotification'\n post: l.AtUriString\n parent?: l.AtUriString\n}\n\nexport type { QuoteNotification }\n\n/** A post quoting a post by the requesting account. */\nconst quoteNotification = /*#__PURE__*/ l.typedObject<QuoteNotification>(\n $nsid,\n 'quoteNotification',\n /*#__PURE__*/ l.object({\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n parent: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'at-uri' }),\n ),\n }),\n)\n\nexport { quoteNotification }\n\n/** A post mentioning the requesting account. */\ntype MentionNotification = {\n $type?: 'app.bsky.notification.getGroupedNotifications#mentionNotification'\n post: l.AtUriString\n parent?: l.AtUriString\n}\n\nexport type { MentionNotification }\n\n/** A post mentioning the requesting account. */\nconst mentionNotification = /*#__PURE__*/ l.typedObject<MentionNotification>(\n $nsid,\n 'mentionNotification',\n /*#__PURE__*/ l.object({\n post: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n parent: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'at-uri' }),\n ),\n }),\n)\n\nexport { mentionNotification }\n\n/** An actor followed the requesting account back, possibly via a starter pack. */\ntype FollowBackNotification = {\n $type?: 'app.bsky.notification.getGroupedNotifications#followBackNotification'\n actor: l.DidString\n starterPack?: l.AtUriString\n}\n\nexport type { FollowBackNotification }\n\n/** An actor followed the requesting account back, possibly via a starter pack. */\nconst followBackNotification =\n /*#__PURE__*/ l.typedObject<FollowBackNotification>(\n $nsid,\n 'followBackNotification',\n /*#__PURE__*/ l.object({\n actor: /*#__PURE__*/ l.string({ format: 'did' }),\n starterPack: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'at-uri' }),\n ),\n }),\n )\n\nexport { followBackNotification }\n\n/** An actor verified the requesting account. */\ntype VerifiedNotification = {\n $type?: 'app.bsky.notification.getGroupedNotifications#verifiedNotification'\n actor: l.DidString\n}\n\nexport type { VerifiedNotification }\n\n/** An actor verified the requesting account. */\nconst verifiedNotification = /*#__PURE__*/ l.typedObject<VerifiedNotification>(\n $nsid,\n 'verifiedNotification',\n /*#__PURE__*/ l.object({ actor: /*#__PURE__*/ l.string({ format: 'did' }) }),\n)\n\nexport { verifiedNotification }\n\n/** A verification of the requesting account was removed. */\ntype UnverifiedNotification = {\n $type?: 'app.bsky.notification.getGroupedNotifications#unverifiedNotification'\n actor: l.DidString\n}\n\nexport type { UnverifiedNotification }\n\n/** A verification of the requesting account was removed. */\nconst unverifiedNotification =\n /*#__PURE__*/ l.typedObject<UnverifiedNotification>(\n $nsid,\n 'unverifiedNotification',\n /*#__PURE__*/ l.object({\n actor: /*#__PURE__*/ l.string({ format: 'did' }),\n }),\n )\n\nexport { unverifiedNotification }\n\n/** An actor joined Bluesky via a starter pack created by the requesting account. */\ntype StarterPackJoinedNotification = {\n $type?: 'app.bsky.notification.getGroupedNotifications#starterPackJoinedNotification'\n actor: l.DidString\n starterPack: l.AtUriString\n}\n\nexport type { StarterPackJoinedNotification }\n\n/** An actor joined Bluesky via a starter pack created by the requesting account. */\nconst starterPackJoinedNotification =\n /*#__PURE__*/ l.typedObject<StarterPackJoinedNotification>(\n $nsid,\n 'starterPackJoinedNotification',\n /*#__PURE__*/ l.object({\n actor: /*#__PURE__*/ l.string({ format: 'did' }),\n starterPack: /*#__PURE__*/ l.string({ format: 'at-uri' }),\n }),\n )\n\nexport { starterPackJoinedNotification }\n\n/** A contact of the requesting account joined Bluesky. */\ntype ContactMatchNotification = {\n $type?: 'app.bsky.notification.getGroupedNotifications#contactMatchNotification'\n actor: l.DidString\n}\n\nexport type { ContactMatchNotification }\n\n/** A contact of the requesting account joined Bluesky. */\nconst contactMatchNotification =\n /*#__PURE__*/ l.typedObject<ContactMatchNotification>(\n $nsid,\n 'contactMatchNotification',\n /*#__PURE__*/ l.object({\n actor: /*#__PURE__*/ l.string({ format: 'did' }),\n }),\n )\n\nexport { contactMatchNotification }\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroupedNotifications.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/notification/getGroupedNotifications.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,mCAAmC,CAAA;AACjD,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,mCAAmC,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './getGroupedNotifications.defs.js'\nexport { main as default } from './getGroupedNotifications.defs.js'\n"]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * as declaration from './notification/declaration.js';
|
|
2
2
|
export * as defs from './notification/defs.js';
|
|
3
|
+
export * as getGroupedNotifications from './notification/getGroupedNotifications.js';
|
|
3
4
|
export * as getPreferences from './notification/getPreferences.js';
|
|
4
5
|
export * as getUnreadCount from './notification/getUnreadCount.js';
|
|
5
6
|
export * as listActivitySubscriptions from './notification/listActivitySubscriptions.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/app/bsky/notification.ts"],"names":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BAA8B,CAAA"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export * as declaration from './notification/declaration.js';
|
|
5
5
|
export * as defs from './notification/defs.js';
|
|
6
|
+
export * as getGroupedNotifications from './notification/getGroupedNotifications.js';
|
|
6
7
|
export * as getPreferences from './notification/getPreferences.js';
|
|
7
8
|
export * as getUnreadCount from './notification/getUnreadCount.js';
|
|
8
9
|
export * as listActivitySubscriptions from './notification/listActivitySubscriptions.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.js","sourceRoot":"","sources":["../../../../src/lexicons/app/bsky/notification.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAA;AAC5D,OAAO,KAAK,IAAI,MAAM,wBAAwB,CAAA;AAC9C,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,yBAAyB,MAAM,6CAA6C,CAAA;AACxF,OAAO,KAAK,iBAAiB,MAAM,qCAAqC,CAAA;AACxE,OAAO,KAAK,uBAAuB,MAAM,2CAA2C,CAAA;AACpF,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,gBAAgB,MAAM,oCAAoC,CAAA;AACtE,OAAO,KAAK,YAAY,MAAM,gCAAgC,CAAA;AAC9D,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as declaration from './notification/declaration.js'\nexport * as defs from './notification/defs.js'\nexport * as getPreferences from './notification/getPreferences.js'\nexport * as getUnreadCount from './notification/getUnreadCount.js'\nexport * as listActivitySubscriptions from './notification/listActivitySubscriptions.js'\nexport * as listNotifications from './notification/listNotifications.js'\nexport * as putActivitySubscription from './notification/putActivitySubscription.js'\nexport * as putPreferences from './notification/putPreferences.js'\nexport * as putPreferencesV2 from './notification/putPreferencesV2.js'\nexport * as registerPush from './notification/registerPush.js'\nexport * as unregisterPush from './notification/unregisterPush.js'\nexport * as updateSeen from './notification/updateSeen.js'\n"]}
|
|
1
|
+
{"version":3,"file":"notification.js","sourceRoot":"","sources":["../../../../src/lexicons/app/bsky/notification.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAA;AAC5D,OAAO,KAAK,IAAI,MAAM,wBAAwB,CAAA;AAC9C,OAAO,KAAK,uBAAuB,MAAM,2CAA2C,CAAA;AACpF,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,yBAAyB,MAAM,6CAA6C,CAAA;AACxF,OAAO,KAAK,iBAAiB,MAAM,qCAAqC,CAAA;AACxE,OAAO,KAAK,uBAAuB,MAAM,2CAA2C,CAAA;AACpF,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,gBAAgB,MAAM,oCAAoC,CAAA;AACtE,OAAO,KAAK,YAAY,MAAM,gCAAgC,CAAA;AAC9D,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as declaration from './notification/declaration.js'\nexport * as defs from './notification/defs.js'\nexport * as getGroupedNotifications from './notification/getGroupedNotifications.js'\nexport * as getPreferences from './notification/getPreferences.js'\nexport * as getUnreadCount from './notification/getUnreadCount.js'\nexport * as listActivitySubscriptions from './notification/listActivitySubscriptions.js'\nexport * as listNotifications from './notification/listNotifications.js'\nexport * as putActivitySubscription from './notification/putActivitySubscription.js'\nexport * as putPreferences from './notification/putPreferences.js'\nexport * as putPreferencesV2 from './notification/putPreferencesV2.js'\nexport * as registerPush from './notification/registerPush.js'\nexport * as unregisterPush from './notification/unregisterPush.js'\nexport * as updateSeen from './notification/updateSeen.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appealActionedSubject.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/inbox/appealActionedSubject.ts"],"names":[],"mappings":"AAIA,cAAc,iCAAiC,CAAA;AAC/C,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,iCAAiC,CAAA"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
import * as AdminDefs from '../../../com/atproto/admin/defs.defs.js';
|
|
3
|
+
import * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js';
|
|
4
|
+
import * as ModerationCreateReport from '../../../com/atproto/moderation/createReport.defs.js';
|
|
5
|
+
import * as InboxDefs from './defs.defs.js';
|
|
6
|
+
declare const $nsid = "tools.ozone.inbox.appealActionedSubject";
|
|
7
|
+
type $nsid = typeof $nsid;
|
|
8
|
+
export { $nsid };
|
|
9
|
+
export declare const $params: l.ParamsSchema<{}>;
|
|
10
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
11
|
+
export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
12
|
+
action: l.OptionalSchema<l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<ActionRef, ActionRef>>, l.TypedRefSchema<l.TypedObjectValidator<LabelRef, LabelRef>>, l.TypedRefSchema<l.TypedObjectValidator<TakedownRef, TakedownRef>>], true>>;
|
|
13
|
+
subject: l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<AdminDefs.RepoRef, AdminDefs.RepoRef>>, l.TypedRefSchema<l.TypedObjectValidator<RepoStrongRef.Main, RepoStrongRef.Main>>], false>;
|
|
14
|
+
reason: l.OptionalSchema<l.StringSchema<{
|
|
15
|
+
readonly maxGraphemes: 2000;
|
|
16
|
+
readonly maxLength: 20000;
|
|
17
|
+
}>>;
|
|
18
|
+
modTool: l.OptionalSchema<l.RefSchema<l.Validator<ModerationCreateReport.ModTool, ModerationCreateReport.ModTool>>>;
|
|
19
|
+
}>>;
|
|
20
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
21
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
22
|
+
export declare const $output: l.Payload<"application/json", l.RefSchema<l.Validator<InboxDefs.SubjectView, InboxDefs.SubjectView>>>;
|
|
23
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
24
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
25
|
+
/** Appeal a moderation action affecting the user's account or content. */
|
|
26
|
+
declare const main: l.Procedure<"tools.ozone.inbox.appealActionedSubject", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
27
|
+
action: l.OptionalSchema<l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<ActionRef, ActionRef>>, l.TypedRefSchema<l.TypedObjectValidator<LabelRef, LabelRef>>, l.TypedRefSchema<l.TypedObjectValidator<TakedownRef, TakedownRef>>], true>>;
|
|
28
|
+
subject: l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<AdminDefs.RepoRef, AdminDefs.RepoRef>>, l.TypedRefSchema<l.TypedObjectValidator<RepoStrongRef.Main, RepoStrongRef.Main>>], false>;
|
|
29
|
+
reason: l.OptionalSchema<l.StringSchema<{
|
|
30
|
+
readonly maxGraphemes: 2000;
|
|
31
|
+
readonly maxLength: 20000;
|
|
32
|
+
}>>;
|
|
33
|
+
modTool: l.OptionalSchema<l.RefSchema<l.Validator<ModerationCreateReport.ModTool, ModerationCreateReport.ModTool>>>;
|
|
34
|
+
}>>, l.Payload<"application/json", l.RefSchema<l.Validator<InboxDefs.SubjectView, InboxDefs.SubjectView>>>, readonly ["InvalidAppealSubject", "AlreadyAppealed", "NotAppealable", "AppealWindowExpired"]>;
|
|
35
|
+
export { main };
|
|
36
|
+
declare const $lxm = "tools.ozone.inbox.appealActionedSubject";
|
|
37
|
+
type $lxm = typeof $lxm;
|
|
38
|
+
export { $lxm };
|
|
39
|
+
type ActionRef = {
|
|
40
|
+
$type?: 'tools.ozone.inbox.appealActionedSubject#actionRef';
|
|
41
|
+
/**
|
|
42
|
+
* ID of the moderation action being appealed, available via actions in mod inbox.
|
|
43
|
+
*/
|
|
44
|
+
id: number;
|
|
45
|
+
};
|
|
46
|
+
export type { ActionRef };
|
|
47
|
+
declare const actionRef: l.TypedObjectSchema<"tools.ozone.inbox.appealActionedSubject#actionRef", l.Validator<ActionRef, ActionRef>>;
|
|
48
|
+
export { actionRef };
|
|
49
|
+
type LabelRef = {
|
|
50
|
+
$type?: 'tools.ozone.inbox.appealActionedSubject#labelRef';
|
|
51
|
+
/**
|
|
52
|
+
* Label being appealed.
|
|
53
|
+
*/
|
|
54
|
+
val: string;
|
|
55
|
+
};
|
|
56
|
+
export type { LabelRef };
|
|
57
|
+
declare const labelRef: l.TypedObjectSchema<"tools.ozone.inbox.appealActionedSubject#labelRef", l.Validator<LabelRef, LabelRef>>;
|
|
58
|
+
export { labelRef };
|
|
59
|
+
type TakedownRef = {
|
|
60
|
+
$type?: 'tools.ozone.inbox.appealActionedSubject#takedownRef';
|
|
61
|
+
};
|
|
62
|
+
export type { TakedownRef };
|
|
63
|
+
declare const takedownRef: l.TypedObjectSchema<"tools.ozone.inbox.appealActionedSubject#takedownRef", l.Validator<TakedownRef, TakedownRef>>;
|
|
64
|
+
export { takedownRef };
|
|
65
|
+
//# sourceMappingURL=appealActionedSubject.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appealActionedSubject.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/inbox/appealActionedSubject.defs.ts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I,GAAG,OAAO,IAAI,CAAA;AAEvB,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,KAAK,SAAS,GAAG;IACf,KAAK,CAAC,EAAE,mDAAmD,CAAA;IAE3D;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;CACX,CAAA;AAED,YAAY,EAAE,SAAS,EAAE,CAAA;AAEzB,QAAA,MAAM,SAAS,6GAId,CAAA;AAED,OAAO,EAAE,SAAS,EAAE,CAAA;AAEpB,KAAK,QAAQ,GAAG;IACd,KAAK,CAAC,EAAE,kDAAkD,CAAA;IAE1D;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,YAAY,EAAE,QAAQ,EAAE,CAAA;AAExB,QAAA,MAAM,QAAQ,0GAIb,CAAA;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA;AAEnB,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,qDAAqD,CAAA;CAC9D,CAAA;AAED,YAAY,EAAE,WAAW,EAAE,CAAA;AAE3B,QAAA,MAAM,WAAW,mHAIhB,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from '@atproto/lex';
|
|
5
|
+
import * as AdminDefs from '../../../com/atproto/admin/defs.defs.js';
|
|
6
|
+
import * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js';
|
|
7
|
+
import * as ModerationCreateReport from '../../../com/atproto/moderation/createReport.defs.js';
|
|
8
|
+
import * as InboxDefs from './defs.defs.js';
|
|
9
|
+
const $nsid = 'tools.ozone.inbox.appealActionedSubject';
|
|
10
|
+
export { $nsid };
|
|
11
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
12
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({
|
|
13
|
+
action: /*#__PURE__*/ l.optional(
|
|
14
|
+
/*#__PURE__*/ l.typedUnion([
|
|
15
|
+
/*#__PURE__*/ l.typedRef((() => actionRef)),
|
|
16
|
+
/*#__PURE__*/ l.typedRef((() => labelRef)),
|
|
17
|
+
/*#__PURE__*/ l.typedRef((() => takedownRef)),
|
|
18
|
+
], true)),
|
|
19
|
+
subject: /*#__PURE__*/ l.typedUnion([
|
|
20
|
+
/*#__PURE__*/ l.typedRef((() => AdminDefs.repoRef)),
|
|
21
|
+
/*#__PURE__*/ l.typedRef((() => RepoStrongRef.main)),
|
|
22
|
+
], false),
|
|
23
|
+
reason: /*#__PURE__*/ l.optional(
|
|
24
|
+
/*#__PURE__*/ l.string({ maxGraphemes: 2000, maxLength: 20000 })),
|
|
25
|
+
modTool: /*#__PURE__*/ l.optional(
|
|
26
|
+
/*#__PURE__*/ l.ref((() => ModerationCreateReport.modTool))),
|
|
27
|
+
});
|
|
28
|
+
export const $output = /*#__PURE__*/ l.payload('application/json',
|
|
29
|
+
/*#__PURE__*/ l.ref((() => InboxDefs.subjectView)));
|
|
30
|
+
/** Appeal a moderation action affecting the user's account or content. */
|
|
31
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [
|
|
32
|
+
'InvalidAppealSubject',
|
|
33
|
+
'AlreadyAppealed',
|
|
34
|
+
'NotAppealable',
|
|
35
|
+
'AppealWindowExpired',
|
|
36
|
+
]);
|
|
37
|
+
export { main };
|
|
38
|
+
const $lxm = $nsid;
|
|
39
|
+
export { $lxm };
|
|
40
|
+
const actionRef = /*#__PURE__*/ l.typedObject($nsid, 'actionRef',
|
|
41
|
+
/*#__PURE__*/ l.object({ id: /*#__PURE__*/ l.integer({ minimum: 1 }) }));
|
|
42
|
+
export { actionRef };
|
|
43
|
+
const labelRef = /*#__PURE__*/ l.typedObject($nsid, 'labelRef',
|
|
44
|
+
/*#__PURE__*/ l.object({ val: /*#__PURE__*/ l.string({ minLength: 1 }) }));
|
|
45
|
+
export { labelRef };
|
|
46
|
+
const takedownRef = /*#__PURE__*/ l.typedObject($nsid, 'takedownRef',
|
|
47
|
+
/*#__PURE__*/ l.object({}));
|
|
48
|
+
export { takedownRef };
|
|
49
|
+
//# sourceMappingURL=appealActionedSubject.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appealActionedSubject.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/inbox/appealActionedSubject.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,yCAAyC,CAAA;AACpE,OAAO,KAAK,aAAa,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,sBAAsB,MAAM,sDAAsD,CAAA;AAC9F,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,MAAM,KAAK,GAAG,yCAAyC,CAAA;AAIvD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAA;AAI/C,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IAChD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,UAAU,CACxB;QACE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAY,CAAC,GAAG,EAAE,CAAC,SAAS,CAAQ,CAAC;QAC7D,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAW,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAQ,CAAC;QAC3D,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAc,CAAC,GAAG,EAAE,CAAC,WAAW,CAAQ,CAAC;KAClE,EACD,IAAI,CACL,CACF;IACD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,UAAU,CACjC;QACE,aAAa,CAAC,CAAC,CAAC,QAAQ,CACtB,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AAED,OAAO,EAAE,SAAS,EAAE,CAAA;AAapB,MAAM,QAAQ,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAC1C,KAAK,EACL,UAAU;AACV,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAC1E,CAAA;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA;AAQnB,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAC7C,KAAK,EACL,aAAa;AACb,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAC3B,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AdminDefs from '../../../com/atproto/admin/defs.defs.js'\nimport * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js'\nimport * as ModerationCreateReport from '../../../com/atproto/moderation/createReport.defs.js'\nimport * as InboxDefs from './defs.defs.js'\n\nconst $nsid = 'tools.ozone.inbox.appealActionedSubject'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params()\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\n action: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.typedUnion(\n [\n /*#__PURE__*/ l.typedRef<ActionRef>((() => actionRef) as any),\n /*#__PURE__*/ l.typedRef<LabelRef>((() => labelRef) as any),\n /*#__PURE__*/ l.typedRef<TakedownRef>((() => takedownRef) as any),\n ],\n true,\n ),\n ),\n subject: /*#__PURE__*/ l.typedUnion(\n [\n /*#__PURE__*/ l.typedRef<AdminDefs.RepoRef>(\n (() => AdminDefs.repoRef) as any,\n ),\n /*#__PURE__*/ l.typedRef<RepoStrongRef.Main>(\n (() => RepoStrongRef.main) as any,\n ),\n ],\n false,\n ),\n reason: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ maxGraphemes: 2000, maxLength: 20000 }),\n ),\n modTool: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<ModerationCreateReport.ModTool>(\n (() => ModerationCreateReport.modTool) as any,\n ),\n ),\n})\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>\n\nexport const $output = /*#__PURE__*/ l.payload(\n 'application/json',\n /*#__PURE__*/ l.ref<InboxDefs.SubjectView>(\n (() => InboxDefs.subjectView) as any,\n ),\n)\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Appeal a moderation action affecting the user's account or content. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\n 'InvalidAppealSubject',\n 'AlreadyAppealed',\n 'NotAppealable',\n 'AppealWindowExpired',\n])\n\nexport { main }\n\nconst $lxm = $nsid\n\ntype $lxm = typeof $lxm\n\nexport { $lxm }\n\ntype ActionRef = {\n $type?: 'tools.ozone.inbox.appealActionedSubject#actionRef'\n\n /**\n * ID of the moderation action being appealed, available via actions in mod inbox.\n */\n id: number\n}\n\nexport type { ActionRef }\n\nconst actionRef = /*#__PURE__*/ l.typedObject<ActionRef>(\n $nsid,\n 'actionRef',\n /*#__PURE__*/ l.object({ id: /*#__PURE__*/ l.integer({ minimum: 1 }) }),\n)\n\nexport { actionRef }\n\ntype LabelRef = {\n $type?: 'tools.ozone.inbox.appealActionedSubject#labelRef'\n\n /**\n * Label being appealed.\n */\n val: string\n}\n\nexport type { LabelRef }\n\nconst labelRef = /*#__PURE__*/ l.typedObject<LabelRef>(\n $nsid,\n 'labelRef',\n /*#__PURE__*/ l.object({ val: /*#__PURE__*/ l.string({ minLength: 1 }) }),\n)\n\nexport { labelRef }\n\ntype TakedownRef = {\n $type?: 'tools.ozone.inbox.appealActionedSubject#takedownRef'\n}\n\nexport type { TakedownRef }\n\nconst takedownRef = /*#__PURE__*/ l.typedObject<TakedownRef>(\n $nsid,\n 'takedownRef',\n /*#__PURE__*/ l.object({}),\n)\n\nexport { takedownRef }\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appealActionedSubject.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/inbox/appealActionedSubject.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,iCAAiC,CAAA;AAC/C,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,iCAAiC,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './appealActionedSubject.defs.js'\nexport { main as default } from './appealActionedSubject.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/inbox/defs.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
import * as AdminDefs from '../../../com/atproto/admin/defs.defs.js';
|
|
3
|
+
import * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js';
|
|
4
|
+
declare const $nsid = "tools.ozone.inbox.defs";
|
|
5
|
+
type $nsid = typeof $nsid;
|
|
6
|
+
export { $nsid };
|
|
7
|
+
/** A subject belonging to the viewer that has moderation actions against it. */
|
|
8
|
+
type SubjectView = {
|
|
9
|
+
$type?: 'tools.ozone.inbox.defs#subjectView';
|
|
10
|
+
/**
|
|
11
|
+
* DID of the moderation service that took the actions.
|
|
12
|
+
*/
|
|
13
|
+
src: l.DidString;
|
|
14
|
+
subject: l.$Typed<AdminDefs.RepoRef> | l.$Typed<RepoStrongRef.Main> | l.Unknown$TypedObject;
|
|
15
|
+
enforcement: EnforcementView;
|
|
16
|
+
appeal?: AppealView;
|
|
17
|
+
availableActions?: ('appeal' | l.UnknownString)[];
|
|
18
|
+
latestAction?: ActionView;
|
|
19
|
+
actionCount?: number;
|
|
20
|
+
createdAt: l.DatetimeString;
|
|
21
|
+
updatedAt: l.DatetimeString;
|
|
22
|
+
};
|
|
23
|
+
export type { SubjectView };
|
|
24
|
+
/** A subject belonging to the viewer that has moderation actions against it. */
|
|
25
|
+
declare const subjectView: l.TypedObjectSchema<"tools.ozone.inbox.defs#subjectView", l.Validator<SubjectView, SubjectView>>;
|
|
26
|
+
export { subjectView };
|
|
27
|
+
/** The current enforcement state of a subject. */
|
|
28
|
+
type EnforcementView = {
|
|
29
|
+
$type?: 'tools.ozone.inbox.defs#enforcementView';
|
|
30
|
+
state: 'none' | 'labeled' | 'removed' | 'suspended' | 'takendown' | l.UnknownString;
|
|
31
|
+
scope?: 'network' | 'app' | 'labelOnly' | l.UnknownString;
|
|
32
|
+
expiresAt?: l.DatetimeString;
|
|
33
|
+
/**
|
|
34
|
+
* Active label values on the subject, excluding negated and expired labels.
|
|
35
|
+
*/
|
|
36
|
+
labels?: string[];
|
|
37
|
+
};
|
|
38
|
+
export type { EnforcementView };
|
|
39
|
+
/** The current enforcement state of a subject. */
|
|
40
|
+
declare const enforcementView: l.TypedObjectSchema<"tools.ozone.inbox.defs#enforcementView", l.Validator<EnforcementView, EnforcementView>>;
|
|
41
|
+
export { enforcementView };
|
|
42
|
+
/** The state of the viewer's appeal against the actions on a subject. */
|
|
43
|
+
type AppealView = {
|
|
44
|
+
$type?: 'tools.ozone.inbox.defs#appealView';
|
|
45
|
+
state: 'none' | 'pending' | 'resolved' | 'superseded' | 'expired' | l.UnknownString;
|
|
46
|
+
appealedAt?: l.DatetimeString;
|
|
47
|
+
/**
|
|
48
|
+
* When the appeal's report was closed.
|
|
49
|
+
*/
|
|
50
|
+
resolvedAt?: l.DatetimeString;
|
|
51
|
+
/**
|
|
52
|
+
* Moderator explanation, from the publicNote on the closing activity. Absent if none was written.
|
|
53
|
+
*/
|
|
54
|
+
note?: string;
|
|
55
|
+
appealableUntil?: l.DatetimeString;
|
|
56
|
+
};
|
|
57
|
+
export type { AppealView };
|
|
58
|
+
/** The state of the viewer's appeal against the actions on a subject. */
|
|
59
|
+
declare const appealView: l.TypedObjectSchema<"tools.ozone.inbox.defs#appealView", l.Validator<AppealView, AppealView>>;
|
|
60
|
+
export { appealView };
|
|
61
|
+
/** A single moderation action taken against a subject. */
|
|
62
|
+
type ActionView = {
|
|
63
|
+
$type?: 'tools.ozone.inbox.defs#actionView';
|
|
64
|
+
/**
|
|
65
|
+
* Action ID (moderation event ID).
|
|
66
|
+
*/
|
|
67
|
+
id: number;
|
|
68
|
+
/**
|
|
69
|
+
* Public action type.
|
|
70
|
+
*/
|
|
71
|
+
type: string;
|
|
72
|
+
scope?: 'network' | 'app' | 'labelOnly' | l.UnknownString;
|
|
73
|
+
createdAt: l.DatetimeString;
|
|
74
|
+
reversedAt?: l.DatetimeString;
|
|
75
|
+
expiresAt?: l.DatetimeString;
|
|
76
|
+
/**
|
|
77
|
+
* Label values, for labelApplied/labelRemoved.
|
|
78
|
+
*/
|
|
79
|
+
labels?: string[];
|
|
80
|
+
/**
|
|
81
|
+
* Policies that were applied in this action.
|
|
82
|
+
*/
|
|
83
|
+
policies?: string[];
|
|
84
|
+
};
|
|
85
|
+
export type { ActionView };
|
|
86
|
+
/** A single moderation action taken against a subject. */
|
|
87
|
+
declare const actionView: l.TypedObjectSchema<"tools.ozone.inbox.defs#actionView", l.Validator<ActionView, ActionView>>;
|
|
88
|
+
export { actionView };
|
|
89
|
+
//# sourceMappingURL=defs.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/inbox/defs.defs.ts"],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AAE,CAAA;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;CACpB,CAAA;AAED,YAAY,EAAE,UAAU,EAAE,CAAA;AAE1B,0DAA0D;AAC1D,QAAA,MAAM,UAAU,+FAyBf,CAAA;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from '@atproto/lex';
|
|
5
|
+
import * as AdminDefs from '../../../com/atproto/admin/defs.defs.js';
|
|
6
|
+
import * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js';
|
|
7
|
+
const $nsid = 'tools.ozone.inbox.defs';
|
|
8
|
+
export { $nsid };
|
|
9
|
+
/** A subject belonging to the viewer that has moderation actions against it. */
|
|
10
|
+
const subjectView = /*#__PURE__*/ l.typedObject($nsid, 'subjectView',
|
|
11
|
+
/*#__PURE__*/ l.object({
|
|
12
|
+
src: /*#__PURE__*/ l.string({ format: 'did' }),
|
|
13
|
+
subject: /*#__PURE__*/ l.typedUnion([
|
|
14
|
+
/*#__PURE__*/ l.typedRef((() => AdminDefs.repoRef)),
|
|
15
|
+
/*#__PURE__*/ l.typedRef((() => RepoStrongRef.main)),
|
|
16
|
+
], false),
|
|
17
|
+
enforcement: /*#__PURE__*/ l.ref((() => enforcementView)),
|
|
18
|
+
appeal: /*#__PURE__*/ l.optional(
|
|
19
|
+
/*#__PURE__*/ l.ref((() => appealView))),
|
|
20
|
+
availableActions: /*#__PURE__*/ l.optional(
|
|
21
|
+
/*#__PURE__*/ l.array(
|
|
22
|
+
/*#__PURE__*/ l.string())),
|
|
23
|
+
latestAction: /*#__PURE__*/ l.optional(
|
|
24
|
+
/*#__PURE__*/ l.ref((() => actionView))),
|
|
25
|
+
actionCount: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),
|
|
26
|
+
createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
|
|
27
|
+
updatedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
|
|
28
|
+
}));
|
|
29
|
+
export { subjectView };
|
|
30
|
+
/** The current enforcement state of a subject. */
|
|
31
|
+
const enforcementView = /*#__PURE__*/ l.typedObject($nsid, 'enforcementView',
|
|
32
|
+
/*#__PURE__*/ l.object({
|
|
33
|
+
state: /*#__PURE__*/ l.string(),
|
|
34
|
+
scope: /*#__PURE__*/ l.optional(
|
|
35
|
+
/*#__PURE__*/ l.string()),
|
|
36
|
+
expiresAt: /*#__PURE__*/ l.optional(
|
|
37
|
+
/*#__PURE__*/ l.string({ format: 'datetime' })),
|
|
38
|
+
labels: /*#__PURE__*/ l.optional(
|
|
39
|
+
/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())),
|
|
40
|
+
}));
|
|
41
|
+
export { enforcementView };
|
|
42
|
+
/** The state of the viewer's appeal against the actions on a subject. */
|
|
43
|
+
const appealView = /*#__PURE__*/ l.typedObject($nsid, 'appealView',
|
|
44
|
+
/*#__PURE__*/ l.object({
|
|
45
|
+
state: /*#__PURE__*/ l.string(),
|
|
46
|
+
appealedAt: /*#__PURE__*/ l.optional(
|
|
47
|
+
/*#__PURE__*/ l.string({ format: 'datetime' })),
|
|
48
|
+
resolvedAt: /*#__PURE__*/ l.optional(
|
|
49
|
+
/*#__PURE__*/ l.string({ format: 'datetime' })),
|
|
50
|
+
note: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
51
|
+
appealableUntil: /*#__PURE__*/ l.optional(
|
|
52
|
+
/*#__PURE__*/ l.string({ format: 'datetime' })),
|
|
53
|
+
}));
|
|
54
|
+
export { appealView };
|
|
55
|
+
/** A single moderation action taken against a subject. */
|
|
56
|
+
const actionView = /*#__PURE__*/ l.typedObject($nsid, 'actionView',
|
|
57
|
+
/*#__PURE__*/ l.object({
|
|
58
|
+
id: /*#__PURE__*/ l.integer(),
|
|
59
|
+
type: /*#__PURE__*/ l.string(),
|
|
60
|
+
scope: /*#__PURE__*/ l.optional(
|
|
61
|
+
/*#__PURE__*/ l.string()),
|
|
62
|
+
createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),
|
|
63
|
+
reversedAt: /*#__PURE__*/ l.optional(
|
|
64
|
+
/*#__PURE__*/ l.string({ format: 'datetime' })),
|
|
65
|
+
expiresAt: /*#__PURE__*/ l.optional(
|
|
66
|
+
/*#__PURE__*/ l.string({ format: 'datetime' })),
|
|
67
|
+
labels: /*#__PURE__*/ l.optional(
|
|
68
|
+
/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())),
|
|
69
|
+
policies: /*#__PURE__*/ l.optional(
|
|
70
|
+
/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())),
|
|
71
|
+
}));
|
|
72
|
+
export { actionView };
|
|
73
|
+
//# sourceMappingURL=defs.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/inbox/defs.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,yCAAyC,CAAA;AACpE,OAAO,KAAK,aAAa,MAAM,6CAA6C,CAAA;AAE5E,MAAM,KAAK,GAAG,wBAAwB,CAAA;AAItC,OAAO,EAAE,KAAK,EAAE,CAAA;AAyBhB,gFAAgF;AAChF,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAC7C,KAAK,EACL,aAAa;AACb,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAC9C,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,UAAU,CACjC;QACE,aAAa,CAAC,CAAC,CAAC,QAAQ,CACtB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AC,WAAW,CAC5C,KAAK,EACL,YAAY;AACZ,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,EAAE,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IAC7B,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC7B,aAAa,CAAC,CAAC,CAAC,MAAM,EAElB,CACL;IACD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;IACzD,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAClC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAC/C;IACD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACjC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAC/C;IACD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAChD;IACD,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAChC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAChD;CACF,CAAC,CACH,CAAA;AAED,OAAO,EAAE,UAAU,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as AdminDefs from '../../../com/atproto/admin/defs.defs.js'\nimport * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js'\n\nconst $nsid = 'tools.ozone.inbox.defs'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\n/** A subject belonging to the viewer that has moderation actions against it. */\ntype SubjectView = {\n $type?: 'tools.ozone.inbox.defs#subjectView'\n\n /**\n * DID of the moderation service that took the actions.\n */\n src: l.DidString\n subject:\n | l.$Typed<AdminDefs.RepoRef>\n | l.$Typed<RepoStrongRef.Main>\n | l.Unknown$TypedObject\n enforcement: EnforcementView\n appeal?: AppealView\n availableActions?: ('appeal' | l.UnknownString)[]\n latestAction?: ActionView\n actionCount?: number\n createdAt: l.DatetimeString\n updatedAt: l.DatetimeString\n}\n\nexport type { SubjectView }\n\n/** A subject belonging to the viewer that has moderation actions against it. */\nconst subjectView = /*#__PURE__*/ l.typedObject<SubjectView>(\n $nsid,\n 'subjectView',\n /*#__PURE__*/ l.object({\n src: /*#__PURE__*/ l.string({ format: 'did' }),\n subject: /*#__PURE__*/ l.typedUnion(\n [\n /*#__PURE__*/ l.typedRef<AdminDefs.RepoRef>(\n (() => AdminDefs.repoRef) as any,\n ),\n /*#__PURE__*/ l.typedRef<RepoStrongRef.Main>(\n (() => RepoStrongRef.main) as any,\n ),\n ],\n false,\n ),\n enforcement: /*#__PURE__*/ l.ref<EnforcementView>(\n (() => enforcementView) as any,\n ),\n appeal: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<AppealView>((() => appealView) as any),\n ),\n availableActions: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.string<{ knownValues: ['appeal'] }>(),\n ),\n ),\n latestAction: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<ActionView>((() => actionView) as any),\n ),\n actionCount: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\n createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n updatedAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n }),\n)\n\nexport { subjectView }\n\n/** The current enforcement state of a subject. */\ntype EnforcementView = {\n $type?: 'tools.ozone.inbox.defs#enforcementView'\n state:\n 'none' | 'labeled' | 'removed' | 'suspended' | 'takendown' | l.UnknownString\n scope?: 'network' | 'app' | 'labelOnly' | l.UnknownString\n expiresAt?: l.DatetimeString\n\n /**\n * Active label values on the subject, excluding negated and expired labels.\n */\n labels?: string[]\n}\n\nexport type { EnforcementView }\n\n/** The current enforcement state of a subject. */\nconst enforcementView = /*#__PURE__*/ l.typedObject<EnforcementView>(\n $nsid,\n 'enforcementView',\n /*#__PURE__*/ l.object({\n state: /*#__PURE__*/ l.string<{\n knownValues: ['none', 'labeled', 'removed', 'suspended', 'takendown']\n }>(),\n scope: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string<{\n knownValues: ['network', 'app', 'labelOnly']\n }>(),\n ),\n expiresAt: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'datetime' }),\n ),\n labels: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(/*#__PURE__*/ l.string()),\n ),\n }),\n)\n\nexport { enforcementView }\n\n/** The state of the viewer's appeal against the actions on a subject. */\ntype AppealView = {\n $type?: 'tools.ozone.inbox.defs#appealView'\n state:\n 'none' | 'pending' | 'resolved' | 'superseded' | 'expired' | l.UnknownString\n appealedAt?: l.DatetimeString\n\n /**\n * When the appeal's report was closed.\n */\n resolvedAt?: l.DatetimeString\n\n /**\n * Moderator explanation, from the publicNote on the closing activity. Absent if none was written.\n */\n note?: string\n appealableUntil?: l.DatetimeString\n}\n\nexport type { AppealView }\n\n/** The state of the viewer's appeal against the actions on a subject. */\nconst appealView = /*#__PURE__*/ l.typedObject<AppealView>(\n $nsid,\n 'appealView',\n /*#__PURE__*/ l.object({\n state: /*#__PURE__*/ l.string<{\n knownValues: ['none', 'pending', 'resolved', 'superseded', 'expired']\n }>(),\n appealedAt: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'datetime' }),\n ),\n resolvedAt: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'datetime' }),\n ),\n note: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n appealableUntil: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'datetime' }),\n ),\n }),\n)\n\nexport { appealView }\n\n/** A single moderation action taken against a subject. */\ntype ActionView = {\n $type?: 'tools.ozone.inbox.defs#actionView'\n\n /**\n * Action ID (moderation event ID).\n */\n id: number\n\n /**\n * Public action type.\n */\n type: string\n scope?: 'network' | 'app' | 'labelOnly' | l.UnknownString\n createdAt: l.DatetimeString\n reversedAt?: l.DatetimeString\n expiresAt?: l.DatetimeString\n\n /**\n * Label values, for labelApplied/labelRemoved.\n */\n labels?: string[]\n\n /**\n * Policies that were applied in this action.\n */\n policies?: string[]\n}\n\nexport type { ActionView }\n\n/** A single moderation action taken against a subject. */\nconst actionView = /*#__PURE__*/ l.typedObject<ActionView>(\n $nsid,\n 'actionView',\n /*#__PURE__*/ l.object({\n id: /*#__PURE__*/ l.integer(),\n type: /*#__PURE__*/ l.string(),\n scope: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string<{\n knownValues: ['network', 'app', 'labelOnly']\n }>(),\n ),\n createdAt: /*#__PURE__*/ l.string({ format: 'datetime' }),\n reversedAt: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'datetime' }),\n ),\n expiresAt: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'datetime' }),\n ),\n labels: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(/*#__PURE__*/ l.string()),\n ),\n policies: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(/*#__PURE__*/ l.string()),\n ),\n }),\n)\n\nexport { actionView }\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/inbox/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,gBAAgB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './defs.defs.js'\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inbox.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/tools/ozone/inbox.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,qBAAqB,MAAM,kCAAkC,CAAA;AACzE,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inbox.js","sourceRoot":"","sources":["../../../../src/lexicons/tools/ozone/inbox.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,qBAAqB,MAAM,kCAAkC,CAAA;AACzE,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as appealActionedSubject from './inbox/appealActionedSubject.js'\nexport * as defs from './inbox/defs.js'\n"]}
|
|
@@ -16,6 +16,7 @@ export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
|
16
16
|
reportTypes: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
17
17
|
description: l.OptionalSchema<l.StringSchema<{}>>;
|
|
18
18
|
recommendedPolicies: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
19
|
+
recommendedLabels: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
19
20
|
}>>;
|
|
20
21
|
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
21
22
|
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
@@ -36,6 +37,7 @@ declare const main: l.Procedure<"tools.ozone.queue.createQueue", l.ParamsSchema<
|
|
|
36
37
|
reportTypes: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
37
38
|
description: l.OptionalSchema<l.StringSchema<{}>>;
|
|
38
39
|
recommendedPolicies: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
40
|
+
recommendedLabels: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
39
41
|
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
40
42
|
queue: l.RefSchema<l.Validator<QueueDefs.QueueView, QueueDefs.QueueView>>;
|
|
41
43
|
}>>, readonly ["InvalidRecommendedPolicies", "ConflictingQueue"]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createQueue.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/createQueue.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,QAAA,MAAM,KAAK,kCAAkC,CAAA;AAE7C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO,oBAA2B,CAAA;AAE/C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"createQueue.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/createQueue.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,QAAA,MAAM,KAAK,kCAAkC,CAAA;AAE7C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAA;AAEzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO,oBAA2B,CAAA;AAE/C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,MAAM;;;;;;;;;;;;GAsBjB,CAAA;AAEF,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AACvE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AAE/E,eAAO,MAAM,OAAO;;GAIlB,CAAA;AAEF,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAC5D,OAAO,OAAO,EACd,CAAC,CACF,CAAA;AAED,yTAAyT;AACzT,QAAA,MAAM,IAAI;;;;;;;;;;;;;;iEAGR,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,QAAA,MAAM,IAAI,kCAAQ,CAAA;AAElB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAA;AAEvB,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
|
@@ -18,6 +18,8 @@ export const $input = /*#__PURE__*/ l.jsonPayload({
|
|
|
18
18
|
description: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
19
19
|
recommendedPolicies: /*#__PURE__*/ l.optional(
|
|
20
20
|
/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())),
|
|
21
|
+
recommendedLabels: /*#__PURE__*/ l.optional(
|
|
22
|
+
/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())),
|
|
21
23
|
});
|
|
22
24
|
export const $output = /*#__PURE__*/ l.jsonPayload({
|
|
23
25
|
queue: /*#__PURE__*/ l.ref((() => QueueDefs.queueView)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createQueue.defs.js","sourceRoot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D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,CACxB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAQ,CACnC;CACF,CAAC,CAAA;AAQF,yTAAyT;AACzT,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE;IACtE,4BAA4B;IAC5B,kBAAkB;CACnB,CAAC,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,IAAI,GAAG,KAAK,CAAA;AAIlB,OAAO,EAAE,IAAI,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as QueueDefs from './defs.defs.js'\n\nconst $nsid = 'tools.ozone.queue.createQueue'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params()\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\n name: /*#__PURE__*/ l.string(),\n subjectTypes: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.string<{\n knownValues: ['account', 'record', 'message', 'conversation']\n }>(),\n ),\n ),\n collection: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'nsid' }),\n ),\n reportTypes: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(/*#__PURE__*/ l.string(), { maxLength: 25 }),\n ),\n description: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n recommendedPolicies: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(/*#__PURE__*/ l.string()),\n ),\n})\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n queue: /*#__PURE__*/ l.ref<QueueDefs.QueueView>(\n (() => QueueDefs.queueView) as any,\n ),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Create a new moderation queue. A queue can have optional matching criteria that ozone's queue router will use to match reports. A queue with no criteria must have reports assigned to it manually via (1) `modTool.meta.queueId` in `tools.ozone.moderation.emitEvent` or (2) `tools.ozone.report.reassignQueue`. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\n 'InvalidRecommendedPolicies',\n 'ConflictingQueue',\n])\n\nexport { main }\n\nconst $lxm = $nsid\n\ntype $lxm = typeof $lxm\n\nexport { $lxm }\n"]}
|
|
1
|
+
{"version":3,"file":"createQueue.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/queue/createQueue.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,MAAM,KAAK,GAAG,+BAA+B,CAAA;AAI7C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAA;AAI/C,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IAChD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACpC,aAAa,CAAC,CAAC,CAAC,KAAK;IACnB,aAAa,CAAC,CAAC,CAAC,MAAM,EAElB,CACL,CACF;IACD,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAClC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAC3C;IACD,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACnC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CACnE;IACD,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC/D,mBAAmB,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC3C,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAChD;IACD,iBAAiB,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACzC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAChD;CACF,CAAC,CAAA;AAKF,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IACjD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,CACxB,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,SAAS,CAAQ,CACnC;CACF,CAAC,CAAA;AAQF,yTAAyT;AACzT,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE;IACtE,4BAA4B;IAC5B,kBAAkB;CACnB,CAAC,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,IAAI,GAAG,KAAK,CAAA;AAIlB,OAAO,EAAE,IAAI,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as QueueDefs from './defs.defs.js'\n\nconst $nsid = 'tools.ozone.queue.createQueue'\n\ntype $nsid = typeof $nsid\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params()\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\n name: /*#__PURE__*/ l.string(),\n subjectTypes: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(\n /*#__PURE__*/ l.string<{\n knownValues: ['account', 'record', 'message', 'conversation']\n }>(),\n ),\n ),\n collection: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'nsid' }),\n ),\n reportTypes: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(/*#__PURE__*/ l.string(), { maxLength: 25 }),\n ),\n description: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n recommendedPolicies: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(/*#__PURE__*/ l.string()),\n ),\n recommendedLabels: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(/*#__PURE__*/ l.string()),\n ),\n})\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n queue: /*#__PURE__*/ l.ref<QueueDefs.QueueView>(\n (() => QueueDefs.queueView) as any,\n ),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Create a new moderation queue. A queue can have optional matching criteria that ozone's queue router will use to match reports. A queue with no criteria must have reports assigned to it manually via (1) `modTool.meta.queueId` in `tools.ozone.moderation.emitEvent` or (2) `tools.ozone.report.reassignQueue`. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\n 'InvalidRecommendedPolicies',\n 'ConflictingQueue',\n])\n\nexport { main }\n\nconst $lxm = $nsid\n\ntype $lxm = typeof $lxm\n\nexport { $lxm }\n"]}
|
|
@@ -33,6 +33,10 @@ type QueueView = {
|
|
|
33
33
|
* Policy keys recommended when actioning reports in this queue
|
|
34
34
|
*/
|
|
35
35
|
recommendedPolicies?: string[];
|
|
36
|
+
/**
|
|
37
|
+
* Labels recommended for this queue and used as a fallback when routing label appeals
|
|
38
|
+
*/
|
|
39
|
+
recommendedLabels?: string[];
|
|
36
40
|
/**
|
|
37
41
|
* DID of moderator who created this queue
|
|
38
42
|
*/
|