serializr
Version:
Serialize and deserialize complex object graphs to JSON
35 lines (31 loc) • 1.54 kB
text/typescript
/*
* ## Managing model schemas
*/
export { default as createSimpleSchema } from "./api/createSimpleSchema";
export { default as createModelSchema } from "./api/createModelSchema";
export { default as getDefaultModelSchema } from "./api/getDefaultModelSchema";
export { default as setDefaultModelSchema } from "./api/setDefaultModelSchema";
export { default as serializable } from "./api/serializable";
export * from "./api/types";
/*
* ## Serialization and deserialization
*/
export { default as serialize } from "./core/serialize";
export { default as serializeAll } from "./core/serializeAll";
export { default as subSchema } from "./core/subSchema";
export { default as cancelDeserialize } from "./core/cancelDeserialize";
export { default as deserialize } from "./core/deserialize";
export { default as update } from "./core/update";
export { default as primitive } from "./types/primitive";
export { default as identifier } from "./types/identifier";
export { default as date } from "./types/date";
export { default as alias } from "./types/alias";
export { default as custom } from "./types/custom";
export { default as object } from "./types/object";
export { default as optional } from "./types/optional";
export { default as reference } from "./types/reference";
export { default as list } from "./types/list";
export { default as map } from "./types/map";
export { default as mapAsArray } from "./types/mapAsArray";
export { default as raw } from "./types/raw";
export { SKIP, DEFAULT_DISCRIMINATOR_ATTR } from "./constants";