tangled
alpha
login
or
join now
tylur.dev
/
prototypey
prototypey.org - atproto lexicon typescript toolkit - mirror https://github.com/tylersayshi/prototypey
1
fork
atom
overview
issues
pulls
pipelines
fix formatting
Tyler
3 months ago
19e45b50
fd184fb5
+3
-3
2 changed files
expand all
collapse all
unified
split
packages
prototypey
core
lib.ts
main.ts
+2
-2
packages/prototypey/core/lib.ts
···
56
*/
57
type Def = {
58
type: LexiconType;
59
-
}
60
61
/**
62
* Lexicon namespace document structure.
···
344
data: unknown,
345
def?: keyof T["defs"],
346
): ValidationResult<Infer<{ json: T }>>;
347
-
}
348
349
class Lexicon<T extends LexiconNamespace> implements LexiconSchema<T> {
350
public json: T;
···
56
*/
57
type Def = {
58
type: LexiconType;
59
+
};
60
61
/**
62
* Lexicon namespace document structure.
···
344
data: unknown,
345
def?: keyof T["defs"],
346
): ValidationResult<Infer<{ json: T }>>;
347
+
};
348
349
class Lexicon<T extends LexiconNamespace> implements LexiconSchema<T> {
350
public json: T;
+1
-1
packages/prototypey/core/main.ts
···
1
export { lx, fromJSON } from "./lib.ts";
2
export { type Infer } from "./infer.ts";
3
-
export type * from "@atproto/lexicon";
···
1
export { lx, fromJSON } from "./lib.ts";
2
export { type Infer } from "./infer.ts";
3
+
export type * from "@atproto/lexicon";