@atcute/atproto 3.0.1 → 3.0.3
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/getAccountInfos.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.js +3 -1
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.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 +15 -15
- 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 +5 -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/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 +1 -1
- package/dist/lexicons/types/com/atproto/sync/getBlocks.js +3 -1
- package/dist/lexicons/types/com/atproto/sync/getBlocks.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 +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRecord.js +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRecord.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 +18 -18
- 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/getAccountInfos.ts +3 -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 +21 -21
- package/lib/lexicons/types/com/atproto/label/queryLabels.ts +5 -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/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 +3 -1
- 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 +1 -1
- 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 +20 -20
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listRepos.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/listRepos.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":"listRepos.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/listRepos.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8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AS,EAAE;IAChC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC/B,aAAa,CAAC,CAAC,CAAC,MAAM,EAEnB,CACH;CACD,CAAC,CAAC;AAQH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
3
3
|
collection: v.FormattedStringSchema<"nsid">;
|
|
4
|
-
limit: v.OptionalSchema<v.SchemaWithConstraint<v.IntegerSchema, readonly [v.IntegerRangeConstraint<1, 2000>]>, 500>;
|
|
5
4
|
cursor: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
5
|
+
limit: v.OptionalSchema<v.SchemaWithConstraint<v.IntegerSchema, readonly [v.IntegerRangeConstraint<1, 2000>]>, 500>;
|
|
6
6
|
}>, {
|
|
7
7
|
type: "lex";
|
|
8
8
|
schema: v.ObjectSchema<{
|
|
@@ -2,9 +2,9 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
2
2
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listReposByCollection', {
|
|
3
3
|
params: /*#__PURE__*/ v.object({
|
|
4
4
|
collection: /*#__PURE__*/ v.nsidString(),
|
|
5
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
5
6
|
limit: /*#__PURE__*/ v.optional(
|
|
6
7
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 2000)]), 500),
|
|
7
|
-
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
8
8
|
}),
|
|
9
9
|
output: {
|
|
10
10
|
type: 'lex',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listReposByCollection.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/listReposByCollection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,wCAAwC,EAAE;IACnF,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,UAAU,EAAE;QACxC,
|
|
1
|
+
{"version":3,"file":"listReposByCollection.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/listReposByCollection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,wCAAwC,EAAE;IACnF,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,UAAU,EAAE;QACxC,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,IAAI,CAAC,CAAC,CAAC,EAC7F,GAAG,CACH;KACD,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,KAAK;gBACR,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;YAC1C,CAAC;SACD,CAAC;KACF;CACD,CAAC,CAAC;AACH,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,6CAA6C,CAAC,CAAC;IACvG,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;CAChC,CAAC,CAAC;AAQH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
declare const _accountSchema: v.ObjectSchema<{
|
|
3
3
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#account">, undefined>;
|
|
4
|
-
|
|
4
|
+
active: v.BooleanSchema;
|
|
5
5
|
did: v.FormattedStringSchema<"did">;
|
|
6
|
+
seq: v.IntegerSchema;
|
|
7
|
+
status: v.OptionalSchema<v.StringSchema<(string & {}) | "deactivated" | "suspended" | "takendown" | "throttled" | "deleted" | "desynchronized">, undefined>;
|
|
6
8
|
time: v.FormattedStringSchema<"datetime">;
|
|
7
|
-
active: v.BooleanSchema;
|
|
8
|
-
status: v.OptionalSchema<v.StringSchema<(string & {}) | "deactivated" | "takendown" | "suspended" | "throttled" | "deleted" | "desynchronized">, undefined>;
|
|
9
9
|
}>;
|
|
10
10
|
declare const _commitSchema: v.ObjectSchema<{
|
|
11
11
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#commit">, undefined>;
|
|
12
|
-
|
|
12
|
+
blobs: v.ArraySchema<v.CidLinkSchema>;
|
|
13
|
+
blocks: v.SchemaWithConstraint<v.BytesSchema, readonly [v.BytesSizeConstraint<0, 2000000>]>;
|
|
14
|
+
commit: v.CidLinkSchema;
|
|
15
|
+
readonly ops: v.SchemaWithConstraint<v.ArraySchema<repoOpSchema>, readonly [v.ArrayLengthConstraint<0, 200>]>;
|
|
16
|
+
prevData: v.OptionalSchema<v.CidLinkSchema, undefined>;
|
|
13
17
|
rebase: v.BooleanSchema;
|
|
14
|
-
tooBig: v.BooleanSchema;
|
|
15
18
|
repo: v.FormattedStringSchema<"did">;
|
|
16
|
-
commit: v.CidLinkSchema;
|
|
17
19
|
rev: v.FormattedStringSchema<"tid">;
|
|
20
|
+
seq: v.IntegerSchema;
|
|
18
21
|
since: v.NullableSchema<v.FormattedStringSchema<"tid">>;
|
|
19
|
-
blocks: v.SchemaWithConstraint<v.BytesSchema, readonly [v.BytesSizeConstraint<0, 2000000>]>;
|
|
20
|
-
readonly ops: v.SchemaWithConstraint<v.ArraySchema<repoOpSchema>, readonly [v.ArrayLengthConstraint<0, 200>]>;
|
|
21
|
-
blobs: v.ArraySchema<v.CidLinkSchema>;
|
|
22
|
-
prevData: v.OptionalSchema<v.CidLinkSchema, undefined>;
|
|
23
22
|
time: v.FormattedStringSchema<"datetime">;
|
|
23
|
+
tooBig: v.BooleanSchema;
|
|
24
24
|
}>;
|
|
25
25
|
declare const _identitySchema: v.ObjectSchema<{
|
|
26
26
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#identity">, undefined>;
|
|
27
|
-
seq: v.IntegerSchema;
|
|
28
27
|
did: v.FormattedStringSchema<"did">;
|
|
29
|
-
time: v.FormattedStringSchema<"datetime">;
|
|
30
28
|
handle: v.OptionalSchema<v.FormattedStringSchema<"handle">, undefined>;
|
|
29
|
+
seq: v.IntegerSchema;
|
|
30
|
+
time: v.FormattedStringSchema<"datetime">;
|
|
31
31
|
}>;
|
|
32
32
|
declare const _infoSchema: v.ObjectSchema<{
|
|
33
33
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#info">, undefined>;
|
|
34
|
-
name: v.StringSchema<(string & {}) | "OutdatedCursor">;
|
|
35
34
|
message: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
35
|
+
name: v.StringSchema<(string & {}) | "OutdatedCursor">;
|
|
36
36
|
}>;
|
|
37
37
|
declare const _mainSchema: v.XRPCSubscriptionMetadata<v.ObjectSchema<{
|
|
38
38
|
cursor: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
39
|
-
}>, v.VariantSchema<readonly [
|
|
39
|
+
}>, v.VariantSchema<readonly [accountSchema, commitSchema, identitySchema, infoSchema, syncSchema], boolean>, "com.atproto.sync.subscribeRepos">;
|
|
40
40
|
declare const _repoOpSchema: v.ObjectSchema<{
|
|
41
41
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#repoOp">, undefined>;
|
|
42
|
-
action: v.StringSchema<(string & {}) | "create" | "
|
|
43
|
-
path: v.StringSchema<string>;
|
|
42
|
+
action: v.StringSchema<(string & {}) | "create" | "delete" | "update">;
|
|
44
43
|
cid: v.NullableSchema<v.CidLinkSchema>;
|
|
44
|
+
path: v.StringSchema<string>;
|
|
45
45
|
prev: v.OptionalSchema<v.CidLinkSchema, undefined>;
|
|
46
46
|
}>;
|
|
47
47
|
declare const _syncSchema: v.ObjectSchema<{
|
|
48
48
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#sync">, undefined>;
|
|
49
|
-
seq: v.IntegerSchema;
|
|
50
|
-
did: v.FormattedStringSchema<"did">;
|
|
51
49
|
blocks: v.SchemaWithConstraint<v.BytesSchema, readonly [v.BytesSizeConstraint<0, 10000>]>;
|
|
50
|
+
did: v.FormattedStringSchema<"did">;
|
|
52
51
|
rev: v.StringSchema<string>;
|
|
52
|
+
seq: v.IntegerSchema;
|
|
53
53
|
time: v.FormattedStringSchema<"datetime">;
|
|
54
54
|
}>;
|
|
55
55
|
type account$schematype = typeof _accountSchema;
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
const _accountSchema = /*#__PURE__*/ v.object({
|
|
3
3
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#account')),
|
|
4
|
-
seq: /*#__PURE__*/ v.integer(),
|
|
5
|
-
did: /*#__PURE__*/ v.didString(),
|
|
6
|
-
time: /*#__PURE__*/ v.datetimeString(),
|
|
7
4
|
active: /*#__PURE__*/ v.boolean(),
|
|
5
|
+
did: /*#__PURE__*/ v.didString(),
|
|
6
|
+
seq: /*#__PURE__*/ v.integer(),
|
|
8
7
|
status: /*#__PURE__*/ v.optional(
|
|
9
8
|
/*#__PURE__*/ v.string()),
|
|
9
|
+
time: /*#__PURE__*/ v.datetimeString(),
|
|
10
10
|
});
|
|
11
11
|
const _commitSchema = /*#__PURE__*/ v.object({
|
|
12
12
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#commit')),
|
|
13
|
-
|
|
14
|
-
rebase: /*#__PURE__*/ v.boolean(),
|
|
15
|
-
tooBig: /*#__PURE__*/ v.boolean(),
|
|
16
|
-
repo: /*#__PURE__*/ v.didString(),
|
|
17
|
-
commit: /*#__PURE__*/ v.cidLink(),
|
|
18
|
-
rev: /*#__PURE__*/ v.tidString(),
|
|
19
|
-
since: /*#__PURE__*/ v.nullable(/*#__PURE__*/ v.tidString()),
|
|
13
|
+
blobs: /*#__PURE__*/ v.array(/*#__PURE__*/ v.cidLink()),
|
|
20
14
|
blocks: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.bytes(), [/*#__PURE__*/ v.bytesSize(0, 2000000)]),
|
|
15
|
+
commit: /*#__PURE__*/ v.cidLink(),
|
|
21
16
|
get ops() {
|
|
22
17
|
return /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(repoOpSchema), [
|
|
23
18
|
/*#__PURE__*/ v.arrayLength(0, 200),
|
|
24
19
|
]);
|
|
25
20
|
},
|
|
26
|
-
blobs: /*#__PURE__*/ v.array(/*#__PURE__*/ v.cidLink()),
|
|
27
21
|
prevData: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidLink()),
|
|
22
|
+
rebase: /*#__PURE__*/ v.boolean(),
|
|
23
|
+
repo: /*#__PURE__*/ v.didString(),
|
|
24
|
+
rev: /*#__PURE__*/ v.tidString(),
|
|
25
|
+
seq: /*#__PURE__*/ v.integer(),
|
|
26
|
+
since: /*#__PURE__*/ v.nullable(/*#__PURE__*/ v.tidString()),
|
|
28
27
|
time: /*#__PURE__*/ v.datetimeString(),
|
|
28
|
+
tooBig: /*#__PURE__*/ v.boolean(),
|
|
29
29
|
});
|
|
30
30
|
const _identitySchema = /*#__PURE__*/ v.object({
|
|
31
31
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#identity')),
|
|
32
|
-
seq: /*#__PURE__*/ v.integer(),
|
|
33
32
|
did: /*#__PURE__*/ v.didString(),
|
|
34
|
-
time: /*#__PURE__*/ v.datetimeString(),
|
|
35
33
|
handle: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.handleString()),
|
|
34
|
+
seq: /*#__PURE__*/ v.integer(),
|
|
35
|
+
time: /*#__PURE__*/ v.datetimeString(),
|
|
36
36
|
});
|
|
37
37
|
const _infoSchema = /*#__PURE__*/ v.object({
|
|
38
38
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#info')),
|
|
39
|
-
name: /*#__PURE__*/ v.string(),
|
|
40
39
|
message: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
40
|
+
name: /*#__PURE__*/ v.string(),
|
|
41
41
|
});
|
|
42
42
|
const _mainSchema = /*#__PURE__*/ v.subscription('com.atproto.sync.subscribeRepos', {
|
|
43
43
|
params: /*#__PURE__*/ v.object({
|
|
44
44
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
45
45
|
}),
|
|
46
46
|
get message() {
|
|
47
|
-
return /*#__PURE__*/ v.variant([
|
|
47
|
+
return /*#__PURE__*/ v.variant([accountSchema, commitSchema, identitySchema, infoSchema, syncSchema]);
|
|
48
48
|
},
|
|
49
49
|
});
|
|
50
50
|
const _repoOpSchema = /*#__PURE__*/ v.object({
|
|
51
51
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#repoOp')),
|
|
52
52
|
action: /*#__PURE__*/ v.string(),
|
|
53
|
-
path: /*#__PURE__*/ v.string(),
|
|
54
53
|
cid: /*#__PURE__*/ v.nullable(/*#__PURE__*/ v.cidLink()),
|
|
54
|
+
path: /*#__PURE__*/ v.string(),
|
|
55
55
|
prev: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidLink()),
|
|
56
56
|
});
|
|
57
57
|
const _syncSchema = /*#__PURE__*/ v.object({
|
|
58
58
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#sync')),
|
|
59
|
-
seq: /*#__PURE__*/ v.integer(),
|
|
60
|
-
did: /*#__PURE__*/ v.didString(),
|
|
61
59
|
blocks: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.bytes(), [/*#__PURE__*/ v.bytesSize(0, 10000)]),
|
|
60
|
+
did: /*#__PURE__*/ v.didString(),
|
|
62
61
|
rev: /*#__PURE__*/ v.string(),
|
|
62
|
+
seq: /*#__PURE__*/ v.integer(),
|
|
63
63
|
time: /*#__PURE__*/ v.datetimeString(),
|
|
64
64
|
});
|
|
65
65
|
export const accountSchema = _accountSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribeRepos.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,cAAc,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,a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;CACzD,CAAC,CAAC;AACH,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,sCAAsC,CAAC,CAAC;IAChG,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;IACjG,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;IAChC,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC7B,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IAC9B,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;CACtC,CAAC,CAAC;AAkBH,MAAM,CAAC,MAAM,aAAa,GAAG,cAA+B,CAAC;AAC7D,MAAM,CAAC,MAAM,YAAY,GAAG,aAA6B,CAAC;AAC1D,MAAM,CAAC,MAAM,cAAc,GAAG,eAAiC,CAAC;AAChE,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,YAAY,GAAG,aAA6B,CAAC;AAC1D,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -3,8 +3,8 @@ declare const _mainSchema: v.XRPCQueryMetadata<null, {
|
|
|
3
3
|
type: "lex";
|
|
4
4
|
schema: v.ObjectSchema<{
|
|
5
5
|
activated: v.BooleanSchema;
|
|
6
|
-
placeInQueue: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
7
6
|
estimatedTimeMs: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
7
|
+
placeInQueue: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
8
8
|
}>;
|
|
9
9
|
}, "com.atproto.temp.checkSignupQueue">;
|
|
10
10
|
type main$schematype = typeof _mainSchema;
|
|
@@ -5,8 +5,8 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.temp.checkSignupQueue', {
|
|
|
5
5
|
type: 'lex',
|
|
6
6
|
schema: /*#__PURE__*/ v.object({
|
|
7
7
|
activated: /*#__PURE__*/ v.boolean(),
|
|
8
|
-
placeInQueue: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
9
8
|
estimatedTimeMs: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
9
|
+
placeInQueue: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
10
10
|
}),
|
|
11
11
|
},
|
|
12
12
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkSignupQueue.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/checkSignupQueue.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,mCAAmC,EAAE;IAC9E,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;YACpC,
|
|
1
|
+
{"version":3,"file":"checkSignupQueue.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/checkSignupQueue.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,mCAAmC,EAAE;IAC9E,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;YACpC,eAAe,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;YACpE,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;SACjE,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
import * as ComAtprotoLabelDefs from '../label/defs.js';
|
|
3
3
|
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
4
|
-
since: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
5
4
|
limit: v.OptionalSchema<v.SchemaWithConstraint<v.IntegerSchema, readonly [v.IntegerRangeConstraint<1, 250>]>, 50>;
|
|
5
|
+
since: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
6
6
|
}>, {
|
|
7
7
|
type: "lex";
|
|
8
8
|
schema: v.ObjectSchema<{
|
|
@@ -2,9 +2,9 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
2
2
|
import * as ComAtprotoLabelDefs from '../label/defs.js';
|
|
3
3
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.temp.fetchLabels', {
|
|
4
4
|
params: /*#__PURE__*/ v.object({
|
|
5
|
-
since: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
6
5
|
limit: /*#__PURE__*/ v.optional(
|
|
7
6
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 250)]), 50),
|
|
7
|
+
since: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
8
8
|
}),
|
|
9
9
|
output: {
|
|
10
10
|
type: 'lex',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchLabels.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/fetchLabels.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,mBAAmB,MAAM,kBAAkB,CAAC;AAExD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,8BAA8B,EAAE;IACzE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"fetchLabels.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/fetchLabels.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,mBAAmB,MAAM,kBAAkB,CAAC;AAExD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,8BAA8B,EAAE;IACzE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,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,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;KAC1D,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,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"}
|
|
@@ -4,11 +4,13 @@ import * as ComAtprotoServerDefs from '../server/defs.js';
|
|
|
4
4
|
|
|
5
5
|
const _accountViewSchema = /*#__PURE__*/ v.object({
|
|
6
6
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.admin.defs#accountView')),
|
|
7
|
+
deactivatedAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
7
8
|
did: /*#__PURE__*/ v.didString(),
|
|
8
|
-
handle: /*#__PURE__*/ v.handleString(),
|
|
9
9
|
email: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
|
-
|
|
10
|
+
emailConfirmedAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
11
|
+
handle: /*#__PURE__*/ v.handleString(),
|
|
11
12
|
indexedAt: /*#__PURE__*/ v.datetimeString(),
|
|
13
|
+
inviteNote: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
12
14
|
get invitedBy() {
|
|
13
15
|
return /*#__PURE__*/ v.optional(ComAtprotoServerDefs.inviteCodeSchema);
|
|
14
16
|
},
|
|
@@ -16,17 +18,15 @@ const _accountViewSchema = /*#__PURE__*/ v.object({
|
|
|
16
18
|
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(ComAtprotoServerDefs.inviteCodeSchema));
|
|
17
19
|
},
|
|
18
20
|
invitesDisabled: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
19
|
-
|
|
20
|
-
inviteNote: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
21
|
-
deactivatedAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
21
|
+
relatedRecords: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.unknown())),
|
|
22
22
|
get threatSignatures() {
|
|
23
23
|
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(threatSignatureSchema));
|
|
24
24
|
},
|
|
25
25
|
});
|
|
26
26
|
const _repoBlobRefSchema = /*#__PURE__*/ v.object({
|
|
27
27
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.admin.defs#repoBlobRef')),
|
|
28
|
+
cid: /*#__PURE__*/ v.cidString(),
|
|
28
29
|
did: /*#__PURE__*/ v.didString(),
|
|
29
|
-
cid: /*#__PURE__*/ v.string(),
|
|
30
30
|
recordUri: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
31
31
|
});
|
|
32
32
|
const _repoRefSchema = /*#__PURE__*/ v.object({
|
|
@@ -7,8 +7,8 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.admin.disableInviteCo
|
|
|
7
7
|
input: {
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
|
-
codes: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
11
10
|
accounts: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
11
|
+
codes: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
12
12
|
}),
|
|
13
13
|
},
|
|
14
14
|
output: null,
|
|
@@ -5,7 +5,9 @@ import * as ComAtprotoAdminDefs from './defs.js';
|
|
|
5
5
|
|
|
6
6
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.admin.getAccountInfos', {
|
|
7
7
|
params: /*#__PURE__*/ v.object({
|
|
8
|
-
dids: /*#__PURE__*/ v.array(/*#__PURE__*/ v.didString()),
|
|
8
|
+
dids: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.didString()), [
|
|
9
|
+
/*#__PURE__*/ v.arrayLength(1),
|
|
10
|
+
]),
|
|
9
11
|
}),
|
|
10
12
|
output: {
|
|
11
13
|
type: 'lex',
|
|
@@ -5,20 +5,20 @@ import * as ComAtprotoServerDefs from '../server/defs.js';
|
|
|
5
5
|
|
|
6
6
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.admin.getInviteCodes', {
|
|
7
7
|
params: /*#__PURE__*/ v.object({
|
|
8
|
-
|
|
8
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
9
9
|
limit: /*#__PURE__*/ v.optional(
|
|
10
10
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 500)]),
|
|
11
11
|
100,
|
|
12
12
|
),
|
|
13
|
-
|
|
13
|
+
sort: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string<'recent' | 'usage' | (string & {})>(), 'recent'),
|
|
14
14
|
}),
|
|
15
15
|
output: {
|
|
16
16
|
type: 'lex',
|
|
17
17
|
schema: /*#__PURE__*/ v.object({
|
|
18
|
-
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
19
18
|
get codes() {
|
|
20
19
|
return /*#__PURE__*/ v.array(ComAtprotoServerDefs.inviteCodeSchema);
|
|
21
20
|
},
|
|
21
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
22
22
|
}),
|
|
23
23
|
},
|
|
24
24
|
});
|
|
@@ -6,26 +6,26 @@ import * as ComAtprotoRepoStrongRef from '../repo/strongRef.js';
|
|
|
6
6
|
|
|
7
7
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.admin.getSubjectStatus', {
|
|
8
8
|
params: /*#__PURE__*/ v.object({
|
|
9
|
+
blob: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
9
10
|
did: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
|
|
10
11
|
uri: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
11
|
-
blob: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
12
12
|
}),
|
|
13
13
|
output: {
|
|
14
14
|
type: 'lex',
|
|
15
15
|
schema: /*#__PURE__*/ v.object({
|
|
16
|
+
get deactivated() {
|
|
17
|
+
return /*#__PURE__*/ v.optional(ComAtprotoAdminDefs.statusAttrSchema);
|
|
18
|
+
},
|
|
16
19
|
get subject() {
|
|
17
20
|
return /*#__PURE__*/ v.variant([
|
|
21
|
+
ComAtprotoAdminDefs.repoBlobRefSchema,
|
|
18
22
|
ComAtprotoAdminDefs.repoRefSchema,
|
|
19
23
|
ComAtprotoRepoStrongRef.mainSchema,
|
|
20
|
-
ComAtprotoAdminDefs.repoBlobRefSchema,
|
|
21
24
|
]);
|
|
22
25
|
},
|
|
23
26
|
get takedown() {
|
|
24
27
|
return /*#__PURE__*/ v.optional(ComAtprotoAdminDefs.statusAttrSchema);
|
|
25
28
|
},
|
|
26
|
-
get deactivated() {
|
|
27
|
-
return /*#__PURE__*/ v.optional(ComAtprotoAdminDefs.statusAttrSchema);
|
|
28
|
-
},
|
|
29
29
|
}),
|
|
30
30
|
},
|
|
31
31
|
});
|
|
@@ -5,8 +5,8 @@ import * as ComAtprotoAdminDefs from './defs.js';
|
|
|
5
5
|
|
|
6
6
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.admin.searchAccounts', {
|
|
7
7
|
params: /*#__PURE__*/ v.object({
|
|
8
|
-
email: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
9
8
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
9
|
+
email: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
10
|
limit: /*#__PURE__*/ v.optional(
|
|
11
11
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
12
12
|
50,
|
|
@@ -15,10 +15,10 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.admin.searchAccounts', {
|
|
|
15
15
|
output: {
|
|
16
16
|
type: 'lex',
|
|
17
17
|
schema: /*#__PURE__*/ v.object({
|
|
18
|
-
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
19
18
|
get accounts() {
|
|
20
19
|
return /*#__PURE__*/ v.array(ComAtprotoAdminDefs.accountViewSchema);
|
|
21
20
|
},
|
|
21
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
22
22
|
}),
|
|
23
23
|
},
|
|
24
24
|
});
|
|
@@ -7,11 +7,11 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.admin.sendEmail', {
|
|
|
7
7
|
input: {
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
|
-
|
|
10
|
+
comment: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
11
11
|
content: /*#__PURE__*/ v.string(),
|
|
12
|
-
|
|
12
|
+
recipientDid: /*#__PURE__*/ v.didString(),
|
|
13
13
|
senderDid: /*#__PURE__*/ v.didString(),
|
|
14
|
-
|
|
14
|
+
subject: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
15
15
|
}),
|
|
16
16
|
},
|
|
17
17
|
output: {
|
|
@@ -9,19 +9,19 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.admin.updateSubjectSt
|
|
|
9
9
|
input: {
|
|
10
10
|
type: 'lex',
|
|
11
11
|
schema: /*#__PURE__*/ v.object({
|
|
12
|
+
get deactivated() {
|
|
13
|
+
return /*#__PURE__*/ v.optional(ComAtprotoAdminDefs.statusAttrSchema);
|
|
14
|
+
},
|
|
12
15
|
get subject() {
|
|
13
16
|
return /*#__PURE__*/ v.variant([
|
|
17
|
+
ComAtprotoAdminDefs.repoBlobRefSchema,
|
|
14
18
|
ComAtprotoAdminDefs.repoRefSchema,
|
|
15
19
|
ComAtprotoRepoStrongRef.mainSchema,
|
|
16
|
-
ComAtprotoAdminDefs.repoBlobRefSchema,
|
|
17
20
|
]);
|
|
18
21
|
},
|
|
19
22
|
get takedown() {
|
|
20
23
|
return /*#__PURE__*/ v.optional(ComAtprotoAdminDefs.statusAttrSchema);
|
|
21
24
|
},
|
|
22
|
-
get deactivated() {
|
|
23
|
-
return /*#__PURE__*/ v.optional(ComAtprotoAdminDefs.statusAttrSchema);
|
|
24
|
-
},
|
|
25
25
|
}),
|
|
26
26
|
},
|
|
27
27
|
output: {
|
|
@@ -29,9 +29,9 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.admin.updateSubjectSt
|
|
|
29
29
|
schema: /*#__PURE__*/ v.object({
|
|
30
30
|
get subject() {
|
|
31
31
|
return /*#__PURE__*/ v.variant([
|
|
32
|
+
ComAtprotoAdminDefs.repoBlobRefSchema,
|
|
32
33
|
ComAtprotoAdminDefs.repoRefSchema,
|
|
33
34
|
ComAtprotoRepoStrongRef.mainSchema,
|
|
34
|
-
ComAtprotoAdminDefs.repoBlobRefSchema,
|
|
35
35
|
]);
|
|
36
36
|
},
|
|
37
37
|
get takedown() {
|
|
@@ -4,8 +4,8 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
4
4
|
const _identityInfoSchema = /*#__PURE__*/ v.object({
|
|
5
5
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.identity.defs#identityInfo')),
|
|
6
6
|
did: /*#__PURE__*/ v.didString(),
|
|
7
|
-
handle: /*#__PURE__*/ v.handleString(),
|
|
8
7
|
didDoc: /*#__PURE__*/ v.unknown(),
|
|
8
|
+
handle: /*#__PURE__*/ v.handleString(),
|
|
9
9
|
});
|
|
10
10
|
|
|
11
11
|
type identityInfo$schematype = typeof _identityInfoSchema;
|
|
@@ -7,10 +7,10 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.identity.getRecommendedDi
|
|
|
7
7
|
output: {
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
|
-
rotationKeys: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
11
10
|
alsoKnownAs: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
12
|
-
|
|
11
|
+
rotationKeys: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
13
12
|
services: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
13
|
+
verificationMethods: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
14
14
|
}),
|
|
15
15
|
},
|
|
16
16
|
});
|
|
@@ -7,11 +7,11 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.identity.signPlcOpera
|
|
|
7
7
|
input: {
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
|
-
token: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
11
|
-
rotationKeys: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
12
10
|
alsoKnownAs: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
13
|
-
|
|
11
|
+
rotationKeys: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
14
12
|
services: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
13
|
+
token: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
|
+
verificationMethods: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
15
15
|
}),
|
|
16
16
|
},
|
|
17
17
|
output: {
|
|
@@ -3,60 +3,60 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
3
3
|
|
|
4
4
|
const _labelSchema = /*#__PURE__*/ v.object({
|
|
5
5
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.defs#label')),
|
|
6
|
-
|
|
7
|
-
src: /*#__PURE__*/ v.didString(),
|
|
8
|
-
uri: /*#__PURE__*/ v.genericUriString(),
|
|
9
|
-
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
|
-
val: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 128)]),
|
|
11
|
-
neg: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
6
|
+
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
12
7
|
cts: /*#__PURE__*/ v.datetimeString(),
|
|
13
8
|
exp: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
9
|
+
neg: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
14
10
|
sig: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.bytes()),
|
|
11
|
+
src: /*#__PURE__*/ v.didString(),
|
|
12
|
+
uri: /*#__PURE__*/ v.genericUriString(),
|
|
13
|
+
val: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 128)]),
|
|
14
|
+
ver: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
15
15
|
});
|
|
16
16
|
const _labelValueSchema = /*#__PURE__*/ v.string<
|
|
17
17
|
| '!hide'
|
|
18
18
|
| '!no-promote'
|
|
19
|
-
| '!warn'
|
|
20
19
|
| '!no-unauthenticated'
|
|
20
|
+
| '!warn'
|
|
21
21
|
| 'dmca-violation'
|
|
22
22
|
| 'doxxing'
|
|
23
|
+
| 'gore'
|
|
24
|
+
| 'nsfl'
|
|
25
|
+
| 'nudity'
|
|
23
26
|
| 'porn'
|
|
24
27
|
| 'sexual'
|
|
25
|
-
| 'nudity'
|
|
26
|
-
| 'nsfl'
|
|
27
|
-
| 'gore'
|
|
28
28
|
| (string & {})
|
|
29
29
|
>();
|
|
30
30
|
const _labelValueDefinitionSchema = /*#__PURE__*/ v.object({
|
|
31
31
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.defs#labelValueDefinition')),
|
|
32
|
-
|
|
33
|
-
/*#__PURE__*/ v.stringLength(0, 100),
|
|
34
|
-
/*#__PURE__*/ v.stringGraphemes(0, 100),
|
|
35
|
-
]),
|
|
36
|
-
severity: /*#__PURE__*/ v.string<'inform' | 'alert' | 'none' | (string & {})>(),
|
|
32
|
+
adultOnly: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
37
33
|
blurs: /*#__PURE__*/ v.string<'content' | 'media' | 'none' | (string & {})>(),
|
|
38
34
|
defaultSetting: /*#__PURE__*/ v.optional(
|
|
39
|
-
/*#__PURE__*/ v.string<'
|
|
35
|
+
/*#__PURE__*/ v.string<'hide' | 'ignore' | 'warn' | (string & {})>(),
|
|
40
36
|
'warn',
|
|
41
37
|
),
|
|
42
|
-
|
|
38
|
+
identifier: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
39
|
+
/*#__PURE__*/ v.stringLength(0, 100),
|
|
40
|
+
/*#__PURE__*/ v.stringGraphemes(0, 100),
|
|
41
|
+
]),
|
|
43
42
|
get locales() {
|
|
44
43
|
return /*#__PURE__*/ v.array(labelValueDefinitionStringsSchema);
|
|
45
44
|
},
|
|
45
|
+
severity: /*#__PURE__*/ v.string<'alert' | 'inform' | 'none' | (string & {})>(),
|
|
46
46
|
});
|
|
47
47
|
const _labelValueDefinitionStringsSchema = /*#__PURE__*/ v.object({
|
|
48
48
|
$type: /*#__PURE__*/ v.optional(
|
|
49
49
|
/*#__PURE__*/ v.literal('com.atproto.label.defs#labelValueDefinitionStrings'),
|
|
50
50
|
),
|
|
51
|
+
description: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
52
|
+
/*#__PURE__*/ v.stringLength(0, 100000),
|
|
53
|
+
/*#__PURE__*/ v.stringGraphemes(0, 10000),
|
|
54
|
+
]),
|
|
51
55
|
lang: /*#__PURE__*/ v.languageCodeString(),
|
|
52
56
|
name: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
53
57
|
/*#__PURE__*/ v.stringLength(0, 640),
|
|
54
58
|
/*#__PURE__*/ v.stringGraphemes(0, 64),
|
|
55
59
|
]),
|
|
56
|
-
description: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
57
|
-
/*#__PURE__*/ v.stringLength(0, 100000),
|
|
58
|
-
/*#__PURE__*/ v.stringGraphemes(0, 10000),
|
|
59
|
-
]),
|
|
60
60
|
});
|
|
61
61
|
const _selfLabelSchema = /*#__PURE__*/ v.object({
|
|
62
62
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.defs#selfLabel')),
|
|
@@ -5,13 +5,15 @@ import * as ComAtprotoLabelDefs from './defs.js';
|
|
|
5
5
|
|
|
6
6
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.label.queryLabels', {
|
|
7
7
|
params: /*#__PURE__*/ v.object({
|
|
8
|
-
|
|
9
|
-
sources: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.didString())),
|
|
8
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
9
|
limit: /*#__PURE__*/ v.optional(
|
|
11
10
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 250)]),
|
|
12
11
|
50,
|
|
13
12
|
),
|
|
14
|
-
|
|
13
|
+
sources: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.didString())),
|
|
14
|
+
uriPatterns: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string()), [
|
|
15
|
+
/*#__PURE__*/ v.arrayLength(1),
|
|
16
|
+
]),
|
|
15
17
|
}),
|
|
16
18
|
output: {
|
|
17
19
|
type: 'lex',
|