-
Notifications
You must be signed in to change notification settings - Fork 4
/
mod.ts
28 lines (26 loc) · 955 Bytes
/
mod.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2018-2020 Gamebridge.ai authors. All rights reserved. MIT license.
/** This module is browser compatible. */
/** property decorator */
export { SerializeProperty } from "./serialize_property.ts";
/** types */
export type { TransformKey } from "./serializable.ts";
/** abstract class */
export { Serializable } from "./serializable.ts";
/** strategy helper */
export { composeStrategy } from "./strategy/compose_strategy.ts";
/** types */
export type {
FromJSONStrategy,
ToJSONStrategy,
} from "./strategy/compose_strategy.ts";
/** from json strategies */
export { toSerializable } from "./strategy/from_json/to_serializable.ts";
export { createDateStrategy, iso8601Date } from "./strategy/from_json/date.ts";
/** polymorphic classes */
export {
polymorphicClassFromJSON,
PolymorphicResolver,
PolymorphicSwitch,
} from "./polymorphic.ts";
/** types */
export type { InitializerFunction, ResolverFunction } from "./polymorphic.ts";