@atcute/atproto 3.0.0 → 3.0.2
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/dist/lexicons/types/com/atproto/admin/defs.d.ts +6 -6
- package/dist/lexicons/types/com/atproto/admin/defs.js +6 -6
- package/dist/lexicons/types/com/atproto/admin/defs.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/disableInviteCodes.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/admin/disableInviteCodes.js +1 -1
- package/dist/lexicons/types/com/atproto/admin/disableInviteCodes.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.d.ts +3 -3
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.js +3 -3
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/getSubjectStatus.d.ts +3 -3
- package/dist/lexicons/types/com/atproto/admin/getSubjectStatus.js +5 -5
- package/dist/lexicons/types/com/atproto/admin/getSubjectStatus.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.d.ts +2 -2
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.js +2 -2
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/sendEmail.d.ts +3 -3
- package/dist/lexicons/types/com/atproto/admin/sendEmail.js +3 -3
- package/dist/lexicons/types/com/atproto/admin/sendEmail.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/updateSubjectStatus.d.ts +3 -3
- package/dist/lexicons/types/com/atproto/admin/updateSubjectStatus.js +5 -5
- package/dist/lexicons/types/com/atproto/admin/updateSubjectStatus.js.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/defs.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/identity/defs.js +1 -1
- package/dist/lexicons/types/com/atproto/identity/defs.js.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +2 -2
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.js +2 -2
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.js.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.d.ts +3 -3
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.js +3 -3
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.js.map +1 -1
- package/dist/lexicons/types/com/atproto/label/defs.d.ts +12 -12
- package/dist/lexicons/types/com/atproto/label/defs.js +18 -16
- package/dist/lexicons/types/com/atproto/label/defs.js.map +1 -1
- package/dist/lexicons/types/com/atproto/label/queryLabels.d.ts +3 -3
- package/dist/lexicons/types/com/atproto/label/queryLabels.js +3 -3
- package/dist/lexicons/types/com/atproto/label/queryLabels.js.map +1 -1
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.d.ts +3 -3
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.js +3 -3
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.js.map +1 -1
- package/dist/lexicons/types/com/atproto/moderation/createReport.d.ts +4 -4
- package/dist/lexicons/types/com/atproto/moderation/createReport.js +8 -8
- package/dist/lexicons/types/com/atproto/moderation/createReport.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/applyWrites.d.ts +5 -5
- package/dist/lexicons/types/com/atproto/repo/applyWrites.js +5 -5
- package/dist/lexicons/types/com/atproto/repo/applyWrites.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/createRecord.d.ts +5 -5
- package/dist/lexicons/types/com/atproto/repo/createRecord.js +5 -5
- package/dist/lexicons/types/com/atproto/repo/createRecord.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/defs.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/repo/defs.js +1 -1
- package/dist/lexicons/types/com/atproto/repo/defs.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.d.ts +3 -3
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.js +3 -3
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/describeRepo.d.ts +2 -2
- package/dist/lexicons/types/com/atproto/repo/describeRepo.js +2 -2
- package/dist/lexicons/types/com/atproto/repo/describeRepo.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/getRecord.d.ts +3 -3
- package/dist/lexicons/types/com/atproto/repo/getRecord.js +3 -3
- package/dist/lexicons/types/com/atproto/repo/getRecord.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/importRepo.d.ts +1 -0
- package/dist/lexicons/types/com/atproto/repo/importRepo.js +1 -0
- package/dist/lexicons/types/com/atproto/repo/importRepo.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.d.ts +3 -3
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.js +3 -3
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/listRecords.d.ts +3 -3
- package/dist/lexicons/types/com/atproto/repo/listRecords.js +3 -3
- package/dist/lexicons/types/com/atproto/repo/listRecords.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/putRecord.d.ts +6 -6
- package/dist/lexicons/types/com/atproto/repo/putRecord.js +6 -6
- package/dist/lexicons/types/com/atproto/repo/putRecord.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/strongRef.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/repo/strongRef.js +1 -1
- package/dist/lexicons/types/com/atproto/repo/strongRef.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/checkAccountStatus.d.ts +6 -6
- package/dist/lexicons/types/com/atproto/server/checkAccountStatus.js +6 -6
- package/dist/lexicons/types/com/atproto/server/checkAccountStatus.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createAccount.d.ts +6 -6
- package/dist/lexicons/types/com/atproto/server/createAccount.js +6 -6
- package/dist/lexicons/types/com/atproto/server/createAccount.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createAppPassword.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/server/createAppPassword.js +1 -1
- package/dist/lexicons/types/com/atproto/server/createAppPassword.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createInviteCode.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/server/createInviteCode.js +1 -1
- package/dist/lexicons/types/com/atproto/server/createInviteCode.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.js +1 -1
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createSession.d.ts +7 -7
- package/dist/lexicons/types/com/atproto/server/createSession.js +6 -6
- package/dist/lexicons/types/com/atproto/server/createSession.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/defs.d.ts +4 -4
- package/dist/lexicons/types/com/atproto/server/defs.js +4 -4
- package/dist/lexicons/types/com/atproto/server/defs.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/describeServer.d.ts +3 -3
- package/dist/lexicons/types/com/atproto/server/describeServer.js +5 -5
- package/dist/lexicons/types/com/atproto/server/describeServer.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.js +1 -1
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/getSession.d.ts +5 -5
- package/dist/lexicons/types/com/atproto/server/getSession.js +4 -4
- package/dist/lexicons/types/com/atproto/server/getSession.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/listAppPasswords.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/server/listAppPasswords.js +1 -1
- package/dist/lexicons/types/com/atproto/server/listAppPasswords.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/refreshSession.d.ts +4 -4
- package/dist/lexicons/types/com/atproto/server/refreshSession.js +3 -3
- package/dist/lexicons/types/com/atproto/server/refreshSession.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/resetPassword.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/server/resetPassword.js +1 -1
- package/dist/lexicons/types/com/atproto/server/resetPassword.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/defs.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/sync/getBlob.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/sync/getBlob.js +1 -1
- package/dist/lexicons/types/com/atproto/sync/getBlob.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getBlocks.d.ts +2 -1
- package/dist/lexicons/types/com/atproto/sync/getBlocks.js +2 -1
- package/dist/lexicons/types/com/atproto/sync/getBlocks.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getCheckout.d.ts +1 -0
- package/dist/lexicons/types/com/atproto/sync/getCheckout.js +1 -0
- package/dist/lexicons/types/com/atproto/sync/getCheckout.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getHead.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/sync/getHead.js +1 -1
- package/dist/lexicons/types/com/atproto/sync/getHead.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getHostStatus.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/sync/getHostStatus.js +1 -1
- package/dist/lexicons/types/com/atproto/sync/getHostStatus.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.js +1 -1
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRecord.d.ts +2 -1
- package/dist/lexicons/types/com/atproto/sync/getRecord.js +2 -1
- package/dist/lexicons/types/com/atproto/sync/getRecord.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRepo.d.ts +1 -0
- package/dist/lexicons/types/com/atproto/sync/getRepo.js +1 -0
- package/dist/lexicons/types/com/atproto/sync/getRepo.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.d.ts +2 -2
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.js +2 -2
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listBlobs.d.ts +3 -3
- package/dist/lexicons/types/com/atproto/sync/listBlobs.js +3 -3
- package/dist/lexicons/types/com/atproto/sync/listBlobs.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listHosts.d.ts +2 -2
- package/dist/lexicons/types/com/atproto/sync/listHosts.js +2 -2
- package/dist/lexicons/types/com/atproto/sync/listHosts.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listRepos.d.ts +4 -4
- package/dist/lexicons/types/com/atproto/sync/listRepos.js +3 -3
- package/dist/lexicons/types/com/atproto/sync/listRepos.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.js +1 -1
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.d.ts +18 -18
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.js +21 -19
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.js.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/checkSignupQueue.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/temp/checkSignupQueue.js +1 -1
- package/dist/lexicons/types/com/atproto/temp/checkSignupQueue.js.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.js +1 -1
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.js.map +1 -1
- package/lib/lexicons/types/com/atproto/admin/defs.ts +6 -6
- package/lib/lexicons/types/com/atproto/admin/disableInviteCodes.ts +1 -1
- package/lib/lexicons/types/com/atproto/admin/getInviteCodes.ts +3 -3
- package/lib/lexicons/types/com/atproto/admin/getSubjectStatus.ts +5 -5
- package/lib/lexicons/types/com/atproto/admin/searchAccounts.ts +2 -2
- package/lib/lexicons/types/com/atproto/admin/sendEmail.ts +3 -3
- package/lib/lexicons/types/com/atproto/admin/updateSubjectStatus.ts +5 -5
- package/lib/lexicons/types/com/atproto/identity/defs.ts +1 -1
- package/lib/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.ts +2 -2
- package/lib/lexicons/types/com/atproto/identity/signPlcOperation.ts +3 -3
- package/lib/lexicons/types/com/atproto/label/defs.ts +24 -22
- package/lib/lexicons/types/com/atproto/label/queryLabels.ts +3 -3
- package/lib/lexicons/types/com/atproto/label/subscribeLabels.ts +3 -3
- package/lib/lexicons/types/com/atproto/moderation/createReport.ts +8 -8
- package/lib/lexicons/types/com/atproto/moderation/defs.ts +6 -6
- package/lib/lexicons/types/com/atproto/repo/applyWrites.ts +7 -7
- package/lib/lexicons/types/com/atproto/repo/createRecord.ts +6 -6
- package/lib/lexicons/types/com/atproto/repo/defs.ts +1 -1
- package/lib/lexicons/types/com/atproto/repo/deleteRecord.ts +3 -3
- package/lib/lexicons/types/com/atproto/repo/describeRepo.ts +2 -2
- package/lib/lexicons/types/com/atproto/repo/getRecord.ts +3 -3
- package/lib/lexicons/types/com/atproto/repo/importRepo.ts +1 -0
- package/lib/lexicons/types/com/atproto/repo/listMissingBlobs.ts +3 -3
- package/lib/lexicons/types/com/atproto/repo/listRecords.ts +3 -3
- package/lib/lexicons/types/com/atproto/repo/putRecord.ts +7 -7
- package/lib/lexicons/types/com/atproto/repo/strongRef.ts +1 -1
- package/lib/lexicons/types/com/atproto/server/checkAccountStatus.ts +6 -6
- package/lib/lexicons/types/com/atproto/server/createAccount.ts +6 -6
- package/lib/lexicons/types/com/atproto/server/createAppPassword.ts +1 -1
- package/lib/lexicons/types/com/atproto/server/createInviteCode.ts +1 -1
- package/lib/lexicons/types/com/atproto/server/createInviteCodes.ts +1 -1
- package/lib/lexicons/types/com/atproto/server/createSession.ts +7 -7
- package/lib/lexicons/types/com/atproto/server/defs.ts +4 -4
- package/lib/lexicons/types/com/atproto/server/describeServer.ts +5 -5
- package/lib/lexicons/types/com/atproto/server/getAccountInviteCodes.ts +1 -1
- package/lib/lexicons/types/com/atproto/server/getSession.ts +5 -5
- package/lib/lexicons/types/com/atproto/server/listAppPasswords.ts +1 -1
- package/lib/lexicons/types/com/atproto/server/refreshSession.ts +4 -4
- package/lib/lexicons/types/com/atproto/server/resetPassword.ts +1 -1
- package/lib/lexicons/types/com/atproto/sync/defs.ts +1 -1
- package/lib/lexicons/types/com/atproto/sync/getBlob.ts +1 -1
- package/lib/lexicons/types/com/atproto/sync/getBlocks.ts +2 -1
- package/lib/lexicons/types/com/atproto/sync/getCheckout.ts +1 -0
- package/lib/lexicons/types/com/atproto/sync/getHead.ts +1 -1
- package/lib/lexicons/types/com/atproto/sync/getHostStatus.ts +1 -1
- package/lib/lexicons/types/com/atproto/sync/getLatestCommit.ts +1 -1
- package/lib/lexicons/types/com/atproto/sync/getRecord.ts +2 -1
- package/lib/lexicons/types/com/atproto/sync/getRepo.ts +1 -0
- package/lib/lexicons/types/com/atproto/sync/getRepoStatus.ts +5 -5
- package/lib/lexicons/types/com/atproto/sync/listBlobs.ts +3 -3
- package/lib/lexicons/types/com/atproto/sync/listHosts.ts +2 -2
- package/lib/lexicons/types/com/atproto/sync/listRepos.ts +4 -4
- package/lib/lexicons/types/com/atproto/sync/listReposByCollection.ts +1 -1
- package/lib/lexicons/types/com/atproto/sync/subscribeRepos.ts +23 -21
- package/lib/lexicons/types/com/atproto/temp/checkSignupQueue.ts +1 -1
- package/lib/lexicons/types/com/atproto/temp/fetchLabels.ts +1 -1
- package/package.json +3 -3
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
const _labelSchema = /*#__PURE__*/ v.object({
|
|
3
3
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.defs#label')),
|
|
4
|
-
|
|
5
|
-
src: /*#__PURE__*/ v.didString(),
|
|
6
|
-
uri: /*#__PURE__*/ v.genericUriString(),
|
|
7
|
-
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
8
|
-
val: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 128)]),
|
|
9
|
-
neg: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
4
|
+
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
10
5
|
cts: /*#__PURE__*/ v.datetimeString(),
|
|
11
6
|
exp: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
7
|
+
neg: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
12
8
|
sig: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.bytes()),
|
|
9
|
+
src: /*#__PURE__*/ v.didString(),
|
|
10
|
+
uri: /*#__PURE__*/ v.genericUriString(),
|
|
11
|
+
val: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 128)]),
|
|
12
|
+
ver: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
13
13
|
});
|
|
14
14
|
const _labelValueSchema = /*#__PURE__*/ v.string();
|
|
15
15
|
const _labelValueDefinitionSchema = /*#__PURE__*/ v.object({
|
|
16
16
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.defs#labelValueDefinition')),
|
|
17
|
+
adultOnly: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
18
|
+
blurs: /*#__PURE__*/ v.string(),
|
|
19
|
+
defaultSetting: /*#__PURE__*/ v.optional(
|
|
20
|
+
/*#__PURE__*/ v.string(), 'warn'),
|
|
17
21
|
identifier: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
18
22
|
/*#__PURE__*/ v.stringLength(0, 100),
|
|
19
23
|
/*#__PURE__*/ v.stringGraphemes(0, 100),
|
|
20
24
|
]),
|
|
21
|
-
severity: /*#__PURE__*/ v.string(),
|
|
22
|
-
blurs: /*#__PURE__*/ v.string(),
|
|
23
|
-
defaultSetting: /*#__PURE__*/ v.optional(
|
|
24
|
-
/*#__PURE__*/ v.string(), 'warn'),
|
|
25
|
-
adultOnly: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
26
25
|
get locales() {
|
|
27
26
|
return /*#__PURE__*/ v.array(labelValueDefinitionStringsSchema);
|
|
28
27
|
},
|
|
28
|
+
severity: /*#__PURE__*/ v.string(),
|
|
29
29
|
});
|
|
30
30
|
const _labelValueDefinitionStringsSchema = /*#__PURE__*/ v.object({
|
|
31
31
|
$type: /*#__PURE__*/ v.optional(
|
|
32
32
|
/*#__PURE__*/ v.literal('com.atproto.label.defs#labelValueDefinitionStrings')),
|
|
33
|
+
description: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
34
|
+
/*#__PURE__*/ v.stringLength(0, 100000),
|
|
35
|
+
/*#__PURE__*/ v.stringGraphemes(0, 10000),
|
|
36
|
+
]),
|
|
33
37
|
lang: /*#__PURE__*/ v.languageCodeString(),
|
|
34
38
|
name: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
35
39
|
/*#__PURE__*/ v.stringLength(0, 640),
|
|
36
40
|
/*#__PURE__*/ v.stringGraphemes(0, 64),
|
|
37
41
|
]),
|
|
38
|
-
description: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
39
|
-
/*#__PURE__*/ v.stringLength(0, 100000),
|
|
40
|
-
/*#__PURE__*/ v.stringGraphemes(0, 10000),
|
|
41
|
-
]),
|
|
42
42
|
});
|
|
43
43
|
const _selfLabelSchema = /*#__PURE__*/ v.object({
|
|
44
44
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.defs#selfLabel')),
|
|
@@ -47,7 +47,9 @@ const _selfLabelSchema = /*#__PURE__*/ v.object({
|
|
|
47
47
|
const _selfLabelsSchema = /*#__PURE__*/ v.object({
|
|
48
48
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.defs#selfLabels')),
|
|
49
49
|
get values() {
|
|
50
|
-
return /*#__PURE__*/ v.constrain(v.array(selfLabelSchema), [
|
|
50
|
+
return /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(selfLabelSchema), [
|
|
51
|
+
/*#__PURE__*/ v.arrayLength(0, 10),
|
|
52
|
+
]);
|
|
51
53
|
},
|
|
52
54
|
});
|
|
53
55
|
export const labelSchema = _labelSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/label/defs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,YAAY,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC3C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,8BAA8B,CAAC,CAAC;IACxF,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/label/defs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,YAAY,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC3C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,8BAA8B,CAAC,C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|
|
3
3
|
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
4
|
-
uriPatterns: v.ArraySchema<v.StringSchema<string>>;
|
|
5
|
-
sources: v.OptionalSchema<v.ArraySchema<v.FormattedStringSchema<"did">>, undefined>;
|
|
6
|
-
limit: v.OptionalSchema<v.SchemaWithConstraint<v.IntegerSchema, readonly [v.IntegerRangeConstraint<1, 250>]>, 50>;
|
|
7
4
|
cursor: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
5
|
+
limit: v.OptionalSchema<v.SchemaWithConstraint<v.IntegerSchema, readonly [v.IntegerRangeConstraint<1, 250>]>, 50>;
|
|
6
|
+
sources: v.OptionalSchema<v.ArraySchema<v.FormattedStringSchema<"did">>, undefined>;
|
|
7
|
+
uriPatterns: v.ArraySchema<v.StringSchema<string>>;
|
|
8
8
|
}>, {
|
|
9
9
|
type: "lex";
|
|
10
10
|
schema: v.ObjectSchema<{
|
|
@@ -2,11 +2,11 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
2
2
|
import * as ComAtprotoLabelDefs from './defs.js';
|
|
3
3
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.label.queryLabels', {
|
|
4
4
|
params: /*#__PURE__*/ v.object({
|
|
5
|
-
|
|
6
|
-
sources: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.didString())),
|
|
5
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
7
6
|
limit: /*#__PURE__*/ v.optional(
|
|
8
7
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 250)]), 50),
|
|
9
|
-
|
|
8
|
+
sources: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.didString())),
|
|
9
|
+
uriPatterns: /*#__PURE__*/ v.array(/*#__PURE__*/ v.string()),
|
|
10
10
|
}),
|
|
11
11
|
output: {
|
|
12
12
|
type: 'lex',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queryLabels.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/label/queryLabels.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,mBAAmB,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,+BAA+B,EAAE;IAC1E,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,
|
|
1
|
+
{"version":3,"file":"queryLabels.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/label/queryLabels.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,mBAAmB,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,+BAA+B,EAAE;IAC1E,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;QAC1D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;QAC9B,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,EAC5F,EAAE,CACF;QACD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC;QACrF,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;KAC5D,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YAC1D,IAAI,MAAM;gBACT,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAAC;YAC/D,CAAC;SACD,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -2,17 +2,17 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
2
2
|
import * as ComAtprotoLabelDefs from './defs.js';
|
|
3
3
|
declare const _infoSchema: v.ObjectSchema<{
|
|
4
4
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.label.subscribeLabels#info">, undefined>;
|
|
5
|
-
name: v.StringSchema<(string & {}) | "OutdatedCursor">;
|
|
6
5
|
message: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
6
|
+
name: v.StringSchema<(string & {}) | "OutdatedCursor">;
|
|
7
7
|
}>;
|
|
8
8
|
declare const _labelsSchema: v.ObjectSchema<{
|
|
9
9
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.label.subscribeLabels#labels">, undefined>;
|
|
10
|
-
seq: v.IntegerSchema;
|
|
11
10
|
readonly labels: v.ArraySchema<ComAtprotoLabelDefs.labelSchema>;
|
|
11
|
+
seq: v.IntegerSchema;
|
|
12
12
|
}>;
|
|
13
13
|
declare const _mainSchema: v.XRPCSubscriptionMetadata<v.ObjectSchema<{
|
|
14
14
|
cursor: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
15
|
-
}>, v.VariantSchema<readonly [
|
|
15
|
+
}>, v.VariantSchema<readonly [infoSchema, labelsSchema], boolean>, "com.atproto.label.subscribeLabels">;
|
|
16
16
|
type info$schematype = typeof _infoSchema;
|
|
17
17
|
type labels$schematype = typeof _labelsSchema;
|
|
18
18
|
type main$schematype = typeof _mainSchema;
|
|
@@ -2,22 +2,22 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
2
2
|
import * as ComAtprotoLabelDefs from './defs.js';
|
|
3
3
|
const _infoSchema = /*#__PURE__*/ v.object({
|
|
4
4
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.subscribeLabels#info')),
|
|
5
|
-
name: /*#__PURE__*/ v.string(),
|
|
6
5
|
message: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
6
|
+
name: /*#__PURE__*/ v.string(),
|
|
7
7
|
});
|
|
8
8
|
const _labelsSchema = /*#__PURE__*/ v.object({
|
|
9
9
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.subscribeLabels#labels')),
|
|
10
|
-
seq: /*#__PURE__*/ v.integer(),
|
|
11
10
|
get labels() {
|
|
12
11
|
return /*#__PURE__*/ v.array(ComAtprotoLabelDefs.labelSchema);
|
|
13
12
|
},
|
|
13
|
+
seq: /*#__PURE__*/ v.integer(),
|
|
14
14
|
});
|
|
15
15
|
const _mainSchema = /*#__PURE__*/ v.subscription('com.atproto.label.subscribeLabels', {
|
|
16
16
|
params: /*#__PURE__*/ v.object({
|
|
17
17
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
18
18
|
}),
|
|
19
19
|
get message() {
|
|
20
|
-
return /*#__PURE__*/ v.variant([
|
|
20
|
+
return /*#__PURE__*/ v.variant([infoSchema, labelsSchema]);
|
|
21
21
|
},
|
|
22
22
|
});
|
|
23
23
|
export const infoSchema = _infoSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribeLabels.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/label/subscribeLabels.ts"],"names":[],"mappings":"AACA,OAAO,KAAK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AAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;KAC3D,CAAC;IACF,IAAI,OAAO;QACV,OAAO,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC,CAAC;IAC5D,CAAC;CACD,CAAC,CAAC;AAUH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,YAAY,GAAG,aAA6B,CAAC;AAC1D,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -5,19 +5,19 @@ import * as ComAtprotoRepoStrongRef from '../repo/strongRef.js';
|
|
|
5
5
|
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
6
6
|
type: "lex";
|
|
7
7
|
schema: v.ObjectSchema<{
|
|
8
|
-
readonly reasonType: ComAtprotoModerationDefs.reasonTypeSchema;
|
|
9
8
|
reason: v.OptionalSchema<v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<0, 20000>, v.StringGraphemesConstraint<0, 2000>]>, undefined>;
|
|
9
|
+
readonly reasonType: ComAtprotoModerationDefs.reasonTypeSchema;
|
|
10
10
|
readonly subject: v.VariantSchema<readonly [ComAtprotoAdminDefs.repoRefSchema, ComAtprotoRepoStrongRef.mainSchema], boolean>;
|
|
11
11
|
}>;
|
|
12
12
|
}, {
|
|
13
13
|
type: "lex";
|
|
14
14
|
schema: v.ObjectSchema<{
|
|
15
|
+
createdAt: v.FormattedStringSchema<"datetime">;
|
|
15
16
|
id: v.IntegerSchema;
|
|
16
|
-
readonly reasonType: ComAtprotoModerationDefs.reasonTypeSchema;
|
|
17
17
|
reason: v.OptionalSchema<v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<0, 20000>, v.StringGraphemesConstraint<0, 2000>]>, undefined>;
|
|
18
|
-
readonly
|
|
18
|
+
readonly reasonType: ComAtprotoModerationDefs.reasonTypeSchema;
|
|
19
19
|
reportedBy: v.FormattedStringSchema<"did">;
|
|
20
|
-
|
|
20
|
+
readonly subject: v.VariantSchema<readonly [ComAtprotoAdminDefs.repoRefSchema, ComAtprotoRepoStrongRef.mainSchema], boolean>;
|
|
21
21
|
}>;
|
|
22
22
|
}, "com.atproto.moderation.createReport">;
|
|
23
23
|
type main$schematype = typeof _mainSchema;
|
|
@@ -7,14 +7,14 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.moderation.createRepo
|
|
|
7
7
|
input: {
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
|
-
get reasonType() {
|
|
11
|
-
return ComAtprotoModerationDefs.reasonTypeSchema;
|
|
12
|
-
},
|
|
13
10
|
reason: /*#__PURE__*/ v.optional(
|
|
14
11
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
15
12
|
/*#__PURE__*/ v.stringLength(0, 20000),
|
|
16
13
|
/*#__PURE__*/ v.stringGraphemes(0, 2000),
|
|
17
14
|
])),
|
|
15
|
+
get reasonType() {
|
|
16
|
+
return ComAtprotoModerationDefs.reasonTypeSchema;
|
|
17
|
+
},
|
|
18
18
|
get subject() {
|
|
19
19
|
return /*#__PURE__*/ v.variant([
|
|
20
20
|
ComAtprotoAdminDefs.repoRefSchema,
|
|
@@ -26,23 +26,23 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.moderation.createRepo
|
|
|
26
26
|
output: {
|
|
27
27
|
type: 'lex',
|
|
28
28
|
schema: /*#__PURE__*/ v.object({
|
|
29
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
29
30
|
id: /*#__PURE__*/ v.integer(),
|
|
30
|
-
get reasonType() {
|
|
31
|
-
return ComAtprotoModerationDefs.reasonTypeSchema;
|
|
32
|
-
},
|
|
33
31
|
reason: /*#__PURE__*/ v.optional(
|
|
34
32
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
35
33
|
/*#__PURE__*/ v.stringLength(0, 20000),
|
|
36
34
|
/*#__PURE__*/ v.stringGraphemes(0, 2000),
|
|
37
35
|
])),
|
|
36
|
+
get reasonType() {
|
|
37
|
+
return ComAtprotoModerationDefs.reasonTypeSchema;
|
|
38
|
+
},
|
|
39
|
+
reportedBy: /*#__PURE__*/ v.didString(),
|
|
38
40
|
get subject() {
|
|
39
41
|
return /*#__PURE__*/ v.variant([
|
|
40
42
|
ComAtprotoAdminDefs.repoRefSchema,
|
|
41
43
|
ComAtprotoRepoStrongRef.mainSchema,
|
|
42
44
|
]);
|
|
43
45
|
},
|
|
44
|
-
reportedBy: /*#__PURE__*/ v.didString(),
|
|
45
|
-
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
46
46
|
}),
|
|
47
47
|
},
|
|
48
48
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createReport.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/moderation/createReport.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,mBAAmB,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,wBAAwB,MAAM,WAAW,CAAC;AACtD,OAAO,KAAK,uBAAuB,MAAM,sBAAsB,CAAC;AAEhE,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,qCAAqC,EAAE;IACpF,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,
|
|
1
|
+
{"version":3,"file":"createReport.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/moderation/createReport.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BA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,CAAC,YAAY,CAAC,CAAC,EAAE,KAAK,CAAC;gBACtC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC;aACxC,CAAC,CACF;YACD,IAAI,UAAU;gBACb,OAAO,wBAAwB,CAAC,gBAAgB,CAAC;YAClD,CAAC;YACD,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;YACvC,IAAI,OAAO;gBACV,OAAO,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC;oBAC9B,mBAAmB,CAAC,aAAa;oBACjC,uBAAuB,CAAC,UAAU;iBAClC,CAAC,CAAC;YACJ,CAAC;SACD,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -8,8 +8,8 @@ declare const _createSchema: v.ObjectSchema<{
|
|
|
8
8
|
}>;
|
|
9
9
|
declare const _createResultSchema: v.ObjectSchema<{
|
|
10
10
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.repo.applyWrites#createResult">, undefined>;
|
|
11
|
+
cid: v.FormattedStringSchema<"cid">;
|
|
11
12
|
uri: v.FormattedStringSchema<"at-uri">;
|
|
12
|
-
cid: v.StringSchema<string>;
|
|
13
13
|
validationStatus: v.OptionalSchema<v.StringSchema<"unknown" | (string & {}) | "valid">, undefined>;
|
|
14
14
|
}>;
|
|
15
15
|
declare const _deleteSchema: v.ObjectSchema<{
|
|
@@ -24,15 +24,15 @@ declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
|
24
24
|
type: "lex";
|
|
25
25
|
schema: v.ObjectSchema<{
|
|
26
26
|
repo: v.FormattedStringSchema<"at-identifier">;
|
|
27
|
+
swapCommit: v.OptionalSchema<v.FormattedStringSchema<"cid">, undefined>;
|
|
27
28
|
validate: v.OptionalSchema<v.BooleanSchema, undefined>;
|
|
28
|
-
readonly writes: v.ArraySchema<v.VariantSchema<readonly [createSchema,
|
|
29
|
-
swapCommit: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
29
|
+
readonly writes: v.ArraySchema<v.VariantSchema<readonly [createSchema, deleteSchema, updateSchema], true>>;
|
|
30
30
|
}>;
|
|
31
31
|
}, {
|
|
32
32
|
type: "lex";
|
|
33
33
|
schema: v.ObjectSchema<{
|
|
34
34
|
readonly commit: v.OptionalSchema<ComAtprotoRepoDefs.commitMetaSchema, undefined>;
|
|
35
|
-
readonly results: v.OptionalSchema<v.ArraySchema<v.VariantSchema<readonly [createResultSchema,
|
|
35
|
+
readonly results: v.OptionalSchema<v.ArraySchema<v.VariantSchema<readonly [createResultSchema, deleteResultSchema, updateResultSchema], true>>, undefined>;
|
|
36
36
|
}>;
|
|
37
37
|
}, "com.atproto.repo.applyWrites">;
|
|
38
38
|
declare const _updateSchema: v.ObjectSchema<{
|
|
@@ -43,8 +43,8 @@ declare const _updateSchema: v.ObjectSchema<{
|
|
|
43
43
|
}>;
|
|
44
44
|
declare const _updateResultSchema: v.ObjectSchema<{
|
|
45
45
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.repo.applyWrites#updateResult">, undefined>;
|
|
46
|
+
cid: v.FormattedStringSchema<"cid">;
|
|
46
47
|
uri: v.FormattedStringSchema<"at-uri">;
|
|
47
|
-
cid: v.StringSchema<string>;
|
|
48
48
|
validationStatus: v.OptionalSchema<v.StringSchema<"unknown" | (string & {}) | "valid">, undefined>;
|
|
49
49
|
}>;
|
|
50
50
|
type create$schematype = typeof _createSchema;
|
|
@@ -9,8 +9,8 @@ const _createSchema = /*#__PURE__*/ v.object({
|
|
|
9
9
|
});
|
|
10
10
|
const _createResultSchema = /*#__PURE__*/ v.object({
|
|
11
11
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.repo.applyWrites#createResult')),
|
|
12
|
+
cid: /*#__PURE__*/ v.cidString(),
|
|
12
13
|
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
13
|
-
cid: /*#__PURE__*/ v.string(),
|
|
14
14
|
validationStatus: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
15
15
|
});
|
|
16
16
|
const _deleteSchema = /*#__PURE__*/ v.object({
|
|
@@ -27,12 +27,12 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.repo.applyWrites', {
|
|
|
27
27
|
type: 'lex',
|
|
28
28
|
schema: /*#__PURE__*/ v.object({
|
|
29
29
|
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
30
|
+
swapCommit: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
30
31
|
validate: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
31
32
|
get writes() {
|
|
32
33
|
return /*#__PURE__*/ v.array(
|
|
33
|
-
/*#__PURE__*/ v.variant([createSchema,
|
|
34
|
+
/*#__PURE__*/ v.variant([createSchema, deleteSchema, updateSchema], true));
|
|
34
35
|
},
|
|
35
|
-
swapCommit: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
36
36
|
}),
|
|
37
37
|
},
|
|
38
38
|
output: {
|
|
@@ -44,7 +44,7 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.repo.applyWrites', {
|
|
|
44
44
|
get results() {
|
|
45
45
|
return /*#__PURE__*/ v.optional(
|
|
46
46
|
/*#__PURE__*/ v.array(
|
|
47
|
-
/*#__PURE__*/ v.variant([createResultSchema,
|
|
47
|
+
/*#__PURE__*/ v.variant([createResultSchema, deleteResultSchema, updateResultSchema], true)));
|
|
48
48
|
},
|
|
49
49
|
}),
|
|
50
50
|
},
|
|
@@ -57,8 +57,8 @@ const _updateSchema = /*#__PURE__*/ v.object({
|
|
|
57
57
|
});
|
|
58
58
|
const _updateResultSchema = /*#__PURE__*/ v.object({
|
|
59
59
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.repo.applyWrites#updateResult')),
|
|
60
|
+
cid: /*#__PURE__*/ v.cidString(),
|
|
60
61
|
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
61
|
-
cid: /*#__PURE__*/ v.string(),
|
|
62
62
|
validationStatus: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
63
63
|
});
|
|
64
64
|
export const createSchema = _createSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyWrites.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/repo/applyWrites.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,kBAAkB,MAAM,WAAW,CAAC;AAEhD,MAAM,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAC/F,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,UAAU,EAAE;IACxC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC7B,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CACpG;IACD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;CAChC,CAAC,CAAC;AACH,MAAM,mBAAmB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAClD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,2CAA2C,CAAC,CAAC;IACrG,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"applyWrites.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/repo/applyWrites.ts"],"names":[],"mappings":"AACA,OAA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,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAyC,CAAC"}
|
|
@@ -3,19 +3,19 @@ import * as ComAtprotoRepoDefs from './defs.js';
|
|
|
3
3
|
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
4
4
|
type: "lex";
|
|
5
5
|
schema: v.ObjectSchema<{
|
|
6
|
-
repo: v.FormattedStringSchema<"at-identifier">;
|
|
7
6
|
collection: v.FormattedStringSchema<"nsid">;
|
|
7
|
+
record: v.UnknownSchema;
|
|
8
|
+
repo: v.FormattedStringSchema<"at-identifier">;
|
|
8
9
|
rkey: v.OptionalSchema<v.SchemaWithConstraint<v.FormattedStringSchema<"record-key">, readonly [v.StringLengthConstraint<0, 512>]>, undefined>;
|
|
10
|
+
swapCommit: v.OptionalSchema<v.FormattedStringSchema<"cid">, undefined>;
|
|
9
11
|
validate: v.OptionalSchema<v.BooleanSchema, undefined>;
|
|
10
|
-
record: v.UnknownSchema;
|
|
11
|
-
swapCommit: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
12
12
|
}>;
|
|
13
13
|
}, {
|
|
14
14
|
type: "lex";
|
|
15
15
|
schema: v.ObjectSchema<{
|
|
16
|
-
|
|
17
|
-
cid: v.StringSchema<string>;
|
|
16
|
+
cid: v.FormattedStringSchema<"cid">;
|
|
18
17
|
readonly commit: v.OptionalSchema<ComAtprotoRepoDefs.commitMetaSchema, undefined>;
|
|
18
|
+
uri: v.FormattedStringSchema<"at-uri">;
|
|
19
19
|
validationStatus: v.OptionalSchema<v.StringSchema<"unknown" | (string & {}) | "valid">, undefined>;
|
|
20
20
|
}>;
|
|
21
21
|
}, "com.atproto.repo.createRecord">;
|
|
@@ -5,23 +5,23 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.repo.createRecord', {
|
|
|
5
5
|
input: {
|
|
6
6
|
type: 'lex',
|
|
7
7
|
schema: /*#__PURE__*/ v.object({
|
|
8
|
-
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
9
8
|
collection: /*#__PURE__*/ v.nsidString(),
|
|
9
|
+
record: /*#__PURE__*/ v.unknown(),
|
|
10
|
+
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
10
11
|
rkey: /*#__PURE__*/ v.optional(
|
|
11
12
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.recordKeyString(), [/*#__PURE__*/ v.stringLength(0, 512)])),
|
|
13
|
+
swapCommit: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
12
14
|
validate: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
13
|
-
record: /*#__PURE__*/ v.unknown(),
|
|
14
|
-
swapCommit: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
15
15
|
}),
|
|
16
16
|
},
|
|
17
17
|
output: {
|
|
18
18
|
type: 'lex',
|
|
19
19
|
schema: /*#__PURE__*/ v.object({
|
|
20
|
-
|
|
21
|
-
cid: /*#__PURE__*/ v.string(),
|
|
20
|
+
cid: /*#__PURE__*/ v.cidString(),
|
|
22
21
|
get commit() {
|
|
23
22
|
return /*#__PURE__*/ v.optional(ComAtprotoRepoDefs.commitMetaSchema);
|
|
24
23
|
},
|
|
24
|
+
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
25
25
|
validationStatus: /*#__PURE__*/ v.optional(
|
|
26
26
|
/*#__PURE__*/ v.string()),
|
|
27
27
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createRecord.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/repo/createRecord.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,kBAAkB,MAAM,WAAW,CAAC;AAEhD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,+BAA+B,EAAE;IAC9E,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MA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C,CAAC,QAAQ,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;YACtE,CAAC;YACD,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;YACxC,gBAAgB,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;YACzC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAuC,CAC7D;SACD,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
declare const _commitMetaSchema: v.ObjectSchema<{
|
|
3
3
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.repo.defs#commitMeta">, undefined>;
|
|
4
|
-
cid: v.
|
|
4
|
+
cid: v.FormattedStringSchema<"cid">;
|
|
5
5
|
rev: v.FormattedStringSchema<"tid">;
|
|
6
6
|
}>;
|
|
7
7
|
type commitMeta$schematype = typeof _commitMetaSchema;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
const _commitMetaSchema = /*#__PURE__*/ v.object({
|
|
3
3
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.repo.defs#commitMeta')),
|
|
4
|
-
cid: /*#__PURE__*/ v.
|
|
4
|
+
cid: /*#__PURE__*/ v.cidString(),
|
|
5
5
|
rev: /*#__PURE__*/ v.tidString(),
|
|
6
6
|
});
|
|
7
7
|
export const commitMetaSchema = _commitMetaSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/repo/defs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,iBAAiB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAChD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC5F,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/repo/defs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,iBAAiB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAChD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC5F,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;IAChC,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;CAChC,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAqC,CAAC"}
|
|
@@ -3,11 +3,11 @@ import * as ComAtprotoRepoDefs from './defs.js';
|
|
|
3
3
|
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
4
4
|
type: "lex";
|
|
5
5
|
schema: v.ObjectSchema<{
|
|
6
|
-
repo: v.FormattedStringSchema<"at-identifier">;
|
|
7
6
|
collection: v.FormattedStringSchema<"nsid">;
|
|
7
|
+
repo: v.FormattedStringSchema<"at-identifier">;
|
|
8
8
|
rkey: v.FormattedStringSchema<"record-key">;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
swapCommit: v.OptionalSchema<v.FormattedStringSchema<"cid">, undefined>;
|
|
10
|
+
swapRecord: v.OptionalSchema<v.FormattedStringSchema<"cid">, undefined>;
|
|
11
11
|
}>;
|
|
12
12
|
}, {
|
|
13
13
|
type: "lex";
|
|
@@ -5,11 +5,11 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.repo.deleteRecord', {
|
|
|
5
5
|
input: {
|
|
6
6
|
type: 'lex',
|
|
7
7
|
schema: /*#__PURE__*/ v.object({
|
|
8
|
-
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
9
8
|
collection: /*#__PURE__*/ v.nsidString(),
|
|
9
|
+
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
10
10
|
rkey: /*#__PURE__*/ v.recordKeyString(),
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
swapCommit: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
12
|
+
swapRecord: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
13
13
|
}),
|
|
14
14
|
},
|
|
15
15
|
output: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteRecord.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/repo/deleteRecord.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,kBAAkB,MAAM,WAAW,CAAC;AAEhD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,+BAA+B,EAAE;IAC9E,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,
|
|
1
|
+
{"version":3,"file":"deleteRecord.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/repo/deleteRecord.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,kBAAkB,MAAM,WAAW,CAAC;AAEhD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,+BAA+B,EAAE;IAC9E,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,UAAU,EAAE;YACxC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,qBAAqB,EAAE;YAC7C,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,eAAe,EAAE;YACvC,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;YACjE,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;SACjE,CAAC;KACF;IACD,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,IAAI,MAAM;gBACT,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;YACtE,CAAC;SACD,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -4,10 +4,10 @@ declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
|
4
4
|
}>, {
|
|
5
5
|
type: "lex";
|
|
6
6
|
schema: v.ObjectSchema<{
|
|
7
|
-
|
|
7
|
+
collections: v.ArraySchema<v.FormattedStringSchema<"nsid">>;
|
|
8
8
|
did: v.FormattedStringSchema<"did">;
|
|
9
9
|
didDoc: v.UnknownSchema;
|
|
10
|
-
|
|
10
|
+
handle: v.FormattedStringSchema<"handle">;
|
|
11
11
|
handleIsCorrect: v.BooleanSchema;
|
|
12
12
|
}>;
|
|
13
13
|
}, "com.atproto.repo.describeRepo">;
|
|
@@ -6,10 +6,10 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.repo.describeRepo', {
|
|
|
6
6
|
output: {
|
|
7
7
|
type: 'lex',
|
|
8
8
|
schema: /*#__PURE__*/ v.object({
|
|
9
|
-
|
|
9
|
+
collections: /*#__PURE__*/ v.array(/*#__PURE__*/ v.nsidString()),
|
|
10
10
|
did: /*#__PURE__*/ v.didString(),
|
|
11
11
|
didDoc: /*#__PURE__*/ v.unknown(),
|
|
12
|
-
|
|
12
|
+
handle: /*#__PURE__*/ v.handleString(),
|
|
13
13
|
handleIsCorrect: /*#__PURE__*/ v.boolean(),
|
|
14
14
|
}),
|
|
15
15
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describeRepo.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/repo/describeRepo.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,+BAA+B,EAAE;IAC1E,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,qBAAqB,EAAE;KAC7C,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,
|
|
1
|
+
{"version":3,"file":"describeRepo.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/repo/describeRepo.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,+BAA+B,EAAE;IAC1E,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,qBAAqB,EAAE;KAC7C,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC;YAChE,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;YAChC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;YACjC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,YAAY,EAAE;YACtC,eAAe,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;SAC1C,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
3
|
-
|
|
3
|
+
cid: v.OptionalSchema<v.FormattedStringSchema<"cid">, undefined>;
|
|
4
4
|
collection: v.FormattedStringSchema<"nsid">;
|
|
5
|
+
repo: v.FormattedStringSchema<"at-identifier">;
|
|
5
6
|
rkey: v.FormattedStringSchema<"record-key">;
|
|
6
|
-
cid: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
7
7
|
}>, {
|
|
8
8
|
type: "lex";
|
|
9
9
|
schema: v.ObjectSchema<{
|
|
10
|
+
cid: v.OptionalSchema<v.FormattedStringSchema<"cid">, undefined>;
|
|
10
11
|
uri: v.FormattedStringSchema<"at-uri">;
|
|
11
|
-
cid: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
12
12
|
value: v.UnknownSchema;
|
|
13
13
|
}>;
|
|
14
14
|
}, "com.atproto.repo.getRecord">;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.repo.getRecord', {
|
|
3
3
|
params: /*#__PURE__*/ v.object({
|
|
4
|
-
|
|
4
|
+
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
5
5
|
collection: /*#__PURE__*/ v.nsidString(),
|
|
6
|
+
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
6
7
|
rkey: /*#__PURE__*/ v.recordKeyString(),
|
|
7
|
-
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
8
8
|
}),
|
|
9
9
|
output: {
|
|
10
10
|
type: 'lex',
|
|
11
11
|
schema: /*#__PURE__*/ v.object({
|
|
12
|
+
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
12
13
|
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
13
|
-
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
14
|
value: /*#__PURE__*/ v.unknown(),
|
|
15
15
|
}),
|
|
16
16
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRecord.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/repo/getRecord.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,4BAA4B,EAAE;IACvE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,
|
|
1
|
+
{"version":3,"file":"getRecord.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/repo/getRecord.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,4BAA4B,EAAE;IACvE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;QAC1D,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,UAAU,EAAE;QACxC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,qBAAqB,EAAE;QAC7C,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,eAAe,EAAE;KACvC,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;YAC1D,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;YACxC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;SAChC,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
3
|
type: "blob";
|
|
4
|
+
encoding: string[];
|
|
4
5
|
}, null, "com.atproto.repo.importRepo">;
|
|
5
6
|
type main$schematype = typeof _mainSchema;
|
|
6
7
|
export interface mainSchema extends main$schematype {
|