@eggjs/tegg-types 4.0.0-beta.7 → 4.0.0-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/dist/aop/Advice.d.ts +30 -33
  2. package/dist/aop/Advice.js +2 -1
  3. package/dist/aop/Aspect.d.ts +11 -15
  4. package/dist/aop/Aspect.js +2 -5
  5. package/dist/aop/Crosscut.d.ts +23 -27
  6. package/dist/aop/Crosscut.js +3 -6
  7. package/dist/aop/Pointcut.d.ts +22 -26
  8. package/dist/aop/Pointcut.js +17 -20
  9. package/dist/aop/index.d.ts +4 -5
  10. package/dist/aop/index.js +5 -5
  11. package/dist/common/Graph.d.ts +2 -5
  12. package/dist/common/Graph.js +2 -1
  13. package/dist/common/Logger.d.ts +6 -9
  14. package/dist/common/Logger.js +2 -1
  15. package/dist/common/ModuleConfig.d.ts +22 -24
  16. package/dist/common/ModuleConfig.js +2 -1
  17. package/dist/common/RuntimeConfig.d.ts +14 -17
  18. package/dist/common/RuntimeConfig.js +2 -1
  19. package/dist/common/index.d.ts +4 -5
  20. package/dist/common/index.js +5 -1
  21. package/dist/controller-decorator/HTTPController.d.ts +4 -7
  22. package/dist/controller-decorator/HTTPController.js +2 -1
  23. package/dist/controller-decorator/HTTPMethod.d.ts +5 -9
  24. package/dist/controller-decorator/HTTPMethod.js +2 -1
  25. package/dist/controller-decorator/HTTPParam.d.ts +6 -9
  26. package/dist/controller-decorator/HTTPParam.js +2 -1
  27. package/dist/controller-decorator/MetadataKey.d.ts +20 -23
  28. package/dist/controller-decorator/MetadataKey.js +21 -24
  29. package/dist/controller-decorator/builder.d.ts +5 -9
  30. package/dist/controller-decorator/builder.js +2 -1
  31. package/dist/controller-decorator/index.d.ts +6 -9
  32. package/dist/controller-decorator/index.js +7 -4
  33. package/dist/controller-decorator/model/ControllerMetadata.d.ts +10 -14
  34. package/dist/controller-decorator/model/ControllerMetadata.js +2 -1
  35. package/dist/controller-decorator/model/MethodMeta.d.ts +5 -9
  36. package/dist/controller-decorator/model/MethodMeta.js +2 -1
  37. package/dist/controller-decorator/model/index.d.ts +3 -4
  38. package/dist/controller-decorator/model/index.js +4 -3
  39. package/dist/controller-decorator/model/types.d.ts +41 -45
  40. package/dist/controller-decorator/model/types.js +42 -45
  41. package/dist/core-decorator/ContextProto.d.ts +5 -9
  42. package/dist/core-decorator/ContextProto.js +2 -3
  43. package/dist/core-decorator/Inject.d.ts +3 -6
  44. package/dist/core-decorator/Inject.js +2 -1
  45. package/dist/core-decorator/Metadata.d.ts +1 -4
  46. package/dist/core-decorator/Metadata.js +2 -1
  47. package/dist/core-decorator/MultiInstanceProto.d.ts +23 -28
  48. package/dist/core-decorator/MultiInstanceProto.js +2 -1
  49. package/dist/core-decorator/Prototype.d.ts +7 -12
  50. package/dist/core-decorator/Prototype.js +2 -5
  51. package/dist/core-decorator/SingletonProto.d.ts +5 -9
  52. package/dist/core-decorator/SingletonProto.js +2 -1
  53. package/dist/core-decorator/enum/AccessLevel.d.ts +3 -6
  54. package/dist/core-decorator/enum/AccessLevel.js +8 -9
  55. package/dist/core-decorator/enum/EggType.d.ts +3 -6
  56. package/dist/core-decorator/enum/EggType.js +6 -9
  57. package/dist/core-decorator/enum/InjectType.d.ts +3 -6
  58. package/dist/core-decorator/enum/InjectType.js +6 -9
  59. package/dist/core-decorator/enum/MultiInstanceType.d.ts +3 -6
  60. package/dist/core-decorator/enum/MultiInstanceType.js +6 -9
  61. package/dist/core-decorator/enum/ObjectInitType.d.ts +6 -9
  62. package/dist/core-decorator/enum/ObjectInitType.js +14 -14
  63. package/dist/core-decorator/enum/Qualifier.d.ts +7 -10
  64. package/dist/core-decorator/enum/Qualifier.js +8 -11
  65. package/dist/core-decorator/enum/index.d.ts +6 -7
  66. package/dist/core-decorator/enum/index.js +7 -8
  67. package/dist/core-decorator/index.d.ts +8 -18
  68. package/dist/core-decorator/index.js +9 -12
  69. package/dist/core-decorator/model/EggMultiInstancePrototypeInfo.d.ts +53 -58
  70. package/dist/core-decorator/model/EggMultiInstancePrototypeInfo.js +4 -4
  71. package/dist/core-decorator/model/EggPrototypeInfo.d.ts +33 -38
  72. package/dist/core-decorator/model/EggPrototypeInfo.js +3 -3
  73. package/dist/core-decorator/model/InjectConstructorInfo.d.ts +18 -22
  74. package/dist/core-decorator/model/InjectConstructorInfo.js +2 -1
  75. package/dist/core-decorator/model/InjectObjectInfo.d.ts +14 -17
  76. package/dist/core-decorator/model/InjectObjectInfo.js +2 -1
  77. package/dist/core-decorator/model/QualifierInfo.d.ts +5 -8
  78. package/dist/core-decorator/model/QualifierInfo.js +2 -1
  79. package/dist/core-decorator/model/index.d.ts +5 -6
  80. package/dist/core-decorator/model/index.js +6 -4
  81. package/dist/dal/Qualifier.d.ts +6 -9
  82. package/dist/dal/Qualifier.js +7 -10
  83. package/dist/dal/decorator/Column.d.ts +141 -145
  84. package/dist/dal/decorator/Column.js +2 -1
  85. package/dist/dal/decorator/DataSourceQualifier.d.ts +2 -5
  86. package/dist/dal/decorator/DataSourceQualifier.js +3 -6
  87. package/dist/dal/decorator/Table.d.ts +20 -26
  88. package/dist/dal/decorator/Table.js +2 -1
  89. package/dist/dal/decorator/index.d.ts +13 -18
  90. package/dist/dal/decorator/index.js +4 -3
  91. package/dist/dal/enum/ColumnFormat.d.ts +4 -7
  92. package/dist/dal/enum/ColumnFormat.js +7 -10
  93. package/dist/dal/enum/ColumnType.d.ts +39 -42
  94. package/dist/dal/enum/ColumnType.js +48 -45
  95. package/dist/dal/enum/CompressionType.d.ts +4 -7
  96. package/dist/dal/enum/CompressionType.js +7 -10
  97. package/dist/dal/enum/IndexStoreType.d.ts +3 -6
  98. package/dist/dal/enum/IndexStoreType.js +6 -9
  99. package/dist/dal/enum/IndexType.d.ts +6 -9
  100. package/dist/dal/enum/IndexType.js +9 -12
  101. package/dist/dal/enum/InsertMethod.d.ts +4 -7
  102. package/dist/dal/enum/InsertMethod.js +7 -10
  103. package/dist/dal/enum/RowFormat.d.ts +7 -10
  104. package/dist/dal/enum/RowFormat.js +10 -13
  105. package/dist/dal/enum/SqlType.d.ts +6 -9
  106. package/dist/dal/enum/SqlType.js +9 -12
  107. package/dist/dal/enum/Templates.d.ts +4 -7
  108. package/dist/dal/enum/Templates.js +7 -10
  109. package/dist/dal/enum/index.d.ts +9 -10
  110. package/dist/dal/enum/index.js +10 -11
  111. package/dist/dal/index.d.ts +4 -21
  112. package/dist/dal/index.js +5 -14
  113. package/dist/dal/type/BaseDao.d.ts +8 -12
  114. package/dist/dal/type/BaseDao.js +2 -1
  115. package/dist/dal/type/CodeGenerator.d.ts +5 -8
  116. package/dist/dal/type/CodeGenerator.js +2 -1
  117. package/dist/dal/type/ColumnTsType.d.ts +40 -44
  118. package/dist/dal/type/ColumnTsType.js +2 -1
  119. package/dist/dal/type/DateSource.d.ts +11 -14
  120. package/dist/dal/type/DateSource.js +2 -1
  121. package/dist/dal/type/Spatial.d.ts +10 -13
  122. package/dist/dal/type/Spatial.js +2 -1
  123. package/dist/dal/type/SqlMap.d.ts +14 -18
  124. package/dist/dal/type/SqlMap.js +2 -1
  125. package/dist/dal/type/index.d.ts +6 -7
  126. package/dist/dal/type/index.js +7 -1
  127. package/dist/dynamic-inject.d.ts +10 -15
  128. package/dist/dynamic-inject.js +2 -5
  129. package/dist/index.d.ts +12 -72
  130. package/dist/index.js +13 -38
  131. package/dist/lifecycle/EggObjectLifecycle.d.ts +31 -36
  132. package/dist/lifecycle/EggObjectLifecycle.js +2 -1
  133. package/dist/lifecycle/IdenticalObject.d.ts +3 -6
  134. package/dist/lifecycle/IdenticalObject.js +2 -1
  135. package/dist/lifecycle/LifecycleHook.d.ts +11 -14
  136. package/dist/lifecycle/LifecycleHook.js +2 -1
  137. package/dist/lifecycle/index.d.ts +3 -4
  138. package/dist/lifecycle/index.js +4 -1
  139. package/dist/metadata/enum/ProtoDescriptorType.d.ts +2 -5
  140. package/dist/metadata/enum/ProtoDescriptorType.js +5 -8
  141. package/dist/metadata/enum/index.d.ts +1 -2
  142. package/dist/metadata/enum/index.js +2 -3
  143. package/dist/metadata/errors.d.ts +4 -7
  144. package/dist/metadata/errors.js +7 -10
  145. package/dist/metadata/index.d.ts +3 -7
  146. package/dist/metadata/index.js +4 -6
  147. package/dist/metadata/model/EggPrototype.d.ts +129 -138
  148. package/dist/metadata/model/EggPrototype.js +4 -3
  149. package/dist/metadata/model/LoadUnit.d.ts +25 -30
  150. package/dist/metadata/model/LoadUnit.js +7 -10
  151. package/dist/metadata/model/Loader.d.ts +3 -8
  152. package/dist/metadata/model/Loader.js +2 -1
  153. package/dist/metadata/model/ProtoDescriptor.d.ts +20 -27
  154. package/dist/metadata/model/ProtoDescriptor.js +3 -3
  155. package/dist/metadata/model/index.d.ts +4 -5
  156. package/dist/metadata/model/index.js +5 -5
  157. package/dist/orm.d.ts +25 -28
  158. package/dist/orm.js +7 -10
  159. package/dist/runtime/Factory.d.ts +6 -11
  160. package/dist/runtime/Factory.js +2 -1
  161. package/dist/runtime/index.d.ts +2 -6
  162. package/dist/runtime/index.js +3 -3
  163. package/dist/runtime/model/EggContainer.d.ts +10 -15
  164. package/dist/runtime/model/EggContainer.js +2 -1
  165. package/dist/runtime/model/EggContext.d.ts +6 -9
  166. package/dist/runtime/model/EggContext.js +2 -1
  167. package/dist/runtime/model/EggObject.d.ts +21 -26
  168. package/dist/runtime/model/EggObject.js +9 -12
  169. package/dist/runtime/model/LoadUnitInstance.d.ts +7 -11
  170. package/dist/runtime/model/LoadUnitInstance.js +2 -1
  171. package/dist/runtime/model/index.d.ts +4 -5
  172. package/dist/runtime/model/index.js +5 -3
  173. package/dist/schedule.d.ts +24 -27
  174. package/dist/schedule.js +10 -13
  175. package/dist/transaction.d.ts +20 -23
  176. package/dist/transaction.js +10 -13
  177. package/package.json +2 -2
@@ -1,182 +1,178 @@
1
- import { ColumnFormat } from "../enum/ColumnFormat.js";
2
- import { ColumnType } from "../enum/ColumnType.js";
3
-
4
- //#region src/dal/decorator/Column.d.ts
5
- interface ColumnParams {
6
- name?: string;
7
- default?: string;
8
- canNull?: boolean;
9
- comment?: string;
10
- visible?: boolean;
11
- autoIncrement?: boolean;
12
- uniqueKey?: boolean;
13
- primaryKey?: boolean;
14
- collate?: string;
15
- columnFormat?: ColumnFormat;
16
- engineAttribute?: string;
17
- secondaryEngineAttribute?: string;
18
- }
19
- interface IColumnTypeParams {
20
- type: ColumnType;
21
- }
22
- interface BitParams extends IColumnTypeParams {
23
- type: ColumnType.BIT;
24
- length?: number;
25
- }
26
- interface BoolParams extends IColumnTypeParams {
27
- type: ColumnType.BOOL;
1
+ import type { ColumnFormat, ColumnType } from '../enum/index.ts';
2
+ export interface ColumnParams {
3
+ name?: string;
4
+ default?: string;
5
+ canNull?: boolean;
6
+ comment?: string;
7
+ visible?: boolean;
8
+ autoIncrement?: boolean;
9
+ uniqueKey?: boolean;
10
+ primaryKey?: boolean;
11
+ collate?: string;
12
+ columnFormat?: ColumnFormat;
13
+ engineAttribute?: string;
14
+ secondaryEngineAttribute?: string;
15
+ }
16
+ export interface IColumnTypeParams {
17
+ type: ColumnType;
18
+ }
19
+ export interface BitParams extends IColumnTypeParams {
20
+ type: ColumnType.BIT;
21
+ length?: number;
22
+ }
23
+ export interface BoolParams extends IColumnTypeParams {
24
+ type: ColumnType.BOOL;
28
25
  }
29
26
  interface BaseNumericParams extends IColumnTypeParams {
30
- length?: number;
31
- unsigned?: boolean;
32
- zeroFill?: boolean;
27
+ length?: number;
28
+ unsigned?: boolean;
29
+ zeroFill?: boolean;
33
30
  }
34
31
  interface BaseFloatNumericParams extends IColumnTypeParams {
35
- length?: number;
36
- fractionalLength?: number;
37
- unsigned?: boolean;
38
- zeroFill?: boolean;
32
+ length?: number;
33
+ fractionalLength?: number;
34
+ unsigned?: boolean;
35
+ zeroFill?: boolean;
39
36
  }
40
- interface TinyIntParams extends BaseNumericParams {
41
- type: ColumnType.TINYINT;
42
- }
43
- interface SmallIntParams extends BaseNumericParams {
44
- type: ColumnType.SMALLINT;
37
+ export interface TinyIntParams extends BaseNumericParams {
38
+ type: ColumnType.TINYINT;
39
+ }
40
+ export interface SmallIntParams extends BaseNumericParams {
41
+ type: ColumnType.SMALLINT;
45
42
  }
46
- interface MediumIntParams extends BaseNumericParams {
47
- type: ColumnType.MEDIUMINT;
48
- }
49
- interface IntParams extends BaseNumericParams {
50
- type: ColumnType.INT;
51
- }
52
- interface BigIntParams extends BaseNumericParams {
53
- type: ColumnType.BIGINT;
54
- }
55
- interface DecimalParams extends BaseFloatNumericParams {
56
- type: ColumnType.DECIMAL;
43
+ export interface MediumIntParams extends BaseNumericParams {
44
+ type: ColumnType.MEDIUMINT;
45
+ }
46
+ export interface IntParams extends BaseNumericParams {
47
+ type: ColumnType.INT;
48
+ }
49
+ export interface BigIntParams extends BaseNumericParams {
50
+ type: ColumnType.BIGINT;
51
+ }
52
+ export interface DecimalParams extends BaseFloatNumericParams {
53
+ type: ColumnType.DECIMAL;
57
54
  }
58
- interface FloatParams extends BaseFloatNumericParams {
59
- type: ColumnType.FLOAT;
55
+ export interface FloatParams extends BaseFloatNumericParams {
56
+ type: ColumnType.FLOAT;
60
57
  }
61
- interface DoubleParams extends BaseFloatNumericParams {
62
- type: ColumnType.DOUBLE;
58
+ export interface DoubleParams extends BaseFloatNumericParams {
59
+ type: ColumnType.DOUBLE;
63
60
  }
64
- interface DateParams extends IColumnTypeParams {
65
- type: ColumnType.DATE;
61
+ export interface DateParams extends IColumnTypeParams {
62
+ type: ColumnType.DATE;
66
63
  }
67
- interface DateTimeParams extends IColumnTypeParams {
68
- type: ColumnType.DATETIME;
69
- precision?: number;
70
- autoUpdate?: boolean;
64
+ export interface DateTimeParams extends IColumnTypeParams {
65
+ type: ColumnType.DATETIME;
66
+ precision?: number;
67
+ autoUpdate?: boolean;
71
68
  }
72
- interface TimestampParams extends IColumnTypeParams {
73
- type: ColumnType.TIMESTAMP;
74
- precision?: number;
75
- autoUpdate?: boolean;
69
+ export interface TimestampParams extends IColumnTypeParams {
70
+ type: ColumnType.TIMESTAMP;
71
+ precision?: number;
72
+ autoUpdate?: boolean;
76
73
  }
77
- interface TimeParams extends IColumnTypeParams {
78
- type: ColumnType.TIME;
79
- precision?: number;
74
+ export interface TimeParams extends IColumnTypeParams {
75
+ type: ColumnType.TIME;
76
+ precision?: number;
80
77
  }
81
- interface YearParams extends IColumnTypeParams {
82
- type: ColumnType.YEAR;
78
+ export interface YearParams extends IColumnTypeParams {
79
+ type: ColumnType.YEAR;
83
80
  }
84
- interface CharParams extends IColumnTypeParams {
85
- type: ColumnType.CHAR;
86
- length?: number;
87
- characterSet?: string;
88
- collate?: string;
81
+ export interface CharParams extends IColumnTypeParams {
82
+ type: ColumnType.CHAR;
83
+ length?: number;
84
+ characterSet?: string;
85
+ collate?: string;
89
86
  }
90
- interface VarCharParams extends IColumnTypeParams {
91
- type: ColumnType.VARCHAR;
92
- length: number;
93
- characterSet?: string;
94
- collate?: string;
87
+ export interface VarCharParams extends IColumnTypeParams {
88
+ type: ColumnType.VARCHAR;
89
+ length: number;
90
+ characterSet?: string;
91
+ collate?: string;
95
92
  }
96
- interface BinaryParams extends IColumnTypeParams {
97
- type: ColumnType.BINARY;
98
- length?: number;
93
+ export interface BinaryParams extends IColumnTypeParams {
94
+ type: ColumnType.BINARY;
95
+ length?: number;
99
96
  }
100
- interface VarBinaryParams extends IColumnTypeParams {
101
- type: ColumnType.VARBINARY;
102
- length: number;
97
+ export interface VarBinaryParams extends IColumnTypeParams {
98
+ type: ColumnType.VARBINARY;
99
+ length: number;
103
100
  }
104
- interface TinyBlobParams extends IColumnTypeParams {
105
- type: ColumnType.TINYBLOB;
101
+ export interface TinyBlobParams extends IColumnTypeParams {
102
+ type: ColumnType.TINYBLOB;
106
103
  }
107
- interface TinyTextParams extends IColumnTypeParams {
108
- type: ColumnType.TINYTEXT;
109
- characterSet?: string;
110
- collate?: string;
104
+ export interface TinyTextParams extends IColumnTypeParams {
105
+ type: ColumnType.TINYTEXT;
106
+ characterSet?: string;
107
+ collate?: string;
111
108
  }
112
- interface BlobParams extends IColumnTypeParams {
113
- type: ColumnType.BLOB;
114
- length?: number;
109
+ export interface BlobParams extends IColumnTypeParams {
110
+ type: ColumnType.BLOB;
111
+ length?: number;
115
112
  }
116
- interface TextParams extends IColumnTypeParams {
117
- type: ColumnType.TEXT;
118
- length?: number;
119
- characterSet?: string;
120
- collate?: string;
113
+ export interface TextParams extends IColumnTypeParams {
114
+ type: ColumnType.TEXT;
115
+ length?: number;
116
+ characterSet?: string;
117
+ collate?: string;
121
118
  }
122
- interface MediumBlobParams extends IColumnTypeParams {
123
- type: ColumnType.MEDIUMBLOB;
119
+ export interface MediumBlobParams extends IColumnTypeParams {
120
+ type: ColumnType.MEDIUMBLOB;
124
121
  }
125
- interface LongBlobParams extends IColumnTypeParams {
126
- type: ColumnType.LONGBLOB;
122
+ export interface LongBlobParams extends IColumnTypeParams {
123
+ type: ColumnType.LONGBLOB;
127
124
  }
128
- interface MediumTextParams extends IColumnTypeParams {
129
- type: ColumnType.MEDIUMTEXT;
130
- characterSet?: string;
131
- collate?: string;
125
+ export interface MediumTextParams extends IColumnTypeParams {
126
+ type: ColumnType.MEDIUMTEXT;
127
+ characterSet?: string;
128
+ collate?: string;
132
129
  }
133
- interface LongTextParams extends IColumnTypeParams {
134
- type: ColumnType.LONGTEXT;
135
- characterSet?: string;
136
- collate?: string;
130
+ export interface LongTextParams extends IColumnTypeParams {
131
+ type: ColumnType.LONGTEXT;
132
+ characterSet?: string;
133
+ collate?: string;
137
134
  }
138
- interface EnumParams extends IColumnTypeParams {
139
- type: ColumnType.ENUM;
140
- enums: string[];
141
- characterSet?: string;
142
- collate?: string;
135
+ export interface EnumParams extends IColumnTypeParams {
136
+ type: ColumnType.ENUM;
137
+ enums: string[];
138
+ characterSet?: string;
139
+ collate?: string;
143
140
  }
144
- interface SetParams extends IColumnTypeParams {
145
- type: ColumnType.SET;
146
- enums: string[];
147
- characterSet?: string;
148
- collate?: string;
141
+ export interface SetParams extends IColumnTypeParams {
142
+ type: ColumnType.SET;
143
+ enums: string[];
144
+ characterSet?: string;
145
+ collate?: string;
149
146
  }
150
- interface JsonParams extends IColumnTypeParams {
151
- type: ColumnType.JSON;
147
+ export interface JsonParams extends IColumnTypeParams {
148
+ type: ColumnType.JSON;
152
149
  }
153
- interface BaseSpatialParams extends IColumnTypeParams {
154
- SRID?: number;
150
+ export interface BaseSpatialParams extends IColumnTypeParams {
151
+ SRID?: number;
155
152
  }
156
- interface GeometryParams extends BaseSpatialParams {
157
- type: ColumnType.GEOMETRY;
153
+ export interface GeometryParams extends BaseSpatialParams {
154
+ type: ColumnType.GEOMETRY;
158
155
  }
159
- interface PointParams extends BaseSpatialParams {
160
- type: ColumnType.POINT;
156
+ export interface PointParams extends BaseSpatialParams {
157
+ type: ColumnType.POINT;
161
158
  }
162
- interface LinestringParams extends BaseSpatialParams {
163
- type: ColumnType.LINESTRING;
159
+ export interface LinestringParams extends BaseSpatialParams {
160
+ type: ColumnType.LINESTRING;
164
161
  }
165
- interface PolygonParams extends BaseSpatialParams {
166
- type: ColumnType.POLYGON;
167
- }
168
- interface MultiPointParams extends BaseSpatialParams {
169
- type: ColumnType.MULTIPOINT;
162
+ export interface PolygonParams extends BaseSpatialParams {
163
+ type: ColumnType.POLYGON;
170
164
  }
171
- interface MultiLinestringParams extends BaseSpatialParams {
172
- type: ColumnType.MULTILINESTRING;
165
+ export interface MultiPointParams extends BaseSpatialParams {
166
+ type: ColumnType.MULTIPOINT;
173
167
  }
174
- interface MultiPolygonParams extends BaseSpatialParams {
175
- type: ColumnType.MULTIPOLYGON;
168
+ export interface MultiLinestringParams extends BaseSpatialParams {
169
+ type: ColumnType.MULTILINESTRING;
176
170
  }
177
- interface GeometryCollectionParams extends BaseSpatialParams {
178
- type: ColumnType.GEOMETRYCOLLECTION;
171
+ export interface MultiPolygonParams extends BaseSpatialParams {
172
+ type: ColumnType.MULTIPOLYGON;
179
173
  }
180
- type ColumnTypeParams = BitParams | BoolParams | TinyIntParams | SmallIntParams | MediumIntParams | IntParams | BigIntParams | DecimalParams | FloatParams | DoubleParams | DateParams | DateTimeParams | TimestampParams | TimeParams | YearParams | CharParams | VarCharParams | BinaryParams | VarBinaryParams | TinyBlobParams | TinyTextParams | BlobParams | TextParams | MediumBlobParams | MediumTextParams | LongBlobParams | LongTextParams | EnumParams | SetParams | JsonParams | GeometryParams | PointParams | LinestringParams | PolygonParams | MultiPointParams | MultiLinestringParams | MultiPolygonParams | GeometryCollectionParams;
181
- //#endregion
182
- export { BaseSpatialParams, BigIntParams, BinaryParams, BitParams, BlobParams, BoolParams, CharParams, ColumnParams, ColumnTypeParams, DateParams, DateTimeParams, DecimalParams, DoubleParams, EnumParams, FloatParams, GeometryCollectionParams, GeometryParams, IColumnTypeParams, IntParams, JsonParams, LinestringParams, LongBlobParams, LongTextParams, MediumBlobParams, MediumIntParams, MediumTextParams, MultiLinestringParams, MultiPointParams, MultiPolygonParams, PointParams, PolygonParams, SetParams, SmallIntParams, TextParams, TimeParams, TimestampParams, TinyBlobParams, TinyIntParams, TinyTextParams, VarBinaryParams, VarCharParams, YearParams };
174
+ export interface GeometryCollectionParams extends BaseSpatialParams {
175
+ type: ColumnType.GEOMETRYCOLLECTION;
176
+ }
177
+ export type ColumnTypeParams = BitParams | BoolParams | TinyIntParams | SmallIntParams | MediumIntParams | IntParams | BigIntParams | DecimalParams | FloatParams | DoubleParams | DateParams | DateTimeParams | TimestampParams | TimeParams | YearParams | CharParams | VarCharParams | BinaryParams | VarBinaryParams | TinyBlobParams | TinyTextParams | BlobParams | TextParams | MediumBlobParams | MediumTextParams | LongBlobParams | LongTextParams | EnumParams | SetParams | JsonParams | GeometryParams | PointParams | LinestringParams | PolygonParams | MultiPointParams | MultiLinestringParams | MultiPolygonParams | GeometryCollectionParams;
178
+ export {};
@@ -1 +1,2 @@
1
- export { };
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29sdW1uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2RhbC9kZWNvcmF0b3IvQ29sdW1uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,5 +1,2 @@
1
- //#region src/dal/decorator/DataSourceQualifier.d.ts
2
- declare const DataSourceQualifierAttribute: unique symbol;
3
- declare const DataSourceInjectName = "dataSource";
4
- //#endregion
5
- export { DataSourceInjectName, DataSourceQualifierAttribute };
1
+ export declare const DataSourceQualifierAttribute: unique symbol;
2
+ export declare const DataSourceInjectName = "dataSource";
@@ -1,6 +1,3 @@
1
- //#region src/dal/decorator/DataSourceQualifier.ts
2
- const DataSourceQualifierAttribute = Symbol("Qualifier.DataSource");
3
- const DataSourceInjectName = "dataSource";
4
-
5
- //#endregion
6
- export { DataSourceInjectName, DataSourceQualifierAttribute };
1
+ export const DataSourceQualifierAttribute = Symbol('Qualifier.DataSource');
2
+ export const DataSourceInjectName = 'dataSource';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGF0YVNvdXJjZVF1YWxpZmllci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9kYWwvZGVjb3JhdG9yL0RhdGFTb3VyY2VRdWFsaWZpZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sNEJBQTRCLEdBQUcsTUFBTSxDQUFDLHNCQUFzQixDQUFDLENBQUM7QUFDM0UsTUFBTSxDQUFDLE1BQU0sb0JBQW9CLEdBQUcsWUFBWSxDQUFDIn0=
@@ -1,27 +1,21 @@
1
- import { CompressionType } from "../enum/CompressionType.js";
2
- import { InsertMethod } from "../enum/InsertMethod.js";
3
- import { RowFormat } from "../enum/RowFormat.js";
4
-
5
- //#region src/dal/decorator/Table.d.ts
6
- interface TableParams {
7
- name?: string;
8
- dataSourceName?: string;
9
- comment?: string;
10
- autoExtendSize?: number;
11
- autoIncrement?: number;
12
- avgRowLength?: number;
13
- characterSet?: string;
14
- collate?: string;
15
- compression?: CompressionType;
16
- encryption?: boolean;
17
- engine?: string;
18
- engineAttribute?: string;
19
- insertMethod?: InsertMethod;
20
- keyBlockSize?: number;
21
- maxRows?: number;
22
- minRows?: number;
23
- rowFormat?: RowFormat;
24
- secondaryEngineAttribute?: string;
1
+ import type { CompressionType, InsertMethod, RowFormat } from '../enum/index.ts';
2
+ export interface TableParams {
3
+ name?: string;
4
+ dataSourceName?: string;
5
+ comment?: string;
6
+ autoExtendSize?: number;
7
+ autoIncrement?: number;
8
+ avgRowLength?: number;
9
+ characterSet?: string;
10
+ collate?: string;
11
+ compression?: CompressionType;
12
+ encryption?: boolean;
13
+ engine?: string;
14
+ engineAttribute?: string;
15
+ insertMethod?: InsertMethod;
16
+ keyBlockSize?: number;
17
+ maxRows?: number;
18
+ minRows?: number;
19
+ rowFormat?: RowFormat;
20
+ secondaryEngineAttribute?: string;
25
21
  }
26
- //#endregion
27
- export { TableParams };
@@ -1 +1,2 @@
1
- export { };
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVGFibGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZGFsL2RlY29yYXRvci9UYWJsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,19 +1,14 @@
1
- import { IndexStoreType } from "../enum/IndexStoreType.js";
2
- import { IndexType } from "../enum/IndexType.js";
3
- import { BaseSpatialParams, BigIntParams, BinaryParams, BitParams, BlobParams, BoolParams, CharParams, ColumnParams, ColumnTypeParams, DateParams, DateTimeParams, DecimalParams, DoubleParams, EnumParams, FloatParams, GeometryCollectionParams, GeometryParams, IColumnTypeParams, IntParams, JsonParams, LinestringParams, LongBlobParams, LongTextParams, MediumBlobParams, MediumIntParams, MediumTextParams, MultiLinestringParams, MultiPointParams, MultiPolygonParams, PointParams, PolygonParams, SetParams, SmallIntParams, TextParams, TimeParams, TimestampParams, TinyBlobParams, TinyIntParams, TinyTextParams, VarBinaryParams, VarCharParams, YearParams } from "./Column.js";
4
- import { DataSourceInjectName, DataSourceQualifierAttribute } from "./DataSourceQualifier.js";
5
- import { TableParams } from "./Table.js";
6
-
7
- //#region src/dal/decorator/index.d.ts
8
- interface IndexParams {
9
- keys: string[];
10
- name?: string;
11
- type?: IndexType;
12
- storeType?: IndexStoreType;
13
- comment?: string;
14
- engineAttribute?: string;
15
- secondaryEngineAttribute?: string;
16
- parser?: string;
1
+ import type { IndexStoreType, IndexType } from '../enum/index.ts';
2
+ export interface IndexParams {
3
+ keys: string[];
4
+ name?: string;
5
+ type?: IndexType;
6
+ storeType?: IndexStoreType;
7
+ comment?: string;
8
+ engineAttribute?: string;
9
+ secondaryEngineAttribute?: string;
10
+ parser?: string;
17
11
  }
18
- //#endregion
19
- export { BaseSpatialParams, BigIntParams, BinaryParams, BitParams, BlobParams, BoolParams, CharParams, ColumnParams, ColumnTypeParams, DataSourceInjectName, DataSourceQualifierAttribute, DateParams, DateTimeParams, DecimalParams, DoubleParams, EnumParams, FloatParams, GeometryCollectionParams, GeometryParams, IColumnTypeParams, IndexParams, IntParams, JsonParams, LinestringParams, LongBlobParams, LongTextParams, MediumBlobParams, MediumIntParams, MediumTextParams, MultiLinestringParams, MultiPointParams, MultiPolygonParams, PointParams, PolygonParams, SetParams, SmallIntParams, TableParams, TextParams, TimeParams, TimestampParams, TinyBlobParams, TinyIntParams, TinyTextParams, VarBinaryParams, VarCharParams, YearParams };
12
+ export * from './Column.ts';
13
+ export * from './DataSourceQualifier.ts';
14
+ export * from './Table.ts';
@@ -1,3 +1,4 @@
1
- import { DataSourceInjectName, DataSourceQualifierAttribute } from "./DataSourceQualifier.js";
2
-
3
- export { DataSourceInjectName, DataSourceQualifierAttribute };
1
+ export * from "./Column.js";
2
+ export * from "./DataSourceQualifier.js";
3
+ export * from "./Table.js";
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZGFsL2RlY29yYXRvci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFhQSxjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsWUFBWSxDQUFDIn0=
@@ -1,8 +1,5 @@
1
- //#region src/dal/enum/ColumnFormat.d.ts
2
- declare enum ColumnFormat {
3
- FIXED = "FIXED",
4
- DYNAMIC = "DYNAMIC",
5
- DEFAULT = "DEFAULT",
1
+ export declare enum ColumnFormat {
2
+ FIXED = "FIXED",
3
+ DYNAMIC = "DYNAMIC",
4
+ DEFAULT = "DEFAULT"
6
5
  }
7
- //#endregion
8
- export { ColumnFormat };
@@ -1,10 +1,7 @@
1
- //#region src/dal/enum/ColumnFormat.ts
2
- let ColumnFormat = /* @__PURE__ */ function(ColumnFormat$1) {
3
- ColumnFormat$1["FIXED"] = "FIXED";
4
- ColumnFormat$1["DYNAMIC"] = "DYNAMIC";
5
- ColumnFormat$1["DEFAULT"] = "DEFAULT";
6
- return ColumnFormat$1;
7
- }({});
8
-
9
- //#endregion
10
- export { ColumnFormat };
1
+ export var ColumnFormat;
2
+ (function (ColumnFormat) {
3
+ ColumnFormat["FIXED"] = "FIXED";
4
+ ColumnFormat["DYNAMIC"] = "DYNAMIC";
5
+ ColumnFormat["DEFAULT"] = "DEFAULT";
6
+ })(ColumnFormat || (ColumnFormat = {}));
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29sdW1uRm9ybWF0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2RhbC9lbnVtL0NvbHVtbkZvcm1hdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxZQUlYO0FBSkQsV0FBWSxZQUFZO0lBQ3RCLCtCQUFlLENBQUE7SUFDZixtQ0FBbUIsQ0FBQTtJQUNuQixtQ0FBbUIsQ0FBQTtBQUNyQixDQUFDLEVBSlcsWUFBWSxLQUFaLFlBQVksUUFJdkIifQ==
@@ -1,43 +1,40 @@
1
- //#region src/dal/enum/ColumnType.d.ts
2
- declare enum ColumnType {
3
- BIT = "BIT",
4
- TINYINT = "TINYINT",
5
- BOOL = "BOOL",
6
- SMALLINT = "SMALLINT",
7
- MEDIUMINT = "MEDIUMINT",
8
- INT = "INT",
9
- BIGINT = "BIGINT",
10
- DECIMAL = "DECIMAL",
11
- FLOAT = "FLOAT",
12
- DOUBLE = "DOUBLE",
13
- DATE = "DATE",
14
- DATETIME = "DATETIME",
15
- TIMESTAMP = "TIMESTAMP",
16
- TIME = "TIME",
17
- YEAR = "YEAR",
18
- CHAR = "CHAR",
19
- VARCHAR = "VARCHAR",
20
- BINARY = "BINARY",
21
- VARBINARY = "VARBINARY",
22
- TINYBLOB = "TINYBLOB",
23
- TINYTEXT = "TINYTEXT",
24
- BLOB = "BLOB",
25
- TEXT = "TEXT",
26
- MEDIUMBLOB = "MEDIUMBLOB",
27
- MEDIUMTEXT = "MEDIUMTEXT",
28
- LONGBLOB = "LONGBLOB",
29
- LONGTEXT = "LONGTEXT",
30
- ENUM = "ENUM",
31
- SET = "SET",
32
- JSON = "JSON",
33
- GEOMETRY = "GEOMETRY",
34
- POINT = "POINT",
35
- LINESTRING = "LINESTRING",
36
- POLYGON = "POLYGON",
37
- MULTIPOINT = "MULTIPOINT",
38
- MULTILINESTRING = "MULTILINESTRING",
39
- MULTIPOLYGON = "MULTIPOLYGON",
40
- GEOMETRYCOLLECTION = "GEOMETRYCOLLECTION",
1
+ export declare enum ColumnType {
2
+ BIT = "BIT",
3
+ TINYINT = "TINYINT",
4
+ BOOL = "BOOL",
5
+ SMALLINT = "SMALLINT",
6
+ MEDIUMINT = "MEDIUMINT",
7
+ INT = "INT",
8
+ BIGINT = "BIGINT",
9
+ DECIMAL = "DECIMAL",
10
+ FLOAT = "FLOAT",
11
+ DOUBLE = "DOUBLE",
12
+ DATE = "DATE",
13
+ DATETIME = "DATETIME",
14
+ TIMESTAMP = "TIMESTAMP",
15
+ TIME = "TIME",
16
+ YEAR = "YEAR",
17
+ CHAR = "CHAR",
18
+ VARCHAR = "VARCHAR",
19
+ BINARY = "BINARY",
20
+ VARBINARY = "VARBINARY",
21
+ TINYBLOB = "TINYBLOB",
22
+ TINYTEXT = "TINYTEXT",
23
+ BLOB = "BLOB",
24
+ TEXT = "TEXT",
25
+ MEDIUMBLOB = "MEDIUMBLOB",
26
+ MEDIUMTEXT = "MEDIUMTEXT",
27
+ LONGBLOB = "LONGBLOB",
28
+ LONGTEXT = "LONGTEXT",
29
+ ENUM = "ENUM",
30
+ SET = "SET",
31
+ JSON = "JSON",
32
+ GEOMETRY = "GEOMETRY",
33
+ POINT = "POINT",
34
+ LINESTRING = "LINESTRING",
35
+ POLYGON = "POLYGON",
36
+ MULTIPOINT = "MULTIPOINT",
37
+ MULTILINESTRING = "MULTILINESTRING",
38
+ MULTIPOLYGON = "MULTIPOLYGON",
39
+ GEOMETRYCOLLECTION = "GEOMETRYCOLLECTION"
41
40
  }
42
- //#endregion
43
- export { ColumnType };