@eggjs/tegg-types 4.0.0-beta.34 → 4.0.0-beta.36

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