@atproto/api 0.27.0 → 0.28.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/CHANGELOG.md +29 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +5 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +372 -56
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +187 -28
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts +2 -0
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.d.ts +33 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.js +21 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.js.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +37 -5
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js +28 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -1
- package/dist/client/types/tools/ozone/queue/defs.d.ts +26 -6
- package/dist/client/types/tools/ozone/queue/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/defs.js.map +1 -1
- package/package.json +14 -8
|
@@ -199,6 +199,8 @@ export interface SubscribedPostItem {
|
|
|
199
199
|
$type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostItem';
|
|
200
200
|
actor: string;
|
|
201
201
|
post: string;
|
|
202
|
+
/** The post this one replies to, if it is a reply. */
|
|
203
|
+
parent?: string;
|
|
202
204
|
}
|
|
203
205
|
export declare function isSubscribedPostItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "subscribedPostItem">;
|
|
204
206
|
export declare function validateSubscribedPostItem<V>(v: V): ValidationResult<SubscribedPostItem & V>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupedNotifications.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/getGroupedNotifications.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AACzD,OAAO,KAAK,KAAK,eAAe,MAAM,iBAAiB,CAAA;AACvD,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,kMAAkM;IAClM,IAAI,CAAC,EACD,KAAK,GACL,iBAAiB,GACjB,eAAe,GACf,WAAW,GACX,UAAU,GACV,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACjB,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,iLAAiL;IACjL,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,yXAAyX;IACzX,YAAY,CAAC,EAAE,CACX,MAAM,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,GACzC,MAAM,CAAC,eAAe,CAAC,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;AACjF,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,0DAA0D,CAAA;IAClE,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAID,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qHAEnC;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oCAEzC;AAED,yEAAyE;AACzE,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,mEAAmE,CAAA;IAC3E,KAAK,EAAE,kBAAkB,EAAE,CAAA;CAC5B;AAID,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8HAE5C;AAED,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6CAElD;AAED,qEAAqE;AACrE,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,kEAAkE,CAAA;IAC1E,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"getGroupedNotifications.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/getGroupedNotifications.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AACzD,OAAO,KAAK,KAAK,eAAe,MAAM,iBAAiB,CAAA;AACvD,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,kMAAkM;IAClM,IAAI,CAAC,EACD,KAAK,GACL,iBAAiB,GACjB,eAAe,GACf,WAAW,GACX,U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AAC,EAAE,CAAC,uDAM5D;AAED,0DAA0D;AAC1D,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE,wEAAwE,CAAA;IAChF,KAAK,EAAE,MAAM,CAAA;CACd;AAID,wBAAgB,0BAA0B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mIAEjD;AAED,wBAAgB,gCAAgC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,kDAMvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupedNotifications.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/getGroupedNotifications.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAK5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,+CAA+C,CAAA;AA6C1D,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AAgCD,MAAM,SAAS,GAAG,OAAO,CAAA;AAEzB,MAAM,UAAU,OAAO,CAAI,CAAI;IAC7B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;AACnC,CAAC;AAED,MAAM,UAAU,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAY,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;AAC9C,CAAC;AASD,MAAM,aAAa,GAAG,WAAW,CAAA;AAEjC,MAAM,UAAU,WAAW,CAAI,CAAI;IACjC,OAAO,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AAO,QAAQ,CAA2B,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAC5E,CAAC;AAQD,MAAM,0BAA0B,GAAG,wBAAwB,CAAA;AAE3D,MAAM,UAAU,wBAAwB,CAAI,CAAI;IAC9C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAA;AACpD,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAI,CAAI;IACpD,OAAO,QAAQ,CAA6B,CAAC,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAA;AAChF,CAAC;AASD,MAAM,iCAAiC,GAAG,+BAA+B,CAAA;AAEzE,MAAM,UAAU,+BAA+B,CAAI,CAAI;IACrD,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,iCAAiC,CAAC,CAAA;AAC3D,CAAC;AAED,MAAM,UAAU,qCAAqC,CAAI,CAAI;IAC3D,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,iCAAiC,CAClC,CAAA;AACH,CAAC;AAQD,MAAM,4BAA4B,GAAG,0BAA0B,CAAA;AAE/D,MAAM,UAAU,0BAA0B,CAAI,CAAI;IAChD,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,4BAA4B,CAAC,CAAA;AACtD,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAI,CAAI;IACtD,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,4BAA4B,CAC7B,CAAA;AACH,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\nimport type * as AppBskyFeedDefs from '../feed/defs.js'\nimport type * as AppBskyGraphDefs from '../graph/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.notification.getGroupedNotifications'\n\nexport type QueryParams = {\n /** Which notification feed to return. Grouping behavior varies by feed: notifications about follows might be grouped in 'all' and ungrouped (or rather, in single-item groups) in 'followers'. */\n feed?:\n | 'all'\n | 'people-i-follow'\n | 'conversations'\n | 'followers'\n | 'activity'\n | (string & {})\n /** Maximum number of groups to return. */\n limit?: number\n cursor?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n /** Notification groups or individual notifications, newest first. Clients should ignore kinds they do not recognize. Grouping behavior depends on the kind and selected feed. */\n groups: Group[]\n seenAt?: string\n /** Reusable views referenced by notifications. Views shared across notifications appear once to avoid duplication. Each group contributes only its first 10 of each related view to this array. Ex: for a group containing likes in a post, we might have a large number of likeItem (e.g., 50) in a group, but only the profile views for the newest 10 items will be included here. */\n relatedViews?: (\n | $Typed<AppBskyActorDefs.ProfileViewBasic>\n | $Typed<AppBskyFeedDefs.BlockedPost>\n | $Typed<AppBskyFeedDefs.GeneratorView>\n | $Typed<AppBskyFeedDefs.NotFoundPost>\n | $Typed<AppBskyFeedDefs.PostView>\n | $Typed<AppBskyGraphDefs.StarterPackViewBasic>\n | { $type: string }\n )[]\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n\n/** Contains common metadata and kind-specific data for a notification group or individual notification. */\nexport interface Group {\n $type?: 'app.bsky.notification.getGroupedNotifications#group'\n id: string\n isRead: boolean\n indexedAt: string\n count: number\n kind:\n | $Typed<LikeGroup>\n | $Typed<MultiPostLikeGroup>\n | $Typed<MultiPostRepostGroup>\n | $Typed<MultiPostLikeViaRepostGroup>\n | $Typed<MultiPostRepostViaRepostGroup>\n | $Typed<RepostGroup>\n | $Typed<LikeViaRepostGroup>\n | $Typed<RepostViaRepostGroup>\n | $Typed<FollowGroup>\n | $Typed<SubscribedPostGroup>\n | $Typed<GeneratorLikeGroup>\n | $Typed<ReplyNotification>\n | $Typed<QuoteNotification>\n | $Typed<MentionNotification>\n | $Typed<FollowBackNotification>\n | $Typed<VerifiedNotification>\n | $Typed<UnverifiedNotification>\n | $Typed<StarterPackJoinedNotification>\n | $Typed<ContactMatchNotification>\n | { $type: string }\n}\n\nconst hashGroup = 'group'\n\nexport function isGroup<V>(v: V) {\n return is$typed(v, id, hashGroup)\n}\n\nexport function validateGroup<V>(v: V) {\n return validate<Group & V>(v, id, hashGroup)\n}\n\n/** Group of likes by different actors on the same post. */\nexport interface LikeGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeGroup'\n post: string\n items: LikeItem[]\n}\n\nconst hashLikeGroup = 'likeGroup'\n\nexport function isLikeGroup<V>(v: V) {\n return is$typed(v, id, hashLikeGroup)\n}\n\nexport function validateLikeGroup<V>(v: V) {\n return validate<LikeGroup & V>(v, id, hashLikeGroup)\n}\n\n/** One actor who liked the group's post. */\nexport interface LikeItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeItem'\n actor: string\n}\n\nconst hashLikeItem = 'likeItem'\n\nexport function isLikeItem<V>(v: V) {\n return is$typed(v, id, hashLikeItem)\n}\n\nexport function validateLikeItem<V>(v: V) {\n return validate<LikeItem & V>(v, id, hashLikeItem)\n}\n\n/** Group of likes by the same actor on different posts. */\nexport interface MultiPostLikeGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeGroup'\n actor: string\n items: MultiPostLikeItem[]\n}\n\nconst hashMultiPostLikeGroup = 'multiPostLikeGroup'\n\nexport function isMultiPostLikeGroup<V>(v: V) {\n return is$typed(v, id, hashMultiPostLikeGroup)\n}\n\nexport function validateMultiPostLikeGroup<V>(v: V) {\n return validate<MultiPostLikeGroup & V>(v, id, hashMultiPostLikeGroup)\n}\n\n/** One post which was liked by the group's actor. */\nexport interface MultiPostLikeItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeItem'\n post: string\n}\n\nconst hashMultiPostLikeItem = 'multiPostLikeItem'\n\nexport function isMultiPostLikeItem<V>(v: V) {\n return is$typed(v, id, hashMultiPostLikeItem)\n}\n\nexport function validateMultiPostLikeItem<V>(v: V) {\n return validate<MultiPostLikeItem & V>(v, id, hashMultiPostLikeItem)\n}\n\n/** Group of reposts by the same actor of different posts. */\nexport interface MultiPostRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostRepostGroup'\n actor: string\n items: MultiPostRepostItem[]\n}\n\nconst hashMultiPostRepostGroup = 'multiPostRepostGroup'\n\nexport function isMultiPostRepostGroup<V>(v: V) {\n return is$typed(v, id, hashMultiPostRepostGroup)\n}\n\nexport function validateMultiPostRepostGroup<V>(v: V) {\n return validate<MultiPostRepostGroup & V>(v, id, hashMultiPostRepostGroup)\n}\n\n/** One post which was reposted by the group's actor. */\nexport interface MultiPostRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostRepostItem'\n post: string\n}\n\nconst hashMultiPostRepostItem = 'multiPostRepostItem'\n\nexport function isMultiPostRepostItem<V>(v: V) {\n return is$typed(v, id, hashMultiPostRepostItem)\n}\n\nexport function validateMultiPostRepostItem<V>(v: V) {\n return validate<MultiPostRepostItem & V>(v, id, hashMultiPostRepostItem)\n}\n\n/** Group of likes by the same actor on different posts via the requesting account's reposts. */\nexport interface MultiPostLikeViaRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeViaRepostGroup'\n actor: string\n items: MultiPostLikeViaRepostItem[]\n}\n\nconst hashMultiPostLikeViaRepostGroup = 'multiPostLikeViaRepostGroup'\n\nexport function isMultiPostLikeViaRepostGroup<V>(v: V) {\n return is$typed(v, id, hashMultiPostLikeViaRepostGroup)\n}\n\nexport function validateMultiPostLikeViaRepostGroup<V>(v: V) {\n return validate<MultiPostLikeViaRepostGroup & V>(\n v,\n id,\n hashMultiPostLikeViaRepostGroup,\n )\n}\n\n/** One post which was liked by the group's actor via the requesting account's repost. */\nexport interface MultiPostLikeViaRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeViaRepostItem'\n post: string\n viaRepost: string\n}\n\nconst hashMultiPostLikeViaRepostItem = 'multiPostLikeViaRepostItem'\n\nexport function isMultiPostLikeViaRepostItem<V>(v: V) {\n return is$typed(v, id, hashMultiPostLikeViaRepostItem)\n}\n\nexport function validateMultiPostLikeViaRepostItem<V>(v: V) {\n return validate<MultiPostLikeViaRepostItem & V>(\n v,\n id,\n hashMultiPostLikeViaRepostItem,\n )\n}\n\n/** Group of reposts by the same actor of different posts via the requesting account's reposts. */\nexport interface MultiPostRepostViaRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostRepostViaRepostGroup'\n actor: string\n items: MultiPostRepostViaRepostItem[]\n}\n\nconst hashMultiPostRepostViaRepostGroup = 'multiPostRepostViaRepostGroup'\n\nexport function isMultiPostRepostViaRepostGroup<V>(v: V) {\n return is$typed(v, id, hashMultiPostRepostViaRepostGroup)\n}\n\nexport function validateMultiPostRepostViaRepostGroup<V>(v: V) {\n return validate<MultiPostRepostViaRepostGroup & V>(\n v,\n id,\n hashMultiPostRepostViaRepostGroup,\n )\n}\n\n/** One post which was reposted by the group's actor via the requesting account's repost. */\nexport interface MultiPostRepostViaRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostRepostViaRepostItem'\n post: string\n viaRepost: string\n}\n\nconst hashMultiPostRepostViaRepostItem = 'multiPostRepostViaRepostItem'\n\nexport function isMultiPostRepostViaRepostItem<V>(v: V) {\n return is$typed(v, id, hashMultiPostRepostViaRepostItem)\n}\n\nexport function validateMultiPostRepostViaRepostItem<V>(v: V) {\n return validate<MultiPostRepostViaRepostItem & V>(\n v,\n id,\n hashMultiPostRepostViaRepostItem,\n )\n}\n\n/** Group of reposts by different actors of the same post. */\nexport interface RepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostGroup'\n post: string\n items: RepostItem[]\n}\n\nconst hashRepostGroup = 'repostGroup'\n\nexport function isRepostGroup<V>(v: V) {\n return is$typed(v, id, hashRepostGroup)\n}\n\nexport function validateRepostGroup<V>(v: V) {\n return validate<RepostGroup & V>(v, id, hashRepostGroup)\n}\n\n/** One actor who reposted the group's post. */\nexport interface RepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostItem'\n actor: string\n}\n\nconst hashRepostItem = 'repostItem'\n\nexport function isRepostItem<V>(v: V) {\n return is$typed(v, id, hashRepostItem)\n}\n\nexport function validateRepostItem<V>(v: V) {\n return validate<RepostItem & V>(v, id, hashRepostItem)\n}\n\n/** Group of likes by different actors on the same post via the requesting account's repost. */\nexport interface LikeViaRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeViaRepostGroup'\n post: string\n viaRepost: string\n items: LikeViaRepostItem[]\n}\n\nconst hashLikeViaRepostGroup = 'likeViaRepostGroup'\n\nexport function isLikeViaRepostGroup<V>(v: V) {\n return is$typed(v, id, hashLikeViaRepostGroup)\n}\n\nexport function validateLikeViaRepostGroup<V>(v: V) {\n return validate<LikeViaRepostGroup & V>(v, id, hashLikeViaRepostGroup)\n}\n\n/** One actor who liked the group's post via the requesting account's repost. */\nexport interface LikeViaRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeViaRepostItem'\n actor: string\n}\n\nconst hashLikeViaRepostItem = 'likeViaRepostItem'\n\nexport function isLikeViaRepostItem<V>(v: V) {\n return is$typed(v, id, hashLikeViaRepostItem)\n}\n\nexport function validateLikeViaRepostItem<V>(v: V) {\n return validate<LikeViaRepostItem & V>(v, id, hashLikeViaRepostItem)\n}\n\n/** Group of reposts by different actors of the same post via the requesting account's repost. */\nexport interface RepostViaRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostViaRepostGroup'\n post: string\n viaRepost: string\n items: RepostViaRepostItem[]\n}\n\nconst hashRepostViaRepostGroup = 'repostViaRepostGroup'\n\nexport function isRepostViaRepostGroup<V>(v: V) {\n return is$typed(v, id, hashRepostViaRepostGroup)\n}\n\nexport function validateRepostViaRepostGroup<V>(v: V) {\n return validate<RepostViaRepostGroup & V>(v, id, hashRepostViaRepostGroup)\n}\n\n/** One actor who reposted the group's post via the requesting account's repost. */\nexport interface RepostViaRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostViaRepostItem'\n actor: string\n}\n\nconst hashRepostViaRepostItem = 'repostViaRepostItem'\n\nexport function isRepostViaRepostItem<V>(v: V) {\n return is$typed(v, id, hashRepostViaRepostItem)\n}\n\nexport function validateRepostViaRepostItem<V>(v: V) {\n return validate<RepostViaRepostItem & V>(v, id, hashRepostViaRepostItem)\n}\n\n/** Group of actors who followed the requesting account. */\nexport interface FollowGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#followGroup'\n items: FollowItem[]\n}\n\nconst hashFollowGroup = 'followGroup'\n\nexport function isFollowGroup<V>(v: V) {\n return is$typed(v, id, hashFollowGroup)\n}\n\nexport function validateFollowGroup<V>(v: V) {\n return validate<FollowGroup & V>(v, id, hashFollowGroup)\n}\n\n/** An actor who followed the requesting account, possibly via a starter pack. */\nexport interface FollowItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#followItem'\n actor: string\n starterPack?: string\n}\n\nconst hashFollowItem = 'followItem'\n\nexport function isFollowItem<V>(v: V) {\n return is$typed(v, id, hashFollowItem)\n}\n\nexport function validateFollowItem<V>(v: V) {\n return validate<FollowItem & V>(v, id, hashFollowItem)\n}\n\n/** Group of new posts by actors the requesting account subscribes to. */\nexport interface SubscribedPostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostGroup'\n items: SubscribedPostItem[]\n}\n\nconst hashSubscribedPostGroup = 'subscribedPostGroup'\n\nexport function isSubscribedPostGroup<V>(v: V) {\n return is$typed(v, id, hashSubscribedPostGroup)\n}\n\nexport function validateSubscribedPostGroup<V>(v: V) {\n return validate<SubscribedPostGroup & V>(v, id, hashSubscribedPostGroup)\n}\n\n/** One new post by an actor the requesting account subscribes to. */\nexport interface SubscribedPostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostItem'\n actor: string\n post: string\n}\n\nconst hashSubscribedPostItem = 'subscribedPostItem'\n\nexport function isSubscribedPostItem<V>(v: V) {\n return is$typed(v, id, hashSubscribedPostItem)\n}\n\nexport function validateSubscribedPostItem<V>(v: V) {\n return validate<SubscribedPostItem & V>(v, id, hashSubscribedPostItem)\n}\n\n/** Group of likes by different actors on the same feed generator. */\nexport interface GeneratorLikeGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#generatorLikeGroup'\n generator: string\n items: GeneratorLikeItem[]\n}\n\nconst hashGeneratorLikeGroup = 'generatorLikeGroup'\n\nexport function isGeneratorLikeGroup<V>(v: V) {\n return is$typed(v, id, hashGeneratorLikeGroup)\n}\n\nexport function validateGeneratorLikeGroup<V>(v: V) {\n return validate<GeneratorLikeGroup & V>(v, id, hashGeneratorLikeGroup)\n}\n\n/** One actor who liked the feed generator in the group. */\nexport interface GeneratorLikeItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#generatorLikeItem'\n actor: string\n}\n\nconst hashGeneratorLikeItem = 'generatorLikeItem'\n\nexport function isGeneratorLikeItem<V>(v: V) {\n return is$typed(v, id, hashGeneratorLikeItem)\n}\n\nexport function validateGeneratorLikeItem<V>(v: V) {\n return validate<GeneratorLikeItem & V>(v, id, hashGeneratorLikeItem)\n}\n\n/** A reply to a post by the requesting account or to a thread they are participating in. */\nexport interface ReplyNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#replyNotification'\n post: string\n parent: string\n}\n\nconst hashReplyNotification = 'replyNotification'\n\nexport function isReplyNotification<V>(v: V) {\n return is$typed(v, id, hashReplyNotification)\n}\n\nexport function validateReplyNotification<V>(v: V) {\n return validate<ReplyNotification & V>(v, id, hashReplyNotification)\n}\n\n/** A post quoting a post by the requesting account. */\nexport interface QuoteNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#quoteNotification'\n post: string\n parent?: string\n}\n\nconst hashQuoteNotification = 'quoteNotification'\n\nexport function isQuoteNotification<V>(v: V) {\n return is$typed(v, id, hashQuoteNotification)\n}\n\nexport function validateQuoteNotification<V>(v: V) {\n return validate<QuoteNotification & V>(v, id, hashQuoteNotification)\n}\n\n/** A post mentioning the requesting account. */\nexport interface MentionNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#mentionNotification'\n post: string\n parent?: string\n}\n\nconst hashMentionNotification = 'mentionNotification'\n\nexport function isMentionNotification<V>(v: V) {\n return is$typed(v, id, hashMentionNotification)\n}\n\nexport function validateMentionNotification<V>(v: V) {\n return validate<MentionNotification & V>(v, id, hashMentionNotification)\n}\n\n/** An actor followed the requesting account back, possibly via a starter pack. */\nexport interface FollowBackNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#followBackNotification'\n actor: string\n starterPack?: string\n}\n\nconst hashFollowBackNotification = 'followBackNotification'\n\nexport function isFollowBackNotification<V>(v: V) {\n return is$typed(v, id, hashFollowBackNotification)\n}\n\nexport function validateFollowBackNotification<V>(v: V) {\n return validate<FollowBackNotification & V>(v, id, hashFollowBackNotification)\n}\n\n/** An actor verified the requesting account. */\nexport interface VerifiedNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#verifiedNotification'\n actor: string\n}\n\nconst hashVerifiedNotification = 'verifiedNotification'\n\nexport function isVerifiedNotification<V>(v: V) {\n return is$typed(v, id, hashVerifiedNotification)\n}\n\nexport function validateVerifiedNotification<V>(v: V) {\n return validate<VerifiedNotification & V>(v, id, hashVerifiedNotification)\n}\n\n/** A verification of the requesting account was removed. */\nexport interface UnverifiedNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#unverifiedNotification'\n actor: string\n}\n\nconst hashUnverifiedNotification = 'unverifiedNotification'\n\nexport function isUnverifiedNotification<V>(v: V) {\n return is$typed(v, id, hashUnverifiedNotification)\n}\n\nexport function validateUnverifiedNotification<V>(v: V) {\n return validate<UnverifiedNotification & V>(v, id, hashUnverifiedNotification)\n}\n\n/** An actor joined Bluesky via a starter pack created by the requesting account. */\nexport interface StarterPackJoinedNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#starterPackJoinedNotification'\n actor: string\n starterPack: string\n}\n\nconst hashStarterPackJoinedNotification = 'starterPackJoinedNotification'\n\nexport function isStarterPackJoinedNotification<V>(v: V) {\n return is$typed(v, id, hashStarterPackJoinedNotification)\n}\n\nexport function validateStarterPackJoinedNotification<V>(v: V) {\n return validate<StarterPackJoinedNotification & V>(\n v,\n id,\n hashStarterPackJoinedNotification,\n )\n}\n\n/** A contact of the requesting account joined Bluesky. */\nexport interface ContactMatchNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#contactMatchNotification'\n actor: string\n}\n\nconst hashContactMatchNotification = 'contactMatchNotification'\n\nexport function isContactMatchNotification<V>(v: V) {\n return is$typed(v, id, hashContactMatchNotification)\n}\n\nexport function validateContactMatchNotification<V>(v: V) {\n return validate<ContactMatchNotification & V>(\n v,\n id,\n hashContactMatchNotification,\n )\n}\n"]}
|
|
1
|
+
{"version":3,"file":"getGroupedNotifications.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/getGroupedNotifications.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAK5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,+CAA+C,CAAA;AA6C1D,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;A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E,EACF,4BAA4B,CAC7B,CAAA;AACH,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\nimport type * as AppBskyFeedDefs from '../feed/defs.js'\nimport type * as AppBskyGraphDefs from '../graph/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.notification.getGroupedNotifications'\n\nexport type QueryParams = {\n /** Which notification feed to return. Grouping behavior varies by feed: notifications about follows might be grouped in 'all' and ungrouped (or rather, in single-item groups) in 'followers'. */\n feed?:\n | 'all'\n | 'people-i-follow'\n | 'conversations'\n | 'followers'\n | 'activity'\n | (string & {})\n /** Maximum number of groups to return. */\n limit?: number\n cursor?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n /** Notification groups or individual notifications, newest first. Clients should ignore kinds they do not recognize. Grouping behavior depends on the kind and selected feed. */\n groups: Group[]\n seenAt?: string\n /** Reusable views referenced by notifications. Views shared across notifications appear once to avoid duplication. Each group contributes only its first 10 of each related view to this array. Ex: for a group containing likes in a post, we might have a large number of likeItem (e.g., 50) in a group, but only the profile views for the newest 10 items will be included here. */\n relatedViews?: (\n | $Typed<AppBskyActorDefs.ProfileViewBasic>\n | $Typed<AppBskyFeedDefs.BlockedPost>\n | $Typed<AppBskyFeedDefs.GeneratorView>\n | $Typed<AppBskyFeedDefs.NotFoundPost>\n | $Typed<AppBskyFeedDefs.PostView>\n | $Typed<AppBskyGraphDefs.StarterPackViewBasic>\n | { $type: string }\n )[]\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n\n/** Contains common metadata and kind-specific data for a notification group or individual notification. */\nexport interface Group {\n $type?: 'app.bsky.notification.getGroupedNotifications#group'\n id: string\n isRead: boolean\n indexedAt: string\n count: number\n kind:\n | $Typed<LikeGroup>\n | $Typed<MultiPostLikeGroup>\n | $Typed<MultiPostRepostGroup>\n | $Typed<MultiPostLikeViaRepostGroup>\n | $Typed<MultiPostRepostViaRepostGroup>\n | $Typed<RepostGroup>\n | $Typed<LikeViaRepostGroup>\n | $Typed<RepostViaRepostGroup>\n | $Typed<FollowGroup>\n | $Typed<SubscribedPostGroup>\n | $Typed<GeneratorLikeGroup>\n | $Typed<ReplyNotification>\n | $Typed<QuoteNotification>\n | $Typed<MentionNotification>\n | $Typed<FollowBackNotification>\n | $Typed<VerifiedNotification>\n | $Typed<UnverifiedNotification>\n | $Typed<StarterPackJoinedNotification>\n | $Typed<ContactMatchNotification>\n | { $type: string }\n}\n\nconst hashGroup = 'group'\n\nexport function isGroup<V>(v: V) {\n return is$typed(v, id, hashGroup)\n}\n\nexport function validateGroup<V>(v: V) {\n return validate<Group & V>(v, id, hashGroup)\n}\n\n/** Group of likes by different actors on the same post. */\nexport interface LikeGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeGroup'\n post: string\n items: LikeItem[]\n}\n\nconst hashLikeGroup = 'likeGroup'\n\nexport function isLikeGroup<V>(v: V) {\n return is$typed(v, id, hashLikeGroup)\n}\n\nexport function validateLikeGroup<V>(v: V) {\n return validate<LikeGroup & V>(v, id, hashLikeGroup)\n}\n\n/** One actor who liked the group's post. */\nexport interface LikeItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeItem'\n actor: string\n}\n\nconst hashLikeItem = 'likeItem'\n\nexport function isLikeItem<V>(v: V) {\n return is$typed(v, id, hashLikeItem)\n}\n\nexport function validateLikeItem<V>(v: V) {\n return validate<LikeItem & V>(v, id, hashLikeItem)\n}\n\n/** Group of likes by the same actor on different posts. */\nexport interface MultiPostLikeGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeGroup'\n actor: string\n items: MultiPostLikeItem[]\n}\n\nconst hashMultiPostLikeGroup = 'multiPostLikeGroup'\n\nexport function isMultiPostLikeGroup<V>(v: V) {\n return is$typed(v, id, hashMultiPostLikeGroup)\n}\n\nexport function validateMultiPostLikeGroup<V>(v: V) {\n return validate<MultiPostLikeGroup & V>(v, id, hashMultiPostLikeGroup)\n}\n\n/** One post which was liked by the group's actor. */\nexport interface MultiPostLikeItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeItem'\n post: string\n}\n\nconst hashMultiPostLikeItem = 'multiPostLikeItem'\n\nexport function isMultiPostLikeItem<V>(v: V) {\n return is$typed(v, id, hashMultiPostLikeItem)\n}\n\nexport function validateMultiPostLikeItem<V>(v: V) {\n return validate<MultiPostLikeItem & V>(v, id, hashMultiPostLikeItem)\n}\n\n/** Group of reposts by the same actor of different posts. */\nexport interface MultiPostRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostRepostGroup'\n actor: string\n items: MultiPostRepostItem[]\n}\n\nconst hashMultiPostRepostGroup = 'multiPostRepostGroup'\n\nexport function isMultiPostRepostGroup<V>(v: V) {\n return is$typed(v, id, hashMultiPostRepostGroup)\n}\n\nexport function validateMultiPostRepostGroup<V>(v: V) {\n return validate<MultiPostRepostGroup & V>(v, id, hashMultiPostRepostGroup)\n}\n\n/** One post which was reposted by the group's actor. */\nexport interface MultiPostRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostRepostItem'\n post: string\n}\n\nconst hashMultiPostRepostItem = 'multiPostRepostItem'\n\nexport function isMultiPostRepostItem<V>(v: V) {\n return is$typed(v, id, hashMultiPostRepostItem)\n}\n\nexport function validateMultiPostRepostItem<V>(v: V) {\n return validate<MultiPostRepostItem & V>(v, id, hashMultiPostRepostItem)\n}\n\n/** Group of likes by the same actor on different posts via the requesting account's reposts. */\nexport interface MultiPostLikeViaRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeViaRepostGroup'\n actor: string\n items: MultiPostLikeViaRepostItem[]\n}\n\nconst hashMultiPostLikeViaRepostGroup = 'multiPostLikeViaRepostGroup'\n\nexport function isMultiPostLikeViaRepostGroup<V>(v: V) {\n return is$typed(v, id, hashMultiPostLikeViaRepostGroup)\n}\n\nexport function validateMultiPostLikeViaRepostGroup<V>(v: V) {\n return validate<MultiPostLikeViaRepostGroup & V>(\n v,\n id,\n hashMultiPostLikeViaRepostGroup,\n )\n}\n\n/** One post which was liked by the group's actor via the requesting account's repost. */\nexport interface MultiPostLikeViaRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeViaRepostItem'\n post: string\n viaRepost: string\n}\n\nconst hashMultiPostLikeViaRepostItem = 'multiPostLikeViaRepostItem'\n\nexport function isMultiPostLikeViaRepostItem<V>(v: V) {\n return is$typed(v, id, hashMultiPostLikeViaRepostItem)\n}\n\nexport function validateMultiPostLikeViaRepostItem<V>(v: V) {\n return validate<MultiPostLikeViaRepostItem & V>(\n v,\n id,\n hashMultiPostLikeViaRepostItem,\n )\n}\n\n/** Group of reposts by the same actor of different posts via the requesting account's reposts. */\nexport interface MultiPostRepostViaRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostRepostViaRepostGroup'\n actor: string\n items: MultiPostRepostViaRepostItem[]\n}\n\nconst hashMultiPostRepostViaRepostGroup = 'multiPostRepostViaRepostGroup'\n\nexport function isMultiPostRepostViaRepostGroup<V>(v: V) {\n return is$typed(v, id, hashMultiPostRepostViaRepostGroup)\n}\n\nexport function validateMultiPostRepostViaRepostGroup<V>(v: V) {\n return validate<MultiPostRepostViaRepostGroup & V>(\n v,\n id,\n hashMultiPostRepostViaRepostGroup,\n )\n}\n\n/** One post which was reposted by the group's actor via the requesting account's repost. */\nexport interface MultiPostRepostViaRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostRepostViaRepostItem'\n post: string\n viaRepost: string\n}\n\nconst hashMultiPostRepostViaRepostItem = 'multiPostRepostViaRepostItem'\n\nexport function isMultiPostRepostViaRepostItem<V>(v: V) {\n return is$typed(v, id, hashMultiPostRepostViaRepostItem)\n}\n\nexport function validateMultiPostRepostViaRepostItem<V>(v: V) {\n return validate<MultiPostRepostViaRepostItem & V>(\n v,\n id,\n hashMultiPostRepostViaRepostItem,\n )\n}\n\n/** Group of reposts by different actors of the same post. */\nexport interface RepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostGroup'\n post: string\n items: RepostItem[]\n}\n\nconst hashRepostGroup = 'repostGroup'\n\nexport function isRepostGroup<V>(v: V) {\n return is$typed(v, id, hashRepostGroup)\n}\n\nexport function validateRepostGroup<V>(v: V) {\n return validate<RepostGroup & V>(v, id, hashRepostGroup)\n}\n\n/** One actor who reposted the group's post. */\nexport interface RepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostItem'\n actor: string\n}\n\nconst hashRepostItem = 'repostItem'\n\nexport function isRepostItem<V>(v: V) {\n return is$typed(v, id, hashRepostItem)\n}\n\nexport function validateRepostItem<V>(v: V) {\n return validate<RepostItem & V>(v, id, hashRepostItem)\n}\n\n/** Group of likes by different actors on the same post via the requesting account's repost. */\nexport interface LikeViaRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeViaRepostGroup'\n post: string\n viaRepost: string\n items: LikeViaRepostItem[]\n}\n\nconst hashLikeViaRepostGroup = 'likeViaRepostGroup'\n\nexport function isLikeViaRepostGroup<V>(v: V) {\n return is$typed(v, id, hashLikeViaRepostGroup)\n}\n\nexport function validateLikeViaRepostGroup<V>(v: V) {\n return validate<LikeViaRepostGroup & V>(v, id, hashLikeViaRepostGroup)\n}\n\n/** One actor who liked the group's post via the requesting account's repost. */\nexport interface LikeViaRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeViaRepostItem'\n actor: string\n}\n\nconst hashLikeViaRepostItem = 'likeViaRepostItem'\n\nexport function isLikeViaRepostItem<V>(v: V) {\n return is$typed(v, id, hashLikeViaRepostItem)\n}\n\nexport function validateLikeViaRepostItem<V>(v: V) {\n return validate<LikeViaRepostItem & V>(v, id, hashLikeViaRepostItem)\n}\n\n/** Group of reposts by different actors of the same post via the requesting account's repost. */\nexport interface RepostViaRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostViaRepostGroup'\n post: string\n viaRepost: string\n items: RepostViaRepostItem[]\n}\n\nconst hashRepostViaRepostGroup = 'repostViaRepostGroup'\n\nexport function isRepostViaRepostGroup<V>(v: V) {\n return is$typed(v, id, hashRepostViaRepostGroup)\n}\n\nexport function validateRepostViaRepostGroup<V>(v: V) {\n return validate<RepostViaRepostGroup & V>(v, id, hashRepostViaRepostGroup)\n}\n\n/** One actor who reposted the group's post via the requesting account's repost. */\nexport interface RepostViaRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostViaRepostItem'\n actor: string\n}\n\nconst hashRepostViaRepostItem = 'repostViaRepostItem'\n\nexport function isRepostViaRepostItem<V>(v: V) {\n return is$typed(v, id, hashRepostViaRepostItem)\n}\n\nexport function validateRepostViaRepostItem<V>(v: V) {\n return validate<RepostViaRepostItem & V>(v, id, hashRepostViaRepostItem)\n}\n\n/** Group of actors who followed the requesting account. */\nexport interface FollowGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#followGroup'\n items: FollowItem[]\n}\n\nconst hashFollowGroup = 'followGroup'\n\nexport function isFollowGroup<V>(v: V) {\n return is$typed(v, id, hashFollowGroup)\n}\n\nexport function validateFollowGroup<V>(v: V) {\n return validate<FollowGroup & V>(v, id, hashFollowGroup)\n}\n\n/** An actor who followed the requesting account, possibly via a starter pack. */\nexport interface FollowItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#followItem'\n actor: string\n starterPack?: string\n}\n\nconst hashFollowItem = 'followItem'\n\nexport function isFollowItem<V>(v: V) {\n return is$typed(v, id, hashFollowItem)\n}\n\nexport function validateFollowItem<V>(v: V) {\n return validate<FollowItem & V>(v, id, hashFollowItem)\n}\n\n/** Group of new posts by actors the requesting account subscribes to. */\nexport interface SubscribedPostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostGroup'\n items: SubscribedPostItem[]\n}\n\nconst hashSubscribedPostGroup = 'subscribedPostGroup'\n\nexport function isSubscribedPostGroup<V>(v: V) {\n return is$typed(v, id, hashSubscribedPostGroup)\n}\n\nexport function validateSubscribedPostGroup<V>(v: V) {\n return validate<SubscribedPostGroup & V>(v, id, hashSubscribedPostGroup)\n}\n\n/** One new post by an actor the requesting account subscribes to. */\nexport interface SubscribedPostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostItem'\n actor: string\n post: string\n /** The post this one replies to, if it is a reply. */\n parent?: string\n}\n\nconst hashSubscribedPostItem = 'subscribedPostItem'\n\nexport function isSubscribedPostItem<V>(v: V) {\n return is$typed(v, id, hashSubscribedPostItem)\n}\n\nexport function validateSubscribedPostItem<V>(v: V) {\n return validate<SubscribedPostItem & V>(v, id, hashSubscribedPostItem)\n}\n\n/** Group of likes by different actors on the same feed generator. */\nexport interface GeneratorLikeGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#generatorLikeGroup'\n generator: string\n items: GeneratorLikeItem[]\n}\n\nconst hashGeneratorLikeGroup = 'generatorLikeGroup'\n\nexport function isGeneratorLikeGroup<V>(v: V) {\n return is$typed(v, id, hashGeneratorLikeGroup)\n}\n\nexport function validateGeneratorLikeGroup<V>(v: V) {\n return validate<GeneratorLikeGroup & V>(v, id, hashGeneratorLikeGroup)\n}\n\n/** One actor who liked the feed generator in the group. */\nexport interface GeneratorLikeItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#generatorLikeItem'\n actor: string\n}\n\nconst hashGeneratorLikeItem = 'generatorLikeItem'\n\nexport function isGeneratorLikeItem<V>(v: V) {\n return is$typed(v, id, hashGeneratorLikeItem)\n}\n\nexport function validateGeneratorLikeItem<V>(v: V) {\n return validate<GeneratorLikeItem & V>(v, id, hashGeneratorLikeItem)\n}\n\n/** A reply to a post by the requesting account or to a thread they are participating in. */\nexport interface ReplyNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#replyNotification'\n post: string\n parent: string\n}\n\nconst hashReplyNotification = 'replyNotification'\n\nexport function isReplyNotification<V>(v: V) {\n return is$typed(v, id, hashReplyNotification)\n}\n\nexport function validateReplyNotification<V>(v: V) {\n return validate<ReplyNotification & V>(v, id, hashReplyNotification)\n}\n\n/** A post quoting a post by the requesting account. */\nexport interface QuoteNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#quoteNotification'\n post: string\n parent?: string\n}\n\nconst hashQuoteNotification = 'quoteNotification'\n\nexport function isQuoteNotification<V>(v: V) {\n return is$typed(v, id, hashQuoteNotification)\n}\n\nexport function validateQuoteNotification<V>(v: V) {\n return validate<QuoteNotification & V>(v, id, hashQuoteNotification)\n}\n\n/** A post mentioning the requesting account. */\nexport interface MentionNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#mentionNotification'\n post: string\n parent?: string\n}\n\nconst hashMentionNotification = 'mentionNotification'\n\nexport function isMentionNotification<V>(v: V) {\n return is$typed(v, id, hashMentionNotification)\n}\n\nexport function validateMentionNotification<V>(v: V) {\n return validate<MentionNotification & V>(v, id, hashMentionNotification)\n}\n\n/** An actor followed the requesting account back, possibly via a starter pack. */\nexport interface FollowBackNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#followBackNotification'\n actor: string\n starterPack?: string\n}\n\nconst hashFollowBackNotification = 'followBackNotification'\n\nexport function isFollowBackNotification<V>(v: V) {\n return is$typed(v, id, hashFollowBackNotification)\n}\n\nexport function validateFollowBackNotification<V>(v: V) {\n return validate<FollowBackNotification & V>(v, id, hashFollowBackNotification)\n}\n\n/** An actor verified the requesting account. */\nexport interface VerifiedNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#verifiedNotification'\n actor: string\n}\n\nconst hashVerifiedNotification = 'verifiedNotification'\n\nexport function isVerifiedNotification<V>(v: V) {\n return is$typed(v, id, hashVerifiedNotification)\n}\n\nexport function validateVerifiedNotification<V>(v: V) {\n return validate<VerifiedNotification & V>(v, id, hashVerifiedNotification)\n}\n\n/** A verification of the requesting account was removed. */\nexport interface UnverifiedNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#unverifiedNotification'\n actor: string\n}\n\nconst hashUnverifiedNotification = 'unverifiedNotification'\n\nexport function isUnverifiedNotification<V>(v: V) {\n return is$typed(v, id, hashUnverifiedNotification)\n}\n\nexport function validateUnverifiedNotification<V>(v: V) {\n return validate<UnverifiedNotification & V>(v, id, hashUnverifiedNotification)\n}\n\n/** An actor joined Bluesky via a starter pack created by the requesting account. */\nexport interface StarterPackJoinedNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#starterPackJoinedNotification'\n actor: string\n starterPack: string\n}\n\nconst hashStarterPackJoinedNotification = 'starterPackJoinedNotification'\n\nexport function isStarterPackJoinedNotification<V>(v: V) {\n return is$typed(v, id, hashStarterPackJoinedNotification)\n}\n\nexport function validateStarterPackJoinedNotification<V>(v: V) {\n return validate<StarterPackJoinedNotification & V>(\n v,\n id,\n hashStarterPackJoinedNotification,\n )\n}\n\n/** A contact of the requesting account joined Bluesky. */\nexport interface ContactMatchNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#contactMatchNotification'\n actor: string\n}\n\nconst hashContactMatchNotification = 'contactMatchNotification'\n\nexport function isContactMatchNotification<V>(v: V) {\n return is$typed(v, id, hashContactMatchNotification)\n}\n\nexport function validateContactMatchNotification<V>(v: V) {\n return validate<ContactMatchNotification & V>(\n v,\n id,\n hashContactMatchNotification,\n )\n}\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type HeadersMap } from '@atproto/xrpc';
|
|
5
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
6
|
+
export type QueryParams = {
|
|
7
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
8
|
+
viewer?: string;
|
|
9
|
+
limit?: number;
|
|
10
|
+
};
|
|
11
|
+
export type InputSchema = undefined;
|
|
12
|
+
export interface OutputSchema {
|
|
13
|
+
articles: Article[];
|
|
14
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
15
|
+
recIdStr: string;
|
|
16
|
+
}
|
|
17
|
+
export interface CallOptions {
|
|
18
|
+
signal?: AbortSignal;
|
|
19
|
+
headers?: HeadersMap;
|
|
20
|
+
}
|
|
21
|
+
export interface Response {
|
|
22
|
+
success: boolean;
|
|
23
|
+
headers: HeadersMap;
|
|
24
|
+
data: OutputSchema;
|
|
25
|
+
}
|
|
26
|
+
export declare function toKnownErr(e: any): any;
|
|
27
|
+
export interface Article {
|
|
28
|
+
$type?: 'app.bsky.unspecced.getAtmosphereExploreArticleRecommendations#article';
|
|
29
|
+
uri: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function isArticle<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereExploreArticleRecommendations", "article">;
|
|
32
|
+
export declare function validateArticle<V>(v: V): ValidationResult<Article & V>;
|
|
33
|
+
//# sourceMappingURL=getAtmosphereExploreArticleRecommendations.d.ts.map
|
package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAtmosphereExploreArticleRecommendations.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,MAAM,WAAW,GAAG;IACxB,+FAA+F;IAC/F,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,oFAAoF;IACpF,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC;AAED,MAAM,WAAW,OAAO;IACtB,KAAK,CAAC,EAAE,uEAAuE,CAAA;IAC/E,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,kIAEhC;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,iCAEtC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { XRPCError } from '@atproto/xrpc';
|
|
5
|
+
import { BlobRef } from '@atproto/lexicon';
|
|
6
|
+
import { CID } from 'multiformats/cid';
|
|
7
|
+
import { validate as _validate } from '../../../../lexicons.js';
|
|
8
|
+
import { is$typed as _is$typed, } from '../../../../util.js';
|
|
9
|
+
const is$typed = _is$typed, validate = _validate;
|
|
10
|
+
const id = 'app.bsky.unspecced.getAtmosphereExploreArticleRecommendations';
|
|
11
|
+
export function toKnownErr(e) {
|
|
12
|
+
return e;
|
|
13
|
+
}
|
|
14
|
+
const hashArticle = 'article';
|
|
15
|
+
export function isArticle(v) {
|
|
16
|
+
return is$typed(v, id, hashArticle);
|
|
17
|
+
}
|
|
18
|
+
export function validateArticle(v) {
|
|
19
|
+
return validate(v, id, hashArticle);
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=getAtmosphereExploreArticleRecommendations.js.map
|
package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAtmosphereExploreArticleRecommendations.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getAtmosphereExploreArticleRecommendations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAE5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,+DAA+D,CAAA;AA0B1E,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AAOD,MAAM,WAAW,GAAG,SAAS,CAAA;AAE7B,MAAM,UAAU,SAAS,CAAI,CAAI;IAC/B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,WAAW,CAAC,CAAA;AACrC,CAAC;AAED,MAAM,UAAU,eAAe,CAAI,CAAI;IACrC,OAAO,QAAQ,CAAc,CAAC,EAAE,EAAE,EAAE,WAAW,CAAC,CAAA;AAClD,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getAtmosphereExploreArticleRecommendations'\n\nexport type QueryParams = {\n /** DID of the account making the request (not included for public/unauthenticated queries). */\n viewer?: string\n limit?: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n articles: Article[]\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recIdStr: string\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n\nexport interface Article {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreArticleRecommendations#article'\n uri: string\n}\n\nconst hashArticle = 'article'\n\nexport function isArticle<V>(v: V) {\n return is$typed(v, id, hashArticle)\n}\n\nexport function validateArticle<V>(v: V) {\n return validate<Article & V>(v, id, hashArticle)\n}\n"]}
|
|
@@ -5,7 +5,7 @@ import { type HeadersMap } from '@atproto/xrpc';
|
|
|
5
5
|
import { type ValidationResult } from '@atproto/lexicon';
|
|
6
6
|
import type * as AppBskyEmbedExternal from '../embed/external.js';
|
|
7
7
|
export type QueryParams = {
|
|
8
|
-
/** Preferred languages.
|
|
8
|
+
/** Preferred languages for article recommendations when algorithmic recommendations are enabled. Ignored otherwise. */
|
|
9
9
|
langs?: string[];
|
|
10
10
|
/** The ISO 3166-1 alpha-2 country code used to select curated content. */
|
|
11
11
|
countryCode?: string;
|
|
@@ -15,10 +15,10 @@ export type QueryParams = {
|
|
|
15
15
|
export type InputSchema = undefined;
|
|
16
16
|
export interface OutputSchema {
|
|
17
17
|
announcementBanner?: AnnouncementBanner;
|
|
18
|
-
articles:
|
|
19
|
-
publications:
|
|
20
|
-
photos:
|
|
21
|
-
livestreams:
|
|
18
|
+
articles: ArticleList;
|
|
19
|
+
publications: PublicationList;
|
|
20
|
+
photos: GalleryList;
|
|
21
|
+
livestreams: LivestreamList;
|
|
22
22
|
apps: AppCard[];
|
|
23
23
|
}
|
|
24
24
|
export interface CallOptions {
|
|
@@ -31,6 +31,38 @@ export interface Response {
|
|
|
31
31
|
data: OutputSchema;
|
|
32
32
|
}
|
|
33
33
|
export declare function toKnownErr(e: any): any;
|
|
34
|
+
export interface ArticleList {
|
|
35
|
+
$type?: 'app.bsky.unspecced.getAtmosphereExploreTab#articleList';
|
|
36
|
+
items: ArticleItem[];
|
|
37
|
+
/** Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended. */
|
|
38
|
+
recIdStr?: string;
|
|
39
|
+
}
|
|
40
|
+
export declare function isArticleList<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereExploreTab", "articleList">;
|
|
41
|
+
export declare function validateArticleList<V>(v: V): ValidationResult<ArticleList & V>;
|
|
42
|
+
export interface PublicationList {
|
|
43
|
+
$type?: 'app.bsky.unspecced.getAtmosphereExploreTab#publicationList';
|
|
44
|
+
items: PublicationItem[];
|
|
45
|
+
/** Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended. */
|
|
46
|
+
recIdStr?: string;
|
|
47
|
+
}
|
|
48
|
+
export declare function isPublicationList<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereExploreTab", "publicationList">;
|
|
49
|
+
export declare function validatePublicationList<V>(v: V): ValidationResult<PublicationList & V>;
|
|
50
|
+
export interface GalleryList {
|
|
51
|
+
$type?: 'app.bsky.unspecced.getAtmosphereExploreTab#galleryList';
|
|
52
|
+
items: GalleryItem[];
|
|
53
|
+
/** Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended. */
|
|
54
|
+
recIdStr?: string;
|
|
55
|
+
}
|
|
56
|
+
export declare function isGalleryList<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereExploreTab", "galleryList">;
|
|
57
|
+
export declare function validateGalleryList<V>(v: V): ValidationResult<GalleryList & V>;
|
|
58
|
+
export interface LivestreamList {
|
|
59
|
+
$type?: 'app.bsky.unspecced.getAtmosphereExploreTab#livestreamList';
|
|
60
|
+
items: LivestreamItem[];
|
|
61
|
+
/** Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended. */
|
|
62
|
+
recIdStr?: string;
|
|
63
|
+
}
|
|
64
|
+
export declare function isLivestreamList<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereExploreTab", "livestreamList">;
|
|
65
|
+
export declare function validateLivestreamList<V>(v: V): ValidationResult<LivestreamList & V>;
|
|
34
66
|
export interface ArticleItem {
|
|
35
67
|
$type?: 'app.bsky.unspecced.getAtmosphereExploreTab#articleItem';
|
|
36
68
|
featured: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAtmosphereExploreTab.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getAtmosphereExploreTab.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,oBAAoB,MAAM,sBAAsB,CAAA;AAMjE,MAAM,MAAM,WAAW,GAAG;IACxB,
|
|
1
|
+
{"version":3,"file":"getAtmosphereExploreTab.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getAtmosphereExploreTab.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,oBAAoB,MAAM,sBAAsB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E,MAAM,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAID,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+GAEhC;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,iCAEtC"}
|
|
@@ -11,6 +11,34 @@ const id = 'app.bsky.unspecced.getAtmosphereExploreTab';
|
|
|
11
11
|
export function toKnownErr(e) {
|
|
12
12
|
return e;
|
|
13
13
|
}
|
|
14
|
+
const hashArticleList = 'articleList';
|
|
15
|
+
export function isArticleList(v) {
|
|
16
|
+
return is$typed(v, id, hashArticleList);
|
|
17
|
+
}
|
|
18
|
+
export function validateArticleList(v) {
|
|
19
|
+
return validate(v, id, hashArticleList);
|
|
20
|
+
}
|
|
21
|
+
const hashPublicationList = 'publicationList';
|
|
22
|
+
export function isPublicationList(v) {
|
|
23
|
+
return is$typed(v, id, hashPublicationList);
|
|
24
|
+
}
|
|
25
|
+
export function validatePublicationList(v) {
|
|
26
|
+
return validate(v, id, hashPublicationList);
|
|
27
|
+
}
|
|
28
|
+
const hashGalleryList = 'galleryList';
|
|
29
|
+
export function isGalleryList(v) {
|
|
30
|
+
return is$typed(v, id, hashGalleryList);
|
|
31
|
+
}
|
|
32
|
+
export function validateGalleryList(v) {
|
|
33
|
+
return validate(v, id, hashGalleryList);
|
|
34
|
+
}
|
|
35
|
+
const hashLivestreamList = 'livestreamList';
|
|
36
|
+
export function isLivestreamList(v) {
|
|
37
|
+
return is$typed(v, id, hashLivestreamList);
|
|
38
|
+
}
|
|
39
|
+
export function validateLivestreamList(v) {
|
|
40
|
+
return validate(v, id, hashLivestreamList);
|
|
41
|
+
}
|
|
14
42
|
const hashArticleItem = 'articleItem';
|
|
15
43
|
export function isArticleItem(v) {
|
|
16
44
|
return is$typed(v, id, hashArticleItem);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAtmosphereExploreTab.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getAtmosphereExploreTab.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAG5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,4CAA4C,CAAA;AAgCvD,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AAQD,MAAM,eAAe,GAAG,aAAa,CAAA;AAErC,MAAM,UAAU,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AACzC,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAkB,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AAC1D,CAAC;AAQD,MAAM,mBAAmB,GAAG,iBAAiB,CAAA;AAE7C,MAAM,UAAU,iBAAiB,CAAI,CAAI;IACvC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,mBAAmB,CAAC,CAAA;AAC7C,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAI,CAAI;IAC7C,OAAO,QAAQ,CAAsB,CAAC,EAAE,EAAE,EAAE,mBAAmB,CAAC,CAAA;AAClE,CAAC;AAQD,MAAM,eAAe,GAAG,aAAa,CAAA;AAErC,MAAM,UAAU,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AACzC,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAkB,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AAC1D,CAAC;AAQD,MAAM,kBAAkB,GAAG,gBAAgB,CAAA;AAE3C,MAAM,UAAU,gBAAgB,CAAI,CAAI;IACtC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAA;AAC5C,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAqB,CAAC,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAA;AAChE,CAAC;AAaD,MAAM,sBAAsB,GAAG,oBAAoB,CAAA;AAEnD,MAAM,UAAU,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,sBAAsB,CAAC,CAAA;AAChD,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAI,CAAI;IAChD,OAAO,QAAQ,CAAyB,CAAC,EAAE,EAAE,EAAE,sBAAsB,CAAC,CAAA;AACxE,CAAC;AAeD,MAAM,WAAW,GAAG,SAAS,CAAA;AAE7B,MAAM,UAAU,SAAS,CAAI,CAAI;IAC/B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,WAAW,CAAC,CAAA;AACrC,CAAC;AAED,MAAM,UAAU,eAAe,CAAI,CAAI;IACrC,OAAO,QAAQ,CAAc,CAAC,EAAE,EAAE,EAAE,WAAW,CAAC,CAAA;AAClD,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as AppBskyEmbedExternal from '../embed/external.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getAtmosphereExploreTab'\n\nexport type QueryParams = {\n /** Preferred languages.
|
|
1
|
+
{"version":3,"file":"getAtmosphereExploreTab.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getAtmosphereExploreTab.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAG5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,4CAA4C,CAAA;AAgCvD,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AASD,MAAM,eAAe,GAAG,aAAa,CAAA;AAErC,MAAM,UAAU,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AACzC,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAkB,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AAC1D,CAAC;AASD,MAAM,mBAAmB,GAAG,iBAAiB,CAAA;AAE7C,MAAM,UAAU,iBAAiB,CAAI,CAAI;IACvC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,mBAAmB,CAAC,CAAA;AAC7C,CAAC;AAED,MAAM,UA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Ae,GAAG,aAAa,CAAA;AAErC,MAAM,UAAU,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AACzC,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAkB,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AAC1D,CAAC;AAQD,MAAM,kBAAkB,GAAG,gBAAgB,CAAA;AAE3C,MAAM,UAAU,gBAAgB,CAAI,CAAI;IACtC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAA;AAC5C,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAqB,CAAC,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAA;AAChE,CAAC;AAaD,MAAM,sBAAsB,GAAG,oBAAoB,CAAA;AAEnD,MAAM,UAAU,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,sBAAsB,CAAC,CAAA;AAChD,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAI,CAAI;IAChD,OAAO,QAAQ,CAAyB,CAAC,EAAE,EAAE,EAAE,sBAAsB,CAAC,CAAA;AACxE,CAAC;AAeD,MAAM,WAAW,GAAG,SAAS,CAAA;AAE7B,MAAM,UAAU,SAAS,CAAI,CAAI;IAC/B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,WAAW,CAAC,CAAA;AACrC,CAAC;AAED,MAAM,UAAU,eAAe,CAAI,CAAI;IACrC,OAAO,QAAQ,CAAc,CAAC,EAAE,EAAE,EAAE,WAAW,CAAC,CAAA;AAClD,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as AppBskyEmbedExternal from '../embed/external.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getAtmosphereExploreTab'\n\nexport type QueryParams = {\n /** Preferred languages for article recommendations when algorithmic recommendations are enabled. Ignored otherwise. */\n langs?: string[]\n /** The ISO 3166-1 alpha-2 country code used to select curated content. */\n countryCode?: string\n /** The ISO 3166-2 region code used to select curated content. */\n regionCode?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n announcementBanner?: AnnouncementBanner\n articles: ArticleList\n publications: PublicationList\n photos: GalleryList\n livestreams: LivestreamList\n apps: AppCard[]\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n\nexport interface ArticleList {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#articleList'\n items: ArticleItem[]\n /** Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended. */\n recIdStr?: string\n}\n\nconst hashArticleList = 'articleList'\n\nexport function isArticleList<V>(v: V) {\n return is$typed(v, id, hashArticleList)\n}\n\nexport function validateArticleList<V>(v: V) {\n return validate<ArticleList & V>(v, id, hashArticleList)\n}\n\nexport interface PublicationList {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#publicationList'\n items: PublicationItem[]\n /** Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended. */\n recIdStr?: string\n}\n\nconst hashPublicationList = 'publicationList'\n\nexport function isPublicationList<V>(v: V) {\n return is$typed(v, id, hashPublicationList)\n}\n\nexport function validatePublicationList<V>(v: V) {\n return validate<PublicationList & V>(v, id, hashPublicationList)\n}\n\nexport interface GalleryList {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#galleryList'\n items: GalleryItem[]\n /** Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended. */\n recIdStr?: string\n}\n\nconst hashGalleryList = 'galleryList'\n\nexport function isGalleryList<V>(v: V) {\n return is$typed(v, id, hashGalleryList)\n}\n\nexport function validateGalleryList<V>(v: V) {\n return validate<GalleryList & V>(v, id, hashGalleryList)\n}\n\nexport interface LivestreamList {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#livestreamList'\n items: LivestreamItem[]\n /** Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended. */\n recIdStr?: string\n}\n\nconst hashLivestreamList = 'livestreamList'\n\nexport function isLivestreamList<V>(v: V) {\n return is$typed(v, id, hashLivestreamList)\n}\n\nexport function validateLivestreamList<V>(v: V) {\n return validate<LivestreamList & V>(v, id, hashLivestreamList)\n}\n\nexport interface ArticleItem {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#articleItem'\n featured: boolean\n view: AppBskyEmbedExternal.ViewArticle\n}\n\nconst hashArticleItem = 'articleItem'\n\nexport function isArticleItem<V>(v: V) {\n return is$typed(v, id, hashArticleItem)\n}\n\nexport function validateArticleItem<V>(v: V) {\n return validate<ArticleItem & V>(v, id, hashArticleItem)\n}\n\nexport interface PublicationItem {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#publicationItem'\n featured: boolean\n view: AppBskyEmbedExternal.ViewArticlePublication\n}\n\nconst hashPublicationItem = 'publicationItem'\n\nexport function isPublicationItem<V>(v: V) {\n return is$typed(v, id, hashPublicationItem)\n}\n\nexport function validatePublicationItem<V>(v: V) {\n return validate<PublicationItem & V>(v, id, hashPublicationItem)\n}\n\nexport interface GalleryItem {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#galleryItem'\n featured: boolean\n view: AppBskyEmbedExternal.ViewGallery\n}\n\nconst hashGalleryItem = 'galleryItem'\n\nexport function isGalleryItem<V>(v: V) {\n return is$typed(v, id, hashGalleryItem)\n}\n\nexport function validateGalleryItem<V>(v: V) {\n return validate<GalleryItem & V>(v, id, hashGalleryItem)\n}\n\nexport interface LivestreamItem {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#livestreamItem'\n featured: boolean\n view: AppBskyEmbedExternal.ViewLivestream\n}\n\nconst hashLivestreamItem = 'livestreamItem'\n\nexport function isLivestreamItem<V>(v: V) {\n return is$typed(v, id, hashLivestreamItem)\n}\n\nexport function validateLivestreamItem<V>(v: V) {\n return validate<LivestreamItem & V>(v, id, hashLivestreamItem)\n}\n\nexport interface AnnouncementBanner {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#announcementBanner'\n id?: string\n title?: string\n description?: string\n url?: string\n image?: string\n overlayColor?: string\n textColor?: string\n}\n\nconst hashAnnouncementBanner = 'announcementBanner'\n\nexport function isAnnouncementBanner<V>(v: V) {\n return is$typed(v, id, hashAnnouncementBanner)\n}\n\nexport function validateAnnouncementBanner<V>(v: V) {\n return validate<AnnouncementBanner & V>(v, id, hashAnnouncementBanner)\n}\n\nexport interface AppCard {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#appCard'\n id?: string\n title?: string\n description?: string\n logo?: string\n backgroundImage?: string\n overlayColor?: string\n textColor?: string\n url?: string\n category?: string\n}\n\nconst hashAppCard = 'appCard'\n\nexport function isAppCard<V>(v: V) {\n return is$typed(v, id, hashAppCard)\n}\n\nexport function validateAppCard<V>(v: V) {\n return validate<AppCard & V>(v, id, hashAppCard)\n}\n"]}
|
|
@@ -45,17 +45,37 @@ export interface QueueStats {
|
|
|
45
45
|
closureTargetMissedCount?: number;
|
|
46
46
|
/** Percent of reports meeting their closure target. */
|
|
47
47
|
closureTargetMetRate?: number;
|
|
48
|
-
/** Number of reports
|
|
48
|
+
/** Number of reports whose current closure falls within this UTC calendar day. */
|
|
49
|
+
closedCount?: number;
|
|
50
|
+
/** Number of closures whose last report action is label, tag, or takedown. */
|
|
49
51
|
actionedCount?: number;
|
|
50
|
-
/** Number of
|
|
52
|
+
/** Number of closures whose last report action is not label, tag, or takedown. */
|
|
53
|
+
acknowledgedCount?: number;
|
|
54
|
+
/** Number of report escalation events during this UTC calendar day. */
|
|
51
55
|
escalatedCount?: number;
|
|
52
|
-
/** Reports received in this queue
|
|
56
|
+
/** Reports received in this queue during this UTC calendar day. */
|
|
53
57
|
inboundCount?: number;
|
|
54
|
-
/**
|
|
58
|
+
/** Closures whose last report action is a label event. */
|
|
59
|
+
labelActionCount?: number;
|
|
60
|
+
/** Closures whose last report action is a tag event. */
|
|
61
|
+
tagActionCount?: number;
|
|
62
|
+
/** Closures whose last report action is a takedown event. */
|
|
63
|
+
takedownActionCount?: number;
|
|
64
|
+
/** Sum of report assignment-to-close seconds. */
|
|
65
|
+
ahtDurationSec?: number;
|
|
66
|
+
/** Number of assigned closed-report samples in ahtDurationSec. */
|
|
67
|
+
ahtSampleCount?: number;
|
|
68
|
+
/** Sum of report creation-to-close seconds. */
|
|
69
|
+
resolutionDurationSec?: number;
|
|
70
|
+
/** Number of closed-report samples in resolutionDurationSec. */
|
|
71
|
+
resolutionSampleCount?: number;
|
|
72
|
+
/** Percentage of closures actioned (actionedCount / closedCount * 100), rounded to nearest integer. */
|
|
55
73
|
actionRate?: number;
|
|
56
|
-
/** Average time in seconds from report
|
|
74
|
+
/** Average handling time in seconds from report assignment to close. */
|
|
57
75
|
avgHandlingTimeSec?: number;
|
|
58
|
-
/**
|
|
76
|
+
/** Average resolution time in seconds from report creation to close. */
|
|
77
|
+
avgResolutionTimeSec?: number;
|
|
78
|
+
/** When these statistics were last computed. */
|
|
59
79
|
lastUpdated?: string;
|
|
60
80
|
}
|
|
61
81
|
export declare function isQueueStats<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "tools.ozone.queue.defs", "queueStats">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/queue/defs.ts"],"names":[],"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,UAAU,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAqB,CAAC,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAA;AAChE,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as ToolsOzoneTeamDefs from '../team/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.queue.defs'\n\nexport interface QueueView {\n $type?: 'tools.ozone.queue.defs#queueView'\n /** Queue ID */\n id: number\n /** Display name of the queue */\n name: string\n /** Subject types this queue accepts. */\n subjectTypes?: (\n 'account' | 'record' | 'message' | 'conversation' | (string & {})\n )[]\n /** Collection name for record subjects (e.g., 'app.bsky.feed.post') */\n collection?: string\n /** Report reason types this queue accepts (fully qualified NSIDs) */\n reportTypes?: string[]\n /** Optional description of the queue */\n description?: string\n /** Policy keys recommended when actioning reports in this queue */\n recommendedPolicies?: string[]\n /** Labels recommended for this queue and used as a fallback when routing label appeals */\n recommendedLabels?: string[]\n /** DID of moderator who created this queue */\n createdBy: string\n createdAt: string\n updatedAt: string\n /** Whether this queue is currently active */\n enabled: boolean\n /** When the queue was deleted, if applicable */\n deletedAt?: string\n stats: QueueStats\n}\n\nconst hashQueueView = 'queueView'\n\nexport function isQueueView<V>(v: V) {\n return is$typed(v, id, hashQueueView)\n}\n\nexport function validateQueueView<V>(v: V) {\n return validate<QueueView & V>(v, id, hashQueueView)\n}\n\nexport interface QueueStats {\n $type?: 'tools.ozone.queue.defs#queueStats'\n /** Number of unmuted reports currently not closed. */\n pendingCount?: number\n /** Unmuted pending reports past their closure target. */\n closureTargetOverdueCount?: number\n /** Reports whose closure meets their closure target. */\n closureTargetMetCount?: number\n /** Reports whose closure exceeds their closure target. */\n closureTargetMissedCount?: number\n /** Percent of reports meeting their closure target. */\n closureTargetMetRate?: number\n /** Number of reports whose current closure falls within this UTC calendar day. */\n closedCount?: number\n /** Number of closures whose last report action is label, tag, or takedown. */\n actionedCount?: number\n /** Number of closures whose last report action is not label, tag, or takedown. */\n acknowledgedCount?: number\n /** Number of report escalation events during this UTC calendar day. */\n escalatedCount?: number\n /** Reports received in this queue during this UTC calendar day. */\n inboundCount?: number\n /** Closures whose last report action is a label event. */\n labelActionCount?: number\n /** Closures whose last report action is a tag event. */\n tagActionCount?: number\n /** Closures whose last report action is a takedown event. */\n takedownActionCount?: number\n /** Sum of report assignment-to-close seconds. */\n ahtDurationSec?: number\n /** Number of assigned closed-report samples in ahtDurationSec. */\n ahtSampleCount?: number\n /** Sum of report creation-to-close seconds. */\n resolutionDurationSec?: number\n /** Number of closed-report samples in resolutionDurationSec. */\n resolutionSampleCount?: number\n /** Percentage of closures actioned (actionedCount / closedCount * 100), rounded to nearest integer. */\n actionRate?: number\n /** Average handling time in seconds from report assignment to close. */\n avgHandlingTimeSec?: number\n /** Average resolution time in seconds from report creation to close. */\n avgResolutionTimeSec?: number\n /** When these statistics were last computed. */\n lastUpdated?: string\n}\n\nconst hashQueueStats = 'queueStats'\n\nexport function isQueueStats<V>(v: V) {\n return is$typed(v, id, hashQueueStats)\n}\n\nexport function validateQueueStats<V>(v: V) {\n return validate<QueueStats & V>(v, id, hashQueueStats)\n}\n\nexport interface AssignmentView {\n $type?: 'tools.ozone.queue.defs#assignmentView'\n id: number\n did: string\n moderator?: ToolsOzoneTeamDefs.Member\n queue: QueueView\n startAt: string\n endAt?: string\n}\n\nconst hashAssignmentView = 'assignmentView'\n\nexport function isAssignmentView<V>(v: V) {\n return is$typed(v, id, hashAssignmentView)\n}\n\nexport function validateAssignmentView<V>(v: V) {\n return validate<AssignmentView & V>(v, id, hashAssignmentView)\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Client library for atproto and Bluesky",
|
|
6
6
|
"keywords": [
|
|
@@ -35,22 +35,28 @@
|
|
|
35
35
|
"multiformats": "^13.0.0",
|
|
36
36
|
"tlds": "^1.234.0",
|
|
37
37
|
"zod": "^3.23.8",
|
|
38
|
-
"@atproto/lexicon": "^0.7.
|
|
39
|
-
"@atproto/
|
|
40
|
-
"@atproto/
|
|
41
|
-
"@atproto/xrpc": "^0.8.
|
|
38
|
+
"@atproto/lexicon": "^0.7.17",
|
|
39
|
+
"@atproto/common-web": "^0.5.15",
|
|
40
|
+
"@atproto/syntax": "^0.7.7",
|
|
41
|
+
"@atproto/xrpc": "^0.8.16"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@jest/globals": "^28.1.3",
|
|
45
45
|
"http-terminator": "^3.2.0",
|
|
46
46
|
"jest": "^30.5.2",
|
|
47
47
|
"prettier": "^3.9.6",
|
|
48
|
-
"@atproto/lex-
|
|
48
|
+
"@atproto/lex-installer": "^0.2.0",
|
|
49
|
+
"@atproto/lex-cli": "^0.10.16"
|
|
49
50
|
},
|
|
50
51
|
"scripts": {
|
|
51
|
-
"
|
|
52
|
+
"lex:gen": "if [ ! -f ./src/client/index.ts ] || [ -n \"$(find -L ./lexicons -type f -newer ./src/client/index.ts -print -quit)\" ]; then lex gen-api --yes ./src/client ./lexicons/com/atproto/*/* ./lexicons/app/bsky/*/* ./lexicons/chat/bsky/*/* ./lexicons/tools/ozone/*/* ./lexicons/com/germnetwork/*; fi",
|
|
53
|
+
"lex:install": "lex-installer install",
|
|
54
|
+
"postlex:install": "pnpm run lex:gen",
|
|
55
|
+
"lex:update": "lex-installer update",
|
|
56
|
+
"postlex:update": "pnpm run lex:gen",
|
|
57
|
+
"codegen:lex": "pnpm run lex:install --ci",
|
|
52
58
|
"codegen:code": "node ./scripts/generate-code.js",
|
|
53
|
-
"prebuild": "pnpm run codegen
|
|
59
|
+
"prebuild": "pnpm run '/^(codegen:.+)$/'",
|
|
54
60
|
"build": "tsc --build tsconfig.build.json",
|
|
55
61
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
|
|
56
62
|
}
|