index.ts
1 export { deserialize } from "./deserialize"; 2 export { SchemaError } from "./errors/SchemaError"; 3 4 // Decorators that can be applie d to fields of your model. 5 export { defaultValue } from "./fields/defaultValue"; 6 export { deserializeWith } from "./fields/deserializeWith"; 7 export { rename } from "./fields/rename"; 8 9 /** 10 * `t` as in "types", these are functions to generate your model's schema. 11 */ 12 export * as t from "./schema"; 13 14 /** 15 * `u` as in "utilities", these are some useful functions you can 16 * use in various situations mostly with custom deserializers. 17 */ 18 export * as u from "./utils";