@atproto/api 0.31.0 → 0.31.2

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 (28) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/client/index.d.ts +3 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +5 -0
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +824 -50
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +440 -26
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/embed/external.d.ts +14 -1
  11. package/dist/client/types/app/bsky/embed/external.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/embed/external.js +7 -0
  13. package/dist/client/types/app/bsky/embed/external.js.map +1 -1
  14. package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.d.ts +4 -0
  15. package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.d.ts.map +1 -1
  16. package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.js.map +1 -1
  17. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +9 -2
  18. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -1
  19. package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -1
  20. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.d.ts +58 -20
  21. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.d.ts.map +1 -1
  22. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.js +31 -10
  23. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.js.map +1 -1
  24. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimelineV2.d.ts +115 -0
  25. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimelineV2.d.ts.map +1 -0
  26. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimelineV2.js +63 -0
  27. package/dist/client/types/app/bsky/unspecced/getAtmosphereTimelineV2.js.map +1 -0
  28. package/package.json +1 -1
@@ -65,7 +65,7 @@ export interface ViewExternalSource {
65
65
  }
66
66
  export declare function isViewExternalSource<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.embed.external", "viewExternalSource">;
67
67
  export declare function validateViewExternalSource<V>(v: V): ValidationResult<ViewExternalSource & V>;
68
- /** The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source. */
68
+ /** The theme colors of an external source, such as a standard.site publication. These colors may be used when rendering an embed from that source. */
69
69
  export interface ViewExternalSourceTheme {
70
70
  $type?: 'app.bsky.embed.external#viewExternalSourceTheme';
71
71
  backgroundRGB?: ColorRGB;
@@ -119,9 +119,18 @@ export interface ViewArticlePublication {
119
119
  subscriptionCount?: number;
120
120
  /** Available profile previews. Selected deterministically by DID; not a ranking. */
121
121
  subscribers?: AppBskyActorDefs.ProfileViewBasic[];
122
+ viewer?: ViewArticlePublicationViewerState;
122
123
  }
123
124
  export declare function isViewArticlePublication<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.embed.external", "viewArticlePublication">;
124
125
  export declare function validateViewArticlePublication<V>(v: V): ValidationResult<ViewArticlePublication & V>;
126
+ /** Metadata about the requesting account's relationship with the subject publication. Only has meaningful content for authed requests. */
127
+ export interface ViewArticlePublicationViewerState {
128
+ $type?: 'app.bsky.embed.external#viewArticlePublicationViewerState';
129
+ /** The requesting account's site.standard.graph.subscription record for this publication, if subscribed. */
130
+ subscription?: string;
131
+ }
132
+ export declare function isViewArticlePublicationViewerState<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.embed.external", "viewArticlePublicationViewerState">;
133
+ export declare function validateViewArticlePublicationViewerState<V>(v: V): ValidationResult<ViewArticlePublicationViewerState & V>;
125
134
  export interface ViewArticlePublicationTheme {
126
135
  $type?: 'app.bsky.embed.external#viewArticlePublicationTheme';
127
136
  /** Hex color string, if available. Example: '#ffffff'. */
@@ -149,6 +158,8 @@ export interface ViewGallery {
149
158
  items: ($Typed<ViewGalleryImage> | {
150
159
  $type: string;
151
160
  })[];
161
+ /** Total number of gallery item backlinks, independent of the items included in this view. */
162
+ photoCount?: number;
152
163
  likeCount?: number;
153
164
  /** Available profile previews. Selected deterministically by DID; not a ranking. */
154
165
  likers?: AppBskyActorDefs.ProfileViewBasic[];
@@ -182,6 +193,8 @@ export interface ViewLivestream {
182
193
  active: boolean;
183
194
  startedAt?: string;
184
195
  endedAt?: string;
196
+ /** When the livestream last reported that it was live. A livestream without endedAt is considered active until two minutes after its last heartbeat; clients can apply the same window to tell whether a cached view is still live. */
197
+ lastSeenAt?: string;
185
198
  }
186
199
  export declare function isViewLivestream<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.embed.external", "viewLivestream">;
187
200
  export declare function validateViewLivestream<V>(v: V): ValidationResult<ViewLivestream & V>;
@@ -1 +1 @@
1
- {"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/embed/external.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAC9E,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AACzD,OAAO,KAAK,KAAK,gBAAgB,MAAM,WAAW,CAAA;AAMlD,4HAA4H;AAC5H,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,yBAAyB,CAAA;IACjC,QAAQ,EAAE,QAAQ,CAAA;CACnB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,yFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAA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E7C"}
@@ -70,6 +70,13 @@ export function isViewArticlePublication(v) {
70
70
  export function validateViewArticlePublication(v) {
71
71
  return validate(v, id, hashViewArticlePublication);
72
72
  }
73
+ const hashViewArticlePublicationViewerState = 'viewArticlePublicationViewerState';
74
+ export function isViewArticlePublicationViewerState(v) {
75
+ return is$typed(v, id, hashViewArticlePublicationViewerState);
76
+ }
77
+ export function validateViewArticlePublicationViewerState(v) {
78
+ return validate(v, id, hashViewArticlePublicationViewerState);
79
+ }
73
80
  const hashViewArticlePublicationTheme = 'viewArticlePublicationTheme';
74
81
  export function isViewArticlePublicationTheme(v) {
75
82
  return is$typed(v, id, hashViewArticlePublicationTheme);
@@ -1 +1 @@
1
- {"version":3,"file":"external.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/embed/external.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,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;AAM5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,yBAAyB,CAAA;AAQpC,MAAM,QAAQ,GAAG,MAAM,CAAA;AAEvB,MAAM,UAAU,MAAM,CAAI,CAAI;IAC5B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAClC,CAAC;AAED,MAAM,UAAU,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAW,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAC5C,CAAC;AAYD,MAAM,YAAY,GAAG,UAAU,CAAA;AAE/B,MAAM,UAAU,UAAU,CAAI,CAAI;IAChC,OAAO,QAAQ,CAAC,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;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;AAaD,MAAM,oBAAoB,GAAG,kBAAkB,CAAA;AAE/C,MAAM,UAAU,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;AAC9C,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAI,CAAI;IAC9C,OAAO,QAAQ,CAAuB,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;AACpE,CAAC;AAmBD,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","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 ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\nimport type * as AppBskyEmbedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.embed.external'\n\n/** A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post). */\nexport interface Main {\n $type?: 'app.bsky.embed.external'\n external: External\n}\n\nconst hashMain = 'main'\n\nexport function isMain<V>(v: V) {\n return is$typed(v, id, hashMain)\n}\n\nexport function validateMain<V>(v: V) {\n return validate<Main & V>(v, id, hashMain)\n}\n\nexport interface External {\n $type?: 'app.bsky.embed.external#external'\n uri: string\n title: string\n description: string\n thumb?: BlobRef\n /** StrongRefs (uri+cid) of the Atmosphere records that backed this view. */\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n}\n\nconst hashExternal = 'external'\n\nexport function isExternal<V>(v: V) {\n return is$typed(v, id, hashExternal)\n}\n\nexport function validateExternal<V>(v: V) {\n return validate<External & V>(v, id, hashExternal)\n}\n\nexport interface View {\n $type?: 'app.bsky.embed.external#view'\n external: ViewExternal\n}\n\nconst hashView = 'view'\n\nexport function isView<V>(v: V) {\n return is$typed(v, id, hashView)\n}\n\nexport function validateView<V>(v: V) {\n return validate<View & V>(v, id, hashView)\n}\n\nexport interface ViewExternal {\n $type?: 'app.bsky.embed.external#viewExternal'\n uri: string\n title: string\n description: string\n thumb?: string\n /** When the external content was created, if available. Example: a publication date, for an article. */\n createdAt?: string\n /** When the external content was updated, if available. */\n updatedAt?: string\n /** Estimated reading time in minutes, if applicable and available. */\n readingTime?: number\n labels?: ComAtprotoLabelDefs.Label[]\n source?: ViewExternalSource\n /** StrongRefs (uri+cid) of the Atmosphere records that backed this view. */\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n /** Profiles of the owners of the Atmosphere records that backed this view. */\n associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashViewExternal = 'viewExternal'\n\nexport function isViewExternal<V>(v: V) {\n return is$typed(v, id, hashViewExternal)\n}\n\nexport function validateViewExternal<V>(v: V) {\n return validate<ViewExternal & V>(v, id, hashViewExternal)\n}\n\n/** The source of an external embed, such as a standard.site publication. */\nexport interface ViewExternalSource {\n $type?: 'app.bsky.embed.external#viewExternalSource'\n /** URI of the source, if available. Example: the https:// URL of a site.standard.publication record. */\n uri: string\n /** Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View. */\n icon?: string\n title: string\n description?: string\n theme?: ViewExternalSourceTheme\n}\n\nconst hashViewExternalSource = 'viewExternalSource'\n\nexport function isViewExternalSource<V>(v: V) {\n return is$typed(v, id, hashViewExternalSource)\n}\n\nexport function validateViewExternalSource<V>(v: V) {\n return validate<ViewExternalSource & V>(v, id, hashViewExternalSource)\n}\n\n/** The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source. */\nexport interface ViewExternalSourceTheme {\n $type?: 'app.bsky.embed.external#viewExternalSourceTheme'\n backgroundRGB?: ColorRGB\n foregroundRGB?: ColorRGB\n accentRGB?: ColorRGB\n accentForegroundRGB?: ColorRGB\n}\n\nconst hashViewExternalSourceTheme = 'viewExternalSourceTheme'\n\nexport function isViewExternalSourceTheme<V>(v: V) {\n return is$typed(v, id, hashViewExternalSourceTheme)\n}\n\nexport function validateViewExternalSourceTheme<V>(v: V) {\n return validate<ViewExternalSourceTheme & V>(\n v,\n id,\n hashViewExternalSourceTheme,\n )\n}\n\n/** RGB color definition, inspired by site.standard.theme.color#rgb */\nexport interface ColorRGB {\n $type?: 'app.bsky.embed.external#colorRGB'\n r: number\n g: number\n b: number\n}\n\nconst hashColorRGB = 'colorRGB'\n\nexport function isColorRGB<V>(v: V) {\n return is$typed(v, id, hashColorRGB)\n}\n\nexport function validateColorRGB<V>(v: V) {\n return validate<ColorRGB & V>(v, id, hashColorRGB)\n}\n\nexport interface ViewArticle {\n $type?: 'app.bsky.embed.external#viewArticle'\n uri: string\n title: string\n description: string\n createdAt?: string\n updatedAt?: string\n labels?: ComAtprotoLabelDefs.Label[]\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[]\n image?: string\n publisher?: ViewArticlePublication\n readingTime?: number\n likeCount?: number\n /** Available profile previews. Selected deterministically by DID; not a ranking. */\n likers?: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashViewArticle = 'viewArticle'\n\nexport function isViewArticle<V>(v: V) {\n return is$typed(v, id, hashViewArticle)\n}\n\nexport function validateViewArticle<V>(v: V) {\n return validate<ViewArticle & V>(v, id, hashViewArticle)\n}\n\nexport interface ViewArticlePublication {\n $type?: 'app.bsky.embed.external#viewArticlePublication'\n uri: string\n title: string\n description: string\n createdAt?: string\n updatedAt?: string\n labels?: ComAtprotoLabelDefs.Label[]\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[]\n logo?: string\n image?: string\n theme?: ViewArticlePublicationTheme\n subscriptionCount?: number\n /** Available profile previews. Selected deterministically by DID; not a ranking. */\n subscribers?: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashViewArticlePublication = 'viewArticlePublication'\n\nexport function isViewArticlePublication<V>(v: V) {\n return is$typed(v, id, hashViewArticlePublication)\n}\n\nexport function validateViewArticlePublication<V>(v: V) {\n return validate<ViewArticlePublication & V>(v, id, hashViewArticlePublication)\n}\n\nexport interface ViewArticlePublicationTheme {\n $type?: 'app.bsky.embed.external#viewArticlePublicationTheme'\n /** Hex color string, if available. Example: '#ffffff'. */\n background?: string\n /** Hex color string, if available. Example: '#ffffff'. */\n foreground?: string\n /** Hex color string, if available. Example: '#ffffff'. */\n accent?: string\n /** Hex color string, if available. Example: '#ffffff'. */\n accentForeground?: string\n}\n\nconst hashViewArticlePublicationTheme = 'viewArticlePublicationTheme'\n\nexport function isViewArticlePublicationTheme<V>(v: V) {\n return is$typed(v, id, hashViewArticlePublicationTheme)\n}\n\nexport function validateViewArticlePublicationTheme<V>(v: V) {\n return validate<ViewArticlePublicationTheme & V>(\n v,\n id,\n hashViewArticlePublicationTheme,\n )\n}\n\nexport interface ViewGallery {\n $type?: 'app.bsky.embed.external#viewGallery'\n uri: string\n title: string\n description: string\n createdAt?: string\n updatedAt?: string\n labels?: ComAtprotoLabelDefs.Label[]\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[]\n /** The media items in the gallery. Each item may be of a different type, but all types must be supported by the client. */\n items: ($Typed<ViewGalleryImage> | { $type: string })[]\n likeCount?: number\n /** Available profile previews. Selected deterministically by DID; not a ranking. */\n likers?: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashViewGallery = 'viewGallery'\n\nexport function isViewGallery<V>(v: V) {\n return is$typed(v, id, hashViewGallery)\n}\n\nexport function validateViewGallery<V>(v: V) {\n return validate<ViewGallery & V>(v, id, hashViewGallery)\n}\n\nexport interface ViewGalleryImage {\n $type?: 'app.bsky.embed.external#viewGalleryImage'\n /** Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View. */\n thumbnail: string\n /** Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View. */\n fullsize: string\n /** Alt text description of the image, for accessibility. */\n alt?: string\n aspectRatio?: AppBskyEmbedDefs.AspectRatio\n}\n\nconst hashViewGalleryImage = 'viewGalleryImage'\n\nexport function isViewGalleryImage<V>(v: V) {\n return is$typed(v, id, hashViewGalleryImage)\n}\n\nexport function validateViewGalleryImage<V>(v: V) {\n return validate<ViewGalleryImage & V>(v, id, hashViewGalleryImage)\n}\n\nexport interface ViewLivestream {\n $type?: 'app.bsky.embed.external#viewLivestream'\n uri: string\n title: string\n description: string\n createdAt?: string\n updatedAt?: string\n labels?: ComAtprotoLabelDefs.Label[]\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[]\n image?: string\n /** True if the livestream is currently active at the time this view is served, false if it has ended. */\n active: boolean\n startedAt?: string\n endedAt?: string\n}\n\nconst hashViewLivestream = 'viewLivestream'\n\nexport function isViewLivestream<V>(v: V) {\n return is$typed(v, id, hashViewLivestream)\n}\n\nexport function validateViewLivestream<V>(v: V) {\n return validate<ViewLivestream & V>(v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O,QAAQ,CAAkB,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AAC1D,CAAC;AAaD,MAAM,oBAAoB,GAAG,kBAAkB,CAAA;AAE/C,MAAM,UAAU,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;AAC9C,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAI,CAAI;IAC9C,OAAO,QAAQ,CAAuB,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;AACpE,CAAC;AAqBD,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","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 ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\nimport type * as AppBskyEmbedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.embed.external'\n\n/** A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post). */\nexport interface Main {\n $type?: 'app.bsky.embed.external'\n external: External\n}\n\nconst hashMain = 'main'\n\nexport function isMain<V>(v: V) {\n return is$typed(v, id, hashMain)\n}\n\nexport function validateMain<V>(v: V) {\n return validate<Main & V>(v, id, hashMain)\n}\n\nexport interface External {\n $type?: 'app.bsky.embed.external#external'\n uri: string\n title: string\n description: string\n thumb?: BlobRef\n /** StrongRefs (uri+cid) of the Atmosphere records that backed this view. */\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n}\n\nconst hashExternal = 'external'\n\nexport function isExternal<V>(v: V) {\n return is$typed(v, id, hashExternal)\n}\n\nexport function validateExternal<V>(v: V) {\n return validate<External & V>(v, id, hashExternal)\n}\n\nexport interface View {\n $type?: 'app.bsky.embed.external#view'\n external: ViewExternal\n}\n\nconst hashView = 'view'\n\nexport function isView<V>(v: V) {\n return is$typed(v, id, hashView)\n}\n\nexport function validateView<V>(v: V) {\n return validate<View & V>(v, id, hashView)\n}\n\nexport interface ViewExternal {\n $type?: 'app.bsky.embed.external#viewExternal'\n uri: string\n title: string\n description: string\n thumb?: string\n /** When the external content was created, if available. Example: a publication date, for an article. */\n createdAt?: string\n /** When the external content was updated, if available. */\n updatedAt?: string\n /** Estimated reading time in minutes, if applicable and available. */\n readingTime?: number\n labels?: ComAtprotoLabelDefs.Label[]\n source?: ViewExternalSource\n /** StrongRefs (uri+cid) of the Atmosphere records that backed this view. */\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n /** Profiles of the owners of the Atmosphere records that backed this view. */\n associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashViewExternal = 'viewExternal'\n\nexport function isViewExternal<V>(v: V) {\n return is$typed(v, id, hashViewExternal)\n}\n\nexport function validateViewExternal<V>(v: V) {\n return validate<ViewExternal & V>(v, id, hashViewExternal)\n}\n\n/** The source of an external embed, such as a standard.site publication. */\nexport interface ViewExternalSource {\n $type?: 'app.bsky.embed.external#viewExternalSource'\n /** URI of the source, if available. Example: the https:// URL of a site.standard.publication record. */\n uri: string\n /** Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View. */\n icon?: string\n title: string\n description?: string\n theme?: ViewExternalSourceTheme\n}\n\nconst hashViewExternalSource = 'viewExternalSource'\n\nexport function isViewExternalSource<V>(v: V) {\n return is$typed(v, id, hashViewExternalSource)\n}\n\nexport function validateViewExternalSource<V>(v: V) {\n return validate<ViewExternalSource & V>(v, id, hashViewExternalSource)\n}\n\n/** The theme colors of an external source, such as a standard.site publication. These colors may be used when rendering an embed from that source. */\nexport interface ViewExternalSourceTheme {\n $type?: 'app.bsky.embed.external#viewExternalSourceTheme'\n backgroundRGB?: ColorRGB\n foregroundRGB?: ColorRGB\n accentRGB?: ColorRGB\n accentForegroundRGB?: ColorRGB\n}\n\nconst hashViewExternalSourceTheme = 'viewExternalSourceTheme'\n\nexport function isViewExternalSourceTheme<V>(v: V) {\n return is$typed(v, id, hashViewExternalSourceTheme)\n}\n\nexport function validateViewExternalSourceTheme<V>(v: V) {\n return validate<ViewExternalSourceTheme & V>(\n v,\n id,\n hashViewExternalSourceTheme,\n )\n}\n\n/** RGB color definition, inspired by site.standard.theme.color#rgb */\nexport interface ColorRGB {\n $type?: 'app.bsky.embed.external#colorRGB'\n r: number\n g: number\n b: number\n}\n\nconst hashColorRGB = 'colorRGB'\n\nexport function isColorRGB<V>(v: V) {\n return is$typed(v, id, hashColorRGB)\n}\n\nexport function validateColorRGB<V>(v: V) {\n return validate<ColorRGB & V>(v, id, hashColorRGB)\n}\n\nexport interface ViewArticle {\n $type?: 'app.bsky.embed.external#viewArticle'\n uri: string\n title: string\n description: string\n createdAt?: string\n updatedAt?: string\n labels?: ComAtprotoLabelDefs.Label[]\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[]\n image?: string\n publisher?: ViewArticlePublication\n readingTime?: number\n likeCount?: number\n /** Available profile previews. Selected deterministically by DID; not a ranking. */\n likers?: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashViewArticle = 'viewArticle'\n\nexport function isViewArticle<V>(v: V) {\n return is$typed(v, id, hashViewArticle)\n}\n\nexport function validateViewArticle<V>(v: V) {\n return validate<ViewArticle & V>(v, id, hashViewArticle)\n}\n\nexport interface ViewArticlePublication {\n $type?: 'app.bsky.embed.external#viewArticlePublication'\n uri: string\n title: string\n description: string\n createdAt?: string\n updatedAt?: string\n labels?: ComAtprotoLabelDefs.Label[]\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[]\n logo?: string\n image?: string\n theme?: ViewArticlePublicationTheme\n subscriptionCount?: number\n /** Available profile previews. Selected deterministically by DID; not a ranking. */\n subscribers?: AppBskyActorDefs.ProfileViewBasic[]\n viewer?: ViewArticlePublicationViewerState\n}\n\nconst hashViewArticlePublication = 'viewArticlePublication'\n\nexport function isViewArticlePublication<V>(v: V) {\n return is$typed(v, id, hashViewArticlePublication)\n}\n\nexport function validateViewArticlePublication<V>(v: V) {\n return validate<ViewArticlePublication & V>(v, id, hashViewArticlePublication)\n}\n\n/** Metadata about the requesting account's relationship with the subject publication. Only has meaningful content for authed requests. */\nexport interface ViewArticlePublicationViewerState {\n $type?: 'app.bsky.embed.external#viewArticlePublicationViewerState'\n /** The requesting account's site.standard.graph.subscription record for this publication, if subscribed. */\n subscription?: string\n}\n\nconst hashViewArticlePublicationViewerState =\n 'viewArticlePublicationViewerState'\n\nexport function isViewArticlePublicationViewerState<V>(v: V) {\n return is$typed(v, id, hashViewArticlePublicationViewerState)\n}\n\nexport function validateViewArticlePublicationViewerState<V>(v: V) {\n return validate<ViewArticlePublicationViewerState & V>(\n v,\n id,\n hashViewArticlePublicationViewerState,\n )\n}\n\nexport interface ViewArticlePublicationTheme {\n $type?: 'app.bsky.embed.external#viewArticlePublicationTheme'\n /** Hex color string, if available. Example: '#ffffff'. */\n background?: string\n /** Hex color string, if available. Example: '#ffffff'. */\n foreground?: string\n /** Hex color string, if available. Example: '#ffffff'. */\n accent?: string\n /** Hex color string, if available. Example: '#ffffff'. */\n accentForeground?: string\n}\n\nconst hashViewArticlePublicationTheme = 'viewArticlePublicationTheme'\n\nexport function isViewArticlePublicationTheme<V>(v: V) {\n return is$typed(v, id, hashViewArticlePublicationTheme)\n}\n\nexport function validateViewArticlePublicationTheme<V>(v: V) {\n return validate<ViewArticlePublicationTheme & V>(\n v,\n id,\n hashViewArticlePublicationTheme,\n )\n}\n\nexport interface ViewGallery {\n $type?: 'app.bsky.embed.external#viewGallery'\n uri: string\n title: string\n description: string\n createdAt?: string\n updatedAt?: string\n labels?: ComAtprotoLabelDefs.Label[]\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[]\n /** The media items in the gallery. Each item may be of a different type, but all types must be supported by the client. */\n items: ($Typed<ViewGalleryImage> | { $type: string })[]\n /** Total number of gallery item backlinks, independent of the items included in this view. */\n photoCount?: number\n likeCount?: number\n /** Available profile previews. Selected deterministically by DID; not a ranking. */\n likers?: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashViewGallery = 'viewGallery'\n\nexport function isViewGallery<V>(v: V) {\n return is$typed(v, id, hashViewGallery)\n}\n\nexport function validateViewGallery<V>(v: V) {\n return validate<ViewGallery & V>(v, id, hashViewGallery)\n}\n\nexport interface ViewGalleryImage {\n $type?: 'app.bsky.embed.external#viewGalleryImage'\n /** Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View. */\n thumbnail: string\n /** Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View. */\n fullsize: string\n /** Alt text description of the image, for accessibility. */\n alt?: string\n aspectRatio?: AppBskyEmbedDefs.AspectRatio\n}\n\nconst hashViewGalleryImage = 'viewGalleryImage'\n\nexport function isViewGalleryImage<V>(v: V) {\n return is$typed(v, id, hashViewGalleryImage)\n}\n\nexport function validateViewGalleryImage<V>(v: V) {\n return validate<ViewGalleryImage & V>(v, id, hashViewGalleryImage)\n}\n\nexport interface ViewLivestream {\n $type?: 'app.bsky.embed.external#viewLivestream'\n uri: string\n title: string\n description: string\n createdAt?: string\n updatedAt?: string\n labels?: ComAtprotoLabelDefs.Label[]\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[]\n image?: string\n /** True if the livestream is currently active at the time this view is served, false if it has ended. */\n active: boolean\n startedAt?: string\n endedAt?: string\n /** When the livestream last reported that it was live. A livestream without endedAt is considered active until two minutes after its last heartbeat; clients can apply the same window to tell whether a cached view is still live. */\n lastSeenAt?: string\n}\n\nconst hashViewLivestream = 'viewLivestream'\n\nexport function isViewLivestream<V>(v: V) {\n return is$typed(v, id, hashViewLivestream)\n}\n\nexport function validateViewLivestream<V>(v: V) {\n return validate<ViewLivestream & V>(v, id, hashViewLivestream)\n}\n"]}
@@ -32,6 +32,10 @@ export interface AppCard {
32
32
  /** The app's banner, using its account banner when available. */
33
33
  banner?: string;
34
34
  url?: string;
35
+ /** Optional link to the app on the Apple App Store. */
36
+ appStoreUrl?: string;
37
+ /** Optional link to the app on Google Play. */
38
+ googlePlayUrl?: string;
35
39
  category?: string;
36
40
  profile?: AppBskyActorDefs.ProfileViewDetailed;
37
41
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getAtmosphereApps.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getAtmosphereApps.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,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,kFAAkF;IAClF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,OAAO,EAAE,CAAA;CAChB;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,8CAA8C,CAAA;IACtD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+DAA+D;IAC/D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,iEAAiE;IACjE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAA;CAC/C;AAID,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,yGAEhC;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,iCAEtC"}
1
+ {"version":3,"file":"getAtmosphereApps.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getAtmosphereApps.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,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,kFAAkF;IAClF,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,OAAO,EAAE,CAAA;CAChB;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,8CAA8C,CAAA;IACtD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+DAA+D;IAC/D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,iEAAiE;IACjE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+CAA+C;IAC/C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAA;CAC/C;AAID,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,yGAEhC;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,iCAEtC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getAtmosphereApps.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getAtmosphereApps.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,sCAAsC,CAAA;AAuBjD,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AAgBD,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 AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getAtmosphereApps'\n\nexport type QueryParams = {\n /** Only return apps with this category (exact match). Omit to return all apps. */\n category?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\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 AppCard {\n $type?: 'app.bsky.unspecced.getAtmosphereApps#appCard'\n id?: string\n title?: string\n description?: string\n /** The app's logo, using its account avatar when available. */\n logo?: string\n /** The app's banner, using its account banner when available. */\n banner?: string\n url?: string\n category?: string\n profile?: AppBskyActorDefs.ProfileViewDetailed\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"]}
1
+ {"version":3,"file":"getAtmosphereApps.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getAtmosphereApps.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,sCAAsC,CAAA;AAuBjD,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AAoBD,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 AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getAtmosphereApps'\n\nexport type QueryParams = {\n /** Only return apps with this category (exact match). Omit to return all apps. */\n category?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\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 AppCard {\n $type?: 'app.bsky.unspecced.getAtmosphereApps#appCard'\n id?: string\n title?: string\n description?: string\n /** The app's logo, using its account avatar when available. */\n logo?: string\n /** The app's banner, using its account banner when available. */\n banner?: string\n url?: string\n /** Optional link to the app on the Apple App Store. */\n appStoreUrl?: string\n /** Optional link to the app on Google Play. */\n googlePlayUrl?: string\n category?: string\n profile?: AppBskyActorDefs.ProfileViewDetailed\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"]}
@@ -4,6 +4,7 @@
4
4
  import { type HeadersMap } from '@atproto/xrpc';
5
5
  import { type ValidationResult } from '@atproto/lexicon';
6
6
  import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
7
+ import type * as AppBskyFeedDefs from '../feed/defs.js';
7
8
  import type * as AppBskyEmbedExternal from '../embed/external.js';
8
9
  import type * as AppBskyActorDefs from '../actor/defs.js';
9
10
  export type QueryParams = {
@@ -66,6 +67,7 @@ export interface ArticleItem {
66
67
  /** Deprecated. Retained for compatibility; always false. */
67
68
  featured: boolean;
68
69
  bskyPostRef?: ComAtprotoRepoStrongRef.Main;
70
+ viewBskyPost?: AppBskyFeedDefs.PostView;
69
71
  view: AppBskyEmbedExternal.ViewArticle;
70
72
  }
71
73
  export declare function isArticleItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereExploreTab", "articleItem">;
@@ -91,6 +93,7 @@ export interface LivestreamItem {
91
93
  /** Deprecated. Retained for compatibility; always false. */
92
94
  featured: boolean;
93
95
  bskyPostRef?: ComAtprotoRepoStrongRef.Main;
96
+ viewBskyPost?: AppBskyFeedDefs.PostView;
94
97
  view: AppBskyEmbedExternal.ViewLivestream;
95
98
  }
96
99
  export declare function isLivestreamItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereExploreTab", "livestreamItem">;
@@ -112,15 +115,19 @@ export interface AppCard {
112
115
  id?: string;
113
116
  title?: string;
114
117
  description?: string;
115
- /** Compatibility field. The profile avatar when available, otherwise the editorial logo. */
118
+ /** The profile avatar when available, otherwise the editorial logo. */
116
119
  logo?: string;
117
- /** Compatibility field. The profile banner when available, otherwise the editorial background image. */
120
+ /** The profile banner when available, otherwise the editorial background image. */
118
121
  backgroundImage?: string;
119
122
  /** Deprecated. Retained for compatibility. */
120
123
  overlayColor?: string;
121
124
  /** Deprecated. Retained for compatibility. */
122
125
  textColor?: string;
123
126
  url?: string;
127
+ /** Optional link to the app on the Apple App Store. */
128
+ appStoreUrl?: string;
129
+ /** Optional link to the app on Google Play. */
130
+ googlePlayUrl?: string;
124
131
  category?: string;
125
132
  profile?: AppBskyActorDefs.ProfileViewDetailed;
126
133
  }
@@ -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;AAQ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WAAW,OAAO;IACtB,KAAK,CAAC,EAAE,oDAAoD,CAAA;IAC5D,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,4FAA4F;IAC5F,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,wGAAwG;IACxG,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAA;CAC/C;AAID,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+GAEhC;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,iCAEtC"}
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,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,eAAe,MAAM,iBAAiB,CAAA;AACvD,OAAO,KAAK,KAAK,oBAAoB,MAAM,sBAAsB,CAAA;AACjE,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,+IAA+I;IAC/I,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;CACjB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM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,mFAAmF;IACnF,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+CAA+C;IAC/C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAA;CAC/C;AAID,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+GAEhC;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,iCAEtC"}
@@ -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;AAK5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,4CAA4C,CAAA;AA4BvD,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,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AO,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 ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\nimport type * as AppBskyEmbedExternal from '../embed/external.js'\nimport type * as AppBskyActorDefs from '../actor/defs.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 and photo gallery recommendations when their algorithmic recommendations are enabled. Ignored otherwise. */\n langs?: 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 /** Deprecated. Retained for compatibility; always false. */\n featured: boolean\n bskyPostRef?: ComAtprotoRepoStrongRef.Main\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 /** Deprecated. Retained for compatibility; always false. */\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 /** Deprecated. Retained for compatibility; always false. */\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 /** Deprecated. Retained for compatibility; always false. */\n featured: boolean\n bskyPostRef?: ComAtprotoRepoStrongRef.Main\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 /** Compatibility field. The profile avatar when available, otherwise the editorial logo. */\n logo?: string\n /** Compatibility field. The profile banner when available, otherwise the editorial background image. */\n backgroundImage?: string\n /** Deprecated. Retained for compatibility. */\n overlayColor?: string\n /** Deprecated. Retained for compatibility. */\n textColor?: string\n url?: string\n category?: string\n profile?: AppBskyActorDefs.ProfileViewDetailed\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"]}
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;AAM5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,4CAA4C,CAAA;AA4BvD,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,CA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AE,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 ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\nimport type * as AppBskyFeedDefs from '../feed/defs.js'\nimport type * as AppBskyEmbedExternal from '../embed/external.js'\nimport type * as AppBskyActorDefs from '../actor/defs.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 and photo gallery recommendations when their algorithmic recommendations are enabled. Ignored otherwise. */\n langs?: 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 /** Deprecated. Retained for compatibility; always false. */\n featured: boolean\n bskyPostRef?: ComAtprotoRepoStrongRef.Main\n viewBskyPost?: AppBskyFeedDefs.PostView\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 /** Deprecated. Retained for compatibility; always false. */\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 /** Deprecated. Retained for compatibility; always false. */\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 /** Deprecated. Retained for compatibility; always false. */\n featured: boolean\n bskyPostRef?: ComAtprotoRepoStrongRef.Main\n viewBskyPost?: AppBskyFeedDefs.PostView\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 /** The profile avatar when available, otherwise the editorial logo. */\n logo?: string\n /** The profile banner when available, otherwise the editorial background image. */\n backgroundImage?: string\n /** Deprecated. Retained for compatibility. */\n overlayColor?: string\n /** Deprecated. Retained for compatibility. */\n textColor?: string\n url?: string\n /** Optional link to the app on the Apple App Store. */\n appStoreUrl?: string\n /** Optional link to the app on Google Play. */\n googlePlayUrl?: string\n category?: string\n profile?: AppBskyActorDefs.ProfileViewDetailed\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"]}
@@ -5,8 +5,8 @@ import { type HeadersMap } from '@atproto/xrpc';
5
5
  import { type ValidationResult } from '@atproto/lexicon';
6
6
  import { type $Typed } from '../../../../util.js';
7
7
  import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
8
- import type * as AppBskyEmbedExternal from '../embed/external.js';
9
8
  import type * as AppBskyFeedDefs from '../feed/defs.js';
9
+ import type * as AppBskyEmbedExternal from '../embed/external.js';
10
10
  import type * as AppBskyActorDefs from '../actor/defs.js';
11
11
  export type QueryParams = {
12
12
  cursor?: string;
@@ -14,7 +14,7 @@ export type QueryParams = {
14
14
  export type InputSchema = undefined;
15
15
  export interface OutputSchema {
16
16
  cursor?: string;
17
- feed: ($Typed<ActivityItem> | $Typed<ActivityItemOverflow> | $Typed<ActivityGroup> | {
17
+ feed: ($Typed<ActivityItem> | $Typed<ActivityActorGroup> | $Typed<ActivitySubjectGroup> | {
18
18
  $type: string;
19
19
  })[];
20
20
  }
@@ -47,35 +47,73 @@ export interface ActivityItem {
47
47
  record: ActivityRecord;
48
48
  collection: string;
49
49
  viewerState: ViewerState;
50
+ /** Collection-specific activity references targeting this item's record. Article creations with related activity remain standalone; only the parent item's view is hydrated. */
51
+ relatedActivity?: ActivityRelatedGroup[];
50
52
  bskyPostRef?: ComAtprotoRepoStrongRef.Main;
53
+ viewBskyPost?: AppBskyFeedDefs.PostView;
51
54
  view?: $Typed<AppBskyEmbedExternal.ViewArticle> | $Typed<AppBskyEmbedExternal.ViewArticlePublication> | $Typed<AppBskyEmbedExternal.ViewGallery> | $Typed<AppBskyEmbedExternal.ViewLivestream> | $Typed<AppBskyFeedDefs.PostView> | {
52
55
  $type: string;
53
56
  };
54
- /** Recommendations and shares attached to this article. Attached activities do not themselves contain related activity. */
55
- relatedActivity?: ActivityItem[];
56
57
  }
57
58
  export declare function isActivityItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereTimeline", "activityItem">;
58
59
  export declare function validateActivityItem<V>(v: V): ValidationResult<ActivityItem & V>;
59
- /** Distinct additional activities omitted from this page for an author and collection, without hydrating the omitted records. */
60
- export interface ActivityItemOverflow {
61
- $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activityItemOverflow';
62
- count: number;
60
+ /** Activities by one actor in one collection, positioned at the newest group item. Only the newest item is hydrated. Article creations with related activity remain standalone. */
61
+ export interface ActivityActorGroup {
62
+ $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activityActorGroup';
63
+ id: string;
64
+ collection: string;
65
+ indexedAt: string;
66
+ actor: string;
67
+ item: ActivityItem;
68
+ /** All visible group item URIs, including the hydrated item, in newest-first timeline order. */
69
+ uris: string[];
70
+ }
71
+ export declare function isActivityActorGroup<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereTimeline", "activityActorGroup">;
72
+ export declare function validateActivityActorGroup<V>(v: V): ValidationResult<ActivityActorGroup & V>;
73
+ /** The shared target of grouped activities, not an activity itself. */
74
+ export interface ActivitySubject {
75
+ $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activitySubject';
76
+ uri: string;
77
+ viewerState: ViewerState;
78
+ bskyPostRef?: ComAtprotoRepoStrongRef.Main;
79
+ viewBskyPost?: AppBskyFeedDefs.PostView;
80
+ view: $Typed<AppBskyEmbedExternal.ViewArticle> | $Typed<AppBskyEmbedExternal.ViewArticlePublication> | $Typed<AppBskyEmbedExternal.ViewGallery> | {
81
+ $type: string;
82
+ };
83
+ }
84
+ export declare function isActivitySubject<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereTimeline", "activitySubject">;
85
+ export declare function validateActivitySubject<V>(v: V): ValidationResult<ActivitySubject & V>;
86
+ /** An unhydrated group item. Its actor DID is the authority of its record URI. */
87
+ export interface ActivityGroupItem {
88
+ $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activityGroupItem';
89
+ record: ActivityRecord;
90
+ collection: string;
91
+ }
92
+ export declare function isActivityGroupItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereTimeline", "activityGroupItem">;
93
+ export declare function validateActivityGroupItem<V>(v: V): ValidationResult<ActivityGroupItem & V>;
94
+ /** Visible activities in one collection targeting the parent item's record, without a time window. Contains references and profiles only, not a shared subject or hydrated action views. Buckets follow newest-first first appearance. */
95
+ export interface ActivityRelatedGroup {
96
+ $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activityRelatedGroup';
63
97
  collection: string;
64
- associatedProfiles: AppBskyActorDefs.ProfileViewBasic[];
98
+ /** Visible activity references in newest-first timeline order. Every activity has the bucket's collection. */
99
+ activities: ActivityGroupItem[];
100
+ /** Unique actors in first-appearance order among the bucket's activities. */
101
+ actors: AppBskyActorDefs.ProfileViewBasic[];
65
102
  }
66
- export declare function isActivityItemOverflow<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereTimeline", "activityItemOverflow">;
67
- export declare function validateActivityItemOverflow<V>(v: V): ValidationResult<ActivityItemOverflow & V>;
68
- /** Two or more activities of the same collection, within a fixed window anchored at the newest member. The group occupies the newest member's position. */
69
- export interface ActivityGroup {
70
- $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activityGroup';
103
+ export declare function isActivityRelatedGroup<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereTimeline", "activityRelatedGroup">;
104
+ export declare function validateActivityRelatedGroup<V>(v: V): ValidationResult<ActivityRelatedGroup & V>;
105
+ /** Activities in one collection sharing a target, by at least two distinct actors, positioned at the newest group item. Article recommendations and shares group separately across the returned page without a time window. Article creations are not subject-group items. Publication subscriptions and gallery favorites retain age-based grouping windows. */
106
+ export interface ActivitySubjectGroup {
107
+ $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activitySubjectGroup';
71
108
  id: string;
72
- groupBy: 'subject' | 'actor' | (string & {});
73
109
  collection: string;
74
110
  indexedAt: string;
75
- items: ActivityItem[];
76
- subject?: string;
77
- actor?: string;
111
+ subject: ActivitySubject;
112
+ /** Visible group items in newest-first timeline order. Every activity has the group's collection. */
113
+ activities: ActivityGroupItem[];
114
+ /** Unique actors in first-appearance order among group items. At least two distinct actors are required. */
115
+ actors: AppBskyActorDefs.ProfileViewBasic[];
78
116
  }
79
- export declare function isActivityGroup<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereTimeline", "activityGroup">;
80
- export declare function validateActivityGroup<V>(v: V): ValidationResult<ActivityGroup & V>;
117
+ export declare function isActivitySubjectGroup<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereTimeline", "activitySubjectGroup">;
118
+ export declare function validateActivitySubjectGroup<V>(v: V): ValidationResult<ActivitySubjectGroup & V>;
81
119
  //# sourceMappingURL=getAtmosphereTimeline.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAtmosphereTimeline.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getAtmosphereTimeline.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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wD,CAAA;IAChE,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,SAAS,GAAG,OAAO,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IAC5C,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,YAAY,EAAE,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAID,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mHAEtC;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uCAE5C"}
1
+ {"version":3,"file":"getAtmosphereTimeline.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getAtmosphereTimeline.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,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,eAAe,MAAM,iBAAiB,CAAA;AACvD,OAAO,KAAK,KAAK,oBAAoB,MAAM,sBAAsB,CAAA;AACjE,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,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,IAAI,EAAE,CACF,MAAM,CAAC,YAAY,CAAC,GACpB,MAAM,CAAC,kBAAkB,CAAC,GAC1B,MAAM,CAAC,oBAAoB,CAAC,GAC5B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+32,39 @@ export function isActivityItem(v) {
32
32
  export function validateActivityItem(v) {
33
33
  return validate(v, id, hashActivityItem);
34
34
  }
35
- const hashActivityItemOverflow = 'activityItemOverflow';
36
- export function isActivityItemOverflow(v) {
37
- return is$typed(v, id, hashActivityItemOverflow);
35
+ const hashActivityActorGroup = 'activityActorGroup';
36
+ export function isActivityActorGroup(v) {
37
+ return is$typed(v, id, hashActivityActorGroup);
38
38
  }
39
- export function validateActivityItemOverflow(v) {
40
- return validate(v, id, hashActivityItemOverflow);
39
+ export function validateActivityActorGroup(v) {
40
+ return validate(v, id, hashActivityActorGroup);
41
41
  }
42
- const hashActivityGroup = 'activityGroup';
43
- export function isActivityGroup(v) {
44
- return is$typed(v, id, hashActivityGroup);
42
+ const hashActivitySubject = 'activitySubject';
43
+ export function isActivitySubject(v) {
44
+ return is$typed(v, id, hashActivitySubject);
45
45
  }
46
- export function validateActivityGroup(v) {
47
- return validate(v, id, hashActivityGroup);
46
+ export function validateActivitySubject(v) {
47
+ return validate(v, id, hashActivitySubject);
48
+ }
49
+ const hashActivityGroupItem = 'activityGroupItem';
50
+ export function isActivityGroupItem(v) {
51
+ return is$typed(v, id, hashActivityGroupItem);
52
+ }
53
+ export function validateActivityGroupItem(v) {
54
+ return validate(v, id, hashActivityGroupItem);
55
+ }
56
+ const hashActivityRelatedGroup = 'activityRelatedGroup';
57
+ export function isActivityRelatedGroup(v) {
58
+ return is$typed(v, id, hashActivityRelatedGroup);
59
+ }
60
+ export function validateActivityRelatedGroup(v) {
61
+ return validate(v, id, hashActivityRelatedGroup);
62
+ }
63
+ const hashActivitySubjectGroup = 'activitySubjectGroup';
64
+ export function isActivitySubjectGroup(v) {
65
+ return is$typed(v, id, hashActivitySubjectGroup);
66
+ }
67
+ export function validateActivitySubjectGroup(v) {
68
+ return validate(v, id, hashActivitySubjectGroup);
48
69
  }
49
70
  //# sourceMappingURL=getAtmosphereTimeline.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAtmosphereTimeline.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BAAgB,CAAC,CAAA;AAC1C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAmB,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC5D,CAAC;AAUD,MAAM,wBAAwB,GAAG,sBAAsB,CAAA;AAEvD,MAAM,UAAU,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAClD,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAI,CAAI;IAClD,OAAO,QAAQ,CAA2B,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAC5E,CAAC;AAcD,MAAM,iBAAiB,GAAG,eAAe,CAAA;AAEzC,MAAM,UAAU,eAAe,CAAI,CAAI;IACrC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,iBAAiB,CAAC,CAAA;AAC3C,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAI,CAAI;IAC3C,OAAO,QAAQ,CAAoB,CAAC,EAAE,EAAE,EAAE,iBAAiB,CAAC,CAAA;AAC9D,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 ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\nimport type * as AppBskyEmbedExternal from '../embed/external.js'\nimport type * as AppBskyFeedDefs from '../feed/defs.js'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getAtmosphereTimeline'\n\nexport type QueryParams = {\n cursor?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n feed: (\n | $Typed<ActivityItem>\n | $Typed<ActivityItemOverflow>\n | $Typed<ActivityGroup>\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\nexport interface ActivityRecord {\n $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activityRecord'\n uri: string\n cid: string\n indexedAt: string\n}\n\nconst hashActivityRecord = 'activityRecord'\n\nexport function isActivityRecord<V>(v: V) {\n return is$typed(v, id, hashActivityRecord)\n}\n\nexport function validateActivityRecord<V>(v: V) {\n return validate<ActivityRecord & V>(v, id, hashActivityRecord)\n}\n\nexport interface ViewerState {\n $type?: 'app.bsky.unspecced.getAtmosphereTimeline#viewerState'\n subscribed: boolean\n}\n\nconst hashViewerState = 'viewerState'\n\nexport function isViewerState<V>(v: V) {\n return is$typed(v, id, hashViewerState)\n}\n\nexport function validateViewerState<V>(v: V) {\n return validate<ViewerState & V>(v, id, hashViewerState)\n}\n\nexport interface ActivityItem {\n $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activityItem'\n record: ActivityRecord\n collection: string\n viewerState: ViewerState\n bskyPostRef?: ComAtprotoRepoStrongRef.Main\n view?:\n | $Typed<AppBskyEmbedExternal.ViewArticle>\n | $Typed<AppBskyEmbedExternal.ViewArticlePublication>\n | $Typed<AppBskyEmbedExternal.ViewGallery>\n | $Typed<AppBskyEmbedExternal.ViewLivestream>\n | $Typed<AppBskyFeedDefs.PostView>\n | { $type: string }\n /** Recommendations and shares attached to this article. Attached activities do not themselves contain related activity. */\n relatedActivity?: ActivityItem[]\n}\n\nconst hashActivityItem = 'activityItem'\n\nexport function isActivityItem<V>(v: V) {\n return is$typed(v, id, hashActivityItem)\n}\n\nexport function validateActivityItem<V>(v: V) {\n return validate<ActivityItem & V>(v, id, hashActivityItem)\n}\n\n/** Distinct additional activities omitted from this page for an author and collection, without hydrating the omitted records. */\nexport interface ActivityItemOverflow {\n $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activityItemOverflow'\n count: number\n collection: string\n associatedProfiles: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashActivityItemOverflow = 'activityItemOverflow'\n\nexport function isActivityItemOverflow<V>(v: V) {\n return is$typed(v, id, hashActivityItemOverflow)\n}\n\nexport function validateActivityItemOverflow<V>(v: V) {\n return validate<ActivityItemOverflow & V>(v, id, hashActivityItemOverflow)\n}\n\n/** Two or more activities of the same collection, within a fixed window anchored at the newest member. The group occupies the newest member's position. */\nexport interface ActivityGroup {\n $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activityGroup'\n id: string\n groupBy: 'subject' | 'actor' | (string & {})\n collection: string\n indexedAt: string\n items: ActivityItem[]\n subject?: string\n actor?: string\n}\n\nconst hashActivityGroup = 'activityGroup'\n\nexport function isActivityGroup<V>(v: V) {\n return is$typed(v, id, hashActivityGroup)\n}\n\nexport function validateActivityGroup<V>(v: V) {\n return validate<ActivityGroup & V>(v, id, hashActivityGroup)\n}\n"]}
1
+ {"version":3,"file":"getAtmosphereTimeline.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getAtmosphereTimeline.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;AAM5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,0CAA0C,CAAA;AA4BrD,MAAM,UAAU,UAA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,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;AASD,MAAM,qBAAqB,GAAG,mBAAmB,CAAA;AAEjD,MAAM,UAAU,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,qBAAqB,CAAC,CAAA;AAC/C,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAI,CAAI;IAC/C,OAAO,QAAQ,CAAwB,CAAC,EAAE,EAAE,EAAE,qBAAqB,CAAC,CAAA;AACtE,CAAC;AAYD,MAAM,wBAAwB,GAAG,sBAAsB,CAAA;AAEvD,MAAM,UAAU,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAClD,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAI,CAAI;IAClD,OAAO,QAAQ,CAA2B,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAC5E,CAAC;AAeD,MAAM,wBAAwB,GAAG,sBAAsB,CAAA;AAEvD,MAAM,UAAU,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAClD,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAI,CAAI;IAClD,OAAO,QAAQ,CAA2B,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAC5E,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 ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\nimport type * as AppBskyFeedDefs from '../feed/defs.js'\nimport type * as AppBskyEmbedExternal from '../embed/external.js'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getAtmosphereTimeline'\n\nexport type QueryParams = {\n cursor?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n feed: (\n | $Typed<ActivityItem>\n | $Typed<ActivityActorGroup>\n | $Typed<ActivitySubjectGroup>\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\nexport interface ActivityRecord {\n $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activityRecord'\n uri: string\n cid: string\n indexedAt: string\n}\n\nconst hashActivityRecord = 'activityRecord'\n\nexport function isActivityRecord<V>(v: V) {\n return is$typed(v, id, hashActivityRecord)\n}\n\nexport function validateActivityRecord<V>(v: V) {\n return validate<ActivityRecord & V>(v, id, hashActivityRecord)\n}\n\nexport interface ViewerState {\n $type?: 'app.bsky.unspecced.getAtmosphereTimeline#viewerState'\n subscribed: boolean\n}\n\nconst hashViewerState = 'viewerState'\n\nexport function isViewerState<V>(v: V) {\n return is$typed(v, id, hashViewerState)\n}\n\nexport function validateViewerState<V>(v: V) {\n return validate<ViewerState & V>(v, id, hashViewerState)\n}\n\nexport interface ActivityItem {\n $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activityItem'\n record: ActivityRecord\n collection: string\n viewerState: ViewerState\n /** Collection-specific activity references targeting this item's record. Article creations with related activity remain standalone; only the parent item's view is hydrated. */\n relatedActivity?: ActivityRelatedGroup[]\n bskyPostRef?: ComAtprotoRepoStrongRef.Main\n viewBskyPost?: AppBskyFeedDefs.PostView\n view?:\n | $Typed<AppBskyEmbedExternal.ViewArticle>\n | $Typed<AppBskyEmbedExternal.ViewArticlePublication>\n | $Typed<AppBskyEmbedExternal.ViewGallery>\n | $Typed<AppBskyEmbedExternal.ViewLivestream>\n | $Typed<AppBskyFeedDefs.PostView>\n | { $type: string }\n}\n\nconst hashActivityItem = 'activityItem'\n\nexport function isActivityItem<V>(v: V) {\n return is$typed(v, id, hashActivityItem)\n}\n\nexport function validateActivityItem<V>(v: V) {\n return validate<ActivityItem & V>(v, id, hashActivityItem)\n}\n\n/** Activities by one actor in one collection, positioned at the newest group item. Only the newest item is hydrated. Article creations with related activity remain standalone. */\nexport interface ActivityActorGroup {\n $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activityActorGroup'\n id: string\n collection: string\n indexedAt: string\n actor: string\n item: ActivityItem\n /** All visible group item URIs, including the hydrated item, in newest-first timeline order. */\n uris: string[]\n}\n\nconst hashActivityActorGroup = 'activityActorGroup'\n\nexport function isActivityActorGroup<V>(v: V) {\n return is$typed(v, id, hashActivityActorGroup)\n}\n\nexport function validateActivityActorGroup<V>(v: V) {\n return validate<ActivityActorGroup & V>(v, id, hashActivityActorGroup)\n}\n\n/** The shared target of grouped activities, not an activity itself. */\nexport interface ActivitySubject {\n $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activitySubject'\n uri: string\n viewerState: ViewerState\n bskyPostRef?: ComAtprotoRepoStrongRef.Main\n viewBskyPost?: AppBskyFeedDefs.PostView\n view:\n | $Typed<AppBskyEmbedExternal.ViewArticle>\n | $Typed<AppBskyEmbedExternal.ViewArticlePublication>\n | $Typed<AppBskyEmbedExternal.ViewGallery>\n | { $type: string }\n}\n\nconst hashActivitySubject = 'activitySubject'\n\nexport function isActivitySubject<V>(v: V) {\n return is$typed(v, id, hashActivitySubject)\n}\n\nexport function validateActivitySubject<V>(v: V) {\n return validate<ActivitySubject & V>(v, id, hashActivitySubject)\n}\n\n/** An unhydrated group item. Its actor DID is the authority of its record URI. */\nexport interface ActivityGroupItem {\n $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activityGroupItem'\n record: ActivityRecord\n collection: string\n}\n\nconst hashActivityGroupItem = 'activityGroupItem'\n\nexport function isActivityGroupItem<V>(v: V) {\n return is$typed(v, id, hashActivityGroupItem)\n}\n\nexport function validateActivityGroupItem<V>(v: V) {\n return validate<ActivityGroupItem & V>(v, id, hashActivityGroupItem)\n}\n\n/** Visible activities in one collection targeting the parent item's record, without a time window. Contains references and profiles only, not a shared subject or hydrated action views. Buckets follow newest-first first appearance. */\nexport interface ActivityRelatedGroup {\n $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activityRelatedGroup'\n collection: string\n /** Visible activity references in newest-first timeline order. Every activity has the bucket's collection. */\n activities: ActivityGroupItem[]\n /** Unique actors in first-appearance order among the bucket's activities. */\n actors: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashActivityRelatedGroup = 'activityRelatedGroup'\n\nexport function isActivityRelatedGroup<V>(v: V) {\n return is$typed(v, id, hashActivityRelatedGroup)\n}\n\nexport function validateActivityRelatedGroup<V>(v: V) {\n return validate<ActivityRelatedGroup & V>(v, id, hashActivityRelatedGroup)\n}\n\n/** Activities in one collection sharing a target, by at least two distinct actors, positioned at the newest group item. Article recommendations and shares group separately across the returned page without a time window. Article creations are not subject-group items. Publication subscriptions and gallery favorites retain age-based grouping windows. */\nexport interface ActivitySubjectGroup {\n $type?: 'app.bsky.unspecced.getAtmosphereTimeline#activitySubjectGroup'\n id: string\n collection: string\n indexedAt: string\n subject: ActivitySubject\n /** Visible group items in newest-first timeline order. Every activity has the group's collection. */\n activities: ActivityGroupItem[]\n /** Unique actors in first-appearance order among group items. At least two distinct actors are required. */\n actors: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashActivitySubjectGroup = 'activitySubjectGroup'\n\nexport function isActivitySubjectGroup<V>(v: V) {\n return is$typed(v, id, hashActivitySubjectGroup)\n}\n\nexport function validateActivitySubjectGroup<V>(v: V) {\n return validate<ActivitySubjectGroup & V>(v, id, hashActivitySubjectGroup)\n}\n"]}