@atproto/bsky 0.0.267 → 0.0.269
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 +28 -0
- package/dist/lexicons/app/bsky/draft/createDraft.defs.d.ts +6 -2
- package/dist/lexicons/app/bsky/draft/createDraft.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/draft/createDraft.defs.js +1 -1
- package/dist/lexicons/app/bsky/draft/createDraft.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/video/defs.defs.d.ts +4 -0
- package/dist/lexicons/app/bsky/video/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/video/defs.defs.js +2 -0
- package/dist/lexicons/app/bsky/video/defs.defs.js.map +1 -1
- package/dist/lexicons/com/atproto/server/describeServer.defs.d.ts +2 -0
- package/dist/lexicons/com/atproto/server/describeServer.defs.d.ts.map +1 -1
- package/dist/lexicons/com/atproto/server/describeServer.defs.js +1 -0
- package/dist/lexicons/com/atproto/server/describeServer.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/report/closeReports.d.ts +3 -0
- package/dist/lexicons/tools/ozone/report/closeReports.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/closeReports.defs.d.ts +36 -0
- package/dist/lexicons/tools/ozone/report/closeReports.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/report/closeReports.defs.js +24 -0
- package/dist/lexicons/tools/ozone/report/closeReports.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/closeReports.js +6 -0
- package/dist/lexicons/tools/ozone/report/closeReports.js.map +1 -0
- package/dist/lexicons/tools/ozone/report/createActivity.defs.d.ts +4 -2
- package/dist/lexicons/tools/ozone/report/createActivity.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/report/createActivity.defs.js +2 -1
- package/dist/lexicons/tools/ozone/report/createActivity.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/report.d.ts +1 -0
- package/dist/lexicons/tools/ozone/report.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/report.js +1 -0
- package/dist/lexicons/tools/ozone/report.js.map +1 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @atproto/bsky
|
|
2
2
|
|
|
3
|
+
## 0.0.269
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`c8399b6`](https://github.com/bluesky-social/atproto/commit/c8399b6b051377be66f660105b14646a1c2fa460)]:
|
|
8
|
+
- @atproto/xrpc-server@0.11.13
|
|
9
|
+
- @atproto/lex@0.3.2
|
|
10
|
+
- @atproto/common@0.7.3
|
|
11
|
+
- @atproto/repo@0.10.7
|
|
12
|
+
- @atproto-labs/xrpc-utils@0.1.12
|
|
13
|
+
- @atproto/sync@0.3.15
|
|
14
|
+
- @atproto/api@0.20.36
|
|
15
|
+
- @atproto/identity@0.5.7
|
|
16
|
+
|
|
17
|
+
## 0.0.268
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [#5203](https://github.com/bluesky-social/atproto/pull/5203) [`ccb57ef`](https://github.com/bluesky-social/atproto/commit/ccb57ef6f015dcdc33fdfdc9c4cf048711acad01) Thanks [@arjxnt](https://github.com/arjxnt)! - Mark `app.bsky.draft.createDraft` output IDs as TIDs.
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [[`84781a9`](https://github.com/bluesky-social/atproto/commit/84781a9958357e1f208ff0100cee050c5b42298b), [`ccb57ef`](https://github.com/bluesky-social/atproto/commit/ccb57ef6f015dcdc33fdfdc9c4cf048711acad01)]:
|
|
24
|
+
- @atproto/api@0.20.35
|
|
25
|
+
- @atproto-labs/fetch-node@0.3.6
|
|
26
|
+
- @atproto/xrpc-server@0.11.12
|
|
27
|
+
- @atproto-labs/xrpc-utils@0.1.11
|
|
28
|
+
- @atproto/sync@0.3.14
|
|
29
|
+
- @atproto/lex@0.3.1
|
|
30
|
+
|
|
3
31
|
## 0.0.267
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -10,7 +10,9 @@ export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
|
10
10
|
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
11
11
|
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
12
12
|
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
13
|
-
id: l.StringSchema<{
|
|
13
|
+
id: l.StringSchema<{
|
|
14
|
+
readonly format: "tid";
|
|
15
|
+
}>;
|
|
14
16
|
}>>;
|
|
15
17
|
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
16
18
|
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
@@ -18,7 +20,9 @@ export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B
|
|
|
18
20
|
declare const main: l.Procedure<"app.bsky.draft.createDraft", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
19
21
|
draft: l.RefSchema<l.Validator<DraftDefs.Draft, DraftDefs.Draft>>;
|
|
20
22
|
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
21
|
-
id: l.StringSchema<{
|
|
23
|
+
id: l.StringSchema<{
|
|
24
|
+
readonly format: "tid";
|
|
25
|
+
}>;
|
|
22
26
|
}>>, readonly ["DraftLimitReached"]>;
|
|
23
27
|
export { main };
|
|
24
28
|
export declare const $lxm = "app.bsky.draft.createDraft";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createDraft.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/draft/createDraft.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,QAAA,MAAM,KAA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MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAC5D,OAAO,OAAO,EACd,CAAC,CACF,CAAA;AAED,0HAA0H;AAC1H,QAAA,MAAM,IAAI;;;;;;oCAER,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,eAAO,MAAM,IAAI,+BAAQ,CAAA"}
|
|
@@ -10,7 +10,7 @@ export const $input = /*#__PURE__*/ l.jsonPayload({
|
|
|
10
10
|
draft: /*#__PURE__*/ l.ref((() => DraftDefs.draft)),
|
|
11
11
|
});
|
|
12
12
|
export const $output = /*#__PURE__*/ l.jsonPayload({
|
|
13
|
-
id: /*#__PURE__*/ l.string(),
|
|
13
|
+
id: /*#__PURE__*/ l.string({ format: 'tid' }),
|
|
14
14
|
});
|
|
15
15
|
/** Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication. */
|
|
16
16
|
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createDraft.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/draft/createDraft.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,MAAM,KAAK,GAAG,4BAA4B,CAAA;AAE1C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAA;AAI/C,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IAChD,KAAK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,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\nimport * as DraftDefs from './defs.defs.js'\n\nconst $nsid = 'app.bsky.draft.createDraft'\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params()\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\n draft: /*#__PURE__*/ l.ref<DraftDefs.Draft>((() => DraftDefs.draft) as any),\n})\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n id: /*#__PURE__*/ l.string({ format: 'tid' }),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\n 'DraftLimitReached',\n])\n\nexport { main }\n\nexport const $lxm = $nsid\n"]}
|
|
@@ -15,6 +15,10 @@ type JobStatus = {
|
|
|
15
15
|
progress?: number;
|
|
16
16
|
blob?: l.BlobRef;
|
|
17
17
|
error?: string;
|
|
18
|
+
/**
|
|
19
|
+
* A machine-readable code for why the video processing job failed.
|
|
20
|
+
*/
|
|
21
|
+
failureCode?: 'validation_failure' | 'encoding_failure' | 'pds_upload_failure' | 'pds_upload_unsupported_blob_size' | 'generic_failure' | l.UnknownString;
|
|
18
22
|
message?: string;
|
|
19
23
|
};
|
|
20
24
|
export type { JobStatus };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/defs.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EA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S,EAAE,CAAA;AAEzB,QAAA,MAAM,SAAS,yFA2Bd,CAAA;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -13,6 +13,8 @@ const jobStatus = /*#__PURE__*/ l.typedObject($nsid, 'jobStatus',
|
|
|
13
13
|
/*#__PURE__*/ l.integer({ minimum: 0, maximum: 100 })),
|
|
14
14
|
blob: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.blob()),
|
|
15
15
|
error: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
16
|
+
failureCode: /*#__PURE__*/ l.optional(
|
|
17
|
+
/*#__PURE__*/ l.string()),
|
|
16
18
|
message: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
17
19
|
}));
|
|
18
20
|
export { jobStatus };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/defs.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,MAAM,KAAK,GAAG,qBAAqB,CAAA;AAEnC,OAAO,EAAE,KAAK,EAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/app/bsky/video/defs.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,MAAM,KAAK,GAAG,qBAAqB,CAAA;AAEnC,OAAO,EAAE,KAAK,EAAE,CAAA;AAkChB,MAAM,SAAS,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAC3C,KAAK,EACL,WAAW;AACX,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC/B,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAC9C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAEzB;IACJ,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAChC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CACtD;IACD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IACtD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACzD,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACnC,aAAa,CAAC,CAAC,CAAC,MAAM,EAQlB,CACL;IACD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC5D,CAAC,CACH,CAAA;AAED,OAAO,EAAE,SAAS,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'app.bsky.video.defs'\n\nexport { $nsid }\n\ntype JobStatus = {\n $type?: 'app.bsky.video.defs#jobStatus'\n jobId: string\n did: l.DidString\n\n /**\n * The state of the video processing job. All values not listed as a known value indicate that the job is in process.\n */\n state: 'JOB_STATE_COMPLETED' | 'JOB_STATE_FAILED' | l.UnknownString\n\n /**\n * Progress within the current processing state.\n */\n progress?: number\n blob?: l.BlobRef\n error?: string\n\n /**\n * A machine-readable code for why the video processing job failed.\n */\n failureCode?:\n | 'validation_failure'\n | 'encoding_failure'\n | 'pds_upload_failure'\n | 'pds_upload_unsupported_blob_size'\n | 'generic_failure'\n | l.UnknownString\n message?: string\n}\n\nexport type { JobStatus }\n\nconst jobStatus = /*#__PURE__*/ l.typedObject<JobStatus>(\n $nsid,\n 'jobStatus',\n /*#__PURE__*/ l.object({\n jobId: /*#__PURE__*/ l.string(),\n did: /*#__PURE__*/ l.string({ format: 'did' }),\n state: /*#__PURE__*/ l.string<{\n knownValues: ['JOB_STATE_COMPLETED', 'JOB_STATE_FAILED']\n }>(),\n progress: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.integer({ minimum: 0, maximum: 100 }),\n ),\n blob: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.blob()),\n error: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n failureCode: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string<{\n knownValues: [\n 'validation_failure',\n 'encoding_failure',\n 'pds_upload_failure',\n 'pds_upload_unsupported_blob_size',\n 'generic_failure',\n ]\n }>(),\n ),\n message: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n }),\n)\n\nexport { jobStatus }\n"]}
|
|
@@ -6,6 +6,7 @@ export type $Params = l.InferOutput<typeof $params>;
|
|
|
6
6
|
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
7
7
|
inviteCodeRequired: l.OptionalSchema<l.BooleanSchema>;
|
|
8
8
|
phoneVerificationRequired: l.OptionalSchema<l.BooleanSchema>;
|
|
9
|
+
blobUploadLimit: l.OptionalSchema<l.IntegerSchema>;
|
|
9
10
|
availableUserDomains: l.ArraySchema<l.StringSchema<{}>>;
|
|
10
11
|
links: l.OptionalSchema<l.RefSchema<l.Validator<Links, Links>>>;
|
|
11
12
|
contact: l.OptionalSchema<l.RefSchema<l.Validator<Contact, Contact>>>;
|
|
@@ -19,6 +20,7 @@ export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B
|
|
|
19
20
|
declare const main: l.Query<"com.atproto.server.describeServer", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
20
21
|
inviteCodeRequired: l.OptionalSchema<l.BooleanSchema>;
|
|
21
22
|
phoneVerificationRequired: l.OptionalSchema<l.BooleanSchema>;
|
|
23
|
+
blobUploadLimit: l.OptionalSchema<l.IntegerSchema>;
|
|
22
24
|
availableUserDomains: l.ArraySchema<l.StringSchema<{}>>;
|
|
23
25
|
links: l.OptionalSchema<l.RefSchema<l.Validator<Links, Links>>>;
|
|
24
26
|
contact: l.OptionalSchema<l.RefSchema<l.Validator<Contact, Contact>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describeServer.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/describeServer.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,QAAA,MAAM,KAAK,sCAAsC,CAAA;AAEjD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO,oBAA2B,CAAA;AAE/C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"describeServer.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/describeServer.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,QAAA,MAAM,KAAK,sCAAsC,CAAA;AAEjD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO,oBAA2B,CAAA;AAE/C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,OAAO;;;;;;;;;;GAclB,CAAA;AAEF,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAC5D,OAAO,OAAO,EACd,CAAC,CACF,CAAA;AAED,iGAAiG;AACjG,QAAA,MAAM,IAAI;;;;;;;;;;eAAiD,CAAA;AAE3D,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,eAAO,MAAM,IAAI,sCAAQ,CAAA;AAEzB,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,yCAAyC,CAAA;IACjD,aAAa,CAAC,EAAE,CAAC,CAAC,SAAS,CAAA;IAC3B,cAAc,CAAC,EAAE,CAAC,CAAC,SAAS,CAAA;CAC7B,CAAA;AAED,YAAY,EAAE,KAAK,EAAE,CAAA;AAErB,QAAA,MAAM,KAAK,2FAWV,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,KAAK,OAAO,GAAG;IACb,KAAK,CAAC,EAAE,2CAA2C,CAAA;IACnD,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,YAAY,EAAE,OAAO,EAAE,CAAA;AAEvB,QAAA,MAAM,OAAO,iGAMZ,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
|
@@ -9,6 +9,7 @@ export const $output = /*#__PURE__*/ l.jsonPayload({
|
|
|
9
9
|
inviteCodeRequired: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),
|
|
10
10
|
phoneVerificationRequired: /*#__PURE__*/ l.optional(
|
|
11
11
|
/*#__PURE__*/ l.boolean()),
|
|
12
|
+
blobUploadLimit: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),
|
|
12
13
|
availableUserDomains: /*#__PURE__*/ l.array(/*#__PURE__*/ l.string()),
|
|
13
14
|
links: /*#__PURE__*/ l.optional(
|
|
14
15
|
/*#__PURE__*/ l.ref((() => links))),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describeServer.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/describeServer.defs.ts"],"names":[],"mappings":"A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WAAW,CACvC,KAAK,EACL,OAAO;AACP,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACrC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAC1C;IACD,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACtC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAC1C;CACF,CAAC,CACH,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,CAAA;AAShB,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CACzC,KAAK,EACL,SAAS;AACT,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC1D,CAAC,CACH,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atproto.server.describeServer'\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params()\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n inviteCodeRequired: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),\n phoneVerificationRequired: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.boolean(),\n ),\n availableUserDomains: /*#__PURE__*/ l.array(/*#__PURE__*/ l.string()),\n links: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<Links>((() => links) as any),\n ),\n contact: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<Contact>((() => contact) as any),\n ),\n did: /*#__PURE__*/ l.string({ format: 'did' }),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Describes the server's account creation requirements and capabilities. Implemented by PDS. */\nconst main = /*#__PURE__*/ l.query($nsid, $params, $output)\n\nexport { main }\n\nexport const $lxm = $nsid\n\ntype Links = {\n $type?: 'com.atproto.server.describeServer#links'\n privacyPolicy?: l.UriString\n termsOfService?: l.UriString\n}\n\nexport type { Links }\n\nconst links = /*#__PURE__*/ l.typedObject<Links>(\n $nsid,\n 'links',\n /*#__PURE__*/ l.object({\n privacyPolicy: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'uri' }),\n ),\n termsOfService: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'uri' }),\n ),\n }),\n)\n\nexport { links }\n\ntype Contact = {\n $type?: 'com.atproto.server.describeServer#contact'\n email?: string\n}\n\nexport type { Contact }\n\nconst contact = /*#__PURE__*/ l.typedObject<Contact>(\n $nsid,\n 'contact',\n /*#__PURE__*/ l.object({\n email: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n }),\n)\n\nexport { contact }\n"]}
|
|
1
|
+
{"version":3,"file":"describeServer.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/server/describeServer.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,MAAM,KAAK,GAAG,mCAAmC,CAAA;AAEjD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAA;AAI/C,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IACjD,kBAAkB,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EA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MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAC1C;CACF,CAAC,CACH,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,CAAA;AAShB,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CACzC,KAAK,EACL,SAAS;AACT,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC1D,CAAC,CACH,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'com.atproto.server.describeServer'\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params()\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n inviteCodeRequired: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),\n phoneVerificationRequired: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.boolean(),\n ),\n blobUploadLimit: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\n availableUserDomains: /*#__PURE__*/ l.array(/*#__PURE__*/ l.string()),\n links: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<Links>((() => links) as any),\n ),\n contact: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.ref<Contact>((() => contact) as any),\n ),\n did: /*#__PURE__*/ l.string({ format: 'did' }),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Describes the server's account creation requirements and capabilities. Implemented by PDS. */\nconst main = /*#__PURE__*/ l.query($nsid, $params, $output)\n\nexport { main }\n\nexport const $lxm = $nsid\n\ntype Links = {\n $type?: 'com.atproto.server.describeServer#links'\n privacyPolicy?: l.UriString\n termsOfService?: l.UriString\n}\n\nexport type { Links }\n\nconst links = /*#__PURE__*/ l.typedObject<Links>(\n $nsid,\n 'links',\n /*#__PURE__*/ l.object({\n privacyPolicy: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'uri' }),\n ),\n termsOfService: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.string({ format: 'uri' }),\n ),\n }),\n)\n\nexport { links }\n\ntype Contact = {\n $type?: 'com.atproto.server.describeServer#contact'\n email?: string\n}\n\nexport type { Contact }\n\nconst contact = /*#__PURE__*/ l.typedObject<Contact>(\n $nsid,\n 'contact',\n /*#__PURE__*/ l.object({\n email: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n }),\n)\n\nexport { contact }\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"closeReports.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/closeReports.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAA;AACtC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { l } from '@atproto/lex';
|
|
2
|
+
declare const $nsid = "tools.ozone.report.closeReports";
|
|
3
|
+
export { $nsid };
|
|
4
|
+
export declare const $params: l.ParamsSchema<{}>;
|
|
5
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
6
|
+
export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
7
|
+
subject: l.StringSchema<{
|
|
8
|
+
readonly format: "uri";
|
|
9
|
+
}>;
|
|
10
|
+
reportTypes: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
11
|
+
internalNote: l.OptionalSchema<l.StringSchema<{}>>;
|
|
12
|
+
isAutomated: l.OptionalSchema<l.WithDefaultSchema<l.BooleanSchema>>;
|
|
13
|
+
}>>;
|
|
14
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
15
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
16
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
17
|
+
closedCount: l.IntegerSchema;
|
|
18
|
+
reportIds: l.ArraySchema<l.IntegerSchema>;
|
|
19
|
+
}>>;
|
|
20
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
21
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
22
|
+
/** Close all reports on a subject matching the given criteria. Reports whose current status does not permit a transition to closed are skipped silently. Intended for automated flows that resolve reports without taking action on the subject. */
|
|
23
|
+
declare const main: l.Procedure<"tools.ozone.report.closeReports", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
24
|
+
subject: l.StringSchema<{
|
|
25
|
+
readonly format: "uri";
|
|
26
|
+
}>;
|
|
27
|
+
reportTypes: l.OptionalSchema<l.ArraySchema<l.StringSchema<{}>>>;
|
|
28
|
+
internalNote: l.OptionalSchema<l.StringSchema<{}>>;
|
|
29
|
+
isAutomated: l.OptionalSchema<l.WithDefaultSchema<l.BooleanSchema>>;
|
|
30
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
31
|
+
closedCount: l.IntegerSchema;
|
|
32
|
+
reportIds: l.ArraySchema<l.IntegerSchema>;
|
|
33
|
+
}>>, undefined>;
|
|
34
|
+
export { main };
|
|
35
|
+
export declare const $lxm = "tools.ozone.report.closeReports";
|
|
36
|
+
//# sourceMappingURL=closeReports.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"closeReports.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/closeReports.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,QAAA,MAAM,KAAK,oCAAoC,CAAA;AAE/C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO,oBAA2B,CAAA;AAE/C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,MAAM;;;;;;;GASjB,CAAA;AAEF,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AACvE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AAE/E,eAAO,MAAM,OAAO;;;GAGlB,CAAA;AAEF,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAC5D,OAAO,OAAO,EACd,CAAC,CACF,CAAA;AAED,oPAAoP;AACpP,QAAA,MAAM,IAAI;;;;;;;;;;eAA6D,CAAA;AAEvE,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,eAAO,MAAM,IAAI,oCAAQ,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from '@atproto/lex';
|
|
5
|
+
const $nsid = 'tools.ozone.report.closeReports';
|
|
6
|
+
export { $nsid };
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
8
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({
|
|
9
|
+
subject: /*#__PURE__*/ l.string({ format: 'uri' }),
|
|
10
|
+
reportTypes: /*#__PURE__*/ l.optional(
|
|
11
|
+
/*#__PURE__*/ l.array(/*#__PURE__*/ l.string())),
|
|
12
|
+
internalNote: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),
|
|
13
|
+
isAutomated: /*#__PURE__*/ l.optional(
|
|
14
|
+
/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false)),
|
|
15
|
+
});
|
|
16
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({
|
|
17
|
+
closedCount: /*#__PURE__*/ l.integer(),
|
|
18
|
+
reportIds: /*#__PURE__*/ l.array(/*#__PURE__*/ l.integer()),
|
|
19
|
+
});
|
|
20
|
+
/** Close all reports on a subject matching the given criteria. Reports whose current status does not permit a transition to closed are skipped silently. Intended for automated flows that resolve reports without taking action on the subject. */
|
|
21
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output);
|
|
22
|
+
export { main };
|
|
23
|
+
export const $lxm = $nsid;
|
|
24
|
+
//# sourceMappingURL=closeReports.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"closeReports.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/closeReports.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAEhC,MAAM,KAAK,GAAG,iCAAiC,CAAA;AAE/C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAA;AAI/C,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IAChD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAClD,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACnC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAChD;IACD,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAChE,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACnC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC,CAC9D;CACF,CAAC,CAAA;AAKF,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;IACjD,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IACtC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;CAC5D,CAAC,CAAA;AAQF,oPAAoP;AACpP,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAA;AAEvE,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,MAAM,CAAC,MAAM,IAAI,GAAG,KAAK,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from '@atproto/lex'\n\nconst $nsid = 'tools.ozone.report.closeReports'\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params()\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\n subject: /*#__PURE__*/ l.string({ format: 'uri' }),\n reportTypes: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.array(/*#__PURE__*/ l.string()),\n ),\n internalNote: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n isAutomated: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false),\n ),\n})\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n closedCount: /*#__PURE__*/ l.integer(),\n reportIds: /*#__PURE__*/ l.array(/*#__PURE__*/ l.integer()),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Close all reports on a subject matching the given criteria. Reports whose current status does not permit a transition to closed are skipped silently. Intended for automated flows that resolve reports without taking action on the subject. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output)\n\nexport { main }\n\nexport const $lxm = $nsid\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"closeReports.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/closeReports.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,wBAAwB,CAAA;AACtC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,wBAAwB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from './closeReports.defs.js'\nexport { main as default } from './closeReports.defs.js'\n"]}
|
|
@@ -5,7 +5,8 @@ export { $nsid };
|
|
|
5
5
|
export declare const $params: l.ParamsSchema<{}>;
|
|
6
6
|
export type $Params = l.InferOutput<typeof $params>;
|
|
7
7
|
export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
8
|
-
reportId: l.IntegerSchema
|
|
8
|
+
reportId: l.OptionalSchema<l.IntegerSchema>;
|
|
9
|
+
eventId: l.OptionalSchema<l.IntegerSchema>;
|
|
9
10
|
activity: l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<ReportDefs.QueueActivity, ReportDefs.QueueActivity>>, l.TypedRefSchema<l.TypedObjectValidator<ReportDefs.AssignmentActivity, ReportDefs.AssignmentActivity>>, l.TypedRefSchema<l.TypedObjectValidator<ReportDefs.EscalationActivity, ReportDefs.EscalationActivity>>, l.TypedRefSchema<l.TypedObjectValidator<ReportDefs.CloseActivity, ReportDefs.CloseActivity>>, l.TypedRefSchema<l.TypedObjectValidator<ReportDefs.ReopenActivity, ReportDefs.ReopenActivity>>, l.TypedRefSchema<l.TypedObjectValidator<ReportDefs.NoteActivity, ReportDefs.NoteActivity>>], false>;
|
|
10
11
|
internalNote: l.OptionalSchema<l.StringSchema<{}>>;
|
|
11
12
|
publicNote: l.OptionalSchema<l.StringSchema<{}>>;
|
|
@@ -20,7 +21,8 @@ export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
|
20
21
|
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
21
22
|
/** Register an activity on a report. For state-change activity types, validates the transition and updates report.status atomically. */
|
|
22
23
|
declare const main: l.Procedure<"tools.ozone.report.createActivity", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
23
|
-
reportId: l.IntegerSchema
|
|
24
|
+
reportId: l.OptionalSchema<l.IntegerSchema>;
|
|
25
|
+
eventId: l.OptionalSchema<l.IntegerSchema>;
|
|
24
26
|
activity: l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<ReportDefs.QueueActivity, ReportDefs.QueueActivity>>, l.TypedRefSchema<l.TypedObjectValidator<ReportDefs.AssignmentActivity, ReportDefs.AssignmentActivity>>, l.TypedRefSchema<l.TypedObjectValidator<ReportDefs.EscalationActivity, ReportDefs.EscalationActivity>>, l.TypedRefSchema<l.TypedObjectValidator<ReportDefs.CloseActivity, ReportDefs.CloseActivity>>, l.TypedRefSchema<l.TypedObjectValidator<ReportDefs.ReopenActivity, ReportDefs.ReopenActivity>>, l.TypedRefSchema<l.TypedObjectValidator<ReportDefs.NoteActivity, ReportDefs.NoteActivity>>], false>;
|
|
25
27
|
internalNote: l.OptionalSchema<l.StringSchema<{}>>;
|
|
26
28
|
publicNote: l.OptionalSchema<l.StringSchema<{}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createActivity.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/createActivity.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAA;AAE5C,QAAA,MAAM,KAAK,sCAAsC,CAAA;AAEjD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO,oBAA2B,CAAA;AAE/C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"createActivity.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/createActivity.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAA;AAE5C,QAAA,MAAM,KAAK,sCAAsC,CAAA;AAEjD,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,OAAO,oBAA2B,CAAA;AAE/C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAA;AAEnD,eAAO,MAAM,MAAM;;;;;;;GA+BjB,CAAA;AAEF,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AACvE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAA;AAE/E,eAAO,MAAM,OAAO;;GAIlB,CAAA;AAEF,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAA;AACzE,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAC5D,OAAO,OAAO,EACd,CAAC,CACF,CAAA;AAED,wIAAwI;AACxI,QAAA,MAAM,IAAI;;;;;;;;;mFAIR,CAAA;AAEF,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,eAAO,MAAM,IAAI,sCAAQ,CAAA"}
|
|
@@ -7,7 +7,8 @@ const $nsid = 'tools.ozone.report.createActivity';
|
|
|
7
7
|
export { $nsid };
|
|
8
8
|
export const $params = /*#__PURE__*/ l.params();
|
|
9
9
|
export const $input = /*#__PURE__*/ l.jsonPayload({
|
|
10
|
-
reportId: /*#__PURE__*/ l.integer(),
|
|
10
|
+
reportId: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),
|
|
11
|
+
eventId: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),
|
|
11
12
|
activity: /*#__PURE__*/ l.typedUnion([
|
|
12
13
|
/*#__PURE__*/ l.typedRef((() => ReportDefs.queueActivity)),
|
|
13
14
|
/*#__PURE__*/ l.typedRef((() => ReportDefs.assignmentActivity)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createActivity.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/tools/ozone/report/createActivity.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAA;AAChC,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAA;AAE5C,MAAM,KAAK,GAAG,mCAAmC,CAAA;AAEjD,OAAO,EAAE,KAAK,EAAE,CA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defs.js'\n\nconst $nsid = 'tools.ozone.report.createActivity'\n\nexport { $nsid }\n\nexport const $params = /*#__PURE__*/ l.params()\n\nexport type $Params = l.InferOutput<typeof $params>\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\n reportId: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\n eventId: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.integer()),\n activity: /*#__PURE__*/ l.typedUnion(\n [\n /*#__PURE__*/ l.typedRef<ReportDefs.QueueActivity>(\n (() => ReportDefs.queueActivity) as any,\n ),\n /*#__PURE__*/ l.typedRef<ReportDefs.AssignmentActivity>(\n (() => ReportDefs.assignmentActivity) as any,\n ),\n /*#__PURE__*/ l.typedRef<ReportDefs.EscalationActivity>(\n (() => ReportDefs.escalationActivity) as any,\n ),\n /*#__PURE__*/ l.typedRef<ReportDefs.CloseActivity>(\n (() => ReportDefs.closeActivity) as any,\n ),\n /*#__PURE__*/ l.typedRef<ReportDefs.ReopenActivity>(\n (() => ReportDefs.reopenActivity) as any,\n ),\n /*#__PURE__*/ l.typedRef<ReportDefs.NoteActivity>(\n (() => ReportDefs.noteActivity) as any,\n ),\n ],\n false,\n ),\n internalNote: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n publicNote: /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\n isAutomated: /*#__PURE__*/ l.optional(\n /*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false),\n ),\n})\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\n activity: /*#__PURE__*/ l.ref<ReportDefs.ReportActivityView>(\n (() => ReportDefs.reportActivityView) as any,\n ),\n})\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<\n typeof $output,\n B\n>\n\n/** Register an activity on a report. For state-change activity types, validates the transition and updates report.status atomically. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\n 'ReportNotFound',\n 'InvalidStateTransition',\n 'AlreadyInTargetState',\n])\n\nexport { main }\n\nexport const $lxm = $nsid\n"]}
|
|
@@ -10,6 +10,7 @@ export * as queryReports from './report/queryReports.js';
|
|
|
10
10
|
export * as reassignQueue from './report/reassignQueue.js';
|
|
11
11
|
export * as refreshStats from './report/refreshStats.js';
|
|
12
12
|
export * as unassignModerator from './report/unassignModerator.js';
|
|
13
|
+
export * as closeReports from './report/closeReports.js';
|
|
13
14
|
export * as createActivity from './report/createActivity.js';
|
|
14
15
|
export * as defs from './report/defs.js';
|
|
15
16
|
//# sourceMappingURL=report.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/tools/ozone/report.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,kBAAkB,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,aAAa,MAAM,2BAA2B,CAAA;AAC1D,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAA;AAClE,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAA"}
|
|
1
|
+
{"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/tools/ozone/report.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,kBAAkB,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,aAAa,MAAM,2BAA2B,CAAA;AAC1D,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAA;AAClE,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAA"}
|
|
@@ -13,6 +13,7 @@ export * as queryReports from './report/queryReports.js';
|
|
|
13
13
|
export * as reassignQueue from './report/reassignQueue.js';
|
|
14
14
|
export * as refreshStats from './report/refreshStats.js';
|
|
15
15
|
export * as unassignModerator from './report/unassignModerator.js';
|
|
16
|
+
export * as closeReports from './report/closeReports.js';
|
|
16
17
|
export * as createActivity from './report/createActivity.js';
|
|
17
18
|
export * as defs from './report/defs.js';
|
|
18
19
|
//# sourceMappingURL=report.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report.js","sourceRoot":"","sources":["../../../../src/lexicons/tools/ozone/report.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,kBAAkB,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,aAAa,MAAM,2BAA2B,CAAA;AAC1D,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAA;AAClE,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as assignModerator from './report/assignModerator.js'\nexport * as getAssignments from './report/getAssignments.js'\nexport * as getHistoricalStats from './report/getHistoricalStats.js'\nexport * as getLatestReport from './report/getLatestReport.js'\nexport * as getLiveStats from './report/getLiveStats.js'\nexport * as getReport from './report/getReport.js'\nexport * as listActivities from './report/listActivities.js'\nexport * as queryActivities from './report/queryActivities.js'\nexport * as queryReports from './report/queryReports.js'\nexport * as reassignQueue from './report/reassignQueue.js'\nexport * as refreshStats from './report/refreshStats.js'\nexport * as unassignModerator from './report/unassignModerator.js'\nexport * as createActivity from './report/createActivity.js'\nexport * as defs from './report/defs.js'\n"]}
|
|
1
|
+
{"version":3,"file":"report.js","sourceRoot":"","sources":["../../../../src/lexicons/tools/ozone/report.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,kBAAkB,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,aAAa,MAAM,2BAA2B,CAAA;AAC1D,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAA;AAClE,OAAO,KAAK,YAAY,MAAM,0BAA0B,CAAA;AACxD,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAA","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as assignModerator from './report/assignModerator.js'\nexport * as getAssignments from './report/getAssignments.js'\nexport * as getHistoricalStats from './report/getHistoricalStats.js'\nexport * as getLatestReport from './report/getLatestReport.js'\nexport * as getLiveStats from './report/getLiveStats.js'\nexport * as getReport from './report/getReport.js'\nexport * as listActivities from './report/listActivities.js'\nexport * as queryActivities from './report/queryActivities.js'\nexport * as queryReports from './report/queryReports.js'\nexport * as reassignQueue from './report/reassignQueue.js'\nexport * as refreshStats from './report/refreshStats.js'\nexport * as unassignModerator from './report/unassignModerator.js'\nexport * as closeReports from './report/closeReports.js'\nexport * as createActivity from './report/createActivity.js'\nexport * as defs from './report/defs.js'\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/bsky",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.269",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Reference implementation of app.bsky App View (Bluesky API)",
|
|
6
6
|
"keywords": [
|
|
@@ -60,18 +60,18 @@
|
|
|
60
60
|
"uint8arrays": "^5.0.0",
|
|
61
61
|
"undici": "^8.5.0",
|
|
62
62
|
"zod": "3.23.8",
|
|
63
|
-
"@atproto-labs/fetch-node": "^0.3.
|
|
64
|
-
"@atproto
|
|
65
|
-
"@atproto/api": "^0.20.
|
|
66
|
-
"@atproto/crypto": "^0.5.4",
|
|
67
|
-
"@atproto/repo": "^0.10.6",
|
|
68
|
-
"@atproto/identity": "^0.5.6",
|
|
69
|
-
"@atproto/lex": "^0.3.0",
|
|
70
|
-
"@atproto/common": "^0.7.2",
|
|
63
|
+
"@atproto-labs/fetch-node": "^0.3.6",
|
|
64
|
+
"@atproto/common": "^0.7.3",
|
|
65
|
+
"@atproto/api": "^0.20.36",
|
|
71
66
|
"@atproto/did": "^0.5.4",
|
|
72
|
-
"@atproto/
|
|
73
|
-
"@atproto/
|
|
74
|
-
"@atproto/
|
|
67
|
+
"@atproto-labs/xrpc-utils": "^0.1.12",
|
|
68
|
+
"@atproto/crypto": "^0.5.4",
|
|
69
|
+
"@atproto/identity": "^0.5.7",
|
|
70
|
+
"@atproto/sync": "^0.3.15",
|
|
71
|
+
"@atproto/syntax": "^0.7.2",
|
|
72
|
+
"@atproto/lex": "^0.3.2",
|
|
73
|
+
"@atproto/repo": "^0.10.7",
|
|
74
|
+
"@atproto/xrpc-server": "^0.11.13"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@bufbuild/buf": "^1.28.1",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@types/pg": "^8.15.5",
|
|
86
86
|
"@types/qs": "^6.9.7",
|
|
87
87
|
"vitest": "^4.0.16",
|
|
88
|
-
"@atproto/pds": "^0.5.
|
|
88
|
+
"@atproto/pds": "^0.5.23"
|
|
89
89
|
},
|
|
90
90
|
"scripts": {
|
|
91
91
|
"codegen:buf": "buf generate ../bsync/proto && buf generate ./proto",
|