@atproto/api 0.24.2 → 0.25.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/client/index.d.ts +31 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +40 -0
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +1539 -77
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +760 -13
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/actor/defs.d.ts +15 -0
  11. package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/actor/defs.js +7 -0
  13. package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
  14. package/dist/client/types/app/bsky/actor/link.d.ts +19 -0
  15. package/dist/client/types/app/bsky/actor/link.d.ts.map +1 -0
  16. package/dist/client/types/app/bsky/actor/link.js +18 -0
  17. package/dist/client/types/app/bsky/actor/link.js.map +1 -0
  18. package/dist/client/types/app/bsky/actor/profile.d.ts +2 -0
  19. package/dist/client/types/app/bsky/actor/profile.d.ts.map +1 -1
  20. package/dist/client/types/app/bsky/actor/profile.js.map +1 -1
  21. package/dist/client/types/app/bsky/embed/external.d.ts +103 -0
  22. package/dist/client/types/app/bsky/embed/external.d.ts.map +1 -1
  23. package/dist/client/types/app/bsky/embed/external.js +42 -0
  24. package/dist/client/types/app/bsky/embed/external.js.map +1 -1
  25. package/dist/client/types/app/bsky/embed/getEmbedExternalView.d.ts +15 -4
  26. package/dist/client/types/app/bsky/embed/getEmbedExternalView.d.ts.map +1 -1
  27. package/dist/client/types/app/bsky/embed/getEmbedExternalView.js.map +1 -1
  28. package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts +49 -2
  29. package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts.map +1 -1
  30. package/dist/client/types/app/bsky/notification/getGroupedNotifications.js +42 -0
  31. package/dist/client/types/app/bsky/notification/getGroupedNotifications.js.map +1 -1
  32. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +88 -0
  33. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -0
  34. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js +56 -0
  35. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -0
  36. package/package.json +3 -3
@@ -2,22 +2,33 @@
2
2
  * GENERATED CODE - DO NOT MODIFY
3
3
  */
4
4
  import { type HeadersMap } from '@atproto/xrpc';
5
+ import { type $Typed } from '../../../../util.js';
5
6
  import type * as AppBskyEmbedExternal from './external.js';
6
7
  import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
7
8
  export type QueryParams = {
8
- /** The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`. May be used for validation in the future. */
9
+ /** The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`, and validated against the resolved records. */
9
10
  url: string;
10
- /** AT-URIs of any Atmosphere records that can be resolved and used to construct #externalView views. Example: a site.standard.document and optionally its associated site.standard.publication. */
11
- uris: string[];
11
+ /** The canonical AT URI of the atproto record found on the webpage. When provided, takes precedence over `uris`, which is then ignored. */
12
+ canonicalUri?: string;
13
+ /** Legacy input for Standard.site callers, ignored when `canonicalUri` is provided. A single record is selected from it: the first site.standard.document URI, otherwise the first site.standard.publication URI. Other entries are ignored; a document's publication is discovered from the document itself. */
14
+ uris?: string[];
12
15
  };
13
16
  export type InputSchema = undefined;
14
17
  export interface OutputSchema {
15
18
  view?: AppBskyEmbedExternal.View;
16
- /** StrongRefs (URI+CID) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs. */
19
+ data?: $Typed<AppBskyEmbedExternal.ViewArticle> | $Typed<AppBskyEmbedExternal.ViewArticlePublication> | $Typed<AppBskyEmbedExternal.ViewGallery> | $Typed<AppBskyEmbedExternal.ViewLivestream> | {
20
+ $type: string;
21
+ };
22
+ /** StrongRefs (URI+CID) of the Atmosphere records selected for persistence in a post, suitable for embedding into its external.associatedRefs: the canonical record, plus only the additional records the service chooses to persist for its collection. This can be a subset of the records used to render `data`, which may also draw on other hydrated records such as recommendations, subscriptions, or favorites. Present only when validation passed. Index-aligned with `associatedRecords`. */
17
23
  associatedRefs?: ComAtprotoRepoStrongRef.Main[];
18
24
  associatedRecords?: {
19
25
  [_ in string]: unknown;
20
26
  }[];
27
+ /** StrongRefs (URI+CID) of the same persistence-selected Atmosphere records (the canonical record plus chosen additional records) when validation of the requested `url` failed. These must not be written to a post. Index-aligned with `unverifiedAssociatedRecords`. */
28
+ unverifiedAssociatedRefs?: ComAtprotoRepoStrongRef.Main[];
29
+ unverifiedAssociatedRecords?: {
30
+ [_ in string]: unknown;
31
+ }[];
21
32
  }
22
33
  export interface CallOptions {
23
34
  signal?: AbortSignal;
@@ -1 +1 @@
1
- {"version":3,"file":"getEmbedExternalView.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/embed/getEmbedExternalView.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAS1D,OAAO,KAAK,KAAK,oBAAoB,MAAM,eAAe,CAAA;AAC1D,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,MAAM,WAAW,GAAG;IACxB,qLAAqL;IACrL,GAAG,EAAE,MAAM,CAAA;IACX,mMAAmM;IACnM,IAAI,EAAE,MAAM,EAAE,CAAA;CACf,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,oBAAoB,CAAC,IAAI,CAAA;IAChC,0IAA0I;IAC1I,cAAc,CAAC,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAA;IAC/C,iBAAiB,CAAC,EAAE;SAAG,CAAC,IAAI,MAAM,GAAG,OAAO;KAAE,EAAE,CAAA;CACjD;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"}
1
+ {"version":3,"file":"getEmbedExternalView.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/embed/getEmbedExternalView.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAI1D,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,KAAK,oBAAoB,MAAM,eAAe,CAAA;AAC1D,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,MAAM,WAAW,GAAG;IACxB,uLAAuL;IACvL,GAAG,EAAE,MAAM,CAAA;IACX,2IAA2I;IAC3I,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,iTAAiT;IACjT,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,oBAAoB,CAAC,IAAI,CAAA;IAChC,IAAI,CAAC,EACD,MAAM,CAAC,oBAAoB,CAAC,WAAW,CAAC,GACxC,MAAM,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GACnD,MAAM,CAAC,oBAAoB,CAAC,WAAW,CAAC,GACxC,MAAM,CAAC,oBAAoB,CAAC,cAAc,CAAC,GAC3C;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,weAAwe;IACxe,cAAc,CAAC,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAA;IAC/C,iBAAiB,CAAC,EAAE;SAAG,CAAC,IAAI,MAAM,GAAG,OAAO;KAAE,EAAE,CAAA;IAChD,2QAA2Q;IAC3Q,wBAAwB,CAAC,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAA;IACzD,2BAA2B,CAAC,EAAE;SAAG,CAAC,IAAI,MAAM,GAAG,OAAO;KAAE,EAAE,CAAA;CAC3D;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"}
@@ -1 +1 @@
1
- {"version":3,"file":"getEmbedExternalView.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/embed/getEmbedExternalView.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;AAI5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,qCAAqC,CAAA;AA4BhD,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,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 './external.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.embed.getEmbedExternalView'\n\nexport type QueryParams = {\n /** The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`. May be used for validation in the future. */\n url: string\n /** AT-URIs of any Atmosphere records that can be resolved and used to construct #externalView views. Example: a site.standard.document and optionally its associated site.standard.publication. */\n uris: string[]\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n view?: AppBskyEmbedExternal.View\n /** StrongRefs (URI+CID) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs. */\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n associatedRecords?: { [_ in string]: unknown }[]\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"]}
1
+ {"version":3,"file":"getEmbedExternalView.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/embed/getEmbedExternalView.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;AAI5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,qCAAqC,CAAA;AAuChD,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,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 './external.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.embed.getEmbedExternalView'\n\nexport type QueryParams = {\n /** The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`, and validated against the resolved records. */\n url: string\n /** The canonical AT URI of the atproto record found on the webpage. When provided, takes precedence over `uris`, which is then ignored. */\n canonicalUri?: string\n /** Legacy input for Standard.site callers, ignored when `canonicalUri` is provided. A single record is selected from it: the first site.standard.document URI, otherwise the first site.standard.publication URI. Other entries are ignored; a document's publication is discovered from the document itself. */\n uris?: string[]\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n view?: AppBskyEmbedExternal.View\n data?:\n | $Typed<AppBskyEmbedExternal.ViewArticle>\n | $Typed<AppBskyEmbedExternal.ViewArticlePublication>\n | $Typed<AppBskyEmbedExternal.ViewGallery>\n | $Typed<AppBskyEmbedExternal.ViewLivestream>\n | { $type: string }\n /** StrongRefs (URI+CID) of the Atmosphere records selected for persistence in a post, suitable for embedding into its external.associatedRefs: the canonical record, plus only the additional records the service chooses to persist for its collection. This can be a subset of the records used to render `data`, which may also draw on other hydrated records such as recommendations, subscriptions, or favorites. Present only when validation passed. Index-aligned with `associatedRecords`. */\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n associatedRecords?: { [_ in string]: unknown }[]\n /** StrongRefs (URI+CID) of the same persistence-selected Atmosphere records (the canonical record plus chosen additional records) when validation of the requested `url` failed. These must not be written to a post. Index-aligned with `unverifiedAssociatedRecords`. */\n unverifiedAssociatedRefs?: ComAtprotoRepoStrongRef.Main[]\n unverifiedAssociatedRecords?: { [_ in string]: unknown }[]\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"]}
@@ -21,7 +21,7 @@ export interface OutputSchema {
21
21
  groups: Group[];
22
22
  seenAt?: string;
23
23
  /** 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. */
24
- relatedViews?: ($Typed<AppBskyActorDefs.ProfileViewDetailed> | $Typed<AppBskyFeedDefs.BlockedPost> | $Typed<AppBskyFeedDefs.GeneratorView> | $Typed<AppBskyFeedDefs.NotFoundPost> | $Typed<AppBskyFeedDefs.PostView> | $Typed<AppBskyGraphDefs.StarterPackView> | {
24
+ relatedViews?: ($Typed<AppBskyActorDefs.ProfileViewBasic> | $Typed<AppBskyFeedDefs.BlockedPost> | $Typed<AppBskyFeedDefs.GeneratorView> | $Typed<AppBskyFeedDefs.NotFoundPost> | $Typed<AppBskyFeedDefs.PostView> | $Typed<AppBskyGraphDefs.StarterPackViewBasic> | {
25
25
  $type: string;
26
26
  })[];
27
27
  }
@@ -42,7 +42,7 @@ export interface Group {
42
42
  isRead: boolean;
43
43
  indexedAt: string;
44
44
  count: number;
45
- kind: $Typed<LikeGroup> | $Typed<MultiPostLikeGroup> | $Typed<RepostGroup> | $Typed<LikeViaRepostGroup> | $Typed<RepostViaRepostGroup> | $Typed<FollowGroup> | $Typed<SubscribedPostGroup> | $Typed<GeneratorLikeGroup> | $Typed<ReplyNotification> | $Typed<QuoteNotification> | $Typed<MentionNotification> | $Typed<FollowBackNotification> | $Typed<VerifiedNotification> | $Typed<UnverifiedNotification> | $Typed<StarterPackJoinedNotification> | $Typed<ContactMatchNotification> | {
45
+ kind: $Typed<LikeGroup> | $Typed<MultiPostLikeGroup> | $Typed<MultiPostRepostGroup> | $Typed<MultiPostLikeViaRepostGroup> | $Typed<MultiPostRepostViaRepostGroup> | $Typed<RepostGroup> | $Typed<LikeViaRepostGroup> | $Typed<RepostViaRepostGroup> | $Typed<FollowGroup> | $Typed<SubscribedPostGroup> | $Typed<GeneratorLikeGroup> | $Typed<ReplyNotification> | $Typed<QuoteNotification> | $Typed<MentionNotification> | $Typed<FollowBackNotification> | $Typed<VerifiedNotification> | $Typed<UnverifiedNotification> | $Typed<StarterPackJoinedNotification> | $Typed<ContactMatchNotification> | {
46
46
  $type: string;
47
47
  };
48
48
  }
@@ -78,6 +78,53 @@ export interface MultiPostLikeItem {
78
78
  }
79
79
  export declare function isMultiPostLikeItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "multiPostLikeItem">;
80
80
  export declare function validateMultiPostLikeItem<V>(v: V): ValidationResult<MultiPostLikeItem & V>;
81
+ /** Group of reposts by the same actor of different posts. */
82
+ export interface MultiPostRepostGroup {
83
+ $type?: 'app.bsky.notification.getGroupedNotifications#multiPostRepostGroup';
84
+ actor: string;
85
+ items: MultiPostRepostItem[];
86
+ }
87
+ export declare function isMultiPostRepostGroup<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "multiPostRepostGroup">;
88
+ export declare function validateMultiPostRepostGroup<V>(v: V): ValidationResult<MultiPostRepostGroup & V>;
89
+ /** One post which was reposted by the group's actor. */
90
+ export interface MultiPostRepostItem {
91
+ $type?: 'app.bsky.notification.getGroupedNotifications#multiPostRepostItem';
92
+ post: string;
93
+ }
94
+ export declare function isMultiPostRepostItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "multiPostRepostItem">;
95
+ export declare function validateMultiPostRepostItem<V>(v: V): ValidationResult<MultiPostRepostItem & V>;
96
+ /** Group of likes by the same actor on different posts via the requesting account's reposts. */
97
+ export interface MultiPostLikeViaRepostGroup {
98
+ $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeViaRepostGroup';
99
+ actor: string;
100
+ items: MultiPostLikeViaRepostItem[];
101
+ }
102
+ export declare function isMultiPostLikeViaRepostGroup<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "multiPostLikeViaRepostGroup">;
103
+ export declare function validateMultiPostLikeViaRepostGroup<V>(v: V): ValidationResult<MultiPostLikeViaRepostGroup & V>;
104
+ /** One post which was liked by the group's actor via the requesting account's repost. */
105
+ export interface MultiPostLikeViaRepostItem {
106
+ $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeViaRepostItem';
107
+ post: string;
108
+ viaRepost: string;
109
+ }
110
+ export declare function isMultiPostLikeViaRepostItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "multiPostLikeViaRepostItem">;
111
+ export declare function validateMultiPostLikeViaRepostItem<V>(v: V): ValidationResult<MultiPostLikeViaRepostItem & V>;
112
+ /** Group of reposts by the same actor of different posts via the requesting account's reposts. */
113
+ export interface MultiPostRepostViaRepostGroup {
114
+ $type?: 'app.bsky.notification.getGroupedNotifications#multiPostRepostViaRepostGroup';
115
+ actor: string;
116
+ items: MultiPostRepostViaRepostItem[];
117
+ }
118
+ export declare function isMultiPostRepostViaRepostGroup<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "multiPostRepostViaRepostGroup">;
119
+ export declare function validateMultiPostRepostViaRepostGroup<V>(v: V): ValidationResult<MultiPostRepostViaRepostGroup & V>;
120
+ /** One post which was reposted by the group's actor via the requesting account's repost. */
121
+ export interface MultiPostRepostViaRepostItem {
122
+ $type?: 'app.bsky.notification.getGroupedNotifications#multiPostRepostViaRepostItem';
123
+ post: string;
124
+ viaRepost: string;
125
+ }
126
+ export declare function isMultiPostRepostViaRepostItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "multiPostRepostViaRepostItem">;
127
+ export declare function validateMultiPostRepostViaRepostItem<V>(v: V): ValidationResult<MultiPostRepostViaRepostItem & V>;
81
128
  /** Group of reposts by different actors of the same post. */
82
129
  export interface RepostGroup {
83
130
  $type?: 'app.bsky.notification.getGroupedNotifications#repostGroup';
@@ -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,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AsE,CAAA;IAC9E,KAAK,EAAE,MAAM,CAAA;CACd;AAID,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,iIAE/C;AAED,wBAAgB,8BAA8B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gDAErD;AAED,oFAAoF;AACpF,MAAM,WAAW,6BAA6B;IAC5C,KAAK,CAAC,EAAE,6EAA6E,CAAA;IACrF,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;CACpB;AAID,wBAAgB,+BAA+B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wIAEtD;AAED,wBAAgB,qCAAqC,CAAC,CAAC,EAAE,CAAC,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
+ {"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,i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,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"}
@@ -46,6 +46,48 @@ export function isMultiPostLikeItem(v) {
46
46
  export function validateMultiPostLikeItem(v) {
47
47
  return validate(v, id, hashMultiPostLikeItem);
48
48
  }
49
+ const hashMultiPostRepostGroup = 'multiPostRepostGroup';
50
+ export function isMultiPostRepostGroup(v) {
51
+ return is$typed(v, id, hashMultiPostRepostGroup);
52
+ }
53
+ export function validateMultiPostRepostGroup(v) {
54
+ return validate(v, id, hashMultiPostRepostGroup);
55
+ }
56
+ const hashMultiPostRepostItem = 'multiPostRepostItem';
57
+ export function isMultiPostRepostItem(v) {
58
+ return is$typed(v, id, hashMultiPostRepostItem);
59
+ }
60
+ export function validateMultiPostRepostItem(v) {
61
+ return validate(v, id, hashMultiPostRepostItem);
62
+ }
63
+ const hashMultiPostLikeViaRepostGroup = 'multiPostLikeViaRepostGroup';
64
+ export function isMultiPostLikeViaRepostGroup(v) {
65
+ return is$typed(v, id, hashMultiPostLikeViaRepostGroup);
66
+ }
67
+ export function validateMultiPostLikeViaRepostGroup(v) {
68
+ return validate(v, id, hashMultiPostLikeViaRepostGroup);
69
+ }
70
+ const hashMultiPostLikeViaRepostItem = 'multiPostLikeViaRepostItem';
71
+ export function isMultiPostLikeViaRepostItem(v) {
72
+ return is$typed(v, id, hashMultiPostLikeViaRepostItem);
73
+ }
74
+ export function validateMultiPostLikeViaRepostItem(v) {
75
+ return validate(v, id, hashMultiPostLikeViaRepostItem);
76
+ }
77
+ const hashMultiPostRepostViaRepostGroup = 'multiPostRepostViaRepostGroup';
78
+ export function isMultiPostRepostViaRepostGroup(v) {
79
+ return is$typed(v, id, hashMultiPostRepostViaRepostGroup);
80
+ }
81
+ export function validateMultiPostRepostViaRepostGroup(v) {
82
+ return validate(v, id, hashMultiPostRepostViaRepostGroup);
83
+ }
84
+ const hashMultiPostRepostViaRepostItem = 'multiPostRepostViaRepostItem';
85
+ export function isMultiPostRepostViaRepostItem(v) {
86
+ return is$typed(v, id, hashMultiPostRepostViaRepostItem);
87
+ }
88
+ export function validateMultiPostRepostViaRepostItem(v) {
89
+ return validate(v, id, hashMultiPostRepostViaRepostItem);
90
+ }
49
91
  const hashRepostGroup = 'repostGroup';
50
92
  export function isRepostGroup(v) {
51
93
  return is$typed(v, id, hashRepostGroup);
@@ -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;AA6BD,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,E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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.ProfileViewDetailed>\n | $Typed<AppBskyFeedDefs.BlockedPost>\n | $Typed<AppBskyFeedDefs.GeneratorView>\n | $Typed<AppBskyFeedDefs.NotFoundPost>\n | $Typed<AppBskyFeedDefs.PostView>\n | $Typed<AppBskyGraphDefs.StarterPackView>\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<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 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;AAgCD,MAAM,SAAS,GAAG,OAAO,CAAA;AAEzB,MAAM,UAAU,OAAO,CAAI,CAAI;IAC7B,OAAO,QAAQ,CAAC,CA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} 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"]}
@@ -0,0 +1,88 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type HeadersMap } from '@atproto/xrpc';
5
+ import { type ValidationResult } from '@atproto/lexicon';
6
+ import type * as AppBskyEmbedExternal from '../embed/external.js';
7
+ export type QueryParams = {
8
+ /** Preferred languages. Currently ignored. */
9
+ langs?: string[];
10
+ /** The ISO 3166-1 alpha-2 country code used to select curated content. */
11
+ countryCode?: string;
12
+ /** The ISO 3166-2 region code used to select curated content. */
13
+ regionCode?: string;
14
+ };
15
+ export type InputSchema = undefined;
16
+ export interface OutputSchema {
17
+ announcementBanner?: AnnouncementBanner;
18
+ articles: ArticleItem[];
19
+ publications: PublicationItem[];
20
+ photos: GalleryItem[];
21
+ livestreams: LivestreamItem[];
22
+ apps: AppCard[];
23
+ }
24
+ export interface CallOptions {
25
+ signal?: AbortSignal;
26
+ headers?: HeadersMap;
27
+ }
28
+ export interface Response {
29
+ success: boolean;
30
+ headers: HeadersMap;
31
+ data: OutputSchema;
32
+ }
33
+ export declare function toKnownErr(e: any): any;
34
+ export interface ArticleItem {
35
+ $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#articleItem';
36
+ featured: boolean;
37
+ view: AppBskyEmbedExternal.ViewArticle;
38
+ }
39
+ export declare function isArticleItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereExploreTab", "articleItem">;
40
+ export declare function validateArticleItem<V>(v: V): ValidationResult<ArticleItem & V>;
41
+ export interface PublicationItem {
42
+ $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#publicationItem';
43
+ featured: boolean;
44
+ view: AppBskyEmbedExternal.ViewArticlePublication;
45
+ }
46
+ export declare function isPublicationItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereExploreTab", "publicationItem">;
47
+ export declare function validatePublicationItem<V>(v: V): ValidationResult<PublicationItem & V>;
48
+ export interface GalleryItem {
49
+ $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#galleryItem';
50
+ featured: boolean;
51
+ view: AppBskyEmbedExternal.ViewGallery;
52
+ }
53
+ export declare function isGalleryItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereExploreTab", "galleryItem">;
54
+ export declare function validateGalleryItem<V>(v: V): ValidationResult<GalleryItem & V>;
55
+ export interface LivestreamItem {
56
+ $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#livestreamItem';
57
+ featured: boolean;
58
+ view: AppBskyEmbedExternal.ViewLivestream;
59
+ }
60
+ export declare function isLivestreamItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereExploreTab", "livestreamItem">;
61
+ export declare function validateLivestreamItem<V>(v: V): ValidationResult<LivestreamItem & V>;
62
+ export interface AnnouncementBanner {
63
+ $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#announcementBanner';
64
+ id?: string;
65
+ title?: string;
66
+ description?: string;
67
+ url?: string;
68
+ image?: string;
69
+ overlayColor?: string;
70
+ textColor?: string;
71
+ }
72
+ export declare function isAnnouncementBanner<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereExploreTab", "announcementBanner">;
73
+ export declare function validateAnnouncementBanner<V>(v: V): ValidationResult<AnnouncementBanner & V>;
74
+ export interface AppCard {
75
+ $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#appCard';
76
+ id?: string;
77
+ title?: string;
78
+ description?: string;
79
+ logo?: string;
80
+ backgroundImage?: string;
81
+ overlayColor?: string;
82
+ textColor?: string;
83
+ url?: string;
84
+ category?: string;
85
+ }
86
+ export declare function isAppCard<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereExploreTab", "appCard">;
87
+ export declare function validateAppCard<V>(v: V): ValidationResult<AppCard & V>;
88
+ //# sourceMappingURL=getAtmosphereExploreTab.d.ts.map
@@ -0,0 +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,8CAA8C;IAC9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C,EAAE,MAAM,CAAA;IACb,eAAe,CAAC,EAAE,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"}
@@ -0,0 +1,56 @@
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.getAtmosphereExploreTab';
11
+ export function toKnownErr(e) {
12
+ return e;
13
+ }
14
+ const hashArticleItem = 'articleItem';
15
+ export function isArticleItem(v) {
16
+ return is$typed(v, id, hashArticleItem);
17
+ }
18
+ export function validateArticleItem(v) {
19
+ return validate(v, id, hashArticleItem);
20
+ }
21
+ const hashPublicationItem = 'publicationItem';
22
+ export function isPublicationItem(v) {
23
+ return is$typed(v, id, hashPublicationItem);
24
+ }
25
+ export function validatePublicationItem(v) {
26
+ return validate(v, id, hashPublicationItem);
27
+ }
28
+ const hashGalleryItem = 'galleryItem';
29
+ export function isGalleryItem(v) {
30
+ return is$typed(v, id, hashGalleryItem);
31
+ }
32
+ export function validateGalleryItem(v) {
33
+ return validate(v, id, hashGalleryItem);
34
+ }
35
+ const hashLivestreamItem = 'livestreamItem';
36
+ export function isLivestreamItem(v) {
37
+ return is$typed(v, id, hashLivestreamItem);
38
+ }
39
+ export function validateLivestreamItem(v) {
40
+ return validate(v, id, hashLivestreamItem);
41
+ }
42
+ const hashAnnouncementBanner = 'announcementBanner';
43
+ export function isAnnouncementBanner(v) {
44
+ return is$typed(v, id, hashAnnouncementBanner);
45
+ }
46
+ export function validateAnnouncementBanner(v) {
47
+ return validate(v, id, hashAnnouncementBanner);
48
+ }
49
+ const hashAppCard = 'appCard';
50
+ export function isAppCard(v) {
51
+ return is$typed(v, id, hashAppCard);
52
+ }
53
+ export function validateAppCard(v) {
54
+ return validate(v, id, hashAppCard);
55
+ }
56
+ //# sourceMappingURL=getAtmosphereExploreTab.js.map
@@ -0,0 +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,C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ACrC,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. Currently ignored. */\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: ArticleItem[]\n publications: PublicationItem[]\n photos: GalleryItem[]\n livestreams: LivestreamItem[]\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 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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/api",
3
- "version": "0.24.2",
3
+ "version": "0.25.0",
4
4
  "license": "MIT",
5
5
  "description": "Client library for atproto and Bluesky",
6
6
  "keywords": [
@@ -37,8 +37,8 @@
37
37
  "zod": "^3.23.8",
38
38
  "@atproto/common-web": "^0.5.14",
39
39
  "@atproto/xrpc": "^0.8.15",
40
- "@atproto/lexicon": "^0.7.16",
41
- "@atproto/syntax": "^0.7.6"
40
+ "@atproto/syntax": "^0.7.6",
41
+ "@atproto/lexicon": "^0.7.16"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@jest/globals": "^28.1.3",