@atproto/ozone 0.1.55 → 0.1.56
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 +7 -0
- package/dist/lexicon/index.d.ts +6 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +12 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +22257 -9700
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +153 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/searchStarterPacks.d.ts +40 -0
- package/dist/lexicon/types/app/bsky/graph/searchStarterPacks.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/searchStarterPacks.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/searchStarterPacks.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts +6 -0
- package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/defs.js +10 -0
- package/dist/lexicon/types/app/bsky/unspecced/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.d.ts +46 -0
- package/dist/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.js +3 -0
- package/dist/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.js.map +1 -0
- package/dist/lexicon/types/com/atproto/temp/addReservedHandle.d.ts +39 -0
- package/dist/lexicon/types/com/atproto/temp/addReservedHandle.d.ts.map +1 -0
- package/dist/lexicon/types/com/atproto/temp/addReservedHandle.js +3 -0
- package/dist/lexicon/types/com/atproto/temp/addReservedHandle.js.map +1 -0
- package/dist/mod-service/index.d.ts +13 -13
- package/package.json +3 -3
- package/src/lexicon/index.ts +36 -0
- package/src/lexicon/lexicons.ts +163 -2
- package/src/lexicon/types/app/bsky/graph/searchStarterPacks.ts +50 -0
- package/src/lexicon/types/app/bsky/unspecced/defs.ts +24 -0
- package/src/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts +56 -0
- package/src/lexicon/types/com/atproto/temp/addReservedHandle.ts +48 -0
- package/tests/3p-labeler.test.ts +2 -2
- package/tests/settings.test.ts +24 -26
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import express from 'express';
|
|
5
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
|
6
|
+
import * as AppBskyGraphDefs from './defs';
|
|
7
|
+
export interface QueryParams {
|
|
8
|
+
/** Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. */
|
|
9
|
+
q: string;
|
|
10
|
+
limit: number;
|
|
11
|
+
cursor?: string;
|
|
12
|
+
}
|
|
13
|
+
export type InputSchema = undefined;
|
|
14
|
+
export interface OutputSchema {
|
|
15
|
+
cursor?: string;
|
|
16
|
+
starterPacks: AppBskyGraphDefs.StarterPackViewBasic[];
|
|
17
|
+
[k: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
export type HandlerInput = undefined;
|
|
20
|
+
export interface HandlerSuccess {
|
|
21
|
+
encoding: 'application/json';
|
|
22
|
+
body: OutputSchema;
|
|
23
|
+
headers?: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export interface HandlerError {
|
|
28
|
+
status: number;
|
|
29
|
+
message?: string;
|
|
30
|
+
}
|
|
31
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
|
32
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
33
|
+
auth: HA;
|
|
34
|
+
params: QueryParams;
|
|
35
|
+
input: HandlerInput;
|
|
36
|
+
req: express.Request;
|
|
37
|
+
res: express.Response;
|
|
38
|
+
};
|
|
39
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
40
|
+
//# sourceMappingURL=searchStarterPacks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"searchStarterPacks.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/searchStarterPacks.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,gBAAgB,MAAM,QAAQ,CAAA;AAE1C,MAAM,WAAW,WAAW;IAC1B,yHAAyH;IACzH,CAAC,EAAE,MAAM,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,gBAAgB,CAAC,oBAAoB,EAAE,CAAA;IACrD,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"searchStarterPacks.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/searchStarterPacks.ts"],"names":[],"mappings":""}
|
|
@@ -14,4 +14,10 @@ export interface SkeletonSearchActor {
|
|
|
14
14
|
}
|
|
15
15
|
export declare function isSkeletonSearchActor(v: unknown): v is SkeletonSearchActor;
|
|
16
16
|
export declare function validateSkeletonSearchActor(v: unknown): ValidationResult;
|
|
17
|
+
export interface SkeletonSearchStarterPack {
|
|
18
|
+
uri: string;
|
|
19
|
+
[k: string]: unknown;
|
|
20
|
+
}
|
|
21
|
+
export declare function isSkeletonSearchStarterPack(v: unknown): v is SkeletonSearchStarterPack;
|
|
22
|
+
export declare function validateSkeletonSearchStarterPack(v: unknown): ValidationResult;
|
|
17
23
|
//# sourceMappingURL=defs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAK5D,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,kBAAkB,CAMxE;AAED,wBAAgB,0BAA0B,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEvE;AAED,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,mBAAmB,CAM1E;AAED,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAExE"}
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAK5D,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,kBAAkB,CAMxE;AAED,wBAAgB,0BAA0B,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEvE;AAED,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,mBAAmB,CAM1E;AAED,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAExE;AAED,MAAM,WAAW,yBAAyB;IACxC,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,2BAA2B,CACzC,CAAC,EAAE,OAAO,GACT,CAAC,IAAI,yBAAyB,CAMhC;AAED,wBAAgB,iCAAiC,CAC/C,CAAC,EAAE,OAAO,GACT,gBAAgB,CAKlB"}
|
|
@@ -4,6 +4,8 @@ exports.isSkeletonSearchPost = isSkeletonSearchPost;
|
|
|
4
4
|
exports.validateSkeletonSearchPost = validateSkeletonSearchPost;
|
|
5
5
|
exports.isSkeletonSearchActor = isSkeletonSearchActor;
|
|
6
6
|
exports.validateSkeletonSearchActor = validateSkeletonSearchActor;
|
|
7
|
+
exports.isSkeletonSearchStarterPack = isSkeletonSearchStarterPack;
|
|
8
|
+
exports.validateSkeletonSearchStarterPack = validateSkeletonSearchStarterPack;
|
|
7
9
|
const lexicons_1 = require("../../../../lexicons");
|
|
8
10
|
const util_1 = require("../../../../util");
|
|
9
11
|
function isSkeletonSearchPost(v) {
|
|
@@ -22,4 +24,12 @@ function isSkeletonSearchActor(v) {
|
|
|
22
24
|
function validateSkeletonSearchActor(v) {
|
|
23
25
|
return lexicons_1.lexicons.validate('app.bsky.unspecced.defs#skeletonSearchActor', v);
|
|
24
26
|
}
|
|
27
|
+
function isSkeletonSearchStarterPack(v) {
|
|
28
|
+
return ((0, util_1.isObj)(v) &&
|
|
29
|
+
(0, util_1.hasProp)(v, '$type') &&
|
|
30
|
+
v.$type === 'app.bsky.unspecced.defs#skeletonSearchStarterPack');
|
|
31
|
+
}
|
|
32
|
+
function validateSkeletonSearchStarterPack(v) {
|
|
33
|
+
return lexicons_1.lexicons.validate('app.bsky.unspecced.defs#skeletonSearchStarterPack', v);
|
|
34
|
+
}
|
|
25
35
|
//# sourceMappingURL=defs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/defs.ts"],"names":[],"mappings":";;AAaA,oDAMC;AAED,gEAEC;AAOD,sDAMC;AAED,kEAEC;
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/defs.ts"],"names":[],"mappings":";;AAaA,oDAMC;AAED,gEAEC;AAOD,sDAMC;AAED,kEAEC;AAOD,kEAQC;AAED,8EAOC;AA5DD,mDAA+C;AAC/C,2CAAiD;AAQjD,SAAgB,oBAAoB,CAAC,CAAU;IAC7C,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,4CAA4C,CACzD,CAAA;AACH,CAAC;AAED,SAAgB,0BAA0B,CAAC,CAAU;IACnD,OAAO,mBAAQ,CAAC,QAAQ,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAA;AAC3E,CAAC;AAOD,SAAgB,qBAAqB,CAAC,CAAU;IAC9C,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,6CAA6C,CAC1D,CAAA;AACH,CAAC;AAED,SAAgB,2BAA2B,CAAC,CAAU;IACpD,OAAO,mBAAQ,CAAC,QAAQ,CAAC,6CAA6C,EAAE,CAAC,CAAC,CAAA;AAC5E,CAAC;AAOD,SAAgB,2BAA2B,CACzC,CAAU;IAEV,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,mDAAmD,CAChE,CAAA;AACH,CAAC;AAED,SAAgB,iCAAiC,CAC/C,CAAU;IAEV,OAAO,mBAAQ,CAAC,QAAQ,CACtB,mDAAmD,EACnD,CAAC,CACF,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import express from 'express';
|
|
5
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
|
6
|
+
import * as AppBskyUnspeccedDefs from './defs';
|
|
7
|
+
export interface QueryParams {
|
|
8
|
+
/** Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. */
|
|
9
|
+
q: string;
|
|
10
|
+
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
11
|
+
viewer?: string;
|
|
12
|
+
limit: number;
|
|
13
|
+
/** Optional pagination mechanism; may not necessarily allow scrolling through entire result set. */
|
|
14
|
+
cursor?: string;
|
|
15
|
+
}
|
|
16
|
+
export type InputSchema = undefined;
|
|
17
|
+
export interface OutputSchema {
|
|
18
|
+
cursor?: string;
|
|
19
|
+
/** Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits. */
|
|
20
|
+
hitsTotal?: number;
|
|
21
|
+
starterPacks: AppBskyUnspeccedDefs.SkeletonSearchStarterPack[];
|
|
22
|
+
[k: string]: unknown;
|
|
23
|
+
}
|
|
24
|
+
export type HandlerInput = undefined;
|
|
25
|
+
export interface HandlerSuccess {
|
|
26
|
+
encoding: 'application/json';
|
|
27
|
+
body: OutputSchema;
|
|
28
|
+
headers?: {
|
|
29
|
+
[key: string]: string;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export interface HandlerError {
|
|
33
|
+
status: number;
|
|
34
|
+
message?: string;
|
|
35
|
+
error?: 'BadQueryString';
|
|
36
|
+
}
|
|
37
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
|
38
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
39
|
+
auth: HA;
|
|
40
|
+
params: QueryParams;
|
|
41
|
+
input: HandlerInput;
|
|
42
|
+
req: express.Request;
|
|
43
|
+
res: express.Response;
|
|
44
|
+
};
|
|
45
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
46
|
+
//# sourceMappingURL=searchStarterPacksSkeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"searchStarterPacksSkeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,oBAAoB,MAAM,QAAQ,CAAA;AAE9C,MAAM,WAAW,WAAW;IAC1B,yHAAyH;IACzH,CAAC,EAAE,MAAM,CAAA;IACT,+FAA+F;IAC/F,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,oGAAoG;IACpG,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,sHAAsH;IACtH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,oBAAoB,CAAC,yBAAyB,EAAE,CAAA;IAC9D,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,gBAAgB,CAAA;CACzB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"searchStarterPacksSkeleton.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import express from 'express';
|
|
5
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
|
6
|
+
export interface QueryParams {
|
|
7
|
+
}
|
|
8
|
+
export interface InputSchema {
|
|
9
|
+
handle: string;
|
|
10
|
+
[k: string]: unknown;
|
|
11
|
+
}
|
|
12
|
+
export interface OutputSchema {
|
|
13
|
+
[k: string]: unknown;
|
|
14
|
+
}
|
|
15
|
+
export interface HandlerInput {
|
|
16
|
+
encoding: 'application/json';
|
|
17
|
+
body: InputSchema;
|
|
18
|
+
}
|
|
19
|
+
export interface HandlerSuccess {
|
|
20
|
+
encoding: 'application/json';
|
|
21
|
+
body: OutputSchema;
|
|
22
|
+
headers?: {
|
|
23
|
+
[key: string]: string;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export interface HandlerError {
|
|
27
|
+
status: number;
|
|
28
|
+
message?: string;
|
|
29
|
+
}
|
|
30
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
|
31
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
32
|
+
auth: HA;
|
|
33
|
+
params: QueryParams;
|
|
34
|
+
input: HandlerInput;
|
|
35
|
+
req: express.Request;
|
|
36
|
+
res: express.Response;
|
|
37
|
+
};
|
|
38
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
39
|
+
//# sourceMappingURL=addReservedHandle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addReservedHandle.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/temp/addReservedHandle.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAEtE,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAA;IACd,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addReservedHandle.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/com/atproto/temp/addReservedHandle.ts"],"names":[],"mappings":""}
|
|
@@ -64,22 +64,22 @@ export declare class ModerationService {
|
|
|
64
64
|
cids: CID[];
|
|
65
65
|
}): Promise<{
|
|
66
66
|
did: string;
|
|
67
|
+
comment: string | null;
|
|
67
68
|
id: number;
|
|
68
69
|
createdAt: string;
|
|
69
70
|
takendown: boolean;
|
|
70
71
|
tags: string[] | null;
|
|
71
72
|
updatedAt: string;
|
|
72
73
|
reviewState: "tools.ozone.moderation.defs#reviewOpen" | "tools.ozone.moderation.defs#reviewEscalated" | "tools.ozone.moderation.defs#reviewClosed" | "tools.ozone.moderation.defs#reviewNone";
|
|
73
|
-
comment: string | null;
|
|
74
|
-
blobCids: string[] | null;
|
|
75
|
-
lastReportedAt: string | null;
|
|
76
|
-
lastReviewedAt: string | null;
|
|
77
74
|
muteUntil: string | null;
|
|
78
75
|
muteReportingUntil: string | null;
|
|
79
76
|
lastReviewedBy: string | null;
|
|
77
|
+
lastReviewedAt: string | null;
|
|
78
|
+
lastReportedAt: string | null;
|
|
80
79
|
lastAppealedAt: string | null;
|
|
81
80
|
appealed: boolean | null;
|
|
82
81
|
suspendUntil: string | null;
|
|
82
|
+
blobCids: string[] | null;
|
|
83
83
|
recordPath: string;
|
|
84
84
|
recordCid: string | null;
|
|
85
85
|
hostingStatus: string | null;
|
|
@@ -100,24 +100,24 @@ export declare class ModerationService {
|
|
|
100
100
|
subjectStatus: ModerationSubjectStatusRow | null;
|
|
101
101
|
}>;
|
|
102
102
|
getLastReversibleEventForSubject(subject: ReversalSubject): Promise<{
|
|
103
|
+
comment: string | null;
|
|
103
104
|
id: number;
|
|
104
105
|
createdAt: string;
|
|
105
106
|
createdBy: string;
|
|
106
107
|
action: "tools.ozone.moderation.defs#modEventTakedown" | "tools.ozone.moderation.defs#modEventAcknowledge" | "tools.ozone.moderation.defs#modEventEscalate" | "tools.ozone.moderation.defs#modEventComment" | "tools.ozone.moderation.defs#modEventLabel" | "tools.ozone.moderation.defs#modEventReport" | "tools.ozone.moderation.defs#modEventMute" | "tools.ozone.moderation.defs#modEventUnmute" | "tools.ozone.moderation.defs#modEventMuteReporter" | "tools.ozone.moderation.defs#modEventUnmuteReporter" | "tools.ozone.moderation.defs#modEventReverseTakedown" | "tools.ozone.moderation.defs#modEventEmail" | "tools.ozone.moderation.defs#modEventResolveAppeal" | "tools.ozone.moderation.defs#modEventTag" | "tools.ozone.moderation.defs#accountEvent" | "tools.ozone.moderation.defs#identityEvent" | "tools.ozone.moderation.defs#recordEvent";
|
|
108
|
+
expiresAt: string | null;
|
|
107
109
|
subjectType: "com.atproto.admin.defs#repoRef" | "com.atproto.repo.strongRef" | "chat.bsky.convo.defs#messageRef";
|
|
108
110
|
subjectBlobCids: string[] | null;
|
|
109
|
-
|
|
111
|
+
durationInHours: number | null;
|
|
110
112
|
createLabelVals: string | null;
|
|
111
113
|
negateLabelVals: string | null;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
+
addedTags: string[] | null;
|
|
115
|
+
removedTags: string[] | null;
|
|
114
116
|
subjectDid: string;
|
|
115
117
|
subjectUri: string | null;
|
|
116
118
|
subjectCid: string | null;
|
|
117
119
|
meta: Record<string, string | boolean> | null;
|
|
118
120
|
legacyRefId: number | null;
|
|
119
|
-
addedTags: string[] | null;
|
|
120
|
-
removedTags: string[] | null;
|
|
121
121
|
subjectMessageId: string | null;
|
|
122
122
|
} | null | undefined>;
|
|
123
123
|
getSubjectsDueForReversal(): Promise<ReversalSubject[]>;
|
|
@@ -168,22 +168,22 @@ export declare class ModerationService {
|
|
|
168
168
|
statuses: {
|
|
169
169
|
handle: string;
|
|
170
170
|
did: string;
|
|
171
|
+
comment: string | null;
|
|
171
172
|
id: number;
|
|
172
173
|
createdAt: string;
|
|
173
174
|
takendown: boolean;
|
|
174
175
|
tags: string[] | null;
|
|
175
176
|
updatedAt: string;
|
|
176
177
|
reviewState: "tools.ozone.moderation.defs#reviewOpen" | "tools.ozone.moderation.defs#reviewEscalated" | "tools.ozone.moderation.defs#reviewClosed" | "tools.ozone.moderation.defs#reviewNone";
|
|
177
|
-
comment: string | null;
|
|
178
|
-
blobCids: string[] | null;
|
|
179
|
-
lastReportedAt: string | null;
|
|
180
|
-
lastReviewedAt: string | null;
|
|
181
178
|
muteUntil: string | null;
|
|
182
179
|
muteReportingUntil: string | null;
|
|
183
180
|
lastReviewedBy: string | null;
|
|
181
|
+
lastReviewedAt: string | null;
|
|
182
|
+
lastReportedAt: string | null;
|
|
184
183
|
lastAppealedAt: string | null;
|
|
185
184
|
appealed: boolean | null;
|
|
186
185
|
suspendUntil: string | null;
|
|
186
|
+
blobCids: string[] | null;
|
|
187
187
|
recordPath: string;
|
|
188
188
|
recordCid: string | null;
|
|
189
189
|
hostingStatus: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/ozone",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.56",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Backend service for moderating the Bluesky network.",
|
|
6
6
|
"keywords": [
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"structured-headers": "^1.0.1",
|
|
33
33
|
"typed-emitter": "^2.1.0",
|
|
34
34
|
"uint8arrays": "3.0.0",
|
|
35
|
-
"@atproto/api": "^0.13.
|
|
35
|
+
"@atproto/api": "^0.13.17",
|
|
36
36
|
"@atproto/common": "^0.4.4",
|
|
37
37
|
"@atproto/crypto": "^0.4.2",
|
|
38
38
|
"@atproto/identity": "^0.4.3",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"ts-node": "^10.8.2",
|
|
54
54
|
"typescript": "^5.6.3",
|
|
55
55
|
"@atproto/lex-cli": "^0.5.2",
|
|
56
|
-
"@atproto/pds": "^0.4.
|
|
56
|
+
"@atproto/pds": "^0.4.72"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"codegen": "lex gen-server --yes ./src/lexicon ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/* ../../lexicons/chat/bsky/*/* ../../lexicons/tools/ozone/*/*",
|
package/src/lexicon/index.ts
CHANGED
|
@@ -80,6 +80,7 @@ import * as ComAtprotoSyncListRepos from './types/com/atproto/sync/listRepos'
|
|
|
80
80
|
import * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate'
|
|
81
81
|
import * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl'
|
|
82
82
|
import * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscribeRepos'
|
|
83
|
+
import * as ComAtprotoTempAddReservedHandle from './types/com/atproto/temp/addReservedHandle'
|
|
83
84
|
import * as ComAtprotoTempCheckSignupQueue from './types/com/atproto/temp/checkSignupQueue'
|
|
84
85
|
import * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels'
|
|
85
86
|
import * as ComAtprotoTempRequestPhoneVerification from './types/com/atproto/temp/requestPhoneVerification'
|
|
@@ -125,6 +126,7 @@ import * as AppBskyGraphGetSuggestedFollowsByActor from './types/app/bsky/graph/
|
|
|
125
126
|
import * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor'
|
|
126
127
|
import * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList'
|
|
127
128
|
import * as AppBskyGraphMuteThread from './types/app/bsky/graph/muteThread'
|
|
129
|
+
import * as AppBskyGraphSearchStarterPacks from './types/app/bsky/graph/searchStarterPacks'
|
|
128
130
|
import * as AppBskyGraphUnmuteActor from './types/app/bsky/graph/unmuteActor'
|
|
129
131
|
import * as AppBskyGraphUnmuteActorList from './types/app/bsky/graph/unmuteActorList'
|
|
130
132
|
import * as AppBskyGraphUnmuteThread from './types/app/bsky/graph/unmuteThread'
|
|
@@ -140,6 +142,7 @@ import * as AppBskyUnspeccedGetSuggestionsSkeleton from './types/app/bsky/unspec
|
|
|
140
142
|
import * as AppBskyUnspeccedGetTaggedSuggestions from './types/app/bsky/unspecced/getTaggedSuggestions'
|
|
141
143
|
import * as AppBskyUnspeccedSearchActorsSkeleton from './types/app/bsky/unspecced/searchActorsSkeleton'
|
|
142
144
|
import * as AppBskyUnspeccedSearchPostsSkeleton from './types/app/bsky/unspecced/searchPostsSkeleton'
|
|
145
|
+
import * as AppBskyUnspeccedSearchStarterPacksSkeleton from './types/app/bsky/unspecced/searchStarterPacksSkeleton'
|
|
143
146
|
import * as AppBskyVideoGetJobStatus from './types/app/bsky/video/getJobStatus'
|
|
144
147
|
import * as AppBskyVideoGetUploadLimits from './types/app/bsky/video/getUploadLimits'
|
|
145
148
|
import * as AppBskyVideoUploadVideo from './types/app/bsky/video/uploadVideo'
|
|
@@ -1133,6 +1136,17 @@ export class ComAtprotoTempNS {
|
|
|
1133
1136
|
this._server = server
|
|
1134
1137
|
}
|
|
1135
1138
|
|
|
1139
|
+
addReservedHandle<AV extends AuthVerifier>(
|
|
1140
|
+
cfg: ConfigOf<
|
|
1141
|
+
AV,
|
|
1142
|
+
ComAtprotoTempAddReservedHandle.Handler<ExtractAuth<AV>>,
|
|
1143
|
+
ComAtprotoTempAddReservedHandle.HandlerReqCtx<ExtractAuth<AV>>
|
|
1144
|
+
>,
|
|
1145
|
+
) {
|
|
1146
|
+
const nsid = 'com.atproto.temp.addReservedHandle' // @ts-ignore
|
|
1147
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1136
1150
|
checkSignupQueue<AV extends AuthVerifier>(
|
|
1137
1151
|
cfg: ConfigOf<
|
|
1138
1152
|
AV,
|
|
@@ -1696,6 +1710,17 @@ export class AppBskyGraphNS {
|
|
|
1696
1710
|
return this._server.xrpc.method(nsid, cfg)
|
|
1697
1711
|
}
|
|
1698
1712
|
|
|
1713
|
+
searchStarterPacks<AV extends AuthVerifier>(
|
|
1714
|
+
cfg: ConfigOf<
|
|
1715
|
+
AV,
|
|
1716
|
+
AppBskyGraphSearchStarterPacks.Handler<ExtractAuth<AV>>,
|
|
1717
|
+
AppBskyGraphSearchStarterPacks.HandlerReqCtx<ExtractAuth<AV>>
|
|
1718
|
+
>,
|
|
1719
|
+
) {
|
|
1720
|
+
const nsid = 'app.bsky.graph.searchStarterPacks' // @ts-ignore
|
|
1721
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1699
1724
|
unmuteActor<AV extends AuthVerifier>(
|
|
1700
1725
|
cfg: ConfigOf<
|
|
1701
1726
|
AV,
|
|
@@ -1892,6 +1917,17 @@ export class AppBskyUnspeccedNS {
|
|
|
1892
1917
|
const nsid = 'app.bsky.unspecced.searchPostsSkeleton' // @ts-ignore
|
|
1893
1918
|
return this._server.xrpc.method(nsid, cfg)
|
|
1894
1919
|
}
|
|
1920
|
+
|
|
1921
|
+
searchStarterPacksSkeleton<AV extends AuthVerifier>(
|
|
1922
|
+
cfg: ConfigOf<
|
|
1923
|
+
AV,
|
|
1924
|
+
AppBskyUnspeccedSearchStarterPacksSkeleton.Handler<ExtractAuth<AV>>,
|
|
1925
|
+
AppBskyUnspeccedSearchStarterPacksSkeleton.HandlerReqCtx<ExtractAuth<AV>>
|
|
1926
|
+
>,
|
|
1927
|
+
) {
|
|
1928
|
+
const nsid = 'app.bsky.unspecced.searchStarterPacksSkeleton' // @ts-ignore
|
|
1929
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
1930
|
+
}
|
|
1895
1931
|
}
|
|
1896
1932
|
|
|
1897
1933
|
export class AppBskyVideoNS {
|
package/src/lexicon/lexicons.ts
CHANGED
|
@@ -3959,6 +3959,35 @@ export const schemaDict = {
|
|
|
3959
3959
|
},
|
|
3960
3960
|
},
|
|
3961
3961
|
},
|
|
3962
|
+
ComAtprotoTempAddReservedHandle: {
|
|
3963
|
+
lexicon: 1,
|
|
3964
|
+
id: 'com.atproto.temp.addReservedHandle',
|
|
3965
|
+
defs: {
|
|
3966
|
+
main: {
|
|
3967
|
+
type: 'procedure',
|
|
3968
|
+
description: 'Add a handle to the set of reserved handles.',
|
|
3969
|
+
input: {
|
|
3970
|
+
encoding: 'application/json',
|
|
3971
|
+
schema: {
|
|
3972
|
+
type: 'object',
|
|
3973
|
+
required: ['handle'],
|
|
3974
|
+
properties: {
|
|
3975
|
+
handle: {
|
|
3976
|
+
type: 'string',
|
|
3977
|
+
},
|
|
3978
|
+
},
|
|
3979
|
+
},
|
|
3980
|
+
},
|
|
3981
|
+
output: {
|
|
3982
|
+
encoding: 'application/json',
|
|
3983
|
+
schema: {
|
|
3984
|
+
type: 'object',
|
|
3985
|
+
properties: {},
|
|
3986
|
+
},
|
|
3987
|
+
},
|
|
3988
|
+
},
|
|
3989
|
+
},
|
|
3990
|
+
},
|
|
3962
3991
|
ComAtprotoTempCheckSignupQueue: {
|
|
3963
3992
|
lexicon: 1,
|
|
3964
3993
|
id: 'com.atproto.temp.checkSignupQueue',
|
|
@@ -8488,6 +8517,56 @@ export const schemaDict = {
|
|
|
8488
8517
|
},
|
|
8489
8518
|
},
|
|
8490
8519
|
},
|
|
8520
|
+
AppBskyGraphSearchStarterPacks: {
|
|
8521
|
+
lexicon: 1,
|
|
8522
|
+
id: 'app.bsky.graph.searchStarterPacks',
|
|
8523
|
+
defs: {
|
|
8524
|
+
main: {
|
|
8525
|
+
type: 'query',
|
|
8526
|
+
description:
|
|
8527
|
+
'Find starter packs matching search criteria. Does not require auth.',
|
|
8528
|
+
parameters: {
|
|
8529
|
+
type: 'params',
|
|
8530
|
+
required: ['q'],
|
|
8531
|
+
properties: {
|
|
8532
|
+
q: {
|
|
8533
|
+
type: 'string',
|
|
8534
|
+
description:
|
|
8535
|
+
'Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.',
|
|
8536
|
+
},
|
|
8537
|
+
limit: {
|
|
8538
|
+
type: 'integer',
|
|
8539
|
+
minimum: 1,
|
|
8540
|
+
maximum: 100,
|
|
8541
|
+
default: 25,
|
|
8542
|
+
},
|
|
8543
|
+
cursor: {
|
|
8544
|
+
type: 'string',
|
|
8545
|
+
},
|
|
8546
|
+
},
|
|
8547
|
+
},
|
|
8548
|
+
output: {
|
|
8549
|
+
encoding: 'application/json',
|
|
8550
|
+
schema: {
|
|
8551
|
+
type: 'object',
|
|
8552
|
+
required: ['starterPacks'],
|
|
8553
|
+
properties: {
|
|
8554
|
+
cursor: {
|
|
8555
|
+
type: 'string',
|
|
8556
|
+
},
|
|
8557
|
+
starterPacks: {
|
|
8558
|
+
type: 'array',
|
|
8559
|
+
items: {
|
|
8560
|
+
type: 'ref',
|
|
8561
|
+
ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
|
|
8562
|
+
},
|
|
8563
|
+
},
|
|
8564
|
+
},
|
|
8565
|
+
},
|
|
8566
|
+
},
|
|
8567
|
+
},
|
|
8568
|
+
},
|
|
8569
|
+
},
|
|
8491
8570
|
AppBskyGraphStarterpack: {
|
|
8492
8571
|
lexicon: 1,
|
|
8493
8572
|
id: 'app.bsky.graph.starterpack',
|
|
@@ -9153,6 +9232,16 @@ export const schemaDict = {
|
|
|
9153
9232
|
},
|
|
9154
9233
|
},
|
|
9155
9234
|
},
|
|
9235
|
+
skeletonSearchStarterPack: {
|
|
9236
|
+
type: 'object',
|
|
9237
|
+
required: ['uri'],
|
|
9238
|
+
properties: {
|
|
9239
|
+
uri: {
|
|
9240
|
+
type: 'string',
|
|
9241
|
+
format: 'at-uri',
|
|
9242
|
+
},
|
|
9243
|
+
},
|
|
9244
|
+
},
|
|
9156
9245
|
},
|
|
9157
9246
|
},
|
|
9158
9247
|
AppBskyUnspeccedGetConfig: {
|
|
@@ -9526,6 +9615,73 @@ export const schemaDict = {
|
|
|
9526
9615
|
},
|
|
9527
9616
|
},
|
|
9528
9617
|
},
|
|
9618
|
+
AppBskyUnspeccedSearchStarterPacksSkeleton: {
|
|
9619
|
+
lexicon: 1,
|
|
9620
|
+
id: 'app.bsky.unspecced.searchStarterPacksSkeleton',
|
|
9621
|
+
defs: {
|
|
9622
|
+
main: {
|
|
9623
|
+
type: 'query',
|
|
9624
|
+
description: 'Backend Starter Pack search, returns only skeleton.',
|
|
9625
|
+
parameters: {
|
|
9626
|
+
type: 'params',
|
|
9627
|
+
required: ['q'],
|
|
9628
|
+
properties: {
|
|
9629
|
+
q: {
|
|
9630
|
+
type: 'string',
|
|
9631
|
+
description:
|
|
9632
|
+
'Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.',
|
|
9633
|
+
},
|
|
9634
|
+
viewer: {
|
|
9635
|
+
type: 'string',
|
|
9636
|
+
format: 'did',
|
|
9637
|
+
description:
|
|
9638
|
+
'DID of the account making the request (not included for public/unauthenticated queries).',
|
|
9639
|
+
},
|
|
9640
|
+
limit: {
|
|
9641
|
+
type: 'integer',
|
|
9642
|
+
minimum: 1,
|
|
9643
|
+
maximum: 100,
|
|
9644
|
+
default: 25,
|
|
9645
|
+
},
|
|
9646
|
+
cursor: {
|
|
9647
|
+
type: 'string',
|
|
9648
|
+
description:
|
|
9649
|
+
'Optional pagination mechanism; may not necessarily allow scrolling through entire result set.',
|
|
9650
|
+
},
|
|
9651
|
+
},
|
|
9652
|
+
},
|
|
9653
|
+
output: {
|
|
9654
|
+
encoding: 'application/json',
|
|
9655
|
+
schema: {
|
|
9656
|
+
type: 'object',
|
|
9657
|
+
required: ['starterPacks'],
|
|
9658
|
+
properties: {
|
|
9659
|
+
cursor: {
|
|
9660
|
+
type: 'string',
|
|
9661
|
+
},
|
|
9662
|
+
hitsTotal: {
|
|
9663
|
+
type: 'integer',
|
|
9664
|
+
description:
|
|
9665
|
+
'Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits.',
|
|
9666
|
+
},
|
|
9667
|
+
starterPacks: {
|
|
9668
|
+
type: 'array',
|
|
9669
|
+
items: {
|
|
9670
|
+
type: 'ref',
|
|
9671
|
+
ref: 'lex:app.bsky.unspecced.defs#skeletonSearchStarterPack',
|
|
9672
|
+
},
|
|
9673
|
+
},
|
|
9674
|
+
},
|
|
9675
|
+
},
|
|
9676
|
+
},
|
|
9677
|
+
errors: [
|
|
9678
|
+
{
|
|
9679
|
+
name: 'BadQueryString',
|
|
9680
|
+
},
|
|
9681
|
+
],
|
|
9682
|
+
},
|
|
9683
|
+
},
|
|
9684
|
+
},
|
|
9529
9685
|
AppBskyVideoDefs: {
|
|
9530
9686
|
lexicon: 1,
|
|
9531
9687
|
id: 'app.bsky.video.defs',
|
|
@@ -13327,8 +13483,9 @@ export const schemaDict = {
|
|
|
13327
13483
|
},
|
|
13328
13484
|
},
|
|
13329
13485
|
},
|
|
13330
|
-
}
|
|
13331
|
-
|
|
13486
|
+
} as const satisfies Record<string, LexiconDoc>
|
|
13487
|
+
|
|
13488
|
+
export const schemas = Object.values(schemaDict)
|
|
13332
13489
|
export const lexicons: Lexicons = new Lexicons(schemas)
|
|
13333
13490
|
export const ids = {
|
|
13334
13491
|
ComAtprotoAdminDefs: 'com.atproto.admin.defs',
|
|
@@ -13417,6 +13574,7 @@ export const ids = {
|
|
|
13417
13574
|
ComAtprotoSyncNotifyOfUpdate: 'com.atproto.sync.notifyOfUpdate',
|
|
13418
13575
|
ComAtprotoSyncRequestCrawl: 'com.atproto.sync.requestCrawl',
|
|
13419
13576
|
ComAtprotoSyncSubscribeRepos: 'com.atproto.sync.subscribeRepos',
|
|
13577
|
+
ComAtprotoTempAddReservedHandle: 'com.atproto.temp.addReservedHandle',
|
|
13420
13578
|
ComAtprotoTempCheckSignupQueue: 'com.atproto.temp.checkSignupQueue',
|
|
13421
13579
|
ComAtprotoTempFetchLabels: 'com.atproto.temp.fetchLabels',
|
|
13422
13580
|
ComAtprotoTempRequestPhoneVerification:
|
|
@@ -13485,6 +13643,7 @@ export const ids = {
|
|
|
13485
13643
|
AppBskyGraphMuteActor: 'app.bsky.graph.muteActor',
|
|
13486
13644
|
AppBskyGraphMuteActorList: 'app.bsky.graph.muteActorList',
|
|
13487
13645
|
AppBskyGraphMuteThread: 'app.bsky.graph.muteThread',
|
|
13646
|
+
AppBskyGraphSearchStarterPacks: 'app.bsky.graph.searchStarterPacks',
|
|
13488
13647
|
AppBskyGraphStarterpack: 'app.bsky.graph.starterpack',
|
|
13489
13648
|
AppBskyGraphUnmuteActor: 'app.bsky.graph.unmuteActor',
|
|
13490
13649
|
AppBskyGraphUnmuteActorList: 'app.bsky.graph.unmuteActorList',
|
|
@@ -13510,6 +13669,8 @@ export const ids = {
|
|
|
13510
13669
|
AppBskyUnspeccedSearchActorsSkeleton:
|
|
13511
13670
|
'app.bsky.unspecced.searchActorsSkeleton',
|
|
13512
13671
|
AppBskyUnspeccedSearchPostsSkeleton: 'app.bsky.unspecced.searchPostsSkeleton',
|
|
13672
|
+
AppBskyUnspeccedSearchStarterPacksSkeleton:
|
|
13673
|
+
'app.bsky.unspecced.searchStarterPacksSkeleton',
|
|
13513
13674
|
AppBskyVideoDefs: 'app.bsky.video.defs',
|
|
13514
13675
|
AppBskyVideoGetJobStatus: 'app.bsky.video.getJobStatus',
|
|
13515
13676
|
AppBskyVideoGetUploadLimits: 'app.bsky.video.getUploadLimits',
|