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
56
*/
57
57
type Def = {
58
58
type: LexiconType;
59
59
-
}
59
59
+
};
60
60
61
61
/**
62
62
* Lexicon namespace document structure.
···
344
344
data: unknown,
345
345
def?: keyof T["defs"],
346
346
): ValidationResult<Infer<{ json: T }>>;
347
347
-
}
347
347
+
};
348
348
349
349
class Lexicon<T extends LexiconNamespace> implements LexiconSchema<T> {
350
350
public json: T;
+1
-1
packages/prototypey/core/main.ts
···
1
1
export { lx, fromJSON } from "./lib.ts";
2
2
export { type Infer } from "./infer.ts";
3
3
-
export type * from "@atproto/lexicon";
3
3
+
export type * from "@atproto/lexicon";