@atproto/api 0.29.5 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/client/lexicons.d.ts +34 -8
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +17 -4
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +10 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts +2 -2
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.js.map +1 -1
- package/dist/client/types/tools/ozone/report/closeReports.d.ts +1 -1
- package/dist/client/types/tools/ozone/report/closeReports.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/report/closeReports.js.map +1 -1
- package/package.json +2 -2
|
@@ -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 AppBskyEmbedExternal from '../embed/external.js';
|
|
7
|
+
import type * as AppBskyActorDefs from '../actor/defs.js';
|
|
7
8
|
export type QueryParams = {
|
|
8
9
|
/** Preferred languages for article recommendations when algorithmic recommendations are enabled. Ignored otherwise. */
|
|
9
10
|
langs?: string[];
|
|
@@ -65,6 +66,7 @@ export declare function isLivestreamList<V>(v: V): v is import("../../../../util
|
|
|
65
66
|
export declare function validateLivestreamList<V>(v: V): ValidationResult<LivestreamList & V>;
|
|
66
67
|
export interface ArticleItem {
|
|
67
68
|
$type?: 'app.bsky.unspecced.getAtmosphereExploreTab#articleItem';
|
|
69
|
+
/** Deprecated. Retained for compatibility; always false. */
|
|
68
70
|
featured: boolean;
|
|
69
71
|
view: AppBskyEmbedExternal.ViewArticle;
|
|
70
72
|
}
|
|
@@ -72,6 +74,7 @@ export declare function isArticleItem<V>(v: V): v is import("../../../../util.js
|
|
|
72
74
|
export declare function validateArticleItem<V>(v: V): ValidationResult<ArticleItem & V>;
|
|
73
75
|
export interface PublicationItem {
|
|
74
76
|
$type?: 'app.bsky.unspecced.getAtmosphereExploreTab#publicationItem';
|
|
77
|
+
/** Deprecated. Retained for compatibility; always false. */
|
|
75
78
|
featured: boolean;
|
|
76
79
|
view: AppBskyEmbedExternal.ViewArticlePublication;
|
|
77
80
|
}
|
|
@@ -79,6 +82,7 @@ export declare function isPublicationItem<V>(v: V): v is import("../../../../uti
|
|
|
79
82
|
export declare function validatePublicationItem<V>(v: V): ValidationResult<PublicationItem & V>;
|
|
80
83
|
export interface GalleryItem {
|
|
81
84
|
$type?: 'app.bsky.unspecced.getAtmosphereExploreTab#galleryItem';
|
|
85
|
+
/** Deprecated. Retained for compatibility; always false. */
|
|
82
86
|
featured: boolean;
|
|
83
87
|
view: AppBskyEmbedExternal.ViewGallery;
|
|
84
88
|
}
|
|
@@ -86,6 +90,7 @@ export declare function isGalleryItem<V>(v: V): v is import("../../../../util.js
|
|
|
86
90
|
export declare function validateGalleryItem<V>(v: V): ValidationResult<GalleryItem & V>;
|
|
87
91
|
export interface LivestreamItem {
|
|
88
92
|
$type?: 'app.bsky.unspecced.getAtmosphereExploreTab#livestreamItem';
|
|
93
|
+
/** Deprecated. Retained for compatibility; always false. */
|
|
89
94
|
featured: boolean;
|
|
90
95
|
view: AppBskyEmbedExternal.ViewLivestream;
|
|
91
96
|
}
|
|
@@ -108,12 +113,17 @@ export interface AppCard {
|
|
|
108
113
|
id?: string;
|
|
109
114
|
title?: string;
|
|
110
115
|
description?: string;
|
|
116
|
+
/** Compatibility field. The profile avatar when available, otherwise the editorial logo. */
|
|
111
117
|
logo?: string;
|
|
118
|
+
/** Compatibility field. The profile banner when available, otherwise the editorial background image. */
|
|
112
119
|
backgroundImage?: string;
|
|
120
|
+
/** Deprecated. Retained for compatibility. */
|
|
113
121
|
overlayColor?: string;
|
|
122
|
+
/** Deprecated. Retained for compatibility. */
|
|
114
123
|
textColor?: string;
|
|
115
124
|
url?: string;
|
|
116
125
|
category?: string;
|
|
126
|
+
profile?: AppBskyActorDefs.ProfileViewDetailed;
|
|
117
127
|
}
|
|
118
128
|
export declare function isAppCard<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.unspecced.getAtmosphereExploreTab", "appCard">;
|
|
119
129
|
export declare function validateAppCard<V>(v: V): ValidationResult<AppCard & V>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAtmosphereExploreTab.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getAtmosphereExploreTab.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,oBAAoB,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"getAtmosphereExploreTab.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getAtmosphereExploreTab.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,oBAAoB,MAAM,sBAAsB,CAAA;AACjE,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AAMzD,MAAM,MAAM,WAAW,GAAG;IACxB,uHAAuH;IACvH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,0EAA0E;IAC1E,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iEAAiE;IACjE,UAAU,CAAC,EA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AAS,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAtmosphereExploreTab.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getAtmosphereExploreTab.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAG5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,4CAA4C,CAAA;AAgCvD,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AASD,MAAM,eAAe,GAAG,aAAa,CAAA;AAErC,MAAM,UAAU,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AACzC,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAkB,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AAC1D,CAAC;AASD,MAAM,mBAAmB,GAAG,iBAAiB,CAAA;AAE7C,MAAM,UAAU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ED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as AppBskyEmbedExternal from '../embed/external.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getAtmosphereExploreTab'\n\nexport type QueryParams = {\n /** Preferred languages for article recommendations when algorithmic recommendations are enabled. Ignored otherwise. */\n langs?: string[]\n /** The ISO 3166-1 alpha-2 country code used to select curated content. */\n countryCode?: string\n /** The ISO 3166-2 region code used to select curated content. */\n regionCode?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n announcementBanner?: AnnouncementBanner\n articles: ArticleList\n publications: PublicationList\n photos: GalleryList\n livestreams: LivestreamList\n apps: AppCard[]\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n\nexport interface ArticleList {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#articleList'\n items: ArticleItem[]\n /** Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended. */\n recIdStr?: string\n}\n\nconst hashArticleList = 'articleList'\n\nexport function isArticleList<V>(v: V) {\n return is$typed(v, id, hashArticleList)\n}\n\nexport function validateArticleList<V>(v: V) {\n return validate<ArticleList & V>(v, id, hashArticleList)\n}\n\nexport interface PublicationList {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#publicationList'\n items: PublicationItem[]\n /** Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended. */\n recIdStr?: string\n}\n\nconst hashPublicationList = 'publicationList'\n\nexport function isPublicationList<V>(v: V) {\n return is$typed(v, id, hashPublicationList)\n}\n\nexport function validatePublicationList<V>(v: V) {\n return validate<PublicationList & V>(v, id, hashPublicationList)\n}\n\nexport interface GalleryList {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#galleryList'\n items: GalleryItem[]\n /** Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended. */\n recIdStr?: string\n}\n\nconst hashGalleryList = 'galleryList'\n\nexport function isGalleryList<V>(v: V) {\n return is$typed(v, id, hashGalleryList)\n}\n\nexport function validateGalleryList<V>(v: V) {\n return validate<GalleryList & V>(v, id, hashGalleryList)\n}\n\nexport interface LivestreamList {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#livestreamList'\n items: LivestreamItem[]\n /** Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended. */\n recIdStr?: string\n}\n\nconst hashLivestreamList = 'livestreamList'\n\nexport function isLivestreamList<V>(v: V) {\n return is$typed(v, id, hashLivestreamList)\n}\n\nexport function validateLivestreamList<V>(v: V) {\n return validate<LivestreamList & V>(v, id, hashLivestreamList)\n}\n\nexport interface ArticleItem {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#articleItem'\n featured: boolean\n view: AppBskyEmbedExternal.ViewArticle\n}\n\nconst hashArticleItem = 'articleItem'\n\nexport function isArticleItem<V>(v: V) {\n return is$typed(v, id, hashArticleItem)\n}\n\nexport function validateArticleItem<V>(v: V) {\n return validate<ArticleItem & V>(v, id, hashArticleItem)\n}\n\nexport interface PublicationItem {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#publicationItem'\n featured: boolean\n view: AppBskyEmbedExternal.ViewArticlePublication\n}\n\nconst hashPublicationItem = 'publicationItem'\n\nexport function isPublicationItem<V>(v: V) {\n return is$typed(v, id, hashPublicationItem)\n}\n\nexport function validatePublicationItem<V>(v: V) {\n return validate<PublicationItem & V>(v, id, hashPublicationItem)\n}\n\nexport interface GalleryItem {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#galleryItem'\n featured: boolean\n view: AppBskyEmbedExternal.ViewGallery\n}\n\nconst hashGalleryItem = 'galleryItem'\n\nexport function isGalleryItem<V>(v: V) {\n return is$typed(v, id, hashGalleryItem)\n}\n\nexport function validateGalleryItem<V>(v: V) {\n return validate<GalleryItem & V>(v, id, hashGalleryItem)\n}\n\nexport interface LivestreamItem {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#livestreamItem'\n featured: boolean\n view: AppBskyEmbedExternal.ViewLivestream\n}\n\nconst hashLivestreamItem = 'livestreamItem'\n\nexport function isLivestreamItem<V>(v: V) {\n return is$typed(v, id, hashLivestreamItem)\n}\n\nexport function validateLivestreamItem<V>(v: V) {\n return validate<LivestreamItem & V>(v, id, hashLivestreamItem)\n}\n\nexport interface AnnouncementBanner {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#announcementBanner'\n id?: string\n title?: string\n description?: string\n url?: string\n image?: string\n overlayColor?: string\n textColor?: string\n}\n\nconst hashAnnouncementBanner = 'announcementBanner'\n\nexport function isAnnouncementBanner<V>(v: V) {\n return is$typed(v, id, hashAnnouncementBanner)\n}\n\nexport function validateAnnouncementBanner<V>(v: V) {\n return validate<AnnouncementBanner & V>(v, id, hashAnnouncementBanner)\n}\n\nexport interface AppCard {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#appCard'\n id?: string\n title?: string\n description?: string\n logo?: string\n backgroundImage?: string\n overlayColor?: string\n textColor?: string\n url?: string\n category?: string\n}\n\nconst hashAppCard = 'appCard'\n\nexport function isAppCard<V>(v: V) {\n return is$typed(v, id, hashAppCard)\n}\n\nexport function validateAppCard<V>(v: V) {\n return validate<AppCard & V>(v, id, hashAppCard)\n}\n"]}
|
|
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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EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAA;AAC5C,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAqB,CAAC,EAAE,EAAE,EAAE,kBAAkB,CAAC,CAAA;AAChE,CAAC;AAaD,MAAM,sBAAsB,GAAG,oBAAoB,CAAA;AAEnD,MAAM,UAAU,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,sBAAsB,CAAC,CAAA;AAChD,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAI,CAAI;IAChD,OAAO,QAAQ,CAAyB,CAAC,EAAE,EAAE,EAAE,sBAAsB,CAAC,CAAA;AACxE,CAAC;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 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 recommendations when algorithmic recommendations are enabled. Ignored otherwise. */\n langs?: string[]\n /** The ISO 3166-1 alpha-2 country code used to select curated content. */\n countryCode?: string\n /** The ISO 3166-2 region code used to select curated content. */\n regionCode?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n announcementBanner?: AnnouncementBanner\n articles: ArticleList\n publications: PublicationList\n photos: GalleryList\n livestreams: LivestreamList\n apps: AppCard[]\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n\nexport interface ArticleList {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#articleList'\n items: ArticleItem[]\n /** Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended. */\n recIdStr?: string\n}\n\nconst hashArticleList = 'articleList'\n\nexport function isArticleList<V>(v: V) {\n return is$typed(v, id, hashArticleList)\n}\n\nexport function validateArticleList<V>(v: V) {\n return validate<ArticleList & V>(v, id, hashArticleList)\n}\n\nexport interface PublicationList {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#publicationList'\n items: PublicationItem[]\n /** Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended. */\n recIdStr?: string\n}\n\nconst hashPublicationList = 'publicationList'\n\nexport function isPublicationList<V>(v: V) {\n return is$typed(v, id, hashPublicationList)\n}\n\nexport function validatePublicationList<V>(v: V) {\n return validate<PublicationList & V>(v, id, hashPublicationList)\n}\n\nexport interface GalleryList {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#galleryList'\n items: GalleryItem[]\n /** Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended. */\n recIdStr?: string\n}\n\nconst hashGalleryList = 'galleryList'\n\nexport function isGalleryList<V>(v: V) {\n return is$typed(v, id, hashGalleryList)\n}\n\nexport function validateGalleryList<V>(v: V) {\n return validate<GalleryList & V>(v, id, hashGalleryList)\n}\n\nexport interface LivestreamList {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#livestreamList'\n items: LivestreamItem[]\n /** Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended. */\n recIdStr?: string\n}\n\nconst hashLivestreamList = 'livestreamList'\n\nexport function isLivestreamList<V>(v: V) {\n return is$typed(v, id, hashLivestreamList)\n}\n\nexport function validateLivestreamList<V>(v: V) {\n return validate<LivestreamList & V>(v, id, hashLivestreamList)\n}\n\nexport interface ArticleItem {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#articleItem'\n /** Deprecated. Retained for compatibility; always false. */\n featured: boolean\n view: AppBskyEmbedExternal.ViewArticle\n}\n\nconst hashArticleItem = 'articleItem'\n\nexport function isArticleItem<V>(v: V) {\n return is$typed(v, id, hashArticleItem)\n}\n\nexport function validateArticleItem<V>(v: V) {\n return validate<ArticleItem & V>(v, id, hashArticleItem)\n}\n\nexport interface PublicationItem {\n $type?: 'app.bsky.unspecced.getAtmosphereExploreTab#publicationItem'\n /** 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 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"]}
|
|
@@ -46,9 +46,9 @@ export interface ReportAction {
|
|
|
46
46
|
$type?: 'tools.ozone.moderation.emitEvent#reportAction';
|
|
47
47
|
/** Target specific report IDs */
|
|
48
48
|
ids?: number[];
|
|
49
|
-
/** Target reports matching these report types on the subject (fully qualified NSIDs) */
|
|
49
|
+
/** Target reports matching these report types on the subject (fully qualified NSIDs). Excludes assigned and escalated reports. */
|
|
50
50
|
types?: string[];
|
|
51
|
-
/** Target ALL reports on the subject */
|
|
51
|
+
/** Target ALL reports on the subject. Excludes assigned and escalated reports. */
|
|
52
52
|
all?: boolean;
|
|
53
53
|
/** Note to send to reporter(s) when actioning their report */
|
|
54
54
|
note?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emitEvent.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/moderation/emitEvent.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAE,SAAS,EAAE,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,wBAAwB,MAAM,WAAW,CAAA;AAC1D,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAC9E,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,KAAK,EACD,MAAM,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,GACjD,MAAM,CAAC,wBAAwB,CAAC,mBAAmB,CAAC,GACpD,MAAM,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,GACjD,MAAM,CAAC,wBAAwB,CAAC,eAAe,CAAC,GAChD,MAAM,CAAC,wBAAwB,CAAC,aAAa,CAAC,GAC9C,MAAM,CAAC,wBAAwB,CAAC,cAAc,CAAC,GAC/C,MAAM,CAAC,wBAAwB,CAAC,YAAY,CAAC,GAC7C,MAAM,CAAC,wBAAwB,CAAC,cAAc,CAAC,GAC/C,MAAM,CAAC,wBAAwB,CAAC,oBAAoB,CAAC,GACrD,MAAM,CAAC,wBAAwB,CAAC,sBAAsB,CAAC,GACvD,MAAM,CAAC,wBAAwB,CAAC,uBAAuB,CAAC,GACxD,MAAM,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,GACtD,MAAM,CAAC,wBAAwB,CAAC,aAAa,CAA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GAAG,cAAc,CAAA;AAEvC,MAAM,UAAU,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC1C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAmB,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC5D,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 ToolsOzoneModerationDefs from './defs.js'\nimport type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.moderation.emitEvent'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n event:\n | $Typed<ToolsOzoneModerationDefs.ModEventTakedown>\n | $Typed<ToolsOzoneModerationDefs.ModEventAcknowledge>\n | $Typed<ToolsOzoneModerationDefs.ModEventEscalate>\n | $Typed<ToolsOzoneModerationDefs.ModEventComment>\n | $Typed<ToolsOzoneModerationDefs.ModEventLabel>\n | $Typed<ToolsOzoneModerationDefs.ModEventReport>\n | $Typed<ToolsOzoneModerationDefs.ModEventMute>\n | $Typed<ToolsOzoneModerationDefs.ModEventUnmute>\n | $Typed<ToolsOzoneModerationDefs.ModEventMuteReporter>\n | $Typed<ToolsOzoneModerationDefs.ModEventUnmuteReporter>\n | $Typed<ToolsOzoneModerationDefs.ModEventReverseTakedown>\n | $Typed<ToolsOzoneModerationDefs.ModEventResolveAppeal>\n | $Typed<ToolsOzoneModerationDefs.ModEventEmail>\n | $Typed<ToolsOzoneModerationDefs.ModEventDivert>\n | $Typed<ToolsOzoneModerationDefs.ModEventTag>\n | $Typed<ToolsOzoneModerationDefs.AccountEvent>\n | $Typed<ToolsOzoneModerationDefs.IdentityEvent>\n | $Typed<ToolsOzoneModerationDefs.RecordEvent>\n | $Typed<ToolsOzoneModerationDefs.ModEventPriorityScore>\n | $Typed<ToolsOzoneModerationDefs.AgeAssuranceEvent>\n | $Typed<ToolsOzoneModerationDefs.AgeAssuranceOverrideEvent>\n | $Typed<ToolsOzoneModerationDefs.AgeAssurancePurgeEvent>\n | $Typed<ToolsOzoneModerationDefs.RevokeAccountCredentialsEvent>\n | $Typed<ToolsOzoneModerationDefs.ScheduleTakedownEvent>\n | $Typed<ToolsOzoneModerationDefs.CancelScheduledTakedownEvent>\n | { $type: string }\n subject:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | { $type: string }\n subjectBlobCids?: string[]\n createdBy: string\n modTool?: ToolsOzoneModerationDefs.ModTool\n /** An optional external ID for the event, used to deduplicate events from external systems. Fails when an event of same type with the same external ID exists for the same subject. */\n externalId?: string\n reportAction?: ReportAction\n}\n\nexport type OutputSchema = ToolsOzoneModerationDefs.ModEventView\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n qp?: QueryParams\n encoding?: 'application/json'\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport class SubjectHasActionError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class DuplicateExternalIdError 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 === 'SubjectHasAction') return new SubjectHasActionError(e)\n if (e.error === 'DuplicateExternalId')\n return new DuplicateExternalIdError(e)\n }\n\n return e\n}\n\n/** Target specific reports when emitting a moderation event */\nexport interface ReportAction {\n $type?: 'tools.ozone.moderation.emitEvent#reportAction'\n /** Target specific report IDs */\n ids?: number[]\n /** Target reports matching these report types on the subject (fully qualified NSIDs) */\n types?: string[]\n /** Target ALL reports on the subject */\n all?: boolean\n /** Note to send to reporter(s) when actioning their report */\n note?: string\n /** Set true when the report activities are created by an automated process. */\n isAutomated?: boolean\n}\n\nconst hashReportAction = 'reportAction'\n\nexport function isReportAction<V>(v: V) {\n return is$typed(v, id, hashReportAction)\n}\n\nexport function validateReportAction<V>(v: V) {\n return validate<ReportAction & V>(v, id, hashReportAction)\n}\n"]}
|
|
1
|
+
{"version":3,"file":"emitEvent.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/moderation/emitEvent.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,kCAAkC,CAAA;AA2D7C,MAAM,OAAO,qBAAsB,SAAQ,SAAS;IAClD,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,OAAO,wBAAyB,SAAQ,SAAS;IACrD,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,kBAAkB;YAAE,OAAO,IAAI,qBAAqB,CAAC,CAAC,CAAC,CAAA;QACvE,IAAI,CAAC,CAAC,KAAK,KAAK,qBAAqB;YACnC,OAAO,IAAI,wBAAwB,CAAC,CAAC,CAAC,CAAA;IAC1C,CAAC;IAED,OAAO,CAAC,CAAA;AACV,CAAC;AAiBD,MAAM,gBAAgB,GAAG,cAAc,CAAA;AAEvC,MAAM,UAAU,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC1C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAmB,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC5D,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 ToolsOzoneModerationDefs from './defs.js'\nimport type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.moderation.emitEvent'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n event:\n | $Typed<ToolsOzoneModerationDefs.ModEventTakedown>\n | $Typed<ToolsOzoneModerationDefs.ModEventAcknowledge>\n | $Typed<ToolsOzoneModerationDefs.ModEventEscalate>\n | $Typed<ToolsOzoneModerationDefs.ModEventComment>\n | $Typed<ToolsOzoneModerationDefs.ModEventLabel>\n | $Typed<ToolsOzoneModerationDefs.ModEventReport>\n | $Typed<ToolsOzoneModerationDefs.ModEventMute>\n | $Typed<ToolsOzoneModerationDefs.ModEventUnmute>\n | $Typed<ToolsOzoneModerationDefs.ModEventMuteReporter>\n | $Typed<ToolsOzoneModerationDefs.ModEventUnmuteReporter>\n | $Typed<ToolsOzoneModerationDefs.ModEventReverseTakedown>\n | $Typed<ToolsOzoneModerationDefs.ModEventResolveAppeal>\n | $Typed<ToolsOzoneModerationDefs.ModEventEmail>\n | $Typed<ToolsOzoneModerationDefs.ModEventDivert>\n | $Typed<ToolsOzoneModerationDefs.ModEventTag>\n | $Typed<ToolsOzoneModerationDefs.AccountEvent>\n | $Typed<ToolsOzoneModerationDefs.IdentityEvent>\n | $Typed<ToolsOzoneModerationDefs.RecordEvent>\n | $Typed<ToolsOzoneModerationDefs.ModEventPriorityScore>\n | $Typed<ToolsOzoneModerationDefs.AgeAssuranceEvent>\n | $Typed<ToolsOzoneModerationDefs.AgeAssuranceOverrideEvent>\n | $Typed<ToolsOzoneModerationDefs.AgeAssurancePurgeEvent>\n | $Typed<ToolsOzoneModerationDefs.RevokeAccountCredentialsEvent>\n | $Typed<ToolsOzoneModerationDefs.ScheduleTakedownEvent>\n | $Typed<ToolsOzoneModerationDefs.CancelScheduledTakedownEvent>\n | { $type: string }\n subject:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | { $type: string }\n subjectBlobCids?: string[]\n createdBy: string\n modTool?: ToolsOzoneModerationDefs.ModTool\n /** An optional external ID for the event, used to deduplicate events from external systems. Fails when an event of same type with the same external ID exists for the same subject. */\n externalId?: string\n reportAction?: ReportAction\n}\n\nexport type OutputSchema = ToolsOzoneModerationDefs.ModEventView\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n qp?: QueryParams\n encoding?: 'application/json'\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport class SubjectHasActionError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class DuplicateExternalIdError 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 === 'SubjectHasAction') return new SubjectHasActionError(e)\n if (e.error === 'DuplicateExternalId')\n return new DuplicateExternalIdError(e)\n }\n\n return e\n}\n\n/** Target specific reports when emitting a moderation event */\nexport interface ReportAction {\n $type?: 'tools.ozone.moderation.emitEvent#reportAction'\n /** Target specific report IDs */\n ids?: number[]\n /** Target reports matching these report types on the subject (fully qualified NSIDs). Excludes assigned and escalated reports. */\n types?: string[]\n /** Target ALL reports on the subject. Excludes assigned and escalated reports. */\n all?: boolean\n /** Note to send to reporter(s) when actioning their report */\n note?: string\n /** Set true when the report activities are created by an automated process. */\n isAutomated?: boolean\n}\n\nconst hashReportAction = 'reportAction'\n\nexport function isReportAction<V>(v: V) {\n return is$typed(v, id, hashReportAction)\n}\n\nexport function validateReportAction<V>(v: V) {\n return validate<ReportAction & V>(v, id, hashReportAction)\n}\n"]}
|
|
@@ -8,7 +8,7 @@ export interface InputSchema {
|
|
|
8
8
|
subject: string;
|
|
9
9
|
/** If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID. */
|
|
10
10
|
includeAllOwned?: boolean;
|
|
11
|
-
/** If nonempty, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted or empty, all
|
|
11
|
+
/** If nonempty, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted or empty, all eligible reports in the requested subject scope are targeted, except excludedReportTypes. Assigned and escalated reports are always excluded. */
|
|
12
12
|
reportTypes?: string[];
|
|
13
13
|
/** Reports of these types (fully qualified reason NSIDs) are excluded from closure and left unchanged. When omitted or empty, no report types are excluded. */
|
|
14
14
|
excludedReportTypes?: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"closeReports.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/closeReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAc1D,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,2GAA2G;IAC3G,OAAO,EAAE,MAAM,CAAA;IACf,mKAAmK;IACnK,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,
|
|
1
|
+
{"version":3,"file":"closeReports.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/closeReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAc1D,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,2GAA2G;IAC3G,OAAO,EAAE,MAAM,CAAA;IACf,mKAAmK;IACnK,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,8QAA8Q;IAC9Q,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,+JAA+J;IAC/J,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC9B,8FAA8F;IAC9F,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,yFAAyF;IACzF,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,kHAAkH;IAClH,IAAI,CAAC,EAAE;SAAG,CAAC,IAAI,MAAM,GAAG,OAAO;KAAE,CAAA;CAClC;AAED,MAAM,WAAW,YAAY;IAC3B,0DAA0D;IAC1D,WAAW,EAAE,MAAM,CAAA;IACnB,2CAA2C;IAC3C,SAAS,EAAE,MAAM,EAAE,CAAA;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B;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":"closeReports.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/closeReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAE5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,iCAAiC,CAAA;AAyC5C,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'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.report.closeReports'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n /** Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed. */\n subject: string\n /** If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID. */\n includeAllOwned?: boolean\n /** If nonempty, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted or empty, all
|
|
1
|
+
{"version":3,"file":"closeReports.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/report/closeReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAE5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,iCAAiC,CAAA;AAyC5C,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'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.report.closeReports'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n /** Subject DID (account-level reports) or AT-URI (record-level reports) whose reports should be closed. */\n subject: string\n /** If true, also close reports on all subjects owned by the account, including records, messages, and conversations. Only valid when subject is an account DID. */\n includeAllOwned?: boolean\n /** If nonempty, only reports of the given report types (fully qualified reason NSIDs) are closed. When omitted or empty, all eligible reports in the requested subject scope are targeted, except excludedReportTypes. Assigned and escalated reports are always excluded. */\n reportTypes?: string[]\n /** Reports of these types (fully qualified reason NSIDs) are excluded from closure and left unchanged. When omitted or empty, no report types are excluded. */\n excludedReportTypes?: string[]\n /** Optional moderator-only note recorded on each close activity. Not visible to reporters. */\n internalNote?: string\n /** Set true when this action is triggered by an automated process. Defaults to false. */\n isAutomated?: boolean\n /** Optional metadata for the report activities. Lifecycle and resolution fields are controlled by the service. */\n meta?: { [_ in string]: unknown }\n}\n\nexport interface OutputSchema {\n /** Number of reports that were transitioned to closed. */\n closedCount: number\n /** IDs of the reports that were closed. */\n reportIds: number[]\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n qp?: QueryParams\n encoding?: 'application/json'\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"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Client library for atproto and Bluesky",
|
|
6
6
|
"keywords": [
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"jest": "^30.5.2",
|
|
47
47
|
"prettier": "^3.9.6",
|
|
48
48
|
"@atproto/lex-cli": "^0.10.16",
|
|
49
|
-
"@atproto/lex-installer": "^0.2.
|
|
49
|
+
"@atproto/lex-installer": "^0.2.4"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"lex:gen": "if [ ! -f ./src/client/index.ts ] || [ -n \"$(find -L ./lexicons -type f -newer ./src/client/index.ts -print -quit)\" ]; then lex gen-api --yes ./src/client ./lexicons/com/atproto/*/* ./lexicons/app/bsky/*/* ./lexicons/chat/bsky/*/* ./lexicons/tools/ozone/*/* ./lexicons/com/germnetwork/*; fi",
|