@atproto/api 0.22.0 → 0.23.1

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.
@@ -8,10 +8,14 @@ export type QueryParams = {
8
8
  list: string;
9
9
  limit?: number;
10
10
  cursor?: string;
11
+ /** Return only items newer than the position identified by this cursor value, newest first. Use the startCursor from a previous response. The item at that position is not returned because the caller already holds it. When the bounded range is exhausted, the returned cursor equals this value so that pagination continues below the boundary. */
12
+ since?: string;
11
13
  };
12
14
  export type InputSchema = undefined;
13
15
  export interface OutputSchema {
14
16
  cursor?: string;
17
+ /** Cursor identifying the newest item in this page. Pass it as since on a later request to fetch only newer content. */
18
+ startCursor?: string;
15
19
  feed: AppBskyFeedDefs.FeedViewPost[];
16
20
  }
17
21
  export interface CallOptions {
@@ -1 +1 @@
1
- {"version":3,"file":"getListFeed.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/getListFeed.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAS1D,OAAO,KAAK,KAAK,eAAe,MAAM,WAAW,CAAA;AAMjD,MAAM,MAAM,WAAW,GAAG;IACxB,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,eAAe,CAAC,YAAY,EAAE,CAAA;CACrC;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,qBAAa,gBAAiB,SAAQ,SAAS;IAC7C,YAAY,GAAG,EAAE,SAAS,EAEzB;CACF;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAMhC"}
1
+ {"version":3,"file":"getListFeed.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/getListFeed.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAS1D,OAAO,KAAK,KAAK,eAAe,MAAM,WAAW,CAAA;AAMjD,MAAM,MAAM,WAAW,GAAG;IACxB,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,wVAAwV;IACxV,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,wHAAwH;IACxH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,eAAe,CAAC,YAAY,EAAE,CAAA;CACrC;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,qBAAa,gBAAiB,SAAQ,SAAS;IAC7C,YAAY,GAAG,EAAE,SAAS,EAEzB;CACF;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAMhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getListFeed.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/getListFeed.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,2BAA2B,CAAA;AA0BtC,MAAM,OAAO,gBAAiB,SAAQ,SAAS;IAC7C,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAA;IACxE,CAAC;CACF;AAED,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,SAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,aAAa;YAAE,OAAO,IAAI,gBAAgB,CAAC,CAAC,CAAC,CAAA;IAC/D,CAAC;IAED,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 AppBskyFeedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.feed.getListFeed'\n\nexport type QueryParams = {\n /** Reference (AT-URI) to the list record. */\n list: string\n limit?: number\n cursor?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n feed: AppBskyFeedDefs.FeedViewPost[]\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 class UnknownListError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'UnknownList') return new UnknownListError(e)\n }\n\n return e\n}\n"]}
1
+ {"version":3,"file":"getListFeed.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/getListFeed.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,2BAA2B,CAAA;AA8BtC,MAAM,OAAO,gBAAiB,SAAQ,SAAS;IAC7C,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAA;IACxE,CAAC;CACF;AAED,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,SAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,aAAa;YAAE,OAAO,IAAI,gBAAgB,CAAC,CAAC,CAAC,CAAA;IAC/D,CAAC;IAED,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 AppBskyFeedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.feed.getListFeed'\n\nexport type QueryParams = {\n /** Reference (AT-URI) to the list record. */\n list: string\n limit?: number\n cursor?: string\n /** Return only items newer than the position identified by this cursor value, newest first. Use the startCursor from a previous response. The item at that position is not returned because the caller already holds it. When the bounded range is exhausted, the returned cursor equals this value so that pagination continues below the boundary. */\n since?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n /** Cursor identifying the newest item in this page. Pass it as since on a later request to fetch only newer content. */\n startCursor?: string\n feed: AppBskyFeedDefs.FeedViewPost[]\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 class UnknownListError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'UnknownList') return new UnknownListError(e)\n }\n\n return e\n}\n"]}
@@ -8,10 +8,14 @@ export type QueryParams = {
8
8
  algorithm?: string;
9
9
  limit?: number;
10
10
  cursor?: string;
11
+ /** Return only items newer than the position identified by this cursor value, newest first. Use the startCursor from a previous response. The item at that position is not returned because the caller already holds it. When the bounded range is exhausted, the returned cursor equals this value so that pagination continues below the boundary. */
12
+ since?: string;
11
13
  };
12
14
  export type InputSchema = undefined;
13
15
  export interface OutputSchema {
14
16
  cursor?: string;
17
+ /** Cursor identifying the newest item in this page. Pass it as since on a later request to fetch only newer content. */
18
+ startCursor?: string;
15
19
  feed: AppBskyFeedDefs.FeedViewPost[];
16
20
  }
17
21
  export interface CallOptions {
@@ -1 +1 @@
1
- {"version":3,"file":"getTimeline.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/getTimeline.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAS1D,OAAO,KAAK,KAAK,eAAe,MAAM,WAAW,CAAA;AAMjD,MAAM,MAAM,WAAW,GAAG;IACxB,yIAAyI;IACzI,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,eAAe,CAAC,YAAY,EAAE,CAAA;CACrC;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":"getTimeline.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/getTimeline.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAS1D,OAAO,KAAK,KAAK,eAAe,MAAM,WAAW,CAAA;AAMjD,MAAM,MAAM,WAAW,GAAG;IACxB,yIAAyI;IACzI,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,wVAAwV;IACxV,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,wHAAwH;IACxH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,eAAe,CAAC,YAAY,EAAE,CAAA;CACrC;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":"getTimeline.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/getTimeline.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,2BAA2B,CAAA;AA0BtC,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 AppBskyFeedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.feed.getTimeline'\n\nexport type QueryParams = {\n /** Variant 'algorithm' for timeline. Implementation-specific. NOTE: most feed flexibility has been moved to feed generator mechanism. */\n algorithm?: string\n limit?: number\n cursor?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n feed: AppBskyFeedDefs.FeedViewPost[]\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":"getTimeline.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/getTimeline.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,2BAA2B,CAAA;AA8BtC,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 AppBskyFeedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.feed.getTimeline'\n\nexport type QueryParams = {\n /** Variant 'algorithm' for timeline. Implementation-specific. NOTE: most feed flexibility has been moved to feed generator mechanism. */\n algorithm?: string\n limit?: number\n cursor?: string\n /** Return only items newer than the position identified by this cursor value, newest first. Use the startCursor from a previous response. The item at that position is not returned because the caller already holds it. When the bounded range is exhausted, the returned cursor equals this value so that pagination continues below the boundary. */\n since?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n /** Cursor identifying the newest item in this page. Pass it as since on a later request to fetch only newer content. */\n startCursor?: string\n feed: AppBskyFeedDefs.FeedViewPost[]\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"]}
@@ -0,0 +1,234 @@
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 $Typed } from '../../../../util.js';
7
+ import type * as AppBskyActorDefs from '../actor/defs.js';
8
+ import type * as AppBskyFeedDefs from '../feed/defs.js';
9
+ import type * as AppBskyGraphDefs from '../graph/defs.js';
10
+ export type QueryParams = {
11
+ /** 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'. */
12
+ feed?: 'all' | 'people-i-follow' | 'conversations' | 'followers' | 'activity' | (string & {});
13
+ /** Maximum number of groups to return. */
14
+ limit?: number;
15
+ cursor?: string;
16
+ };
17
+ export type InputSchema = undefined;
18
+ export interface OutputSchema {
19
+ cursor?: string;
20
+ /** Notification groups or individual notifications, newest first. Clients should ignore kinds they do not recognize. Grouping behavior depends on the kind and selected feed. */
21
+ groups: Group[];
22
+ seenAt?: string;
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> | {
25
+ $type: string;
26
+ })[];
27
+ }
28
+ export interface CallOptions {
29
+ signal?: AbortSignal;
30
+ headers?: HeadersMap;
31
+ }
32
+ export interface Response {
33
+ success: boolean;
34
+ headers: HeadersMap;
35
+ data: OutputSchema;
36
+ }
37
+ export declare function toKnownErr(e: any): any;
38
+ /** Contains common metadata and kind-specific data for a notification group or individual notification. */
39
+ export interface Group {
40
+ $type?: 'app.bsky.notification.getGroupedNotifications#group';
41
+ id: string;
42
+ isRead: boolean;
43
+ indexedAt: string;
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> | {
46
+ $type: string;
47
+ };
48
+ }
49
+ export declare function isGroup<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "group">;
50
+ export declare function validateGroup<V>(v: V): ValidationResult<Group & V>;
51
+ /** Group of likes by different actors on the same post. */
52
+ export interface LikeGroup {
53
+ $type?: 'app.bsky.notification.getGroupedNotifications#likeGroup';
54
+ post: string;
55
+ items: LikeItem[];
56
+ }
57
+ export declare function isLikeGroup<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "likeGroup">;
58
+ export declare function validateLikeGroup<V>(v: V): ValidationResult<LikeGroup & V>;
59
+ /** One actor who liked the group's post. */
60
+ export interface LikeItem {
61
+ $type?: 'app.bsky.notification.getGroupedNotifications#likeItem';
62
+ actor: string;
63
+ }
64
+ export declare function isLikeItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "likeItem">;
65
+ export declare function validateLikeItem<V>(v: V): ValidationResult<LikeItem & V>;
66
+ /** Group of likes by the same actor on different posts. */
67
+ export interface MultiPostLikeGroup {
68
+ $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeGroup';
69
+ actor: string;
70
+ items: MultiPostLikeItem[];
71
+ }
72
+ export declare function isMultiPostLikeGroup<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "multiPostLikeGroup">;
73
+ export declare function validateMultiPostLikeGroup<V>(v: V): ValidationResult<MultiPostLikeGroup & V>;
74
+ /** One post which was liked by the group's actor. */
75
+ export interface MultiPostLikeItem {
76
+ $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeItem';
77
+ post: string;
78
+ }
79
+ export declare function isMultiPostLikeItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "multiPostLikeItem">;
80
+ export declare function validateMultiPostLikeItem<V>(v: V): ValidationResult<MultiPostLikeItem & V>;
81
+ /** Group of reposts by different actors of the same post. */
82
+ export interface RepostGroup {
83
+ $type?: 'app.bsky.notification.getGroupedNotifications#repostGroup';
84
+ post: string;
85
+ items: RepostItem[];
86
+ }
87
+ export declare function isRepostGroup<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "repostGroup">;
88
+ export declare function validateRepostGroup<V>(v: V): ValidationResult<RepostGroup & V>;
89
+ /** One actor who reposted the group's post. */
90
+ export interface RepostItem {
91
+ $type?: 'app.bsky.notification.getGroupedNotifications#repostItem';
92
+ actor: string;
93
+ }
94
+ export declare function isRepostItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "repostItem">;
95
+ export declare function validateRepostItem<V>(v: V): ValidationResult<RepostItem & V>;
96
+ /** Group of likes by different actors on the same post via the requesting account's repost. */
97
+ export interface LikeViaRepostGroup {
98
+ $type?: 'app.bsky.notification.getGroupedNotifications#likeViaRepostGroup';
99
+ post: string;
100
+ viaRepost: string;
101
+ items: LikeViaRepostItem[];
102
+ }
103
+ export declare function isLikeViaRepostGroup<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "likeViaRepostGroup">;
104
+ export declare function validateLikeViaRepostGroup<V>(v: V): ValidationResult<LikeViaRepostGroup & V>;
105
+ /** One actor who liked the group's post via the requesting account's repost. */
106
+ export interface LikeViaRepostItem {
107
+ $type?: 'app.bsky.notification.getGroupedNotifications#likeViaRepostItem';
108
+ actor: string;
109
+ }
110
+ export declare function isLikeViaRepostItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "likeViaRepostItem">;
111
+ export declare function validateLikeViaRepostItem<V>(v: V): ValidationResult<LikeViaRepostItem & V>;
112
+ /** Group of reposts by different actors of the same post via the requesting account's repost. */
113
+ export interface RepostViaRepostGroup {
114
+ $type?: 'app.bsky.notification.getGroupedNotifications#repostViaRepostGroup';
115
+ post: string;
116
+ viaRepost: string;
117
+ items: RepostViaRepostItem[];
118
+ }
119
+ export declare function isRepostViaRepostGroup<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "repostViaRepostGroup">;
120
+ export declare function validateRepostViaRepostGroup<V>(v: V): ValidationResult<RepostViaRepostGroup & V>;
121
+ /** One actor who reposted the group's post via the requesting account's repost. */
122
+ export interface RepostViaRepostItem {
123
+ $type?: 'app.bsky.notification.getGroupedNotifications#repostViaRepostItem';
124
+ actor: string;
125
+ }
126
+ export declare function isRepostViaRepostItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "repostViaRepostItem">;
127
+ export declare function validateRepostViaRepostItem<V>(v: V): ValidationResult<RepostViaRepostItem & V>;
128
+ /** Group of actors who followed the requesting account. */
129
+ export interface FollowGroup {
130
+ $type?: 'app.bsky.notification.getGroupedNotifications#followGroup';
131
+ items: FollowItem[];
132
+ }
133
+ export declare function isFollowGroup<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "followGroup">;
134
+ export declare function validateFollowGroup<V>(v: V): ValidationResult<FollowGroup & V>;
135
+ /** An actor who followed the requesting account, possibly via a starter pack. */
136
+ export interface FollowItem {
137
+ $type?: 'app.bsky.notification.getGroupedNotifications#followItem';
138
+ actor: string;
139
+ starterPack?: string;
140
+ }
141
+ export declare function isFollowItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "followItem">;
142
+ export declare function validateFollowItem<V>(v: V): ValidationResult<FollowItem & V>;
143
+ /** Group of new posts by actors the requesting account subscribes to. */
144
+ export interface SubscribedPostGroup {
145
+ $type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostGroup';
146
+ items: SubscribedPostItem[];
147
+ }
148
+ export declare function isSubscribedPostGroup<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "subscribedPostGroup">;
149
+ export declare function validateSubscribedPostGroup<V>(v: V): ValidationResult<SubscribedPostGroup & V>;
150
+ /** One new post by an actor the requesting account subscribes to. */
151
+ export interface SubscribedPostItem {
152
+ $type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostItem';
153
+ actor: string;
154
+ post: string;
155
+ }
156
+ export declare function isSubscribedPostItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "subscribedPostItem">;
157
+ export declare function validateSubscribedPostItem<V>(v: V): ValidationResult<SubscribedPostItem & V>;
158
+ /** Group of likes by different actors on the same feed generator. */
159
+ export interface GeneratorLikeGroup {
160
+ $type?: 'app.bsky.notification.getGroupedNotifications#generatorLikeGroup';
161
+ generator: string;
162
+ items: GeneratorLikeItem[];
163
+ }
164
+ export declare function isGeneratorLikeGroup<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "generatorLikeGroup">;
165
+ export declare function validateGeneratorLikeGroup<V>(v: V): ValidationResult<GeneratorLikeGroup & V>;
166
+ /** One actor who liked the feed generator in the group. */
167
+ export interface GeneratorLikeItem {
168
+ $type?: 'app.bsky.notification.getGroupedNotifications#generatorLikeItem';
169
+ actor: string;
170
+ }
171
+ export declare function isGeneratorLikeItem<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "generatorLikeItem">;
172
+ export declare function validateGeneratorLikeItem<V>(v: V): ValidationResult<GeneratorLikeItem & V>;
173
+ /** A reply to a post by the requesting account or to a thread they are participating in. */
174
+ export interface ReplyNotification {
175
+ $type?: 'app.bsky.notification.getGroupedNotifications#replyNotification';
176
+ post: string;
177
+ parent: string;
178
+ }
179
+ export declare function isReplyNotification<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "replyNotification">;
180
+ export declare function validateReplyNotification<V>(v: V): ValidationResult<ReplyNotification & V>;
181
+ /** A post quoting a post by the requesting account. */
182
+ export interface QuoteNotification {
183
+ $type?: 'app.bsky.notification.getGroupedNotifications#quoteNotification';
184
+ post: string;
185
+ parent?: string;
186
+ }
187
+ export declare function isQuoteNotification<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "quoteNotification">;
188
+ export declare function validateQuoteNotification<V>(v: V): ValidationResult<QuoteNotification & V>;
189
+ /** A post mentioning the requesting account. */
190
+ export interface MentionNotification {
191
+ $type?: 'app.bsky.notification.getGroupedNotifications#mentionNotification';
192
+ post: string;
193
+ parent?: string;
194
+ }
195
+ export declare function isMentionNotification<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "mentionNotification">;
196
+ export declare function validateMentionNotification<V>(v: V): ValidationResult<MentionNotification & V>;
197
+ /** An actor followed the requesting account back, possibly via a starter pack. */
198
+ export interface FollowBackNotification {
199
+ $type?: 'app.bsky.notification.getGroupedNotifications#followBackNotification';
200
+ actor: string;
201
+ starterPack?: string;
202
+ }
203
+ export declare function isFollowBackNotification<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "followBackNotification">;
204
+ export declare function validateFollowBackNotification<V>(v: V): ValidationResult<FollowBackNotification & V>;
205
+ /** An actor verified the requesting account. */
206
+ export interface VerifiedNotification {
207
+ $type?: 'app.bsky.notification.getGroupedNotifications#verifiedNotification';
208
+ actor: string;
209
+ }
210
+ export declare function isVerifiedNotification<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "verifiedNotification">;
211
+ export declare function validateVerifiedNotification<V>(v: V): ValidationResult<VerifiedNotification & V>;
212
+ /** A verification of the requesting account was removed. */
213
+ export interface UnverifiedNotification {
214
+ $type?: 'app.bsky.notification.getGroupedNotifications#unverifiedNotification';
215
+ actor: string;
216
+ }
217
+ export declare function isUnverifiedNotification<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "unverifiedNotification">;
218
+ export declare function validateUnverifiedNotification<V>(v: V): ValidationResult<UnverifiedNotification & V>;
219
+ /** An actor joined Bluesky via a starter pack created by the requesting account. */
220
+ export interface StarterPackJoinedNotification {
221
+ $type?: 'app.bsky.notification.getGroupedNotifications#starterPackJoinedNotification';
222
+ actor: string;
223
+ starterPack: string;
224
+ }
225
+ export declare function isStarterPackJoinedNotification<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "starterPackJoinedNotification">;
226
+ export declare function validateStarterPackJoinedNotification<V>(v: V): ValidationResult<StarterPackJoinedNotification & V>;
227
+ /** A contact of the requesting account joined Bluesky. */
228
+ export interface ContactMatchNotification {
229
+ $type?: 'app.bsky.notification.getGroupedNotifications#contactMatchNotification';
230
+ actor: string;
231
+ }
232
+ export declare function isContactMatchNotification<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.notification.getGroupedNotifications", "contactMatchNotification">;
233
+ export declare function validateContactMatchNotification<V>(v: V): ValidationResult<ContactMatchNotification & V>;
234
+ //# sourceMappingURL=getGroupedNotifications.d.ts.map
@@ -0,0 +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,eAA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CAAA;IAC5E,KAAK,EAAE,MAAM,CAAA;CACd;AAID,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+HAE7C;AAED,wBAAgB,4BAA4B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8CAEnD;AAED,4DAA4D;AAC5D,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,sEAAsE,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"}
@@ -0,0 +1,189 @@
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.notification.getGroupedNotifications';
11
+ export function toKnownErr(e) {
12
+ return e;
13
+ }
14
+ const hashGroup = 'group';
15
+ export function isGroup(v) {
16
+ return is$typed(v, id, hashGroup);
17
+ }
18
+ export function validateGroup(v) {
19
+ return validate(v, id, hashGroup);
20
+ }
21
+ const hashLikeGroup = 'likeGroup';
22
+ export function isLikeGroup(v) {
23
+ return is$typed(v, id, hashLikeGroup);
24
+ }
25
+ export function validateLikeGroup(v) {
26
+ return validate(v, id, hashLikeGroup);
27
+ }
28
+ const hashLikeItem = 'likeItem';
29
+ export function isLikeItem(v) {
30
+ return is$typed(v, id, hashLikeItem);
31
+ }
32
+ export function validateLikeItem(v) {
33
+ return validate(v, id, hashLikeItem);
34
+ }
35
+ const hashMultiPostLikeGroup = 'multiPostLikeGroup';
36
+ export function isMultiPostLikeGroup(v) {
37
+ return is$typed(v, id, hashMultiPostLikeGroup);
38
+ }
39
+ export function validateMultiPostLikeGroup(v) {
40
+ return validate(v, id, hashMultiPostLikeGroup);
41
+ }
42
+ const hashMultiPostLikeItem = 'multiPostLikeItem';
43
+ export function isMultiPostLikeItem(v) {
44
+ return is$typed(v, id, hashMultiPostLikeItem);
45
+ }
46
+ export function validateMultiPostLikeItem(v) {
47
+ return validate(v, id, hashMultiPostLikeItem);
48
+ }
49
+ const hashRepostGroup = 'repostGroup';
50
+ export function isRepostGroup(v) {
51
+ return is$typed(v, id, hashRepostGroup);
52
+ }
53
+ export function validateRepostGroup(v) {
54
+ return validate(v, id, hashRepostGroup);
55
+ }
56
+ const hashRepostItem = 'repostItem';
57
+ export function isRepostItem(v) {
58
+ return is$typed(v, id, hashRepostItem);
59
+ }
60
+ export function validateRepostItem(v) {
61
+ return validate(v, id, hashRepostItem);
62
+ }
63
+ const hashLikeViaRepostGroup = 'likeViaRepostGroup';
64
+ export function isLikeViaRepostGroup(v) {
65
+ return is$typed(v, id, hashLikeViaRepostGroup);
66
+ }
67
+ export function validateLikeViaRepostGroup(v) {
68
+ return validate(v, id, hashLikeViaRepostGroup);
69
+ }
70
+ const hashLikeViaRepostItem = 'likeViaRepostItem';
71
+ export function isLikeViaRepostItem(v) {
72
+ return is$typed(v, id, hashLikeViaRepostItem);
73
+ }
74
+ export function validateLikeViaRepostItem(v) {
75
+ return validate(v, id, hashLikeViaRepostItem);
76
+ }
77
+ const hashRepostViaRepostGroup = 'repostViaRepostGroup';
78
+ export function isRepostViaRepostGroup(v) {
79
+ return is$typed(v, id, hashRepostViaRepostGroup);
80
+ }
81
+ export function validateRepostViaRepostGroup(v) {
82
+ return validate(v, id, hashRepostViaRepostGroup);
83
+ }
84
+ const hashRepostViaRepostItem = 'repostViaRepostItem';
85
+ export function isRepostViaRepostItem(v) {
86
+ return is$typed(v, id, hashRepostViaRepostItem);
87
+ }
88
+ export function validateRepostViaRepostItem(v) {
89
+ return validate(v, id, hashRepostViaRepostItem);
90
+ }
91
+ const hashFollowGroup = 'followGroup';
92
+ export function isFollowGroup(v) {
93
+ return is$typed(v, id, hashFollowGroup);
94
+ }
95
+ export function validateFollowGroup(v) {
96
+ return validate(v, id, hashFollowGroup);
97
+ }
98
+ const hashFollowItem = 'followItem';
99
+ export function isFollowItem(v) {
100
+ return is$typed(v, id, hashFollowItem);
101
+ }
102
+ export function validateFollowItem(v) {
103
+ return validate(v, id, hashFollowItem);
104
+ }
105
+ const hashSubscribedPostGroup = 'subscribedPostGroup';
106
+ export function isSubscribedPostGroup(v) {
107
+ return is$typed(v, id, hashSubscribedPostGroup);
108
+ }
109
+ export function validateSubscribedPostGroup(v) {
110
+ return validate(v, id, hashSubscribedPostGroup);
111
+ }
112
+ const hashSubscribedPostItem = 'subscribedPostItem';
113
+ export function isSubscribedPostItem(v) {
114
+ return is$typed(v, id, hashSubscribedPostItem);
115
+ }
116
+ export function validateSubscribedPostItem(v) {
117
+ return validate(v, id, hashSubscribedPostItem);
118
+ }
119
+ const hashGeneratorLikeGroup = 'generatorLikeGroup';
120
+ export function isGeneratorLikeGroup(v) {
121
+ return is$typed(v, id, hashGeneratorLikeGroup);
122
+ }
123
+ export function validateGeneratorLikeGroup(v) {
124
+ return validate(v, id, hashGeneratorLikeGroup);
125
+ }
126
+ const hashGeneratorLikeItem = 'generatorLikeItem';
127
+ export function isGeneratorLikeItem(v) {
128
+ return is$typed(v, id, hashGeneratorLikeItem);
129
+ }
130
+ export function validateGeneratorLikeItem(v) {
131
+ return validate(v, id, hashGeneratorLikeItem);
132
+ }
133
+ const hashReplyNotification = 'replyNotification';
134
+ export function isReplyNotification(v) {
135
+ return is$typed(v, id, hashReplyNotification);
136
+ }
137
+ export function validateReplyNotification(v) {
138
+ return validate(v, id, hashReplyNotification);
139
+ }
140
+ const hashQuoteNotification = 'quoteNotification';
141
+ export function isQuoteNotification(v) {
142
+ return is$typed(v, id, hashQuoteNotification);
143
+ }
144
+ export function validateQuoteNotification(v) {
145
+ return validate(v, id, hashQuoteNotification);
146
+ }
147
+ const hashMentionNotification = 'mentionNotification';
148
+ export function isMentionNotification(v) {
149
+ return is$typed(v, id, hashMentionNotification);
150
+ }
151
+ export function validateMentionNotification(v) {
152
+ return validate(v, id, hashMentionNotification);
153
+ }
154
+ const hashFollowBackNotification = 'followBackNotification';
155
+ export function isFollowBackNotification(v) {
156
+ return is$typed(v, id, hashFollowBackNotification);
157
+ }
158
+ export function validateFollowBackNotification(v) {
159
+ return validate(v, id, hashFollowBackNotification);
160
+ }
161
+ const hashVerifiedNotification = 'verifiedNotification';
162
+ export function isVerifiedNotification(v) {
163
+ return is$typed(v, id, hashVerifiedNotification);
164
+ }
165
+ export function validateVerifiedNotification(v) {
166
+ return validate(v, id, hashVerifiedNotification);
167
+ }
168
+ const hashUnverifiedNotification = 'unverifiedNotification';
169
+ export function isUnverifiedNotification(v) {
170
+ return is$typed(v, id, hashUnverifiedNotification);
171
+ }
172
+ export function validateUnverifiedNotification(v) {
173
+ return validate(v, id, hashUnverifiedNotification);
174
+ }
175
+ const hashStarterPackJoinedNotification = 'starterPackJoinedNotification';
176
+ export function isStarterPackJoinedNotification(v) {
177
+ return is$typed(v, id, hashStarterPackJoinedNotification);
178
+ }
179
+ export function validateStarterPackJoinedNotification(v) {
180
+ return validate(v, id, hashStarterPackJoinedNotification);
181
+ }
182
+ const hashContactMatchNotification = 'contactMatchNotification';
183
+ export function isContactMatchNotification(v) {
184
+ return is$typed(v, id, hashContactMatchNotification);
185
+ }
186
+ export function validateContactMatchNotification(v) {
187
+ return validate(v, id, hashContactMatchNotification);
188
+ }
189
+ //# sourceMappingURL=getGroupedNotifications.js.map
@@ -0,0 +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,EAAE,SAAS,CAAC,CAAA;AAC9C,CAAC;AASD,MAAM,aAAa,GAAG,WAAW,CAAA;AAEjC,MAAM,UAAU,WAAW,CAAI,CAAI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AAI,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"]}
@@ -154,6 +154,16 @@ export interface AssignmentActivity {
154
154
  }
155
155
  export declare function isAssignmentActivity<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "tools.ozone.report.defs", "assignmentActivity">;
156
156
  export declare function validateAssignmentActivity<V>(v: V): ValidationResult<AssignmentActivity & V>;
157
+ /** Activity recording a moderator being unassigned from a report. */
158
+ export interface UnassignmentActivity {
159
+ $type?: 'tools.ozone.report.defs#unassignmentActivity';
160
+ /** The report's status immediately before the moderator was unassigned. May be absent on older activities. */
161
+ previousStatus?: 'open' | 'closed' | 'escalated' | 'queued' | 'assigned' | (string & {});
162
+ /** The report's status immediately after the moderator was unassigned. May equal previousStatus if unassignment did not change the report's status, or be absent on older activities. */
163
+ nextStatus?: 'open' | 'closed' | 'escalated' | 'queued' | 'assigned' | (string & {});
164
+ }
165
+ export declare function isUnassignmentActivity<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "tools.ozone.report.defs", "unassignmentActivity">;
166
+ export declare function validateUnassignmentActivity<V>(v: V): ValidationResult<UnassignmentActivity & V>;
157
167
  /** Activity recording a report being escalated. */
158
168
  export interface EscalationActivity {
159
169
  $type?: 'tools.ozone.report.defs#escalationActivity';
@@ -191,7 +201,7 @@ export interface ReportActivityView {
191
201
  id: number;
192
202
  /** ID of the report this activity belongs to */
193
203
  reportId: number;
194
- activity: $Typed<QueueActivity> | $Typed<AssignmentActivity> | $Typed<EscalationActivity> | $Typed<CloseActivity> | $Typed<ReopenActivity> | $Typed<NoteActivity> | {
204
+ activity: $Typed<QueueActivity> | $Typed<AssignmentActivity> | $Typed<UnassignmentActivity> | $Typed<EscalationActivity> | $Typed<CloseActivity> | $Typed<ReopenActivity> | $Typed<NoteActivity> | {
195
205
  $type: string;
196
206
  };
197
207
  /** Optional moderator-only note. Not visible to reporters. */