forked from vega/ts-json-schema-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ts
165 lines (154 loc) · 7.32 KB
/
index.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
export * from "./src/Error/BaseError";
export * from "./src/Error/DiagnosticError";
export * from "./src/Error/LogicError";
export * from "./src/Error/NoRootNamesError";
export * from "./src/Error/NoRootTypeError";
export * from "./src/Error/NoTSConfigError";
export * from "./src/Error/UnknownNodeError";
export * from "./src/Error/UnknownTypeError";
export * from "./src/Config";
export * from "./src/Utils/allOfDefinition";
export * from "./src/Utils/assert";
export * from "./src/Utils/deepMerge";
export * from "./src/Utils/derefType";
export * from "./src/Utils/extractLiterals";
export * from "./src/Utils/formatError";
export * from "./src/Utils/hasJsDocTag";
export * from "./src/Utils/intersectionOfArrays";
export * from "./src/Utils/isAssignableTo";
export * from "./src/Utils/isHidden";
export * from "./src/Utils/modifiers";
export * from "./src/Utils/narrowType";
export * from "./src/Utils/nodeKey";
export * from "./src/Utils/notNever";
export * from "./src/Utils/preserveAnnotation";
export * from "./src/Utils/removeUndefined";
export * from "./src/Utils/removeUnreachable";
export * from "./src/Utils/StringMap";
export * from "./src/Utils/String";
export * from "./src/Utils/symbolAtNode";
export * from "./src/Utils/typeKeys";
export * from "./src/Utils/typeName";
export * from "./src/Utils/uniqueArray";
export * from "./src/Utils/uniqueTypeArray";
export * from "./src/Interfaces/AnnotationsReader";
export * from "./src/Interfaces/MutableParser";
export * from "./src/Schema/Definition";
export * from "./src/Schema/Schema";
export * from "./src/Type/AliasType";
export * from "./src/Type/AnnotatedType";
export * from "./src/Type/AnyType";
export * from "./src/Type/ArrayType";
export * from "./src/Type/BaseType";
export * from "./src/Type/BooleanType";
export * from "./src/Type/DefinitionType";
export * from "./src/Type/EnumType";
export * from "./src/Type/FunctionType";
export * from "./src/Type/HiddenType";
export * from "./src/Type/IntersectionType";
export * from "./src/Type/LiteralType";
export * from "./src/Type/NeverType";
export * from "./src/Type/NullType";
export * from "./src/Type/NumberType";
export * from "./src/Type/ObjectType";
export * from "./src/Type/OptionalType";
export * from "./src/Type/PrimitiveType";
export * from "./src/Type/ReferenceType";
export * from "./src/Type/RestType";
export * from "./src/Type/StringType";
export * from "./src/Type/SymbolType";
export * from "./src/Type/TupleType";
export * from "./src/Type/UndefinedType";
export * from "./src/Type/UnionType";
export * from "./src/Type/UnknownType";
export * from "./src/Type/VoidType";
export * from "./src/AnnotationsReader/BasicAnnotationsReader";
export * from "./src/AnnotationsReader/ExtendedAnnotationsReader";
export * from "./src/TypeFormatter";
export * from "./src/SubTypeFormatter";
export * from "./src/ChainTypeFormatter";
export * from "./src/MutableTypeFormatter";
export * from "./src/CircularReferenceTypeFormatter";
export * from "./src/TypeFormatter/AliasTypeFormatter";
export * from "./src/TypeFormatter/AnnotatedTypeFormatter";
export * from "./src/TypeFormatter/AnyTypeFormatter";
export * from "./src/TypeFormatter/ArrayTypeFormatter";
export * from "./src/TypeFormatter/BooleanTypeFormatter";
export * from "./src/TypeFormatter/DefinitionTypeFormatter";
export * from "./src/TypeFormatter/EnumTypeFormatter";
export * from "./src/TypeFormatter/HiddenTypeFormatter";
export * from "./src/TypeFormatter/IntersectionTypeFormatter";
export * from "./src/TypeFormatter/LiteralTypeFormatter";
export * from "./src/TypeFormatter/LiteralUnionTypeFormatter";
export * from "./src/TypeFormatter/NeverTypeFormatter";
export * from "./src/TypeFormatter/NullTypeFormatter";
export * from "./src/TypeFormatter/NumberTypeFormatter";
export * from "./src/TypeFormatter/ObjectTypeFormatter";
export * from "./src/TypeFormatter/OptionalTypeFormatter";
export * from "./src/TypeFormatter/PrimitiveUnionTypeFormatter";
export * from "./src/TypeFormatter/ReferenceTypeFormatter";
export * from "./src/TypeFormatter/RestTypeFormatter";
export * from "./src/TypeFormatter/StringTypeFormatter";
export * from "./src/TypeFormatter/SymbolTypeFormatter";
export * from "./src/TypeFormatter/TupleTypeFormatter";
export * from "./src/TypeFormatter/UndefinedTypeFormatter";
export * from "./src/TypeFormatter/UnionTypeFormatter";
export * from "./src/TypeFormatter/UnknownTypeFormatter";
export * from "./src/TypeFormatter/VoidTypeFormatter";
export * from "./src/NodeParser";
export * from "./src/SubNodeParser";
export * from "./src/ChainNodeParser";
export * from "./src/ExposeNodeParser";
export * from "./src/TopRefNodeParser";
export * from "./src/CircularReferenceNodeParser";
export * from "./src/NodeParser/AnnotatedNodeParser";
export * from "./src/NodeParser/AnyTypeNodeParser";
export * from "./src/NodeParser/ArrayLiteralExpressionNodeParser";
export * from "./src/NodeParser/ArrayNodeParser";
export * from "./src/NodeParser/AsExpressionNodeParser";
export * from "./src/NodeParser/BooleanLiteralNodeParser";
export * from "./src/NodeParser/BooleanTypeNodeParser";
export * from "./src/NodeParser/CallExpressionParser";
export * from "./src/NodeParser/ConditionalTypeNodeParser";
export * from "./src/NodeParser/EnumNodeParser";
export * from "./src/NodeParser/ExpressionWithTypeArgumentsNodeParser";
export * from "./src/NodeParser/FunctionNodeParser";
export * from "./src/NodeParser/FunctionParser";
export * from "./src/NodeParser/HiddenTypeNodeParser";
export * from "./src/NodeParser/IndexedAccessTypeNodeParser";
export * from "./src/NodeParser/InterfaceAndClassNodeParser";
export * from "./src/NodeParser/IntersectionNodeParser";
export * from "./src/NodeParser/IntrinsicNodeParser";
export * from "./src/NodeParser/LiteralNodeParser";
export * from "./src/NodeParser/MappedTypeNodeParser";
export * from "./src/NodeParser/NeverTypeNodeParser";
export * from "./src/NodeParser/NullLiteralNodeParser";
export * from "./src/NodeParser/NumberLiteralNodeParser";
export * from "./src/NodeParser/NumberTypeNodeParser";
export * from "./src/NodeParser/ObjectLiteralExpressionNodeParser";
export * from "./src/NodeParser/ObjectTypeNodeParser";
export * from "./src/NodeParser/OptionalTypeNodeParser";
export * from "./src/NodeParser/ParameterParser";
export * from "./src/NodeParser/ParenthesizedNodeParser";
export * from "./src/NodeParser/PrefixUnaryExpressionNodeParser";
export * from "./src/NodeParser/PropertyAccessExpressionParser";
export * from "./src/NodeParser/RestTypeNodeParser";
export * from "./src/NodeParser/StringLiteralNodeParser";
export * from "./src/NodeParser/StringTemplateLiteralNodeParser";
export * from "./src/NodeParser/StringTypeNodeParser";
export * from "./src/NodeParser/SymbolTypeNodeParser";
export * from "./src/NodeParser/TupleNodeParser";
export * from "./src/NodeParser/TypeAliasNodeParser";
export * from "./src/NodeParser/TypeLiteralNodeParser";
export * from "./src/NodeParser/TypeofNodeParser";
export * from "./src/NodeParser/TypeOperatorNodeParser";
export * from "./src/NodeParser/TypeReferenceNodeParser";
export * from "./src/NodeParser/UndefinedLiteralNodeParser";
export * from "./src/NodeParser/UndefinedTypeNodeParser";
export * from "./src/NodeParser/UnionNodeParser";
export * from "./src/NodeParser/UnknownTypeNodeParser";
export * from "./src/NodeParser/VoidTypeNodeParser";
export * from "./src/SchemaGenerator";
export * from "./factory";
import ts from "typescript";
export { ts };