···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * as inlay from "./at/inlay";
+14
generated/at/inlay.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * as Binding from "./inlay/Binding";
66+export * as pack from "./inlay/pack";
77+export * as Fragment from "./inlay/Fragment";
88+export * as Maybe from "./inlay/Maybe";
99+export * as Missing from "./inlay/Missing";
1010+export * as Placeholder from "./inlay/Placeholder";
1111+export * as Slot from "./inlay/Slot";
1212+export * as Throw from "./inlay/Throw";
1313+export * as component from "./inlay/component";
1414+export * as defs from "./inlay/defs";
+39
generated/at/inlay/Binding.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "./defs.defs";
77+88+const $nsid = "at.inlay.Binding";
99+1010+export { $nsid };
1111+1212+/** Data placeholder resolved by the host during deserialization. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({ path: l.array(l.string({ maxLength: 256 })) }),
1717+ l.payload(
1818+ "application/json",
1919+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2020+ )
2121+);
2222+export { main };
2323+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<
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+>;
3535+3636+export const $lxm = main.nsid,
3737+ $params = main.parameters,
3838+ $input = main.input,
3939+ $output = main.output;
+6
generated/at/inlay/Binding.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Binding.defs";
66+export * as $defs from "./Binding.defs";
+43
generated/at/inlay/Fragment.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "./defs.defs";
77+88+const $nsid = "at.inlay.Fragment";
99+1010+export { $nsid };
1111+1212+/** Renders children without a wrapper element. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({
1717+ children: l.array(
1818+ l.ref<InlayDefs.Element>((() => InlayDefs.element) as any)
1919+ ),
2020+ }),
2121+ l.payload(
2222+ "application/json",
2323+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2424+ )
2525+);
2626+export { main };
2727+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<
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+>;
3939+4040+export const $lxm = main.nsid,
4141+ $params = main.parameters,
4242+ $input = main.input,
4343+ $output = main.output;
+6
generated/at/inlay/Fragment.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Fragment.defs";
66+export * as $defs from "./Fragment.defs";
+46
generated/at/inlay/Maybe.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "./defs.defs";
77+88+const $nsid = "at.inlay.Maybe";
99+1010+export { $nsid };
1111+1212+/** Renders children if all bindings resolve; otherwise renders fallback. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({
1717+ children: l.array(
1818+ l.ref<InlayDefs.Element>((() => InlayDefs.element) as any)
1919+ ),
2020+ fallback: l.optional(
2121+ l.ref<InlayDefs.Element>((() => InlayDefs.element) as any)
2222+ ),
2323+ }),
2424+ l.payload(
2525+ "application/json",
2626+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2727+ )
2828+);
2929+export { main };
3030+3131+export type $Params = l.InferMethodParams<typeof main>;
3232+export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
3333+export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<
3434+ typeof main,
3535+ B
3636+>;
3737+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
3838+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3939+ typeof main,
4040+ B
4141+>;
4242+4343+export const $lxm = main.nsid,
4444+ $params = main.parameters,
4545+ $input = main.input,
4646+ $output = main.output;
+6
generated/at/inlay/Maybe.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Maybe.defs";
66+export * as $defs from "./Maybe.defs";
+41
generated/at/inlay/Missing.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "./defs.defs";
77+88+const $nsid = "at.inlay.Missing";
99+1010+export { $nsid };
1111+1212+/** Signals missing data. Components return this when a required value is absent. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({
1717+ path: l.array(l.string({ maxLength: 256 }), { minLength: 1 }),
1818+ }),
1919+ l.payload(
2020+ "application/json",
2121+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2222+ )
2323+);
2424+export { main };
2525+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<
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+>;
3737+3838+export const $lxm = main.nsid,
3939+ $params = main.parameters,
4040+ $input = main.input,
4141+ $output = main.output;
+6
generated/at/inlay/Missing.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Missing.defs";
66+export * as $defs from "./Missing.defs";
+44
generated/at/inlay/Placeholder.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "./defs.defs";
77+88+const $nsid = "at.inlay.Placeholder";
99+1010+export { $nsid };
1111+1212+/** Shows fallback content while children are loading. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({
1717+ children: l.array(
1818+ l.ref<InlayDefs.Element>((() => InlayDefs.element) as any)
1919+ ),
2020+ fallback: l.ref<InlayDefs.Element>((() => InlayDefs.element) as any),
2121+ }),
2222+ l.payload(
2323+ "application/json",
2424+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2525+ )
2626+);
2727+export { main };
2828+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<
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+>;
4040+4141+export const $lxm = main.nsid,
4242+ $params = main.parameters,
4343+ $input = main.input,
4444+ $output = main.output;
+6
generated/at/inlay/Placeholder.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Placeholder.defs";
66+export * as $defs from "./Placeholder.defs";
+39
generated/at/inlay/Slot.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "./defs.defs";
77+88+const $nsid = "at.inlay.Slot";
99+1010+export { $nsid };
1111+1212+/** Opaque reference to a stashed element during XRPC calls. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({ id: l.string({ maxLength: 256 }) }),
1717+ l.payload(
1818+ "application/json",
1919+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2020+ )
2121+);
2222+export { main };
2323+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<
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+>;
3535+3636+export const $lxm = main.nsid,
3737+ $params = main.parameters,
3838+ $input = main.input,
3939+ $output = main.output;
+6
generated/at/inlay/Slot.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Slot.defs";
66+export * as $defs from "./Slot.defs";
+42
generated/at/inlay/Throw.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "./defs.defs";
77+88+const $nsid = "at.inlay.Throw";
99+1010+export { $nsid };
1111+1212+/** Error node produced when component resolution fails. The host decides how to render it. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({
1717+ message: l.string({ maxLength: 10000 }),
1818+ stack: l.optional(l.string({ maxLength: 100000 })),
1919+ }),
2020+ l.payload(
2121+ "application/json",
2222+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2323+ )
2424+);
2525+export { main };
2626+2727+export type $Params = l.InferMethodParams<typeof main>;
2828+export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
2929+export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<
3030+ typeof main,
3131+ B
3232+>;
3333+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
3434+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3535+ typeof main,
3636+ B
3737+>;
3838+3939+export const $lxm = main.nsid,
4040+ $params = main.parameters,
4141+ $input = main.input,
4242+ $output = main.output;
+6
generated/at/inlay/Throw.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Throw.defs";
66+export * as $defs from "./Throw.defs";
+305
generated/at/inlay/component.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "./defs.defs";
77+88+const $nsid = "at.inlay.component";
99+1010+export { $nsid };
1111+1212+/** Component record - declares an implementation of a type */
1313+type Main = {
1414+ $type: "at.inlay.component";
1515+1616+ /**
1717+ * NSID this component implements (also the XRPC procedure)
1818+ */
1919+ type: l.NsidString;
2020+2121+ /**
2222+ * How this component is rendered. Omit for primitives rendered by the host.
2323+ */
2424+ body?:
2525+ | l.$Typed<BodyExternal>
2626+ | l.$Typed<BodyTemplate>
2727+ | l.Unknown$TypedObject;
2828+2929+ /**
3030+ * What kinds of pages this component is a view for
3131+ */
3232+ view?: (
3333+ | l.$Typed<ViewRecord>
3434+ | l.$Typed<ViewCollection>
3535+ | l.$Typed<ViewIdentity>
3636+ | l.Unknown$TypedObject
3737+ )[];
3838+3939+ /**
4040+ * Data types this component can render. Used for data-driven discovery.
4141+ */
4242+ accepts?: AcceptsEntry[];
4343+4444+ /**
4545+ * Ordered list of pack URIs (import stack). First pack that exports an NSID wins.
4646+ */
4747+ imports?: l.AtUriString[];
4848+4949+ /**
5050+ * Platform-managed deployment metadata
5151+ */
5252+ via?: l.$Typed<InlayDefs.ViaValtown> | l.Unknown$TypedObject;
5353+ description?: string;
5454+ createdAt?: l.DatetimeString;
5555+5656+ /**
5757+ * Last update timestamp. Set by the publish flow to bust cached responses.
5858+ */
5959+ updatedAt?: l.DatetimeString;
6060+};
6161+6262+export type { Main };
6363+6464+/** Component record - declares an implementation of a type */
6565+const main = l.record<"tid", Main>(
6666+ "tid",
6767+ $nsid,
6868+ l.object({
6969+ type: l.string({ format: "nsid" }),
7070+ body: l.optional(
7171+ l.typedUnion(
7272+ [
7373+ l.typedRef<BodyExternal>((() => bodyExternal) as any),
7474+ l.typedRef<BodyTemplate>((() => bodyTemplate) as any),
7575+ ],
7676+ false
7777+ )
7878+ ),
7979+ view: l.optional(
8080+ l.array(
8181+ l.typedUnion(
8282+ [
8383+ l.typedRef<ViewRecord>((() => viewRecord) as any),
8484+ l.typedRef<ViewCollection>((() => viewCollection) as any),
8585+ l.typedRef<ViewIdentity>((() => viewIdentity) as any),
8686+ ],
8787+ false
8888+ )
8989+ )
9090+ ),
9191+ accepts: l.optional(
9292+ l.array(l.ref<AcceptsEntry>((() => acceptsEntry) as any))
9393+ ),
9494+ imports: l.optional(l.array(l.string({ format: "at-uri" }))),
9595+ via: l.optional(
9696+ l.typedUnion(
9797+ [l.typedRef<InlayDefs.ViaValtown>((() => InlayDefs.viaValtown) as any)],
9898+ false
9999+ )
100100+ ),
101101+ description: l.optional(l.string({ maxGraphemes: 1000, maxLength: 10000 })),
102102+ createdAt: l.optional(l.string({ format: "datetime" })),
103103+ updatedAt: l.optional(l.string({ format: "datetime" })),
104104+ })
105105+);
106106+107107+export { main };
108108+109109+export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),
110110+ $build = /*#__PURE__*/ main.build.bind(main),
111111+ $type = /*#__PURE__*/ main.$type;
112112+export const $assert = /*#__PURE__*/ main.assert.bind(main),
113113+ $check = /*#__PURE__*/ main.check.bind(main),
114114+ $cast = /*#__PURE__*/ main.cast.bind(main),
115115+ $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),
116116+ $matches = /*#__PURE__*/ main.matches.bind(main),
117117+ $parse = /*#__PURE__*/ main.parse.bind(main),
118118+ $safeParse = /*#__PURE__*/ main.safeParse.bind(main),
119119+ $validate = /*#__PURE__*/ main.validate.bind(main),
120120+ $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
121121+122122+/** Component rendered by calling a remote XRPC endpoint */
123123+type BodyExternal = {
124124+ $type?: "at.inlay.component#bodyExternal";
125125+126126+ /**
127127+ * DID of the service hosting this component
128128+ */
129129+ did: l.DidString;
130130+};
131131+132132+export type { BodyExternal };
133133+134134+/** Component rendered by calling a remote XRPC endpoint */
135135+const bodyExternal = l.typedObject<BodyExternal>(
136136+ $nsid,
137137+ "bodyExternal",
138138+ l.object({ did: l.string({ format: "did" }) })
139139+);
140140+141141+export { bodyExternal };
142142+143143+/** Component rendered by the host from a serialized element tree */
144144+type BodyTemplate = {
145145+ $type?: "at.inlay.component#bodyTemplate";
146146+147147+ /**
148148+ * Serialized element tree with bindings
149149+ */
150150+ node: l.LexMap;
151151+};
152152+153153+export type { BodyTemplate };
154154+155155+/** Component rendered by the host from a serialized element tree */
156156+const bodyTemplate = l.typedObject<BodyTemplate>(
157157+ $nsid,
158158+ "bodyTemplate",
159159+ l.object({ node: l.lexMap() })
160160+);
161161+162162+export { bodyTemplate };
163163+164164+/** Component is a view for individual records of a collection. Omit collection for a generic record view. */
165165+type ViewRecord = {
166166+ $type?: "at.inlay.component#viewRecord";
167167+168168+ /**
169169+ * The collection this component views. Omit for any-collection.
170170+ */
171171+ collection?: l.NsidString;
172172+};
173173+174174+export type { ViewRecord };
175175+176176+/** Component is a view for individual records of a collection. Omit collection for a generic record view. */
177177+const viewRecord = l.typedObject<ViewRecord>(
178178+ $nsid,
179179+ "viewRecord",
180180+ l.object({ collection: l.optional(l.string({ format: "nsid" })) })
181181+);
182182+183183+export { viewRecord };
184184+185185+/** Component is a view for a collection listing. Omit collection for a generic collection view. */
186186+type ViewCollection = {
187187+ $type?: "at.inlay.component#viewCollection";
188188+189189+ /**
190190+ * The collection this component lists. Omit for any-collection.
191191+ */
192192+ collection?: l.NsidString;
193193+};
194194+195195+export type { ViewCollection };
196196+197197+/** Component is a view for a collection listing. Omit collection for a generic collection view. */
198198+const viewCollection = l.typedObject<ViewCollection>(
199199+ $nsid,
200200+ "viewCollection",
201201+ l.object({ collection: l.optional(l.string({ format: "nsid" })) })
202202+);
203203+204204+export { viewCollection };
205205+206206+/** Component is a view for an identity (person/DID). */
207207+type ViewIdentity = { $type?: "at.inlay.component#viewIdentity" };
208208+209209+export type { ViewIdentity };
210210+211211+/** Component is a view for an identity (person/DID). */
212212+const viewIdentity = l.typedObject<ViewIdentity>(
213213+ $nsid,
214214+ "viewIdentity",
215215+ l.object({})
216216+);
217217+218218+export { viewIdentity };
219219+220220+/** Declares a data type this component can handle, routed to a specific prop. */
221221+type AcceptsEntry = {
222222+ $type?: "at.inlay.component#acceptsEntry";
223223+224224+ /**
225225+ * Lexicon field type.
226226+ */
227227+ type:
228228+ | "string"
229229+ | "integer"
230230+ | "boolean"
231231+ | "blob"
232232+ | "cid-link"
233233+ | "bytes"
234234+ | l.UnknownString;
235235+236236+ /**
237237+ * String format constraint. Only applies when type is 'string'.
238238+ */
239239+ format?:
240240+ | "at-uri"
241241+ | "did"
242242+ | "datetime"
243243+ | "uri"
244244+ | "handle"
245245+ | "at-identifier"
246246+ | "nsid"
247247+ | "cid"
248248+ | "language"
249249+ | "record-key"
250250+ | "tid"
251251+ | l.UnknownString;
252252+253253+ /**
254254+ * Prop to bind matched data to.
255255+ */
256256+ prop: string;
257257+258258+ /**
259259+ * For at-uri strings, restricts to this collection.
260260+ */
261261+ collection?: l.NsidString;
262262+};
263263+264264+export type { AcceptsEntry };
265265+266266+/** Declares a data type this component can handle, routed to a specific prop. */
267267+const acceptsEntry = l.typedObject<AcceptsEntry>(
268268+ $nsid,
269269+ "acceptsEntry",
270270+ l.object({
271271+ type: l.string<{
272272+ maxLength: 128;
273273+ knownValues: [
274274+ "string",
275275+ "integer",
276276+ "boolean",
277277+ "blob",
278278+ "cid-link",
279279+ "bytes",
280280+ ];
281281+ }>({ maxLength: 128 }),
282282+ format: l.optional(
283283+ l.string<{
284284+ maxLength: 64;
285285+ knownValues: [
286286+ "at-uri",
287287+ "did",
288288+ "datetime",
289289+ "uri",
290290+ "handle",
291291+ "at-identifier",
292292+ "nsid",
293293+ "cid",
294294+ "language",
295295+ "record-key",
296296+ "tid",
297297+ ];
298298+ }>({ maxLength: 64 })
299299+ ),
300300+ prop: l.string({ maxLength: 256 }),
301301+ collection: l.optional(l.string({ format: "nsid" })),
302302+ })
303303+);
304304+305305+export { acceptsEntry };
+6
generated/at/inlay/component.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./component.defs";
66+export * as $defs from "./component.defs";
+186
generated/at/inlay/defs.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+77+const $nsid = "at.inlay.defs";
88+99+export { $nsid };
1010+1111+type ViaValtown = {
1212+ $type?: "at.inlay.defs#viaValtown";
1313+1414+ /**
1515+ * Val Town val UUID
1616+ */
1717+ valId: string;
1818+};
1919+2020+export type { ViaValtown };
2121+2222+const viaValtown = l.typedObject<ViaValtown>(
2323+ $nsid,
2424+ "viaValtown",
2525+ l.object({ valId: l.string({ maxLength: 128 }) })
2626+);
2727+2828+export { viaValtown };
2929+3030+/** Cache tag: depend on a specific record, collection, or identity. */
3131+type TagRecord = {
3232+ $type?: "at.inlay.defs#tagRecord";
3333+3434+ /**
3535+ * AT URI at record, collection, or identity granularity
3636+ */
3737+ uri: l.AtUriString;
3838+};
3939+4040+export type { TagRecord };
4141+4242+/** Cache tag: depend on a specific record, collection, or identity. */
4343+const tagRecord = l.typedObject<TagRecord>(
4444+ $nsid,
4545+ "tagRecord",
4646+ l.object({ uri: l.string({ format: "at-uri" }) })
4747+);
4848+4949+export { tagRecord };
5050+5151+/** Cache tag: depend on backlink relationships to a subject. */
5252+type TagLink = {
5353+ $type?: "at.inlay.defs#tagLink";
5454+5555+ /**
5656+ * Subject AT URI that is linked to
5757+ */
5858+ subject: l.AtUriString;
5959+6060+ /**
6161+ * Collection NSID of the linking records. Omit for any collection.
6262+ */
6363+ from?: l.NsidString;
6464+};
6565+6666+export type { TagLink };
6767+6868+/** Cache tag: depend on backlink relationships to a subject. */
6969+const tagLink = l.typedObject<TagLink>(
7070+ $nsid,
7171+ "tagLink",
7272+ l.object({
7373+ subject: l.string({ format: "at-uri" }),
7474+ from: l.optional(l.string({ format: "nsid" })),
7575+ })
7676+);
7777+7878+export { tagLink };
7979+8080+/** Cache lifetime and invalidation tags returned by XRPC components. */
8181+type CachePolicy = {
8282+ $type?: "at.inlay.defs#cachePolicy";
8383+8484+ /**
8585+ * How frequently the underlying data changes
8686+ */
8787+ life?: "seconds" | "minutes" | "hours" | "max" | l.UnknownString;
8888+8989+ /**
9090+ * Data dependencies for cache invalidation
9191+ */
9292+ tags?: (l.$Typed<TagRecord> | l.$Typed<TagLink> | l.Unknown$TypedObject)[];
9393+};
9494+9595+export type { CachePolicy };
9696+9797+/** Cache lifetime and invalidation tags returned by XRPC components. */
9898+const cachePolicy = l.typedObject<CachePolicy>(
9999+ $nsid,
100100+ "cachePolicy",
101101+ l.object({
102102+ life: l.optional(
103103+ l.string<{
104104+ maxLength: 32;
105105+ knownValues: ["seconds", "minutes", "hours", "max"];
106106+ }>({ maxLength: 32 })
107107+ ),
108108+ tags: l.optional(
109109+ l.array(
110110+ l.typedUnion(
111111+ [
112112+ l.typedRef<TagRecord>((() => tagRecord) as any),
113113+ l.typedRef<TagLink>((() => tagLink) as any),
114114+ ],
115115+ false
116116+ )
117117+ )
118118+ ),
119119+ })
120120+);
121121+122122+export { cachePolicy };
123123+124124+/** Standard response from a component render call. */
125125+type Response = {
126126+ $type?: "at.inlay.defs#response";
127127+128128+ /**
129129+ * Rendered element tree
130130+ */
131131+ node: Element;
132132+133133+ /**
134134+ * Cache lifetime and invalidation tags
135135+ */
136136+ cache: CachePolicy;
137137+};
138138+139139+export type { Response };
140140+141141+/** Standard response from a component render call. */
142142+const response = l.typedObject<Response>(
143143+ $nsid,
144144+ "response",
145145+ l.object({
146146+ node: l.ref<Element>((() => element) as any),
147147+ cache: l.ref<CachePolicy>((() => cachePolicy) as any),
148148+ })
149149+);
150150+151151+export { response };
152152+153153+/** A renderable Inlay element. */
154154+type Element = {
155155+ $type?: "at.inlay.defs#element";
156156+157157+ /**
158158+ * NSID of the component to render.
159159+ */
160160+ type: l.NsidString;
161161+162162+ /**
163163+ * Properties to pass to the component.
164164+ */
165165+ props?: l.LexMap;
166166+167167+ /**
168168+ * Stable key that identifies the component among its siblings.
169169+ */
170170+ key?: string;
171171+};
172172+173173+export type { Element };
174174+175175+/** A renderable Inlay element. */
176176+const element = l.typedObject<Element>(
177177+ $nsid,
178178+ "element",
179179+ l.object({
180180+ type: l.string({ format: "nsid" }),
181181+ props: l.optional(l.lexMap()),
182182+ key: l.optional(l.string({ maxLength: 256 })),
183183+ })
184184+);
185185+186186+export { element };
+6
generated/at/inlay/defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./defs.defs";
66+export * as $defs from "./defs.defs";
+80
generated/at/inlay/pack.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+77+const $nsid = "at.inlay.pack";
88+99+export { $nsid };
1010+1111+/** A list of type to component exports */
1212+type Main = {
1313+ $type: "at.inlay.pack";
1414+1515+ /**
1616+ * Short slug for the pack (e.g. "core", "ui")
1717+ */
1818+ name: string;
1919+2020+ /**
2121+ * Type to component mappings
2222+ */
2323+ exports: Export$0[];
2424+ createdAt?: l.DatetimeString;
2525+};
2626+2727+export type { Main };
2828+2929+/** A list of type to component exports */
3030+const main = l.record<"tid", Main>(
3131+ "tid",
3232+ $nsid,
3333+ l.object({
3434+ name: l.string({ maxLength: 64 }),
3535+ exports: l.array(l.ref<Export$0>((() => export$0) as any)),
3636+ createdAt: l.optional(l.string({ format: "datetime" })),
3737+ })
3838+);
3939+4040+export { main };
4141+4242+export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),
4343+ $build = /*#__PURE__*/ main.build.bind(main),
4444+ $type = /*#__PURE__*/ main.$type;
4545+export const $assert = /*#__PURE__*/ main.assert.bind(main),
4646+ $check = /*#__PURE__*/ main.check.bind(main),
4747+ $cast = /*#__PURE__*/ main.cast.bind(main),
4848+ $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),
4949+ $matches = /*#__PURE__*/ main.matches.bind(main),
5050+ $parse = /*#__PURE__*/ main.parse.bind(main),
5151+ $safeParse = /*#__PURE__*/ main.safeParse.bind(main),
5252+ $validate = /*#__PURE__*/ main.validate.bind(main),
5353+ $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
5454+5555+type Export$0 = {
5656+ $type?: "at.inlay.pack#export";
5757+5858+ /**
5959+ * NSID of the type being exported
6060+ */
6161+ type: l.NsidString;
6262+6363+ /**
6464+ * AT-URI of the component record
6565+ */
6666+ component: l.AtUriString;
6767+};
6868+6969+export type { Export$0 as Export };
7070+7171+const export$0 = l.typedObject<Export$0>(
7272+ $nsid,
7373+ "export",
7474+ l.object({
7575+ type: l.string({ format: "nsid" }),
7676+ component: l.string({ format: "at-uri" }),
7777+ })
7878+);
7979+8080+export { export$0 as "export" };
+6
generated/at/inlay/pack.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./pack.defs";
66+export * as $defs from "./pack.defs";
+6
generated/index.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * as at from "./at";
66+export * as org from "./org";
+5
generated/org.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * as atsui from "./org/atsui";
+22
generated/org/atsui.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * as Avatar from "./atsui/Avatar";
66+export * as Blob from "./atsui/Blob";
77+export * as Caption from "./atsui/Caption";
88+export * as Clip from "./atsui/Clip";
99+export * as Cover from "./atsui/Cover";
1010+export * as Editor from "./atsui/Editor";
1111+export * as Fill from "./atsui/Fill";
1212+export * as Grid from "./atsui/Grid";
1313+export * as Heading from "./atsui/Heading";
1414+export * as Link from "./atsui/Link";
1515+export * as List from "./atsui/List";
1616+export * as Record from "./atsui/Record";
1717+export * as Row from "./atsui/Row";
1818+export * as Stack from "./atsui/Stack";
1919+export * as Tabs from "./atsui/Tabs";
2020+export * as Text from "./atsui/Text";
2121+export * as Timestamp from "./atsui/Timestamp";
2222+export * as Title from "./atsui/Title";
+52
generated/org/atsui/Avatar.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "../../at/inlay/defs.defs";
77+88+const $nsid = "org.atsui.Avatar";
99+1010+export { $nsid };
1111+1212+/** Circular profile image at a fixed size. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({
1717+ src: l.lexMap(),
1818+ did: l.optional(l.string({ format: "did" })),
1919+ size: l.optional(
2020+ l.withDefault(
2121+ l.string<{
2222+ maxLength: 32;
2323+ knownValues: ["xsmall", "small", "medium", "large"];
2424+ }>({ maxLength: 32 }),
2525+ "medium"
2626+ )
2727+ ),
2828+ lift: l.optional(l.boolean()),
2929+ }),
3030+ l.payload(
3131+ "application/json",
3232+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
3333+ )
3434+);
3535+export { main };
3636+3737+export type $Params = l.InferMethodParams<typeof main>;
3838+export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
3939+export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<
4040+ typeof main,
4141+ B
4242+>;
4343+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
4444+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
4545+ typeof main,
4646+ B
4747+>;
4848+4949+export const $lxm = main.nsid,
5050+ $params = main.parameters,
5151+ $input = main.input,
5252+ $output = main.output;
+6
generated/org/atsui/Avatar.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Avatar.defs";
66+export * as $defs from "./Avatar.defs";
+63
generated/org/atsui/Blob.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "../../at/inlay/defs.defs";
77+88+const $nsid = "org.atsui.Blob";
99+1010+export { $nsid };
1111+1212+/** Displays an AT Protocol blob as an image. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({
1717+ src: l.lexMap(),
1818+ did: l.string({ format: "did" }),
1919+ ratio: l.optional(l.ref<AspectRatio>((() => aspectRatio) as any)),
2020+ fit: l.optional(l.enum(["cover", "contain"])),
2121+ }),
2222+ l.payload(
2323+ "application/json",
2424+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2525+ )
2626+);
2727+export { main };
2828+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<
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+>;
4040+4141+export const $lxm = main.nsid,
4242+ $params = main.parameters,
4343+ $input = main.input,
4444+ $output = main.output;
4545+4646+type AspectRatio = {
4747+ $type?: "org.atsui.Blob#aspectRatio";
4848+ width: number;
4949+ height: number;
5050+};
5151+5252+export type { AspectRatio };
5353+5454+const aspectRatio = l.typedObject<AspectRatio>(
5555+ $nsid,
5656+ "aspectRatio",
5757+ l.object({
5858+ width: l.integer({ minimum: 1 }),
5959+ height: l.integer({ minimum: 1 }),
6060+ })
6161+);
6262+6363+export { aspectRatio };
+6
generated/org/atsui/Blob.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Blob.defs";
66+export * as $defs from "./Blob.defs";
+39
generated/org/atsui/Caption.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "../../at/inlay/defs.defs";
77+88+const $nsid = "org.atsui.Caption";
99+1010+export { $nsid };
1111+1212+/** Secondary text for timestamps, metadata, or supplementary information. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({ children: l.lexMap() }),
1717+ l.payload(
1818+ "application/json",
1919+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2020+ )
2121+);
2222+export { main };
2323+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<
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+>;
3535+3636+export const $lxm = main.nsid,
3737+ $params = main.parameters,
3838+ $input = main.input,
3939+ $output = main.output;
+6
generated/org/atsui/Caption.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Caption.defs";
66+export * as $defs from "./Caption.defs";
+64
generated/org/atsui/Clip.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "../../at/inlay/defs.defs";
77+88+const $nsid = "org.atsui.Clip";
99+1010+export { $nsid };
1111+1212+/** Clips child content to a height range relative to its own width. Use min and max to bound the box proportions. Set both to the same value to force an exact aspect ratio. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({
1717+ min: l.optional(l.ref<AspectRatio>((() => aspectRatio) as any)),
1818+ max: l.optional(l.ref<AspectRatio>((() => aspectRatio) as any)),
1919+ children: l.array(
2020+ l.ref<InlayDefs.Element>((() => InlayDefs.element) as any)
2121+ ),
2222+ }),
2323+ l.payload(
2424+ "application/json",
2525+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2626+ )
2727+);
2828+export { main };
2929+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<
3333+ typeof main,
3434+ B
3535+>;
3636+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
3737+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3838+ typeof main,
3939+ B
4040+>;
4141+4242+export const $lxm = main.nsid,
4343+ $params = main.parameters,
4444+ $input = main.input,
4545+ $output = main.output;
4646+4747+type AspectRatio = {
4848+ $type?: "org.atsui.Clip#aspectRatio";
4949+ width: number;
5050+ height: number;
5151+};
5252+5353+export type { AspectRatio };
5454+5555+const aspectRatio = l.typedObject<AspectRatio>(
5656+ $nsid,
5757+ "aspectRatio",
5858+ l.object({
5959+ width: l.integer({ minimum: 1 }),
6060+ height: l.integer({ minimum: 1 }),
6161+ })
6262+);
6363+6464+export { aspectRatio };
+6
generated/org/atsui/Clip.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Clip.defs";
66+export * as $defs from "./Clip.defs";
+42
generated/org/atsui/Cover.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "../../at/inlay/defs.defs";
77+88+const $nsid = "org.atsui.Cover";
99+1010+export { $nsid };
1111+1212+/** Full-width background image. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({
1717+ src: l.lexMap(),
1818+ did: l.optional(l.string({ format: "did" })),
1919+ }),
2020+ l.payload(
2121+ "application/json",
2222+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2323+ )
2424+);
2525+export { main };
2626+2727+export type $Params = l.InferMethodParams<typeof main>;
2828+export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
2929+export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<
3030+ typeof main,
3131+ B
3232+>;
3333+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
3434+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
3535+ typeof main,
3636+ B
3737+>;
3838+3939+export const $lxm = main.nsid,
4040+ $params = main.parameters,
4141+ $input = main.input,
4242+ $output = main.output;
+6
generated/org/atsui/Cover.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Cover.defs";
66+export * as $defs from "./Cover.defs";
+39
generated/org/atsui/Editor.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "../../at/inlay/defs.defs";
77+88+const $nsid = "org.atsui.Editor";
99+1010+export { $nsid };
1111+1212+/** Template editor for component records. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({ uri: l.string({ format: "at-uri" }) }),
1717+ l.payload(
1818+ "application/json",
1919+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2020+ )
2121+);
2222+export { main };
2323+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<
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+>;
3535+3636+export const $lxm = main.nsid,
3737+ $params = main.parameters,
3838+ $input = main.input,
3939+ $output = main.output;
+6
generated/org/atsui/Editor.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Editor.defs";
66+export * as $defs from "./Editor.defs";
+43
generated/org/atsui/Fill.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "../../at/inlay/defs.defs";
77+88+const $nsid = "org.atsui.Fill";
99+1010+export { $nsid };
1111+1212+/** Takes remaining space on the parent's main axis. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({
1717+ children: l.array(
1818+ l.ref<InlayDefs.Element>((() => InlayDefs.element) as any)
1919+ ),
2020+ }),
2121+ l.payload(
2222+ "application/json",
2323+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2424+ )
2525+);
2626+export { main };
2727+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<
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+>;
3939+4040+export const $lxm = main.nsid,
4141+ $params = main.parameters,
4242+ $input = main.input,
4343+ $output = main.output;
+6
generated/org/atsui/Fill.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Fill.defs";
66+export * as $defs from "./Fill.defs";
+53
generated/org/atsui/Grid.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "../../at/inlay/defs.defs";
77+88+const $nsid = "org.atsui.Grid";
99+1010+export { $nsid };
1111+1212+/** Arranges children in a grid of equal columns. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({
1717+ columns: l.optional(l.withDefault(l.integer({ minimum: 1 }), 3)),
1818+ gap: l.optional(
1919+ l.withDefault(
2020+ l.string<{
2121+ maxLength: 32;
2222+ knownValues: ["none", "small", "medium", "large"];
2323+ }>({ maxLength: 32 }),
2424+ "small"
2525+ )
2626+ ),
2727+ children: l.array(
2828+ l.ref<InlayDefs.Element>((() => InlayDefs.element) as any)
2929+ ),
3030+ }),
3131+ l.payload(
3232+ "application/json",
3333+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
3434+ )
3535+);
3636+export { main };
3737+3838+export type $Params = l.InferMethodParams<typeof main>;
3939+export type $Input<B = l.BinaryData> = l.InferMethodInput<typeof main, B>;
4040+export type $InputBody<B = l.BinaryData> = l.InferMethodInputBody<
4141+ typeof main,
4242+ B
4343+>;
4444+export type $Output<B = l.BinaryData> = l.InferMethodOutput<typeof main, B>;
4545+export type $OutputBody<B = l.BinaryData> = l.InferMethodOutputBody<
4646+ typeof main,
4747+ B
4848+>;
4949+5050+export const $lxm = main.nsid,
5151+ $params = main.parameters,
5252+ $input = main.input,
5353+ $output = main.output;
+6
generated/org/atsui/Grid.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Grid.defs";
66+export * as $defs from "./Grid.defs";
+39
generated/org/atsui/Heading.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "../../at/inlay/defs.defs";
77+88+const $nsid = "org.atsui.Heading";
99+1010+export { $nsid };
1111+1212+/** A section label or secondary heading. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({ children: l.lexMap() }),
1717+ l.payload(
1818+ "application/json",
1919+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2020+ )
2121+);
2222+export { main };
2323+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<
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+>;
3535+3636+export const $lxm = main.nsid,
3737+ $params = main.parameters,
3838+ $input = main.input,
3939+ $output = main.output;
+6
generated/org/atsui/Heading.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Heading.defs";
66+export * as $defs from "./Heading.defs";
+47
generated/org/atsui/Link.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "../../at/inlay/defs.defs";
77+88+const $nsid = "org.atsui.Link";
99+1010+export { $nsid };
1111+1212+/** A hyperlink. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({
1717+ uri: l.string({ format: "uri" }),
1818+ decoration: l.optional(
1919+ l.string<{ maxLength: 32; knownValues: ["none", "underline"] }>({
2020+ maxLength: 32,
2121+ })
2222+ ),
2323+ children: l.optional(l.lexMap()),
2424+ }),
2525+ l.payload(
2626+ "application/json",
2727+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2828+ )
2929+);
3030+export { main };
3131+3232+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+>;
4343+4444+export const $lxm = main.nsid,
4545+ $params = main.parameters,
4646+ $input = main.input,
4747+ $output = main.output;
+6
generated/org/atsui/Link.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Link.defs";
66+export * as $defs from "./Link.defs";
+72
generated/org/atsui/List.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "../../at/inlay/defs.defs";
77+88+const $nsid = "org.atsui.List";
99+1010+export { $nsid };
1111+1212+/** Scrollable vertical list with paginated data source. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({
1717+ query: l.string({ format: "nsid" }),
1818+ did: l.string({ format: "did" }),
1919+ input: l.optional(l.lexMap()),
2020+ }),
2121+ l.payload(
2222+ "application/json",
2323+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2424+ )
2525+);
2626+export { main };
2727+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<
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+>;
3939+4040+export const $lxm = main.nsid,
4141+ $params = main.parameters,
4242+ $input = main.input,
4343+ $output = main.output;
4444+4545+/** Response shape from a List data source query. */
4646+type Page = {
4747+ $type?: "org.atsui.List#page";
4848+4949+ /**
5050+ * Elements to render as list rows.
5151+ */
5252+ items: InlayDefs.Element[];
5353+5454+ /**
5555+ * Opaque pagination token. Absent means no more items.
5656+ */
5757+ cursor?: string;
5858+};
5959+6060+export type { Page };
6161+6262+/** Response shape from a List data source query. */
6363+const page = l.typedObject<Page>(
6464+ $nsid,
6565+ "page",
6666+ l.object({
6767+ items: l.array(l.ref<InlayDefs.Element>((() => InlayDefs.element) as any)),
6868+ cursor: l.optional(l.string({ maxLength: 512 })),
6969+ })
7070+);
7171+7272+export { page };
+6
generated/org/atsui/List.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./List.defs";
66+export * as $defs from "./List.defs";
+39
generated/org/atsui/Record.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "../../at/inlay/defs.defs";
77+88+const $nsid = "org.atsui.Record";
99+1010+export { $nsid };
1111+1212+/** Renders any record. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({ uri: l.string({ format: "at-uri" }) }),
1717+ l.payload(
1818+ "application/json",
1919+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2020+ )
2121+);
2222+export { main };
2323+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<
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+>;
3535+3636+export const $lxm = main.nsid,
3737+ $params = main.parameters,
3838+ $input = main.input,
3939+ $output = main.output;
+6
generated/org/atsui/Record.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Record.defs";
66+export * as $defs from "./Record.defs";
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Row.defs";
66+export * as $defs from "./Row.defs";
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Stack.defs";
66+export * as $defs from "./Stack.defs";
+72
generated/org/atsui/Tabs.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "../../at/inlay/defs.defs";
77+88+const $nsid = "org.atsui.Tabs";
99+1010+export { $nsid };
1111+1212+/** Tabbed content with instant client-side switching. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({ items: l.array(l.ref<Tab>((() => tab) as any)) }),
1717+ l.payload(
1818+ "application/json",
1919+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2020+ )
2121+);
2222+export { main };
2323+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<
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+>;
3535+3636+export const $lxm = main.nsid,
3737+ $params = main.parameters,
3838+ $input = main.input,
3939+ $output = main.output;
4040+4141+type Tab = {
4242+ $type?: "org.atsui.Tabs#tab";
4343+4444+ /**
4545+ * Stable key that identifies the tab among its siblings.
4646+ */
4747+ key: string;
4848+4949+ /**
5050+ * Display label for the tab.
5151+ */
5252+ label: string;
5353+5454+ /**
5555+ * Element to render as tab content.
5656+ */
5757+ content: InlayDefs.Element;
5858+};
5959+6060+export type { Tab };
6161+6262+const tab = l.typedObject<Tab>(
6363+ $nsid,
6464+ "tab",
6565+ l.object({
6666+ key: l.string({ maxLength: 64 }),
6767+ label: l.string({ maxLength: 128 }),
6868+ content: l.ref<InlayDefs.Element>((() => InlayDefs.element) as any),
6969+ })
7070+);
7171+7272+export { tab };
+6
generated/org/atsui/Tabs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Tabs.defs";
66+export * as $defs from "./Tabs.defs";
+39
generated/org/atsui/Text.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "../../at/inlay/defs.defs";
77+88+const $nsid = "org.atsui.Text";
99+1010+export { $nsid };
1111+1212+/** Body text. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({ children: l.lexMap() }),
1717+ l.payload(
1818+ "application/json",
1919+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2020+ )
2121+);
2222+export { main };
2323+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<
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+>;
3535+3636+export const $lxm = main.nsid,
3737+ $params = main.parameters,
3838+ $input = main.input,
3939+ $output = main.output;
+6
generated/org/atsui/Text.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Text.defs";
66+export * as $defs from "./Text.defs";
+39
generated/org/atsui/Timestamp.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "../../at/inlay/defs.defs";
77+88+const $nsid = "org.atsui.Timestamp";
99+1010+export { $nsid };
1111+1212+/** Displays a datetime value. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({ value: l.string({ format: "datetime" }) }),
1717+ l.payload(
1818+ "application/json",
1919+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2020+ )
2121+);
2222+export { main };
2323+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<
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+>;
3535+3636+export const $lxm = main.nsid,
3737+ $params = main.parameters,
3838+ $input = main.input,
3939+ $output = main.output;
+6
generated/org/atsui/Timestamp.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Timestamp.defs";
66+export * as $defs from "./Timestamp.defs";
+39
generated/org/atsui/Title.defs.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from "@atproto/lex";
66+import * as InlayDefs from "../../at/inlay/defs.defs";
77+88+const $nsid = "org.atsui.Title";
99+1010+export { $nsid };
1111+1212+/** The primary heading for a card or section. */
1313+const main = l.procedure(
1414+ $nsid,
1515+ l.params(),
1616+ l.jsonPayload({ children: l.lexMap() }),
1717+ l.payload(
1818+ "application/json",
1919+ l.ref<InlayDefs.Response>((() => InlayDefs.response) as any)
2020+ )
2121+);
2222+export { main };
2323+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<
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+>;
3535+3636+export const $lxm = main.nsid,
3737+ $params = main.parameters,
3838+ $input = main.input,
3939+ $output = main.output;
+6
generated/org/atsui/Title.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from "./Title.defs";
66+export * as $defs from "./Title.defs";