···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * as tangled from './sh/tangled.ts'
55+export * as tangled from "./sh/tangled.ts";
+13-13
api/src/lexicons/sh/tangled.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * as actor from './tangled/actor.ts'
66-export * as feed from './tangled/feed.ts'
77-export * as git from './tangled/git.ts'
88-export * as graph from './tangled/graph.ts'
99-export * as repo from './tangled/repo.ts'
1010-export * as knot from './tangled/knot.ts'
1111-export * as label from './tangled/label.ts'
1212-export * as owner from './tangled/owner.ts'
1313-export * as pipeline from './tangled/pipeline.ts'
1414-export * as publicKey from './tangled/publicKey.ts'
1515-export * as spindle from './tangled/spindle.ts'
1616-export * as string from './tangled/string.ts'
1717-export * as sync from './tangled/sync.ts'
55+export * as actor from "./tangled/actor.ts";
66+export * as feed from "./tangled/feed.ts";
77+export * as git from "./tangled/git.ts";
88+export * as graph from "./tangled/graph.ts";
99+export * as repo from "./tangled/repo.ts";
1010+export * as knot from "./tangled/knot.ts";
1111+export * as label from "./tangled/label.ts";
1212+export * as owner from "./tangled/owner.ts";
1313+export * as pipeline from "./tangled/pipeline.ts";
1414+export * as publicKey from "./tangled/publicKey.ts";
1515+export * as spindle from "./tangled/spindle.ts";
1616+export * as string from "./tangled/string.ts";
1717+export * as sync from "./tangled/sync.ts";
+1-1
api/src/lexicons/sh/tangled/actor.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * as profile from './actor/profile.ts'
55+export * as profile from "./actor/profile.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './profile.defs.ts'
66-export * as $defs from './profile.defs.ts'
55+export * from "./profile.defs.ts";
66+export * as $defs from "./profile.defs.ts";
+2-2
api/src/lexicons/sh/tangled/feed.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * as reaction from './feed/reaction.ts'
66-export * as star from './feed/star.ts'
55+export * as reaction from "./feed/reaction.ts";
66+export * as star from "./feed/star.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './reaction.defs.ts'
66-export * as $defs from './reaction.defs.ts'
55+export * from "./reaction.defs.ts";
66+export * as $defs from "./reaction.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './star.defs.ts'
66-export * as $defs from './star.defs.ts'
55+export * from "./star.defs.ts";
66+export * as $defs from "./star.defs.ts";
+2-2
api/src/lexicons/sh/tangled/git.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * as refUpdate from './git/refUpdate.ts'
66-export * as temp from './git/temp.ts'
55+export * as refUpdate from "./git/refUpdate.ts";
66+export * as temp from "./git/temp.ts";
+66-76
api/src/lexicons/sh/tangled/git/refUpdate.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.git.refUpdate'
77+const $nsid = "sh.tangled.git.refUpdate";
8899-export { $nsid }
99+export { $nsid };
10101111/** An update to a git repository, emitted by knots. */
1212type Main = {
1313- $type: 'sh.tangled.git.refUpdate'
1313+ $type: "sh.tangled.git.refUpdate";
14141515 /**
1616 * Ref being updated
1717 */
1818- ref: string
1818+ ref: string;
19192020 /**
2121 * did of the user that pushed this ref
2222 */
2323- committerDid: l.DidString
2323+ committerDid: l.DidString;
24242525 /**
2626 * did of the owner of the repo
2727 */
2828- ownerDid?: l.DidString
2828+ ownerDid?: l.DidString;
29293030 /**
3131 * DID of the repo itself
3232 */
3333- repoDid?: l.DidString
3333+ repoDid?: l.DidString;
34343535 /**
3636 * name of the repo
3737 */
3838- repoName: string
3838+ repoName: string;
39394040 /**
4141 * old SHA of this ref
4242 */
4343- oldSha: string
4343+ oldSha: string;
44444545 /**
4646 * new SHA of this ref
4747 */
4848- newSha: string
4949- meta: Meta
5050-}
4848+ newSha: string;
4949+ meta: Meta;
5050+};
51515252-export type { Main }
5252+export type { Main };
53535454/** An update to a git repository, emitted by knots. */
5555-const main = l.record<'tid', Main>(
5656- 'tid',
5555+const main = l.record<"tid", Main>(
5656+ "tid",
5757 $nsid,
5858 l.object({
5959 ref: l.string({ maxGraphemes: 256, maxLength: 2560 }),
6060- committerDid: l.string({ format: 'did' }),
6161- ownerDid: l.optional(l.string({ format: 'did' })),
6262- repoDid: l.optional(l.string({ format: 'did' })),
6060+ committerDid: l.string({ format: "did" }),
6161+ ownerDid: l.optional(l.string({ format: "did" })),
6262+ repoDid: l.optional(l.string({ format: "did" })),
6363 repoName: l.string(),
6464 oldSha: l.string({ minLength: 40, maxLength: 40 }),
6565 newSha: l.string({ minLength: 40, maxLength: 40 }),
6666 meta: l.ref<Meta>((() => meta) as any),
6767 }),
6868-)
6868+);
69697070-export { main }
7070+export { main };
71717272export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),
7373 $build = /*#__PURE__*/ main.build.bind(main),
7474- $type = /*#__PURE__*/ main.$type
7474+ $type = /*#__PURE__*/ main.$type;
7575export const $assert = /*#__PURE__*/ main.assert.bind(main),
7676 $check = /*#__PURE__*/ main.check.bind(main),
7777 $cast = /*#__PURE__*/ main.cast.bind(main),
···8080 $parse = /*#__PURE__*/ main.parse.bind(main),
8181 $safeParse = /*#__PURE__*/ main.safeParse.bind(main),
8282 $validate = /*#__PURE__*/ main.validate.bind(main),
8383- $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)
8383+ $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
84848585type Meta = {
8686- $type?: 'sh.tangled.git.refUpdate#meta'
8787- isDefaultRef: boolean
8888- langBreakdown?: LangBreakdown
8989- commitCount: CommitCountBreakdown
9090-}
8686+ $type?: "sh.tangled.git.refUpdate#meta";
8787+ isDefaultRef: boolean;
8888+ langBreakdown?: LangBreakdown;
8989+ commitCount: CommitCountBreakdown;
9090+};
91919292-export type { Meta }
9292+export type { Meta };
93939494const meta = l.typedObject<Meta>(
9595 $nsid,
9696- 'meta',
9696+ "meta",
9797 l.object({
9898 isDefaultRef: l.withDefault(l.boolean(), false),
9999- langBreakdown: l.optional(
100100- l.ref<LangBreakdown>((() => langBreakdown) as any),
101101- ),
102102- commitCount: l.ref<CommitCountBreakdown>(
103103- (() => commitCountBreakdown) as any,
104104- ),
9999+ langBreakdown: l.optional(l.ref<LangBreakdown>((() => langBreakdown) as any)),
100100+ commitCount: l.ref<CommitCountBreakdown>((() => commitCountBreakdown) as any),
105101 }),
106106-)
102102+);
107103108108-export { meta }
104104+export { meta };
109105110106type LangBreakdown = {
111111- $type?: 'sh.tangled.git.refUpdate#langBreakdown'
112112- inputs?: IndividualLanguageSize[]
113113-}
107107+ $type?: "sh.tangled.git.refUpdate#langBreakdown";
108108+ inputs?: IndividualLanguageSize[];
109109+};
114110115115-export type { LangBreakdown }
111111+export type { LangBreakdown };
116112117113const langBreakdown = l.typedObject<LangBreakdown>(
118114 $nsid,
119119- 'langBreakdown',
115115+ "langBreakdown",
120116 l.object({
121117 inputs: l.optional(
122122- l.array(
123123- l.ref<IndividualLanguageSize>((() => individualLanguageSize) as any),
124124- ),
118118+ l.array(l.ref<IndividualLanguageSize>((() => individualLanguageSize) as any)),
125119 ),
126120 }),
127127-)
121121+);
128122129129-export { langBreakdown }
123123+export { langBreakdown };
130124131125type IndividualLanguageSize = {
132132- $type?: 'sh.tangled.git.refUpdate#individualLanguageSize'
133133- lang: string
134134- size: number
135135-}
126126+ $type?: "sh.tangled.git.refUpdate#individualLanguageSize";
127127+ lang: string;
128128+ size: number;
129129+};
136130137137-export type { IndividualLanguageSize }
131131+export type { IndividualLanguageSize };
138132139133const individualLanguageSize = l.typedObject<IndividualLanguageSize>(
140134 $nsid,
141141- 'individualLanguageSize',
135135+ "individualLanguageSize",
142136 l.object({ lang: l.string(), size: l.integer() }),
143143-)
137137+);
144138145145-export { individualLanguageSize }
139139+export { individualLanguageSize };
146140147141type CommitCountBreakdown = {
148148- $type?: 'sh.tangled.git.refUpdate#commitCountBreakdown'
149149- byEmail?: IndividualEmailCommitCount[]
150150-}
142142+ $type?: "sh.tangled.git.refUpdate#commitCountBreakdown";
143143+ byEmail?: IndividualEmailCommitCount[];
144144+};
151145152152-export type { CommitCountBreakdown }
146146+export type { CommitCountBreakdown };
153147154148const commitCountBreakdown = l.typedObject<CommitCountBreakdown>(
155149 $nsid,
156156- 'commitCountBreakdown',
150150+ "commitCountBreakdown",
157151 l.object({
158152 byEmail: l.optional(
159159- l.array(
160160- l.ref<IndividualEmailCommitCount>(
161161- (() => individualEmailCommitCount) as any,
162162- ),
163163- ),
153153+ l.array(l.ref<IndividualEmailCommitCount>((() => individualEmailCommitCount) as any)),
164154 ),
165155 }),
166166-)
156156+);
167157168168-export { commitCountBreakdown }
158158+export { commitCountBreakdown };
169159170160type IndividualEmailCommitCount = {
171171- $type?: 'sh.tangled.git.refUpdate#individualEmailCommitCount'
172172- email: string
173173- count: number
174174-}
161161+ $type?: "sh.tangled.git.refUpdate#individualEmailCommitCount";
162162+ email: string;
163163+ count: number;
164164+};
175165176176-export type { IndividualEmailCommitCount }
166166+export type { IndividualEmailCommitCount };
177167178168const individualEmailCommitCount = l.typedObject<IndividualEmailCommitCount>(
179169 $nsid,
180180- 'individualEmailCommitCount',
170170+ "individualEmailCommitCount",
181171 l.object({ email: l.string(), count: l.integer() }),
182182-)
172172+);
183173184184-export { individualEmailCommitCount }
174174+export { individualEmailCommitCount };
+2-2
api/src/lexicons/sh/tangled/git/refUpdate.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './refUpdate.defs.ts'
66-export * as $defs from './refUpdate.defs.ts'
55+export * from "./refUpdate.defs.ts";
66+export * as $defs from "./refUpdate.defs.ts";
+15-15
api/src/lexicons/sh/tangled/git/temp.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * as analyzeMerge from './temp/analyzeMerge.ts'
66-export * as defs from './temp/defs.ts'
77-export * as getArchive from './temp/getArchive.ts'
88-export * as getBlob from './temp/getBlob.ts'
99-export * as getBranch from './temp/getBranch.ts'
1010-export * as getCommit from './temp/getCommit.ts'
1111-export * as getDiff from './temp/getDiff.ts'
1212-export * as getEntity from './temp/getEntity.ts'
1313-export * as getHead from './temp/getHead.ts'
1414-export * as getTag from './temp/getTag.ts'
1515-export * as getTree from './temp/getTree.ts'
1616-export * as listBranches from './temp/listBranches.ts'
1717-export * as listCommits from './temp/listCommits.ts'
1818-export * as listLanguages from './temp/listLanguages.ts'
1919-export * as listTags from './temp/listTags.ts'
55+export * as analyzeMerge from "./temp/analyzeMerge.ts";
66+export * as defs from "./temp/defs.ts";
77+export * as getArchive from "./temp/getArchive.ts";
88+export * as getBlob from "./temp/getBlob.ts";
99+export * as getBranch from "./temp/getBranch.ts";
1010+export * as getCommit from "./temp/getCommit.ts";
1111+export * as getDiff from "./temp/getDiff.ts";
1212+export * as getEntity from "./temp/getEntity.ts";
1313+export * as getHead from "./temp/getHead.ts";
1414+export * as getTag from "./temp/getTag.ts";
1515+export * as getTree from "./temp/getTree.ts";
1616+export * as listBranches from "./temp/listBranches.ts";
1717+export * as listCommits from "./temp/listCommits.ts";
1818+export * as listLanguages from "./temp/listLanguages.ts";
1919+export * as listTags from "./temp/listTags.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './analyzeMerge.defs.ts'
66-export * as $defs from './analyzeMerge.defs.ts'
55+export * from "./analyzeMerge.defs.ts";
66+export * as $defs from "./analyzeMerge.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './defs.defs.ts'
66-export * as $defs from './defs.defs.ts'
55+export * from "./defs.defs.ts";
66+export * as $defs from "./defs.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './getArchive.defs.ts'
66-export * as $defs from './getArchive.defs.ts'
55+export * from "./getArchive.defs.ts";
66+export * as $defs from "./getArchive.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.git.temp.getBlob'
77+const $nsid = "sh.tangled.git.temp.getBlob";
8899-export { $nsid }
99+export { $nsid };
10101111const main = l.query(
1212 $nsid,
1313 l.params({
1414- repo: l.string({ format: 'at-uri' }),
1515- ref: l.optional(l.withDefault(l.string(), 'HEAD')),
1414+ repo: l.string({ format: "at-uri" }),
1515+ ref: l.optional(l.withDefault(l.string(), "HEAD")),
1616 path: l.string(),
1717 }),
1818- l.payload('*/*'),
1919- ['RepoNotFound', 'BlobNotFound', 'InvalidRequest'],
2020-)
2121-export { main }
1818+ l.payload("*/*"),
1919+ ["RepoNotFound", "BlobNotFound", "InvalidRequest"],
2020+);
2121+export { main };
22222323-export type $Params = l.InferMethodParams<typeof main>
2323+export type $Params = l.InferMethodParams<typeof main>;
2424/** raw blob served in octet-stream */
2525-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
2525+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2626/** raw blob served in octet-stream */
2727-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
2828- typeof main,
2929- B
3030->
2727+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
31283229export const $lxm = main.nsid,
3330 $params = main.parameters,
3434- $output = main.output
3131+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/git/temp/getBlob.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './getBlob.defs.ts'
66-export * as $defs from './getBlob.defs.ts'
55+export * from "./getBlob.defs.ts";
66+export * as $defs from "./getBlob.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
66-import * as TempDefs from './defs.defs.ts'
55+import { l } from "@atproto/lex";
66+import * as TempDefs from "./defs.defs.ts";
7788-const $nsid = 'sh.tangled.git.temp.getBranch'
88+const $nsid = "sh.tangled.git.temp.getBranch";
991010-export { $nsid }
1010+export { $nsid };
11111212const main = l.query(
1313 $nsid,
1414- l.params({ repo: l.string({ format: 'at-uri' }), name: l.string() }),
1414+ l.params({ repo: l.string({ format: "at-uri" }), name: l.string() }),
1515 l.jsonPayload({
1616 name: l.string(),
1717 hash: l.string(),
1818- when: l.string({ format: 'datetime' }),
1818+ when: l.string({ format: "datetime" }),
1919 message: l.optional(l.string()),
2020- author: l.optional(
2121- l.ref<TempDefs.Signature>((() => TempDefs.signature) as any),
2222- ),
2020+ author: l.optional(l.ref<TempDefs.Signature>((() => TempDefs.signature) as any)),
2321 }),
2424- ['RepoNotFound', 'BranchNotFound', 'InvalidRequest'],
2525-)
2626-export { main }
2222+ ["RepoNotFound", "BranchNotFound", "InvalidRequest"],
2323+);
2424+export { main };
27252828-export type $Params = l.InferMethodParams<typeof main>
2929-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
3030-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3131- typeof main,
3232- B
3333->
2626+export type $Params = l.InferMethodParams<typeof main>;
2727+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2828+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
34293530export const $lxm = main.nsid,
3631 $params = main.parameters,
3737- $output = main.output
3232+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/git/temp/getBranch.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './getBranch.defs.ts'
66-export * as $defs from './getBranch.defs.ts'
55+export * from "./getBranch.defs.ts";
66+export * as $defs from "./getBranch.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
66-import * as TempDefs from './defs.defs.ts'
55+import { l } from "@atproto/lex";
66+import * as TempDefs from "./defs.defs.ts";
7788-const $nsid = 'sh.tangled.git.temp.getCommit'
88+const $nsid = "sh.tangled.git.temp.getCommit";
991010-export { $nsid }
1010+export { $nsid };
11111212/** resolve commit from given ref */
1313const main = l.query(
1414 $nsid,
1515- l.params({ repo: l.string({ format: 'at-uri' }), ref: l.string() }),
1616- l.payload(
1717- 'application/json',
1818- l.ref<TempDefs.Commit>((() => TempDefs.commit) as any),
1919- ),
2020- ['RepoNotFound', 'CommitNotFound', 'InvalidRequest'],
2121-)
2222-export { main }
1515+ l.params({ repo: l.string({ format: "at-uri" }), ref: l.string() }),
1616+ l.payload("application/json", l.ref<TempDefs.Commit>((() => TempDefs.commit) as any)),
1717+ ["RepoNotFound", "CommitNotFound", "InvalidRequest"],
1818+);
1919+export { main };
23202424-export type $Params = l.InferMethodParams<typeof main>
2525-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
2626-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
2727- typeof main,
2828- B
2929->
2121+export type $Params = l.InferMethodParams<typeof main>;
2222+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2323+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
30243125export const $lxm = main.nsid,
3226 $params = main.parameters,
3333- $output = main.output
2727+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/git/temp/getCommit.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './getCommit.defs.ts'
66-export * as $defs from './getCommit.defs.ts'
55+export * from "./getCommit.defs.ts";
66+export * as $defs from "./getCommit.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.git.temp.getDiff'
77+const $nsid = "sh.tangled.git.temp.getDiff";
8899-export { $nsid }
99+export { $nsid };
10101111const main = l.query(
1212 $nsid,
1313 l.params({
1414- repo: l.string({ format: 'at-uri' }),
1414+ repo: l.string({ format: "at-uri" }),
1515 rev1: l.string(),
1616 rev2: l.string(),
1717 }),
1818- l.payload('*/*'),
1919- ['RepoNotFound', 'RevisionNotFound', 'InvalidRequest', 'CompareError'],
2020-)
2121-export { main }
1818+ l.payload("*/*"),
1919+ ["RepoNotFound", "RevisionNotFound", "InvalidRequest", "CompareError"],
2020+);
2121+export { main };
22222323-export type $Params = l.InferMethodParams<typeof main>
2323+export type $Params = l.InferMethodParams<typeof main>;
2424/** Compare output in application/json */
2525-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
2525+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2626/** Compare output in application/json */
2727-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
2828- typeof main,
2929- B
3030->
2727+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
31283229export const $lxm = main.nsid,
3330 $params = main.parameters,
3434- $output = main.output
3131+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/git/temp/getDiff.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './getDiff.defs.ts'
66-export * as $defs from './getDiff.defs.ts'
55+export * from "./getDiff.defs.ts";
66+export * as $defs from "./getDiff.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
66-import * as TempDefs from './defs.defs.ts'
55+import { l } from "@atproto/lex";
66+import * as TempDefs from "./defs.defs.ts";
7788-const $nsid = 'sh.tangled.git.temp.getEntity'
88+const $nsid = "sh.tangled.git.temp.getEntity";
991010-export { $nsid }
1010+export { $nsid };
11111212/** get metadata of blob by ref and path */
1313const main = l.query(
1414 $nsid,
1515 l.params({
1616- repo: l.string({ format: 'at-uri' }),
1717- ref: l.optional(l.withDefault(l.string(), 'HEAD')),
1616+ repo: l.string({ format: "at-uri" }),
1717+ ref: l.optional(l.withDefault(l.string(), "HEAD")),
1818 path: l.string(),
1919 }),
2020- l.payload(
2121- 'application/json',
2222- l.ref<TempDefs.Blob>((() => TempDefs.blob) as any),
2323- ),
2424- ['RepoNotFound', 'BlobNotFound', 'InvalidRequest'],
2525-)
2626-export { main }
2020+ l.payload("application/json", l.ref<TempDefs.Blob>((() => TempDefs.blob) as any)),
2121+ ["RepoNotFound", "BlobNotFound", "InvalidRequest"],
2222+);
2323+export { main };
27242828-export type $Params = l.InferMethodParams<typeof main>
2929-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
3030-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3131- typeof main,
3232- B
3333->
2525+export type $Params = l.InferMethodParams<typeof main>;
2626+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2727+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
34283529export const $lxm = main.nsid,
3630 $params = main.parameters,
3737- $output = main.output
3131+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/git/temp/getEntity.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './getEntity.defs.ts'
66-export * as $defs from './getEntity.defs.ts'
55+export * from "./getEntity.defs.ts";
66+export * as $defs from "./getEntity.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
66-import * as TempDefs from './defs.defs.ts'
55+import { l } from "@atproto/lex";
66+import * as TempDefs from "./defs.defs.ts";
7788-const $nsid = 'sh.tangled.git.temp.getHead'
88+const $nsid = "sh.tangled.git.temp.getHead";
991010-export { $nsid }
1010+export { $nsid };
11111212const main = l.query(
1313 $nsid,
1414- l.params({ repo: l.string({ format: 'at-uri' }) }),
1515- l.payload(
1616- 'application/json',
1717- l.ref<TempDefs.Branch>((() => TempDefs.branch) as any),
1818- ),
1919- ['RepoNotFound', 'InvalidRequest'],
2020-)
2121-export { main }
1414+ l.params({ repo: l.string({ format: "at-uri" }) }),
1515+ l.payload("application/json", l.ref<TempDefs.Branch>((() => TempDefs.branch) as any)),
1616+ ["RepoNotFound", "InvalidRequest"],
1717+);
1818+export { main };
22192323-export type $Params = l.InferMethodParams<typeof main>
2424-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
2525-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
2626- typeof main,
2727- B
2828->
2020+export type $Params = l.InferMethodParams<typeof main>;
2121+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2222+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
29233024export const $lxm = main.nsid,
3125 $params = main.parameters,
3232- $output = main.output
2626+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/git/temp/getHead.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './getHead.defs.ts'
66-export * as $defs from './getHead.defs.ts'
55+export * from "./getHead.defs.ts";
66+export * as $defs from "./getHead.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.git.temp.getTag'
77+const $nsid = "sh.tangled.git.temp.getTag";
8899-export { $nsid }
99+export { $nsid };
10101111const main = l.query(
1212 $nsid,
1313- l.params({ repo: l.string({ format: 'at-uri' }), tag: l.string() }),
1414- l.payload('*/*'),
1515- ['RepoNotFound', 'TagNotFound', 'InvalidRequest'],
1616-)
1717-export { main }
1313+ l.params({ repo: l.string({ format: "at-uri" }), tag: l.string() }),
1414+ l.payload("*/*"),
1515+ ["RepoNotFound", "TagNotFound", "InvalidRequest"],
1616+);
1717+export { main };
18181919-export type $Params = l.InferMethodParams<typeof main>
2020-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
2121-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
2222- typeof main,
2323- B
2424->
1919+export type $Params = l.InferMethodParams<typeof main>;
2020+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2121+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
25222623export const $lxm = main.nsid,
2724 $params = main.parameters,
2828- $output = main.output
2525+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/git/temp/getTag.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './getTag.defs.ts'
66-export * as $defs from './getTag.defs.ts'
55+export * from "./getTag.defs.ts";
66+export * as $defs from "./getTag.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './getTree.defs.ts'
66-export * as $defs from './getTree.defs.ts'
55+export * from "./getTree.defs.ts";
66+export * as $defs from "./getTree.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './listBranches.defs.ts'
66-export * as $defs from './listBranches.defs.ts'
55+export * from "./listBranches.defs.ts";
66+export * as $defs from "./listBranches.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './listCommits.defs.ts'
66-export * as $defs from './listCommits.defs.ts'
55+export * from "./listCommits.defs.ts";
66+export * as $defs from "./listCommits.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './listLanguages.defs.ts'
66-export * as $defs from './listLanguages.defs.ts'
55+export * from "./listLanguages.defs.ts";
66+export * as $defs from "./listLanguages.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.git.temp.listTags'
77+const $nsid = "sh.tangled.git.temp.listTags";
8899-export { $nsid }
99+export { $nsid };
10101111const main = l.query(
1212 $nsid,
1313 l.params({
1414- repo: l.string({ format: 'at-uri' }),
1515- limit: l.optional(
1616- l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50),
1717- ),
1414+ repo: l.string({ format: "at-uri" }),
1515+ limit: l.optional(l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50)),
1816 cursor: l.optional(l.string()),
1917 }),
2020- l.payload('*/*'),
2121- ['RepoNotFound', 'InvalidRequest'],
2222-)
2323-export { main }
1818+ l.payload("*/*"),
1919+ ["RepoNotFound", "InvalidRequest"],
2020+);
2121+export { main };
24222525-export type $Params = l.InferMethodParams<typeof main>
2626-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
2727-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
2828- typeof main,
2929- B
3030->
2323+export type $Params = l.InferMethodParams<typeof main>;
2424+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2525+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
31263227export const $lxm = main.nsid,
3328 $params = main.parameters,
3434- $output = main.output
2929+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/git/temp/listTags.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './listTags.defs.ts'
66-export * as $defs from './listTags.defs.ts'
55+export * from "./listTags.defs.ts";
66+export * as $defs from "./listTags.defs.ts";
+2-2
api/src/lexicons/sh/tangled/graph.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * as follow from './graph/follow.ts'
66-export * as vouch from './graph/vouch.ts'
55+export * as follow from "./graph/follow.ts";
66+export * as vouch from "./graph/vouch.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './follow.defs.ts'
66-export * as $defs from './follow.defs.ts'
55+export * from "./follow.defs.ts";
66+export * as $defs from "./follow.defs.ts";
+17-17
api/src/lexicons/sh/tangled/graph/vouch.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.graph.vouch'
77+const $nsid = "sh.tangled.graph.vouch";
8899-export { $nsid }
99+export { $nsid };
10101111type Main = {
1212- $type: 'sh.tangled.graph.vouch'
1212+ $type: "sh.tangled.graph.vouch";
13131414 /**
1515 * Whether this user is being vouched for or denounced
1616 */
1717- kind: 'vouch' | 'denounce'
1717+ kind: "vouch" | "denounce";
18181919 /**
2020 * The reason for this vouch/denouncement
2121 */
2222- reason?: string
2323- createdAt: l.DatetimeString
2424-}
2222+ reason?: string;
2323+ createdAt: l.DatetimeString;
2424+};
25252626-export type { Main }
2626+export type { Main };
27272828-const main = l.record<'any', Main>(
2929- 'any',
2828+const main = l.record<"any", Main>(
2929+ "any",
3030 $nsid,
3131 l.object({
3232- kind: l.withDefault(l.enum(['vouch', 'denounce']), 'vouch'),
3232+ kind: l.withDefault(l.enum(["vouch", "denounce"]), "vouch"),
3333 reason: l.optional(l.string({ maxGraphemes: 256, maxLength: 2560 })),
3434- createdAt: l.string({ format: 'datetime' }),
3434+ createdAt: l.string({ format: "datetime" }),
3535 }),
3636-)
3636+);
37373838-export { main }
3838+export { main };
39394040export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),
4141 $build = /*#__PURE__*/ main.build.bind(main),
4242- $type = /*#__PURE__*/ main.$type
4242+ $type = /*#__PURE__*/ main.$type;
4343export const $assert = /*#__PURE__*/ main.assert.bind(main),
4444 $check = /*#__PURE__*/ main.check.bind(main),
4545 $cast = /*#__PURE__*/ main.cast.bind(main),
···4848 $parse = /*#__PURE__*/ main.parse.bind(main),
4949 $safeParse = /*#__PURE__*/ main.safeParse.bind(main),
5050 $validate = /*#__PURE__*/ main.validate.bind(main),
5151- $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)
5151+ $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
+2-2
api/src/lexicons/sh/tangled/graph/vouch.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './vouch.defs.ts'
66-export * as $defs from './vouch.defs.ts'
55+export * from "./vouch.defs.ts";
66+export * as $defs from "./vouch.defs.ts";
+12-12
api/src/lexicons/sh/tangled/knot.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.knot'
77+const $nsid = "sh.tangled.knot";
8899-export { $nsid }
99+export { $nsid };
10101111-type Main = { $type: 'sh.tangled.knot'; createdAt: l.DatetimeString }
1111+type Main = { $type: "sh.tangled.knot"; createdAt: l.DatetimeString };
12121313-export type { Main }
1313+export type { Main };
14141515-const main = l.record<'any', Main>(
1616- 'any',
1515+const main = l.record<"any", Main>(
1616+ "any",
1717 $nsid,
1818- l.object({ createdAt: l.string({ format: 'datetime' }) }),
1919-)
1818+ l.object({ createdAt: l.string({ format: "datetime" }) }),
1919+);
20202121-export { main }
2121+export { main };
22222323export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),
2424 $build = /*#__PURE__*/ main.build.bind(main),
2525- $type = /*#__PURE__*/ main.$type
2525+ $type = /*#__PURE__*/ main.$type;
2626export const $assert = /*#__PURE__*/ main.assert.bind(main),
2727 $check = /*#__PURE__*/ main.check.bind(main),
2828 $cast = /*#__PURE__*/ main.cast.bind(main),
···3131 $parse = /*#__PURE__*/ main.parse.bind(main),
3232 $safeParse = /*#__PURE__*/ main.safeParse.bind(main),
3333 $validate = /*#__PURE__*/ main.validate.bind(main),
3434- $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)
3434+ $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
+6-6
api/src/lexicons/sh/tangled/knot.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './knot.defs.ts'
66-export * as $defs from './knot.defs.ts'
77-export * as listKeys from './knot/listKeys.ts'
88-export * as member from './knot/member.ts'
99-export * as subscribeRepos from './knot/subscribeRepos.ts'
1010-export * as version from './knot/version.ts'
55+export * from "./knot.defs.ts";
66+export * as $defs from "./knot.defs.ts";
77+export * as listKeys from "./knot/listKeys.ts";
88+export * as member from "./knot/member.ts";
99+export * as subscribeRepos from "./knot/subscribeRepos.ts";
1010+export * as version from "./knot/version.ts";
+22-27
api/src/lexicons/sh/tangled/knot/listKeys.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.knot.listKeys'
77+const $nsid = "sh.tangled.knot.listKeys";
8899-export { $nsid }
99+export { $nsid };
10101111/** List all public keys stored in the knot server */
1212const main = l.query(
1313 $nsid,
1414 l.params({
1515- limit: l.optional(
1616- l.withDefault(l.integer({ minimum: 1, maximum: 1000 }), 100),
1717- ),
1515+ limit: l.optional(l.withDefault(l.integer({ minimum: 1, maximum: 1000 }), 100)),
1816 cursor: l.optional(l.string()),
1917 }),
2018 l.jsonPayload({
2119 keys: l.array(l.ref<PublicKey>((() => publicKey) as any)),
2220 cursor: l.optional(l.string()),
2321 }),
2424- ['InternalServerError'],
2525-)
2626-export { main }
2222+ ["InternalServerError"],
2323+);
2424+export { main };
27252828-export type $Params = l.InferMethodParams<typeof main>
2929-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
3030-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3131- typeof main,
3232- B
3333->
2626+export type $Params = l.InferMethodParams<typeof main>;
2727+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2828+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
34293530export const $lxm = main.nsid,
3631 $params = main.parameters,
3737- $output = main.output
3232+ $output = main.output;
38333934type PublicKey = {
4040- $type?: 'sh.tangled.knot.listKeys#publicKey'
3535+ $type?: "sh.tangled.knot.listKeys#publicKey";
41364237 /**
4338 * DID associated with the public key
4439 */
4545- did: l.DidString
4040+ did: l.DidString;
46414742 /**
4843 * Public key contents
4944 */
5050- key: string
4545+ key: string;
51465247 /**
5348 * Key upload timestamp
5449 */
5555- createdAt: l.DatetimeString
5656-}
5050+ createdAt: l.DatetimeString;
5151+};
57525858-export type { PublicKey }
5353+export type { PublicKey };
59546055const publicKey = l.typedObject<PublicKey>(
6156 $nsid,
6262- 'publicKey',
5757+ "publicKey",
6358 l.object({
6464- did: l.string({ format: 'did' }),
5959+ did: l.string({ format: "did" }),
6560 key: l.string({ maxLength: 4096 }),
6666- createdAt: l.string({ format: 'datetime' }),
6161+ createdAt: l.string({ format: "datetime" }),
6762 }),
6868-)
6363+);
69647070-export { publicKey }
6565+export { publicKey };
+2-2
api/src/lexicons/sh/tangled/knot/listKeys.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './listKeys.defs.ts'
66-export * as $defs from './listKeys.defs.ts'
55+export * from "./listKeys.defs.ts";
66+export * as $defs from "./listKeys.defs.ts";
+17-17
api/src/lexicons/sh/tangled/knot/member.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.knot.member'
77+const $nsid = "sh.tangled.knot.member";
8899-export { $nsid }
99+export { $nsid };
10101111type Main = {
1212- $type: 'sh.tangled.knot.member'
1313- subject: l.DidString
1212+ $type: "sh.tangled.knot.member";
1313+ subject: l.DidString;
14141515 /**
1616 * domain that this member now belongs to
1717 */
1818- domain: string
1919- createdAt: l.DatetimeString
2020-}
1818+ domain: string;
1919+ createdAt: l.DatetimeString;
2020+};
21212222-export type { Main }
2222+export type { Main };
23232424-const main = l.record<'tid', Main>(
2525- 'tid',
2424+const main = l.record<"tid", Main>(
2525+ "tid",
2626 $nsid,
2727 l.object({
2828- subject: l.string({ format: 'did' }),
2828+ subject: l.string({ format: "did" }),
2929 domain: l.string(),
3030- createdAt: l.string({ format: 'datetime' }),
3030+ createdAt: l.string({ format: "datetime" }),
3131 }),
3232-)
3232+);
33333434-export { main }
3434+export { main };
35353636export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),
3737 $build = /*#__PURE__*/ main.build.bind(main),
3838- $type = /*#__PURE__*/ main.$type
3838+ $type = /*#__PURE__*/ main.$type;
3939export const $assert = /*#__PURE__*/ main.assert.bind(main),
4040 $check = /*#__PURE__*/ main.check.bind(main),
4141 $cast = /*#__PURE__*/ main.cast.bind(main),
···4444 $parse = /*#__PURE__*/ main.parse.bind(main),
4545 $safeParse = /*#__PURE__*/ main.safeParse.bind(main),
4646 $validate = /*#__PURE__*/ main.validate.bind(main),
4747- $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)
4747+ $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
+2-2
api/src/lexicons/sh/tangled/knot/member.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './member.defs.ts'
66-export * as $defs from './member.defs.ts'
55+export * from "./member.defs.ts";
66+export * as $defs from "./member.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './subscribeRepos.defs.ts'
66-export * as $defs from './subscribeRepos.defs.ts'
55+export * from "./subscribeRepos.defs.ts";
66+export * as $defs from "./subscribeRepos.defs.ts";
+9-12
api/src/lexicons/sh/tangled/knot/version.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.knot.version'
77+const $nsid = "sh.tangled.knot.version";
8899-export { $nsid }
99+export { $nsid };
10101111/** Get the version of a knot */
1212-const main = l.query($nsid, l.params(), l.jsonPayload({ version: l.string() }))
1313-export { main }
1212+const main = l.query($nsid, l.params(), l.jsonPayload({ version: l.string() }));
1313+export { main };
14141515-export type $Params = l.InferMethodParams<typeof main>
1616-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
1717-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
1818- typeof main,
1919- B
2020->
1515+export type $Params = l.InferMethodParams<typeof main>;
1616+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
1717+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
21182219export const $lxm = main.nsid,
2320 $params = main.parameters,
2424- $output = main.output
2121+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/knot/version.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './version.defs.ts'
66-export * as $defs from './version.defs.ts'
55+export * from "./version.defs.ts";
66+export * as $defs from "./version.defs.ts";
+2-2
api/src/lexicons/sh/tangled/label.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * as definition from './label/definition.ts'
66-export * as op from './label/op.ts'
55+export * as definition from "./label/definition.ts";
66+export * as op from "./label/op.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.label.definition'
77+const $nsid = "sh.tangled.label.definition";
8899-export { $nsid }
99+export { $nsid };
10101111type Main = {
1212- $type: 'sh.tangled.label.definition'
1212+ $type: "sh.tangled.label.definition";
13131414 /**
1515 * The display name of this label.
1616 */
1717- name: string
1717+ name: string;
18181919 /**
2020 * The type definition of this label. Appviews may allow sorting for certain types.
2121 */
2222- valueType: ValueType
2222+ valueType: ValueType;
23232424 /**
2525 * The areas of the repo this label may apply to, eg.: sh.tangled.repo.issue. Appviews may choose to respect this.
2626 */
2727- scope: l.NsidString[]
2727+ scope: l.NsidString[];
28282929 /**
3030 * The hex value for the background color for the label. Appviews may choose to respect this.
3131 */
3232- color?: string
3333- createdAt: l.DatetimeString
3232+ color?: string;
3333+ createdAt: l.DatetimeString;
34343535 /**
3636 * Whether this label can be repeated for a given entity, eg.: [reviewer:foo, reviewer:bar]
3737 */
3838- multiple?: boolean
3939-}
3838+ multiple?: boolean;
3939+};
40404141-export type { Main }
4141+export type { Main };
42424343-const main = l.record<'any', Main>(
4444- 'any',
4343+const main = l.record<"any", Main>(
4444+ "any",
4545 $nsid,
4646 l.object({
4747 name: l.string({ minGraphemes: 1, maxGraphemes: 40 }),
4848 valueType: l.ref<ValueType>((() => valueType) as any),
4949- scope: l.array(l.string({ format: 'nsid' })),
4949+ scope: l.array(l.string({ format: "nsid" })),
5050 color: l.optional(l.string()),
5151- createdAt: l.string({ format: 'datetime' }),
5151+ createdAt: l.string({ format: "datetime" }),
5252 multiple: l.optional(l.boolean()),
5353 }),
5454-)
5454+);
55555656-export { main }
5656+export { main };
57575858export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),
5959 $build = /*#__PURE__*/ main.build.bind(main),
6060- $type = /*#__PURE__*/ main.$type
6060+ $type = /*#__PURE__*/ main.$type;
6161export const $assert = /*#__PURE__*/ main.assert.bind(main),
6262 $check = /*#__PURE__*/ main.check.bind(main),
6363 $cast = /*#__PURE__*/ main.cast.bind(main),
···6666 $parse = /*#__PURE__*/ main.parse.bind(main),
6767 $safeParse = /*#__PURE__*/ main.safeParse.bind(main),
6868 $validate = /*#__PURE__*/ main.validate.bind(main),
6969- $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)
6969+ $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
70707171type ValueType = {
7272- $type?: 'sh.tangled.label.definition#valueType'
7272+ $type?: "sh.tangled.label.definition#valueType";
73737474 /**
7575 * The concrete type of this label's value.
7676 */
7777- type: 'null' | 'boolean' | 'integer' | 'string'
7777+ type: "null" | "boolean" | "integer" | "string";
78787979 /**
8080 * An optional constraint that can be applied on string concrete types.
8181 */
8282- format: 'any' | 'did' | 'nsid'
8282+ format: "any" | "did" | "nsid";
83838484 /**
8585 * Closed set of values that this label can take.
8686 */
8787- enum?: string[]
8888-}
8787+ enum?: string[];
8888+};
89899090-export type { ValueType }
9090+export type { ValueType };
91919292const valueType = l.typedObject<ValueType>(
9393 $nsid,
9494- 'valueType',
9494+ "valueType",
9595 l.object({
9696- type: l.enum(['null', 'boolean', 'integer', 'string']),
9797- format: l.enum(['any', 'did', 'nsid']),
9696+ type: l.enum(["null", "boolean", "integer", "string"]),
9797+ format: l.enum(["any", "did", "nsid"]),
9898 enum: l.optional(l.array(l.string())),
9999 }),
100100-)
100100+);
101101102102-export { valueType }
102102+export { valueType };
+2-2
api/src/lexicons/sh/tangled/label/definition.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './definition.defs.ts'
66-export * as $defs from './definition.defs.ts'
55+export * from "./definition.defs.ts";
66+export * as $defs from "./definition.defs.ts";
+27-27
api/src/lexicons/sh/tangled/label/op.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.label.op'
77+const $nsid = "sh.tangled.label.op";
8899-export { $nsid }
99+export { $nsid };
10101111type Main = {
1212- $type: 'sh.tangled.label.op'
1212+ $type: "sh.tangled.label.op";
13131414 /**
1515 * The subject (task, pull or discussion) of this label. Appviews may apply a `scope` check and refuse this op.
1616 */
1717- subject: l.AtUriString
1818- performedAt: l.DatetimeString
1919- add: Operand[]
2020- delete: Operand[]
2121-}
1717+ subject: l.AtUriString;
1818+ performedAt: l.DatetimeString;
1919+ add: Operand[];
2020+ delete: Operand[];
2121+};
22222323-export type { Main }
2323+export type { Main };
24242525-const main = l.record<'tid', Main>(
2626- 'tid',
2525+const main = l.record<"tid", Main>(
2626+ "tid",
2727 $nsid,
2828 l.object({
2929- subject: l.string({ format: 'at-uri' }),
3030- performedAt: l.string({ format: 'datetime' }),
2929+ subject: l.string({ format: "at-uri" }),
3030+ performedAt: l.string({ format: "datetime" }),
3131 add: l.array(l.ref<Operand>((() => operand) as any)),
3232 delete: l.array(l.ref<Operand>((() => operand) as any)),
3333 }),
3434-)
3434+);
35353636-export { main }
3636+export { main };
37373838export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),
3939 $build = /*#__PURE__*/ main.build.bind(main),
4040- $type = /*#__PURE__*/ main.$type
4040+ $type = /*#__PURE__*/ main.$type;
4141export const $assert = /*#__PURE__*/ main.assert.bind(main),
4242 $check = /*#__PURE__*/ main.check.bind(main),
4343 $cast = /*#__PURE__*/ main.cast.bind(main),
···4646 $parse = /*#__PURE__*/ main.parse.bind(main),
4747 $safeParse = /*#__PURE__*/ main.safeParse.bind(main),
4848 $validate = /*#__PURE__*/ main.validate.bind(main),
4949- $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)
4949+ $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
50505151type Operand = {
5252- $type?: 'sh.tangled.label.op#operand'
5252+ $type?: "sh.tangled.label.op#operand";
53535454 /**
5555 * ATURI to the label definition
5656 */
5757- key: l.AtUriString
5757+ key: l.AtUriString;
58585959 /**
6060 * Stringified value of the label. This is first unstringed by appviews and then interpreted as a concrete value.
6161 */
6262- value: string
6363-}
6262+ value: string;
6363+};
64646565-export type { Operand }
6565+export type { Operand };
66666767const operand = l.typedObject<Operand>(
6868 $nsid,
6969- 'operand',
7070- l.object({ key: l.string({ format: 'at-uri' }), value: l.string() }),
7171-)
6969+ "operand",
7070+ l.object({ key: l.string({ format: "at-uri" }), value: l.string() }),
7171+);
72727373-export { operand }
7373+export { operand };
+2-2
api/src/lexicons/sh/tangled/label/op.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './op.defs.ts'
66-export * as $defs from './op.defs.ts'
55+export * from "./op.defs.ts";
66+export * as $defs from "./op.defs.ts";
+11-17
api/src/lexicons/sh/tangled/owner.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.owner'
77+const $nsid = "sh.tangled.owner";
8899-export { $nsid }
99+export { $nsid };
10101111/** Get the owner of a service */
1212-const main = l.query(
1313- $nsid,
1414- l.params(),
1515- l.jsonPayload({ owner: l.string({ format: 'did' }) }),
1616- ['OwnerNotFound'],
1717-)
1818-export { main }
1212+const main = l.query($nsid, l.params(), l.jsonPayload({ owner: l.string({ format: "did" }) }), [
1313+ "OwnerNotFound",
1414+]);
1515+export { main };
19162020-export type $Params = l.InferMethodParams<typeof main>
2121-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
2222-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
2323- typeof main,
2424- B
2525->
1717+export type $Params = l.InferMethodParams<typeof main>;
1818+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
1919+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
26202721export const $lxm = main.nsid,
2822 $params = main.parameters,
2929- $output = main.output
2323+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/owner.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './owner.defs.ts'
66-export * as $defs from './owner.defs.ts'
55+export * from "./owner.defs.ts";
66+export * as $defs from "./owner.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * as cancelPipeline from './pipeline/cancelPipeline.ts'
66-export * from './pipeline.defs.ts'
77-export * as $defs from './pipeline.defs.ts'
88-export * as status from './pipeline/status.ts'
55+export * as cancelPipeline from "./pipeline/cancelPipeline.ts";
66+export * from "./pipeline.defs.ts";
77+export * as $defs from "./pipeline.defs.ts";
88+export * as status from "./pipeline/status.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './cancelPipeline.defs.ts'
66-export * as $defs from './cancelPipeline.defs.ts'
55+export * from "./cancelPipeline.defs.ts";
66+export * as $defs from "./cancelPipeline.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.pipeline.status'
77+const $nsid = "sh.tangled.pipeline.status";
8899-export { $nsid }
99+export { $nsid };
10101111type Main = {
1212- $type: 'sh.tangled.pipeline.status'
1212+ $type: "sh.tangled.pipeline.status";
13131414 /**
1515 * ATURI of the pipeline
1616 */
1717- pipeline: l.AtUriString
1717+ pipeline: l.AtUriString;
18181919 /**
2020 * name of the workflow within this pipeline
2121 */
2222- workflow: l.AtUriString
2222+ workflow: l.AtUriString;
23232424 /**
2525 * status of the workflow
2626 */
2727- status: 'pending' | 'running' | 'failed' | 'timeout' | 'cancelled' | 'success'
2727+ status: "pending" | "running" | "failed" | "timeout" | "cancelled" | "success";
28282929 /**
3030 * time of creation of this status update
3131 */
3232- createdAt: l.DatetimeString
3232+ createdAt: l.DatetimeString;
33333434 /**
3535 * error message if failed
3636 */
3737- error?: string
3737+ error?: string;
38383939 /**
4040 * exit code if failed
4141 */
4242- exitCode?: number
4343-}
4242+ exitCode?: number;
4343+};
44444545-export type { Main }
4545+export type { Main };
46464747-const main = l.record<'tid', Main>(
4848- 'tid',
4747+const main = l.record<"tid", Main>(
4848+ "tid",
4949 $nsid,
5050 l.object({
5151- pipeline: l.string({ format: 'at-uri' }),
5252- workflow: l.string({ format: 'at-uri' }),
5353- status: l.enum([
5454- 'pending',
5555- 'running',
5656- 'failed',
5757- 'timeout',
5858- 'cancelled',
5959- 'success',
6060- ]),
6161- createdAt: l.string({ format: 'datetime' }),
5151+ pipeline: l.string({ format: "at-uri" }),
5252+ workflow: l.string({ format: "at-uri" }),
5353+ status: l.enum(["pending", "running", "failed", "timeout", "cancelled", "success"]),
5454+ createdAt: l.string({ format: "datetime" }),
6255 error: l.optional(l.string()),
6356 exitCode: l.optional(l.integer()),
6457 }),
6565-)
5858+);
66596767-export { main }
6060+export { main };
68616962export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),
7063 $build = /*#__PURE__*/ main.build.bind(main),
7171- $type = /*#__PURE__*/ main.$type
6464+ $type = /*#__PURE__*/ main.$type;
7265export const $assert = /*#__PURE__*/ main.assert.bind(main),
7366 $check = /*#__PURE__*/ main.check.bind(main),
7467 $cast = /*#__PURE__*/ main.cast.bind(main),
···7770 $parse = /*#__PURE__*/ main.parse.bind(main),
7871 $safeParse = /*#__PURE__*/ main.safeParse.bind(main),
7972 $validate = /*#__PURE__*/ main.validate.bind(main),
8080- $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)
7373+ $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
+2-2
api/src/lexicons/sh/tangled/pipeline/status.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './status.defs.ts'
66-export * as $defs from './status.defs.ts'
55+export * from "./status.defs.ts";
66+export * as $defs from "./status.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './publicKey.defs.ts'
66-export * as $defs from './publicKey.defs.ts'
55+export * from "./publicKey.defs.ts";
66+export * as $defs from "./publicKey.defs.ts";
+28-30
api/src/lexicons/sh/tangled/repo.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo'
77+const $nsid = "sh.tangled.repo";
8899-export { $nsid }
99+export { $nsid };
10101111type Main = {
1212- $type: 'sh.tangled.repo'
1212+ $type: "sh.tangled.repo";
13131414 /**
1515 * name of the repo
1616 */
1717- name: string
1717+ name: string;
18181919 /**
2020 * knot where the repo was created
2121 */
2222- knot: string
2222+ knot: string;
23232424 /**
2525 * CI runner to send jobs to and receive results from
2626 */
2727- spindle?: string
2828- description?: string
2727+ spindle?: string;
2828+ description?: string;
29293030 /**
3131 * Any URI related to the repo
3232 */
3333- website?: l.UriString
3333+ website?: l.UriString;
34343535 /**
3636 * Topics related to the repo
3737 */
3838- topics?: string[]
3838+ topics?: string[];
39394040 /**
4141 * source of the repo
4242 */
4343- source?: l.UriString
4343+ source?: l.UriString;
44444545 /**
4646 * List of labels that this repo subscribes to
4747 */
4848- labels?: l.AtUriString[]
4848+ labels?: l.AtUriString[];
49495050 /**
5151 * DID of the repo itself, if assigned
5252 */
5353- repoDid?: l.DidString
5454- createdAt: l.DatetimeString
5555-}
5353+ repoDid?: l.DidString;
5454+ createdAt: l.DatetimeString;
5555+};
56565757-export type { Main }
5757+export type { Main };
58585959-const main = l.record<'tid', Main>(
6060- 'tid',
5959+const main = l.record<"tid", Main>(
6060+ "tid",
6161 $nsid,
6262 l.object({
6363 name: l.string(),
6464 knot: l.string(),
6565 spindle: l.optional(l.string()),
6666 description: l.optional(l.string({ minGraphemes: 1, maxGraphemes: 140 })),
6767- website: l.optional(l.string({ format: 'uri' })),
6868- topics: l.optional(
6969- l.array(l.string({ minLength: 1, maxLength: 50 }), { maxLength: 50 }),
7070- ),
7171- source: l.optional(l.string({ format: 'uri' })),
7272- labels: l.optional(l.array(l.string({ format: 'at-uri' }))),
7373- repoDid: l.optional(l.string({ format: 'did' })),
7474- createdAt: l.string({ format: 'datetime' }),
6767+ website: l.optional(l.string({ format: "uri" })),
6868+ topics: l.optional(l.array(l.string({ minLength: 1, maxLength: 50 }), { maxLength: 50 })),
6969+ source: l.optional(l.string({ format: "uri" })),
7070+ labels: l.optional(l.array(l.string({ format: "at-uri" }))),
7171+ repoDid: l.optional(l.string({ format: "did" })),
7272+ createdAt: l.string({ format: "datetime" }),
7573 }),
7676-)
7474+);
77757878-export { main }
7676+export { main };
79778078export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),
8179 $build = /*#__PURE__*/ main.build.bind(main),
8282- $type = /*#__PURE__*/ main.$type
8080+ $type = /*#__PURE__*/ main.$type;
8381export const $assert = /*#__PURE__*/ main.assert.bind(main),
8482 $check = /*#__PURE__*/ main.check.bind(main),
8583 $cast = /*#__PURE__*/ main.cast.bind(main),
···8886 $parse = /*#__PURE__*/ main.parse.bind(main),
8987 $safeParse = /*#__PURE__*/ main.safeParse.bind(main),
9088 $validate = /*#__PURE__*/ main.validate.bind(main),
9191- $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)
8989+ $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
+30-30
api/src/lexicons/sh/tangled/repo.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * as issue from './repo/issue.ts'
66-export * as pull from './repo/pull.ts'
77-export * as addSecret from './repo/addSecret.ts'
88-export * as archive from './repo/archive.ts'
99-export * as artifact from './repo/artifact.ts'
1010-export * as blob from './repo/blob.ts'
1111-export * as branch from './repo/branch.ts'
1212-export * as branches from './repo/branches.ts'
1313-export * as collaborator from './repo/collaborator.ts'
1414-export * as compare from './repo/compare.ts'
1515-export * as create from './repo/create.ts'
1616-export * as setDefaultBranch from './repo/setDefaultBranch.ts'
1717-export * as 'delete' from './repo/delete.ts'
1818-export * as deleteBranch from './repo/deleteBranch.ts'
1919-export * as diff from './repo/diff.ts'
2020-export * as forkStatus from './repo/forkStatus.ts'
2121-export * as forkSync from './repo/forkSync.ts'
2222-export * as getDefaultBranch from './repo/getDefaultBranch.ts'
2323-export * as hiddenRef from './repo/hiddenRef.ts'
2424-export * as languages from './repo/languages.ts'
2525-export * as listSecrets from './repo/listSecrets.ts'
2626-export * as log from './repo/log.ts'
2727-export * as merge from './repo/merge.ts'
2828-export * as mergeCheck from './repo/mergeCheck.ts'
2929-export * as removeSecret from './repo/removeSecret.ts'
3030-export * from './repo.defs.ts'
3131-export * as $defs from './repo.defs.ts'
3232-export * as tag from './repo/tag.ts'
3333-export * as tags from './repo/tags.ts'
3434-export * as tree from './repo/tree.ts'
55+export * as issue from "./repo/issue.ts";
66+export * as pull from "./repo/pull.ts";
77+export * as addSecret from "./repo/addSecret.ts";
88+export * as archive from "./repo/archive.ts";
99+export * as artifact from "./repo/artifact.ts";
1010+export * as blob from "./repo/blob.ts";
1111+export * as branch from "./repo/branch.ts";
1212+export * as branches from "./repo/branches.ts";
1313+export * as collaborator from "./repo/collaborator.ts";
1414+export * as compare from "./repo/compare.ts";
1515+export * as create from "./repo/create.ts";
1616+export * as setDefaultBranch from "./repo/setDefaultBranch.ts";
1717+export * as "delete" from "./repo/delete.ts";
1818+export * as deleteBranch from "./repo/deleteBranch.ts";
1919+export * as diff from "./repo/diff.ts";
2020+export * as forkStatus from "./repo/forkStatus.ts";
2121+export * as forkSync from "./repo/forkSync.ts";
2222+export * as getDefaultBranch from "./repo/getDefaultBranch.ts";
2323+export * as hiddenRef from "./repo/hiddenRef.ts";
2424+export * as languages from "./repo/languages.ts";
2525+export * as listSecrets from "./repo/listSecrets.ts";
2626+export * as log from "./repo/log.ts";
2727+export * as merge from "./repo/merge.ts";
2828+export * as mergeCheck from "./repo/mergeCheck.ts";
2929+export * as removeSecret from "./repo/removeSecret.ts";
3030+export * from "./repo.defs.ts";
3131+export * as $defs from "./repo.defs.ts";
3232+export * as tag from "./repo/tag.ts";
3333+export * as tags from "./repo/tags.ts";
3434+export * as tree from "./repo/tree.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.addSecret'
77+const $nsid = "sh.tangled.repo.addSecret";
8899-export { $nsid }
99+export { $nsid };
10101111/** Add a CI secret */
1212const main = l.procedure(
1313 $nsid,
1414 l.params(),
1515 l.jsonPayload({
1616- repo: l.string({ format: 'at-uri' }),
1616+ repo: l.string({ format: "at-uri" }),
1717 key: l.string({ maxLength: 50, minLength: 1 }),
1818 value: l.string({ maxLength: 200, minLength: 1 }),
1919 }),
2020 l.payload(),
2121-)
2222-export { main }
2121+);
2222+export { main };
23232424-export type $Params = l.InferMethodParams<typeof main>
2525-export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>
2626-export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<
2727- typeof main,
2828- B
2929->
3030-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
3131-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3232- typeof main,
3333- B
3434->
2424+export type $Params = l.InferMethodParams<typeof main>;
2525+export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
2626+export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
2727+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2828+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
35293630export const $lxm = main.nsid,
3731 $params = main.parameters,
3832 $input = main.input,
3939- $output = main.output
3333+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/repo/addSecret.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './addSecret.defs.ts'
66-export * as $defs from './addSecret.defs.ts'
55+export * from "./addSecret.defs.ts";
66+export * as $defs from "./addSecret.defs.ts";
+12-18
api/src/lexicons/sh/tangled/repo/archive.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.archive'
77+const $nsid = "sh.tangled.repo.archive";
8899-export { $nsid }
99+export { $nsid };
10101111const main = l.query(
1212 $nsid,
···1414 repo: l.string(),
1515 ref: l.string(),
1616 format: l.optional(
1717- l.withDefault(
1818- l.enum(['tar', 'zip', 'tar.gz', 'tar.bz2', 'tar.xz']),
1919- 'tar.gz',
2020- ),
1717+ l.withDefault(l.enum(["tar", "zip", "tar.gz", "tar.bz2", "tar.xz"]), "tar.gz"),
2118 ),
2219 prefix: l.optional(l.string()),
2320 }),
2424- l.payload('*/*'),
2525- ['RepoNotFound', 'RefNotFound', 'InvalidRequest', 'ArchiveError'],
2626-)
2727-export { main }
2121+ l.payload("*/*"),
2222+ ["RepoNotFound", "RefNotFound", "InvalidRequest", "ArchiveError"],
2323+);
2424+export { main };
28252929-export type $Params = l.InferMethodParams<typeof main>
2626+export type $Params = l.InferMethodParams<typeof main>;
3027/** Binary archive data */
3131-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
2828+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
3229/** Binary archive data */
3333-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3434- typeof main,
3535- B
3636->
3030+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
37313832export const $lxm = main.nsid,
3933 $params = main.parameters,
4040- $output = main.output
3434+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/repo/archive.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './archive.defs.ts'
66-export * as $defs from './archive.defs.ts'
55+export * from "./archive.defs.ts";
66+export * as $defs from "./archive.defs.ts";
+22-22
api/src/lexicons/sh/tangled/repo/artifact.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.artifact'
77+const $nsid = "sh.tangled.repo.artifact";
8899-export { $nsid }
99+export { $nsid };
10101111type Main = {
1212- $type: 'sh.tangled.repo.artifact'
1212+ $type: "sh.tangled.repo.artifact";
13131414 /**
1515 * name of the artifact
1616 */
1717- name: string
1717+ name: string;
18181919 /**
2020 * repo that this artifact is being uploaded to
2121 */
2222- repo?: l.AtUriString
2323- repoDid?: l.DidString
2222+ repo?: l.AtUriString;
2323+ repoDid?: l.DidString;
24242525 /**
2626 * hash of the tag object that this artifact is attached to (only annotated tags are supported)
2727 */
2828- tag: Uint8Array
2828+ tag: Uint8Array;
29293030 /**
3131 * time of creation of this artifact
3232 */
3333- createdAt: l.DatetimeString
3333+ createdAt: l.DatetimeString;
34343535 /**
3636 * the artifact
3737 */
3838- artifact: l.BlobRef
3939-}
3838+ artifact: l.BlobRef;
3939+};
40404141-export type { Main }
4141+export type { Main };
42424343-const main = l.record<'tid', Main>(
4444- 'tid',
4343+const main = l.record<"tid", Main>(
4444+ "tid",
4545 $nsid,
4646 l.object({
4747 name: l.string(),
4848- repo: l.optional(l.string({ format: 'at-uri' })),
4949- repoDid: l.optional(l.string({ format: 'did' })),
4848+ repo: l.optional(l.string({ format: "at-uri" })),
4949+ repoDid: l.optional(l.string({ format: "did" })),
5050 tag: l.bytes({ minLength: 20, maxLength: 20 }),
5151- createdAt: l.string({ format: 'datetime' }),
5252- artifact: l.blob({ accept: ['*/*'], maxSize: 52428800 }),
5151+ createdAt: l.string({ format: "datetime" }),
5252+ artifact: l.blob({ accept: ["*/*"], maxSize: 52428800 }),
5353 }),
5454-)
5454+);
55555656-export { main }
5656+export { main };
57575858export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),
5959 $build = /*#__PURE__*/ main.build.bind(main),
6060- $type = /*#__PURE__*/ main.$type
6060+ $type = /*#__PURE__*/ main.$type;
6161export const $assert = /*#__PURE__*/ main.assert.bind(main),
6262 $check = /*#__PURE__*/ main.check.bind(main),
6363 $cast = /*#__PURE__*/ main.cast.bind(main),
···6666 $parse = /*#__PURE__*/ main.parse.bind(main),
6767 $safeParse = /*#__PURE__*/ main.safeParse.bind(main),
6868 $validate = /*#__PURE__*/ main.validate.bind(main),
6969- $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)
6969+ $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
+2-2
api/src/lexicons/sh/tangled/repo/artifact.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './artifact.defs.ts'
66-export * as $defs from './artifact.defs.ts'
55+export * from "./artifact.defs.ts";
66+export * as $defs from "./artifact.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './blob.defs.ts'
66-export * as $defs from './blob.defs.ts'
55+export * from "./blob.defs.ts";
66+export * as $defs from "./blob.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './branch.defs.ts'
66-export * as $defs from './branch.defs.ts'
55+export * from "./branch.defs.ts";
66+export * as $defs from "./branch.defs.ts";
+12-17
api/src/lexicons/sh/tangled/repo/branches.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.branches'
77+const $nsid = "sh.tangled.repo.branches";
8899-export { $nsid }
99+export { $nsid };
10101111const main = l.query(
1212 $nsid,
1313 l.params({
1414 repo: l.string(),
1515- limit: l.optional(
1616- l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50),
1717- ),
1515+ limit: l.optional(l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50)),
1816 cursor: l.optional(l.string()),
1917 }),
2020- l.payload('*/*'),
2121- ['RepoNotFound', 'InvalidRequest'],
2222-)
2323-export { main }
1818+ l.payload("*/*"),
1919+ ["RepoNotFound", "InvalidRequest"],
2020+);
2121+export { main };
24222525-export type $Params = l.InferMethodParams<typeof main>
2626-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
2727-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
2828- typeof main,
2929- B
3030->
2323+export type $Params = l.InferMethodParams<typeof main>;
2424+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2525+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
31263227export const $lxm = main.nsid,
3328 $params = main.parameters,
3434- $output = main.output
2929+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/repo/branches.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './branches.defs.ts'
66-export * as $defs from './branches.defs.ts'
55+export * from "./branches.defs.ts";
66+export * as $defs from "./branches.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './collaborator.defs.ts'
66-export * as $defs from './collaborator.defs.ts'
55+export * from "./collaborator.defs.ts";
66+export * as $defs from "./collaborator.defs.ts";
+11-14
api/src/lexicons/sh/tangled/repo/compare.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.compare'
77+const $nsid = "sh.tangled.repo.compare";
8899-export { $nsid }
99+export { $nsid };
10101111const main = l.query(
1212 $nsid,
1313 l.params({ repo: l.string(), rev1: l.string(), rev2: l.string() }),
1414- l.payload('*/*'),
1515- ['RepoNotFound', 'RevisionNotFound', 'InvalidRequest', 'CompareError'],
1616-)
1717-export { main }
1414+ l.payload("*/*"),
1515+ ["RepoNotFound", "RevisionNotFound", "InvalidRequest", "CompareError"],
1616+);
1717+export { main };
18181919-export type $Params = l.InferMethodParams<typeof main>
1919+export type $Params = l.InferMethodParams<typeof main>;
2020/** Compare output in application/json */
2121-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
2121+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2222/** Compare output in application/json */
2323-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
2424- typeof main,
2525- B
2626->
2323+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
27242825export const $lxm = main.nsid,
2926 $params = main.parameters,
3030- $output = main.output
2727+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/repo/compare.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './compare.defs.ts'
66-export * as $defs from './compare.defs.ts'
55+export * from "./compare.defs.ts";
66+export * as $defs from "./compare.defs.ts";
+13-19
api/src/lexicons/sh/tangled/repo/create.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.create'
77+const $nsid = "sh.tangled.repo.create";
8899-export { $nsid }
99+export { $nsid };
10101111/** Create a new repository */
1212const main = l.procedure(
···1717 name: l.string(),
1818 defaultBranch: l.optional(l.string()),
1919 source: l.optional(l.string()),
2020- repoDid: l.optional(l.string({ format: 'did' })),
2020+ repoDid: l.optional(l.string({ format: "did" })),
2121 }),
2222- l.jsonPayload({ repoDid: l.optional(l.string({ format: 'did' })) }),
2323-)
2424-export { main }
2222+ l.jsonPayload({ repoDid: l.optional(l.string({ format: "did" })) }),
2323+);
2424+export { main };
25252626-export type $Params = l.InferMethodParams<typeof main>
2727-export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>
2828-export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<
2929- typeof main,
3030- B
3131->
3232-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
3333-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3434- typeof main,
3535- B
3636->
2626+export type $Params = l.InferMethodParams<typeof main>;
2727+export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
2828+export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
2929+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
3030+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
37313832export const $lxm = main.nsid,
3933 $params = main.parameters,
4034 $input = main.input,
4141- $output = main.output
3535+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/repo/create.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './create.defs.ts'
66-export * as $defs from './create.defs.ts'
55+export * from "./create.defs.ts";
66+export * as $defs from "./create.defs.ts";
+12-18
api/src/lexicons/sh/tangled/repo/delete.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.delete'
77+const $nsid = "sh.tangled.repo.delete";
8899-export { $nsid }
99+export { $nsid };
10101111/** Delete a repository */
1212const main = l.procedure(
1313 $nsid,
1414 l.params(),
1515 l.jsonPayload({
1616- did: l.string({ format: 'did' }),
1616+ did: l.string({ format: "did" }),
1717 name: l.string(),
1818 rkey: l.string(),
1919 }),
2020 l.payload(),
2121-)
2222-export { main }
2121+);
2222+export { main };
23232424-export type $Params = l.InferMethodParams<typeof main>
2525-export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>
2626-export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<
2727- typeof main,
2828- B
2929->
3030-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
3131-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3232- typeof main,
3333- B
3434->
2424+export type $Params = l.InferMethodParams<typeof main>;
2525+export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
2626+export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
2727+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2828+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
35293630export const $lxm = main.nsid,
3731 $params = main.parameters,
3832 $input = main.input,
3939- $output = main.output
3333+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/repo/delete.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './delete.defs.ts'
66-export * as $defs from './delete.defs.ts'
55+export * from "./delete.defs.ts";
66+export * as $defs from "./delete.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.deleteBranch'
77+const $nsid = "sh.tangled.repo.deleteBranch";
8899-export { $nsid }
99+export { $nsid };
10101111/** Delete a branch on this repository */
1212const main = l.procedure(
1313 $nsid,
1414 l.params(),
1515- l.jsonPayload({ repo: l.string({ format: 'at-uri' }), branch: l.string() }),
1515+ l.jsonPayload({ repo: l.string({ format: "at-uri" }), branch: l.string() }),
1616 l.payload(),
1717-)
1818-export { main }
1717+);
1818+export { main };
19192020-export type $Params = l.InferMethodParams<typeof main>
2121-export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>
2222-export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<
2323- typeof main,
2424- B
2525->
2626-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
2727-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
2828- typeof main,
2929- B
3030->
2020+export type $Params = l.InferMethodParams<typeof main>;
2121+export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
2222+export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
2323+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2424+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
31253226export const $lxm = main.nsid,
3327 $params = main.parameters,
3428 $input = main.input,
3535- $output = main.output
2929+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/repo/deleteBranch.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './deleteBranch.defs.ts'
66-export * as $defs from './deleteBranch.defs.ts'
55+export * from "./deleteBranch.defs.ts";
66+export * as $defs from "./deleteBranch.defs.ts";
+13-17
api/src/lexicons/sh/tangled/repo/diff.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.diff'
77+const $nsid = "sh.tangled.repo.diff";
8899-export { $nsid }
99+export { $nsid };
10101111-const main = l.query(
1212- $nsid,
1313- l.params({ repo: l.string(), ref: l.string() }),
1414- l.payload('*/*'),
1515- ['RepoNotFound', 'RefNotFound', 'InvalidRequest'],
1616-)
1717-export { main }
1111+const main = l.query($nsid, l.params({ repo: l.string(), ref: l.string() }), l.payload("*/*"), [
1212+ "RepoNotFound",
1313+ "RefNotFound",
1414+ "InvalidRequest",
1515+]);
1616+export { main };
18171919-export type $Params = l.InferMethodParams<typeof main>
2020-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
2121-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
2222- typeof main,
2323- B
2424->
1818+export type $Params = l.InferMethodParams<typeof main>;
1919+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2020+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
25212622export const $lxm = main.nsid,
2723 $params = main.parameters,
2828- $output = main.output
2424+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/repo/diff.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './diff.defs.ts'
66-export * as $defs from './diff.defs.ts'
55+export * from "./diff.defs.ts";
66+export * as $defs from "./diff.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.forkStatus'
77+const $nsid = "sh.tangled.repo.forkStatus";
8899-export { $nsid }
99+export { $nsid };
10101111/** Check fork status relative to upstream source */
1212const main = l.procedure(
1313 $nsid,
1414 l.params(),
1515 l.jsonPayload({
1616- did: l.string({ format: 'did' }),
1616+ did: l.string({ format: "did" }),
1717 name: l.string(),
1818 source: l.string(),
1919 branch: l.string(),
2020 hiddenRef: l.string(),
2121 }),
2222 l.jsonPayload({ status: l.integer() }),
2323-)
2424-export { main }
2323+);
2424+export { main };
25252626-export type $Params = l.InferMethodParams<typeof main>
2727-export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>
2828-export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<
2929- typeof main,
3030- B
3131->
3232-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
3333-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3434- typeof main,
3535- B
3636->
2626+export type $Params = l.InferMethodParams<typeof main>;
2727+export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
2828+export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
2929+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
3030+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
37313832export const $lxm = main.nsid,
3933 $params = main.parameters,
4034 $input = main.input,
4141- $output = main.output
3535+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/repo/forkStatus.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './forkStatus.defs.ts'
66-export * as $defs from './forkStatus.defs.ts'
55+export * from "./forkStatus.defs.ts";
66+export * as $defs from "./forkStatus.defs.ts";
+13-19
api/src/lexicons/sh/tangled/repo/forkSync.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.forkSync'
77+const $nsid = "sh.tangled.repo.forkSync";
8899-export { $nsid }
99+export { $nsid };
10101111/** Sync a forked repository with its upstream source */
1212const main = l.procedure(
1313 $nsid,
1414 l.params(),
1515 l.jsonPayload({
1616- did: l.string({ format: 'did' }),
1717- source: l.string({ format: 'at-uri' }),
1616+ did: l.string({ format: "did" }),
1717+ source: l.string({ format: "at-uri" }),
1818 name: l.string(),
1919 branch: l.string(),
2020 }),
2121 l.payload(),
2222-)
2323-export { main }
2222+);
2323+export { main };
24242525-export type $Params = l.InferMethodParams<typeof main>
2626-export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>
2727-export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<
2828- typeof main,
2929- B
3030->
3131-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
3232-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3333- typeof main,
3434- B
3535->
2525+export type $Params = l.InferMethodParams<typeof main>;
2626+export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
2727+export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
2828+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2929+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
36303731export const $lxm = main.nsid,
3832 $params = main.parameters,
3933 $input = main.input,
4040- $output = main.output
3434+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/repo/forkSync.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './forkSync.defs.ts'
66-export * as $defs from './forkSync.defs.ts'
55+export * from "./forkSync.defs.ts";
66+export * as $defs from "./forkSync.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './getDefaultBranch.defs.ts'
66-export * as $defs from './getDefaultBranch.defs.ts'
55+export * from "./getDefaultBranch.defs.ts";
66+export * as $defs from "./getDefaultBranch.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.hiddenRef'
77+const $nsid = "sh.tangled.repo.hiddenRef";
8899-export { $nsid }
99+export { $nsid };
10101111/** Create a hidden ref in a repository */
1212const main = l.procedure(
1313 $nsid,
1414 l.params(),
1515 l.jsonPayload({
1616- repo: l.string({ format: 'at-uri' }),
1616+ repo: l.string({ format: "at-uri" }),
1717 forkRef: l.string(),
1818 remoteRef: l.string(),
1919 }),
···2222 ref: l.optional(l.string()),
2323 error: l.optional(l.string()),
2424 }),
2525-)
2626-export { main }
2525+);
2626+export { main };
27272828-export type $Params = l.InferMethodParams<typeof main>
2929-export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>
3030-export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<
3131- typeof main,
3232- B
3333->
3434-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
3535-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3636- typeof main,
3737- B
3838->
2828+export type $Params = l.InferMethodParams<typeof main>;
2929+export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
3030+export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
3131+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
3232+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
39334034export const $lxm = main.nsid,
4135 $params = main.parameters,
4236 $input = main.input,
4343- $output = main.output
3737+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/repo/hiddenRef.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './hiddenRef.defs.ts'
66-export * as $defs from './hiddenRef.defs.ts'
55+export * from "./hiddenRef.defs.ts";
66+export * as $defs from "./hiddenRef.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * as state from './issue/state.ts'
66-export * as comment from './issue/comment.ts'
77-export * from './issue.defs.ts'
88-export * as $defs from './issue.defs.ts'
55+export * as state from "./issue/state.ts";
66+export * as comment from "./issue/comment.ts";
77+export * from "./issue.defs.ts";
88+export * as $defs from "./issue.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './comment.defs.ts'
66-export * as $defs from './comment.defs.ts'
55+export * from "./comment.defs.ts";
66+export * as $defs from "./comment.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * as closed from './state/closed.ts'
66-export * as open from './state/open.ts'
77-export * from './state.defs.ts'
88-export * as $defs from './state.defs.ts'
55+export * as closed from "./state/closed.ts";
66+export * as open from "./state/open.ts";
77+export * from "./state.defs.ts";
88+export * as $defs from "./state.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './closed.defs.ts'
66-export * as $defs from './closed.defs.ts'
55+export * from "./closed.defs.ts";
66+export * as $defs from "./closed.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './open.defs.ts'
66-export * as $defs from './open.defs.ts'
55+export * from "./open.defs.ts";
66+export * as $defs from "./open.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.languages'
77+const $nsid = "sh.tangled.repo.languages";
8899-export { $nsid }
99+export { $nsid };
10101111const main = l.query(
1212 $nsid,
1313 l.params({
1414 repo: l.string(),
1515- ref: l.optional(l.withDefault(l.string(), 'HEAD')),
1515+ ref: l.optional(l.withDefault(l.string(), "HEAD")),
1616 }),
1717 l.jsonPayload({
1818 ref: l.string(),
···2020 totalSize: l.optional(l.integer()),
2121 totalFiles: l.optional(l.integer()),
2222 }),
2323- ['RepoNotFound', 'RefNotFound', 'InvalidRequest'],
2424-)
2525-export { main }
2323+ ["RepoNotFound", "RefNotFound", "InvalidRequest"],
2424+);
2525+export { main };
26262727-export type $Params = l.InferMethodParams<typeof main>
2828-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
2929-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3030- typeof main,
3131- B
3232->
2727+export type $Params = l.InferMethodParams<typeof main>;
2828+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2929+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
33303431export const $lxm = main.nsid,
3532 $params = main.parameters,
3636- $output = main.output
3333+ $output = main.output;
37343835type Language = {
3939- $type?: 'sh.tangled.repo.languages#language'
3636+ $type?: "sh.tangled.repo.languages#language";
40374138 /**
4239 * Programming language name
4340 */
4444- name: string
4141+ name: string;
45424643 /**
4744 * Total size of files in this language (bytes)
4845 */
4949- size: number
4646+ size: number;
50475148 /**
5249 * Percentage of total codebase (0-100)
5350 */
5454- percentage: number
5151+ percentage: number;
55525653 /**
5754 * Number of files in this language
5855 */
5959- fileCount?: number
5656+ fileCount?: number;
60576158 /**
6259 * Hex color code for this language
6360 */
6464- color?: string
6161+ color?: string;
65626663 /**
6764 * File extensions associated with this language
6865 */
6969- extensions?: string[]
7070-}
6666+ extensions?: string[];
6767+};
71687272-export type { Language }
6969+export type { Language };
73707471const language = l.typedObject<Language>(
7572 $nsid,
7676- 'language',
7373+ "language",
7774 l.object({
7875 name: l.string(),
7976 size: l.integer(),
···8279 color: l.optional(l.string()),
8380 extensions: l.optional(l.array(l.string())),
8481 }),
8585-)
8282+);
86838787-export { language }
8484+export { language };
+2-2
api/src/lexicons/sh/tangled/repo/languages.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './languages.defs.ts'
66-export * as $defs from './languages.defs.ts'
55+export * from "./languages.defs.ts";
66+export * as $defs from "./languages.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './listSecrets.defs.ts'
66-export * as $defs from './listSecrets.defs.ts'
55+export * from "./listSecrets.defs.ts";
66+export * as $defs from "./listSecrets.defs.ts";
+13-18
api/src/lexicons/sh/tangled/repo/log.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.log'
77+const $nsid = "sh.tangled.repo.log";
8899-export { $nsid }
99+export { $nsid };
10101111const main = l.query(
1212 $nsid,
1313 l.params({
1414 repo: l.string(),
1515 ref: l.string(),
1616- path: l.optional(l.withDefault(l.string(), '')),
1717- limit: l.optional(
1818- l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50),
1919- ),
1616+ path: l.optional(l.withDefault(l.string(), "")),
1717+ limit: l.optional(l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50)),
2018 cursor: l.optional(l.string()),
2119 }),
2222- l.payload('*/*'),
2323- ['RepoNotFound', 'RefNotFound', 'PathNotFound', 'InvalidRequest'],
2424-)
2525-export { main }
2020+ l.payload("*/*"),
2121+ ["RepoNotFound", "RefNotFound", "PathNotFound", "InvalidRequest"],
2222+);
2323+export { main };
26242727-export type $Params = l.InferMethodParams<typeof main>
2828-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
2929-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3030- typeof main,
3131- B
3232->
2525+export type $Params = l.InferMethodParams<typeof main>;
2626+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2727+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
33283429export const $lxm = main.nsid,
3530 $params = main.parameters,
3636- $output = main.output
3131+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/repo/log.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './log.defs.ts'
66-export * as $defs from './log.defs.ts'
55+export * from "./log.defs.ts";
66+export * as $defs from "./log.defs.ts";
+12-18
api/src/lexicons/sh/tangled/repo/merge.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.merge'
77+const $nsid = "sh.tangled.repo.merge";
8899-export { $nsid }
99+export { $nsid };
10101111/** Merge a patch into a repository branch */
1212const main = l.procedure(
1313 $nsid,
1414 l.params(),
1515 l.jsonPayload({
1616- did: l.string({ format: 'did' }),
1616+ did: l.string({ format: "did" }),
1717 name: l.string(),
1818 patch: l.string(),
1919 branch: l.string(),
···2323 commitMessage: l.optional(l.string()),
2424 }),
2525 l.payload(),
2626-)
2727-export { main }
2626+);
2727+export { main };
28282929-export type $Params = l.InferMethodParams<typeof main>
3030-export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>
3131-export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<
3232- typeof main,
3333- B
3434->
3535-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
3636-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3737- typeof main,
3838- B
3939->
2929+export type $Params = l.InferMethodParams<typeof main>;
3030+export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
3131+export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
3232+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
3333+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
40344135export const $lxm = main.nsid,
4236 $params = main.parameters,
4337 $input = main.input,
4444- $output = main.output
3838+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/repo/merge.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './merge.defs.ts'
66-export * as $defs from './merge.defs.ts'
55+export * from "./merge.defs.ts";
66+export * as $defs from "./merge.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.mergeCheck'
77+const $nsid = "sh.tangled.repo.mergeCheck";
8899-export { $nsid }
99+export { $nsid };
10101111/** Check if a merge is possible between two branches */
1212const main = l.procedure(
1313 $nsid,
1414 l.params(),
1515 l.jsonPayload({
1616- did: l.string({ format: 'did' }),
1616+ did: l.string({ format: "did" }),
1717 name: l.string(),
1818 patch: l.string(),
1919 branch: l.string(),
2020 }),
2121 l.jsonPayload({
2222 is_conflicted: l.boolean(),
2323- conflicts: l.optional(
2424- l.array(l.ref<ConflictInfo>((() => conflictInfo) as any)),
2525- ),
2323+ conflicts: l.optional(l.array(l.ref<ConflictInfo>((() => conflictInfo) as any))),
2624 message: l.optional(l.string()),
2725 error: l.optional(l.string()),
2826 }),
2929-)
3030-export { main }
2727+);
2828+export { main };
31293232-export type $Params = l.InferMethodParams<typeof main>
3333-export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>
3434-export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<
3535- typeof main,
3636- B
3737->
3838-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
3939-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
4040- typeof main,
4141- B
4242->
3030+export type $Params = l.InferMethodParams<typeof main>;
3131+export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
3232+export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
3333+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
3434+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
43354436export const $lxm = main.nsid,
4537 $params = main.parameters,
4638 $input = main.input,
4747- $output = main.output
3939+ $output = main.output;
48404941type ConflictInfo = {
5050- $type?: 'sh.tangled.repo.mergeCheck#conflictInfo'
4242+ $type?: "sh.tangled.repo.mergeCheck#conflictInfo";
51435244 /**
5345 * Name of the conflicted file
5446 */
5555- filename: string
4747+ filename: string;
56485749 /**
5850 * Reason for the conflict
5951 */
6060- reason: string
6161-}
5252+ reason: string;
5353+};
62546363-export type { ConflictInfo }
5555+export type { ConflictInfo };
64566557const conflictInfo = l.typedObject<ConflictInfo>(
6658 $nsid,
6767- 'conflictInfo',
5959+ "conflictInfo",
6860 l.object({ filename: l.string(), reason: l.string() }),
6969-)
6161+);
70627171-export { conflictInfo }
6363+export { conflictInfo };
+2-2
api/src/lexicons/sh/tangled/repo/mergeCheck.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './mergeCheck.defs.ts'
66-export * as $defs from './mergeCheck.defs.ts'
55+export * from "./mergeCheck.defs.ts";
66+export * as $defs from "./mergeCheck.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * as status from './pull/status.ts'
66-export * as comment from './pull/comment.ts'
77-export * from './pull.defs.ts'
88-export * as $defs from './pull.defs.ts'
55+export * as status from "./pull/status.ts";
66+export * as comment from "./pull/comment.ts";
77+export * from "./pull.defs.ts";
88+export * as $defs from "./pull.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './comment.defs.ts'
66-export * as $defs from './comment.defs.ts'
55+export * from "./comment.defs.ts";
66+export * as $defs from "./comment.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * as closed from './status/closed.ts'
66-export * as merged from './status/merged.ts'
77-export * as open from './status/open.ts'
88-export * from './status.defs.ts'
99-export * as $defs from './status.defs.ts'
55+export * as closed from "./status/closed.ts";
66+export * as merged from "./status/merged.ts";
77+export * as open from "./status/open.ts";
88+export * from "./status.defs.ts";
99+export * as $defs from "./status.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './closed.defs.ts'
66-export * as $defs from './closed.defs.ts'
55+export * from "./closed.defs.ts";
66+export * as $defs from "./closed.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './merged.defs.ts'
66-export * as $defs from './merged.defs.ts'
55+export * from "./merged.defs.ts";
66+export * as $defs from "./merged.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './open.defs.ts'
66-export * as $defs from './open.defs.ts'
55+export * from "./open.defs.ts";
66+export * as $defs from "./open.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.removeSecret'
77+const $nsid = "sh.tangled.repo.removeSecret";
8899-export { $nsid }
99+export { $nsid };
10101111/** Remove a CI secret */
1212const main = l.procedure(
1313 $nsid,
1414 l.params(),
1515 l.jsonPayload({
1616- repo: l.string({ format: 'at-uri' }),
1616+ repo: l.string({ format: "at-uri" }),
1717 key: l.string({ maxLength: 50, minLength: 1 }),
1818 }),
1919 l.payload(),
2020-)
2121-export { main }
2020+);
2121+export { main };
22222323-export type $Params = l.InferMethodParams<typeof main>
2424-export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>
2525-export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<
2626- typeof main,
2727- B
2828->
2929-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
3030-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3131- typeof main,
3232- B
3333->
2323+export type $Params = l.InferMethodParams<typeof main>;
2424+export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
2525+export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
2626+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2727+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
34283529export const $lxm = main.nsid,
3630 $params = main.parameters,
3731 $input = main.input,
3838- $output = main.output
3232+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/repo/removeSecret.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './removeSecret.defs.ts'
66-export * as $defs from './removeSecret.defs.ts'
55+export * from "./removeSecret.defs.ts";
66+export * as $defs from "./removeSecret.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './setDefaultBranch.defs.ts'
66-export * as $defs from './setDefaultBranch.defs.ts'
55+export * from "./setDefaultBranch.defs.ts";
66+export * as $defs from "./setDefaultBranch.defs.ts";
+13-17
api/src/lexicons/sh/tangled/repo/tag.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.tag'
77+const $nsid = "sh.tangled.repo.tag";
8899-export { $nsid }
99+export { $nsid };
10101111-const main = l.query(
1212- $nsid,
1313- l.params({ repo: l.string(), tag: l.string() }),
1414- l.payload('*/*'),
1515- ['RepoNotFound', 'TagNotFound', 'InvalidRequest'],
1616-)
1717-export { main }
1111+const main = l.query($nsid, l.params({ repo: l.string(), tag: l.string() }), l.payload("*/*"), [
1212+ "RepoNotFound",
1313+ "TagNotFound",
1414+ "InvalidRequest",
1515+]);
1616+export { main };
18171919-export type $Params = l.InferMethodParams<typeof main>
2020-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
2121-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
2222- typeof main,
2323- B
2424->
1818+export type $Params = l.InferMethodParams<typeof main>;
1919+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2020+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
25212622export const $lxm = main.nsid,
2723 $params = main.parameters,
2828- $output = main.output
2424+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/repo/tag.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './tag.defs.ts'
66-export * as $defs from './tag.defs.ts'
55+export * from "./tag.defs.ts";
66+export * as $defs from "./tag.defs.ts";
+12-17
api/src/lexicons/sh/tangled/repo/tags.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.repo.tags'
77+const $nsid = "sh.tangled.repo.tags";
8899-export { $nsid }
99+export { $nsid };
10101111const main = l.query(
1212 $nsid,
1313 l.params({
1414 repo: l.string(),
1515- limit: l.optional(
1616- l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50),
1717- ),
1515+ limit: l.optional(l.withDefault(l.integer({ minimum: 1, maximum: 100 }), 50)),
1816 cursor: l.optional(l.string()),
1917 }),
2020- l.payload('*/*'),
2121- ['RepoNotFound', 'InvalidRequest'],
2222-)
2323-export { main }
1818+ l.payload("*/*"),
1919+ ["RepoNotFound", "InvalidRequest"],
2020+);
2121+export { main };
24222525-export type $Params = l.InferMethodParams<typeof main>
2626-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
2727-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
2828- typeof main,
2929- B
3030->
2323+export type $Params = l.InferMethodParams<typeof main>;
2424+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2525+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
31263227export const $lxm = main.nsid,
3328 $params = main.parameters,
3434- $output = main.output
2929+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/repo/tags.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './tags.defs.ts'
66-export * as $defs from './tags.defs.ts'
55+export * from "./tags.defs.ts";
66+export * as $defs from "./tags.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './tree.defs.ts'
66-export * as $defs from './tree.defs.ts'
55+export * from "./tree.defs.ts";
66+export * as $defs from "./tree.defs.ts";
+12-12
api/src/lexicons/sh/tangled/spindle.defs.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.spindle'
77+const $nsid = "sh.tangled.spindle";
8899-export { $nsid }
99+export { $nsid };
10101111-type Main = { $type: 'sh.tangled.spindle'; createdAt: l.DatetimeString }
1111+type Main = { $type: "sh.tangled.spindle"; createdAt: l.DatetimeString };
12121313-export type { Main }
1313+export type { Main };
14141515-const main = l.record<'any', Main>(
1616- 'any',
1515+const main = l.record<"any", Main>(
1616+ "any",
1717 $nsid,
1818- l.object({ createdAt: l.string({ format: 'datetime' }) }),
1919-)
1818+ l.object({ createdAt: l.string({ format: "datetime" }) }),
1919+);
20202121-export { main }
2121+export { main };
22222323export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),
2424 $build = /*#__PURE__*/ main.build.bind(main),
2525- $type = /*#__PURE__*/ main.$type
2525+ $type = /*#__PURE__*/ main.$type;
2626export const $assert = /*#__PURE__*/ main.assert.bind(main),
2727 $check = /*#__PURE__*/ main.check.bind(main),
2828 $cast = /*#__PURE__*/ main.cast.bind(main),
···3131 $parse = /*#__PURE__*/ main.parse.bind(main),
3232 $safeParse = /*#__PURE__*/ main.safeParse.bind(main),
3333 $validate = /*#__PURE__*/ main.validate.bind(main),
3434- $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)
3434+ $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
+3-3
api/src/lexicons/sh/tangled/spindle.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * as member from './spindle/member.ts'
66-export * from './spindle.defs.ts'
77-export * as $defs from './spindle.defs.ts'
55+export * as member from "./spindle/member.ts";
66+export * from "./spindle.defs.ts";
77+export * as $defs from "./spindle.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.spindle.member'
77+const $nsid = "sh.tangled.spindle.member";
8899-export { $nsid }
99+export { $nsid };
10101111type Main = {
1212- $type: 'sh.tangled.spindle.member'
1313- subject: l.DidString
1212+ $type: "sh.tangled.spindle.member";
1313+ subject: l.DidString;
14141515 /**
1616 * spindle instance that the subject is now a member of
1717 */
1818- instance: string
1919- createdAt: l.DatetimeString
2020-}
1818+ instance: string;
1919+ createdAt: l.DatetimeString;
2020+};
21212222-export type { Main }
2222+export type { Main };
23232424-const main = l.record<'tid', Main>(
2525- 'tid',
2424+const main = l.record<"tid", Main>(
2525+ "tid",
2626 $nsid,
2727 l.object({
2828- subject: l.string({ format: 'did' }),
2828+ subject: l.string({ format: "did" }),
2929 instance: l.string(),
3030- createdAt: l.string({ format: 'datetime' }),
3030+ createdAt: l.string({ format: "datetime" }),
3131 }),
3232-)
3232+);
33333434-export { main }
3434+export { main };
35353636export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),
3737 $build = /*#__PURE__*/ main.build.bind(main),
3838- $type = /*#__PURE__*/ main.$type
3838+ $type = /*#__PURE__*/ main.$type;
3939export const $assert = /*#__PURE__*/ main.assert.bind(main),
4040 $check = /*#__PURE__*/ main.check.bind(main),
4141 $cast = /*#__PURE__*/ main.cast.bind(main),
···4444 $parse = /*#__PURE__*/ main.parse.bind(main),
4545 $safeParse = /*#__PURE__*/ main.safeParse.bind(main),
4646 $validate = /*#__PURE__*/ main.validate.bind(main),
4747- $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)
4747+ $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
+2-2
api/src/lexicons/sh/tangled/spindle/member.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './member.defs.ts'
66-export * as $defs from './member.defs.ts'
55+export * from "./member.defs.ts";
66+export * as $defs from "./member.defs.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './string.defs.ts'
66-export * as $defs from './string.defs.ts'
55+export * from "./string.defs.ts";
66+export * as $defs from "./string.defs.ts";
+1-1
api/src/lexicons/sh/tangled/sync.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * as requestCrawl from './sync/requestCrawl.ts'
55+export * as requestCrawl from "./sync/requestCrawl.ts";
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-import { l } from '@atproto/lex'
55+import { l } from "@atproto/lex";
6677-const $nsid = 'sh.tangled.sync.requestCrawl'
77+const $nsid = "sh.tangled.sync.requestCrawl";
8899-export { $nsid }
99+export { $nsid };
10101111/** Request a service to persistently crawl hosted repos. Does not require auth. */
1212const main = l.procedure(
···1414 l.params(),
1515 l.jsonPayload({
1616 hostname: l.string(),
1717- ensureRepo: l.optional(l.string({ format: 'at-uri' })),
1717+ ensureRepo: l.optional(l.string({ format: "at-uri" })),
1818 }),
1919 l.payload(),
2020- ['HostBanned'],
2121-)
2222-export { main }
2020+ ["HostBanned"],
2121+);
2222+export { main };
23232424-export type $Params = l.InferMethodParams<typeof main>
2525-export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>
2626-export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<
2727- typeof main,
2828- B
2929->
3030-export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>
3131-export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3232- typeof main,
3333- B
3434->
2424+export type $Params = l.InferMethodParams<typeof main>;
2525+export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
2626+export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<typeof main, B>;
2727+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
2828+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<typeof main, B>;
35293630export const $lxm = main.nsid,
3731 $params = main.parameters,
3832 $input = main.input,
3939- $output = main.output
3333+ $output = main.output;
+2-2
api/src/lexicons/sh/tangled/sync/requestCrawl.ts
···22 * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33 */
4455-export * from './requestCrawl.defs.ts'
66-export * as $defs from './requestCrawl.defs.ts'
55+export * from "./requestCrawl.defs.ts";
66+export * as $defs from "./requestCrawl.defs.ts";
-1
api/src/lib/id.ts
···44export type UuidString = `${string}-${string}-7${string}-${string}-${string}`;
55export type Id<For extends string> = UuidString & BRAND<`${For}.id`>;
6677-87export function parseId<T extends Id<string>>(value: string): T {
98 if (!validate(value)) {
109 throw new Error(`Invalid UUIDv7: ${value}`);