@atproto/ozone 0.2.15 → 0.2.17
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 +15 -0
- package/dist/lexicon/index.d.ts +2 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +5 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +104 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +53 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/searchStarterPacksV2.d.ts +28 -0
- package/dist/lexicon/types/app/bsky/graph/searchStarterPacksV2.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/searchStarterPacksV2.js +10 -0
- package/dist/lexicon/types/app/bsky/graph/searchStarterPacksV2.js.map +1 -0
- package/package.json +8 -8
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type * as AppBskyGraphDefs from './defs.js';
|
|
2
|
+
export type QueryParams = {
|
|
3
|
+
/** Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. */
|
|
4
|
+
q: string;
|
|
5
|
+
limit: number;
|
|
6
|
+
cursor?: string;
|
|
7
|
+
};
|
|
8
|
+
export type InputSchema = undefined;
|
|
9
|
+
export interface OutputSchema {
|
|
10
|
+
cursor?: string;
|
|
11
|
+
/** Estimated total number of matching hits. May be rounded or truncated. */
|
|
12
|
+
hitsTotal?: number;
|
|
13
|
+
starterPacks: AppBskyGraphDefs.StarterPackView[];
|
|
14
|
+
}
|
|
15
|
+
export type HandlerInput = void;
|
|
16
|
+
export interface HandlerSuccess {
|
|
17
|
+
encoding: 'application/json';
|
|
18
|
+
body: OutputSchema;
|
|
19
|
+
headers?: {
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export interface HandlerError {
|
|
24
|
+
status: number;
|
|
25
|
+
message?: string;
|
|
26
|
+
}
|
|
27
|
+
export type HandlerOutput = HandlerError | HandlerSuccess;
|
|
28
|
+
//# sourceMappingURL=searchStarterPacksV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"searchStarterPacksV2.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/searchStarterPacksV2.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,gBAAgB,MAAM,WAAW,CAAA;AAMlD,MAAM,MAAM,WAAW,GAAG;IACxB,yHAAyH;IACzH,CAAC,EAAE,MAAM,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;IACb,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,4EAA4E;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,gBAAgB,CAAC,eAAe,EAAE,CAAA;CACjD;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAA;AAE/B,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,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { BlobRef } from '@atproto/lexicon';
|
|
5
|
+
import { CID } from 'multiformats/cid';
|
|
6
|
+
import { validate as _validate } from '../../../../lexicons.js';
|
|
7
|
+
import { is$typed as _is$typed, } from '../../../../util.js';
|
|
8
|
+
const is$typed = _is$typed, validate = _validate;
|
|
9
|
+
const id = 'app.bsky.graph.searchStarterPacksV2';
|
|
10
|
+
//# sourceMappingURL=searchStarterPacksV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"searchStarterPacksV2.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/searchStarterPacksV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAG5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,qCAAqC,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as AppBskyGraphDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.graph.searchStarterPacksV2'\n\nexport type QueryParams = {\n /** Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. */\n q: string\n limit: number\n cursor?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n /** Estimated total number of matching hits. May be rounded or truncated. */\n hitsTotal?: number\n starterPacks: AppBskyGraphDefs.StarterPackView[]\n}\n\nexport type HandlerInput = void\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/ozone",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.17",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Backend service for moderating the Bluesky network.",
|
|
6
6
|
"keywords": [
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"uint8arrays": "^5.0.0",
|
|
46
46
|
"undici": "^8.5.0",
|
|
47
47
|
"ws": "^8.12.0",
|
|
48
|
-
"@atproto/
|
|
49
|
-
"@atproto/api": "^0.20.28",
|
|
48
|
+
"@atproto/api": "^0.20.30",
|
|
50
49
|
"@atproto/common": "^0.7.2",
|
|
51
|
-
"@atproto/syntax": "^0.7.2",
|
|
52
50
|
"@atproto/crypto": "^0.5.4",
|
|
53
|
-
"@atproto/
|
|
51
|
+
"@atproto/identity": "^0.5.6",
|
|
54
52
|
"@atproto/lexicon": "^0.7.7",
|
|
53
|
+
"@atproto/syntax": "^0.7.2",
|
|
54
|
+
"@atproto/ws-client": "^0.1.7",
|
|
55
55
|
"@atproto/xrpc": "^0.8.6",
|
|
56
|
-
"@atproto/xrpc-server": "^0.11.
|
|
56
|
+
"@atproto/xrpc-server": "^0.11.10"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@did-plc/server": "^0.0.1",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"@types/qs": "^6.9.7",
|
|
66
66
|
"@types/ws": "^8.18.1",
|
|
67
67
|
"jest": "^30.0.0",
|
|
68
|
-
"@atproto/
|
|
69
|
-
"@atproto/
|
|
68
|
+
"@atproto/lex-cli": "^0.10.6",
|
|
69
|
+
"@atproto/pds": "^0.5.19"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"codegen:lex": "lex gen-server --yes ./src/lexicon ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/* ../../lexicons/chat/bsky/*/* ../../lexicons/tools/ozone/*/*",
|