1 | export interface TransformOptions {
|
2 | since?: number;
|
3 | until?: number;
|
4 | groups?: string[];
|
5 | toClassOnly?: boolean;
|
6 | toPlainOnly?: boolean;
|
7 | }
|
8 | export interface TypeOptions {
|
9 | discriminator?: Discriminator;
|
10 | |
11 |
|
12 |
|
13 | keepDiscriminatorProperty?: boolean;
|
14 | }
|
15 | export interface TypeHelpOptions {
|
16 | newObject: any;
|
17 | object: Object;
|
18 | property: string;
|
19 | }
|
20 | export interface ExposeOptions {
|
21 | name?: string;
|
22 | since?: number;
|
23 | until?: number;
|
24 | groups?: string[];
|
25 | toClassOnly?: boolean;
|
26 | toPlainOnly?: boolean;
|
27 | }
|
28 | export interface ExcludeOptions {
|
29 | toClassOnly?: boolean;
|
30 | toPlainOnly?: boolean;
|
31 | }
|
32 | export interface Discriminator {
|
33 | property: string;
|
34 | subTypes: JsonSubType[];
|
35 | }
|
36 | export interface JsonSubType {
|
37 | value: new (...args: any[]) => any;
|
38 | name: string;
|
39 | }
|