@eggjs/tegg-types 4.0.0-beta.4 → 4.0.0-beta.5

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 (353) hide show
  1. package/README.md +12 -0
  2. package/dist/aop/Advice.d.ts +42 -0
  3. package/dist/aop/Advice.js +1 -0
  4. package/dist/aop/Aspect.d.ts +17 -0
  5. package/dist/aop/Aspect.js +5 -0
  6. package/dist/aop/Crosscut.d.ts +32 -0
  7. package/dist/aop/Crosscut.js +6 -0
  8. package/dist/aop/Pointcut.d.ts +29 -0
  9. package/dist/aop/Pointcut.js +20 -0
  10. package/dist/aop/index.d.ts +5 -0
  11. package/dist/aop/index.js +5 -0
  12. package/dist/common/Graph.d.ts +6 -0
  13. package/dist/common/Graph.js +1 -0
  14. package/dist/common/Logger.d.ts +10 -0
  15. package/dist/common/Logger.js +1 -0
  16. package/dist/common/ModuleConfig.d.ts +29 -0
  17. package/dist/common/ModuleConfig.js +1 -0
  18. package/dist/common/RuntimeConfig.d.ts +18 -0
  19. package/dist/common/RuntimeConfig.js +1 -0
  20. package/dist/common/index.d.ts +5 -0
  21. package/dist/common/index.js +1 -0
  22. package/dist/controller-decorator/HTTPController.d.ts +8 -0
  23. package/dist/controller-decorator/HTTPController.js +1 -0
  24. package/dist/controller-decorator/HTTPMethod.d.ts +10 -0
  25. package/dist/controller-decorator/HTTPMethod.js +1 -0
  26. package/dist/controller-decorator/HTTPParam.d.ts +12 -0
  27. package/dist/controller-decorator/HTTPParam.js +1 -0
  28. package/dist/controller-decorator/MetadataKey.d.ts +23 -0
  29. package/dist/controller-decorator/MetadataKey.js +24 -0
  30. package/dist/controller-decorator/builder.d.ts +10 -0
  31. package/dist/controller-decorator/builder.js +1 -0
  32. package/dist/controller-decorator/index.d.ts +9 -0
  33. package/dist/controller-decorator/index.js +4 -0
  34. package/dist/controller-decorator/model/ControllerMetadata.d.ts +15 -0
  35. package/dist/controller-decorator/model/ControllerMetadata.js +1 -0
  36. package/dist/controller-decorator/model/MethodMeta.d.ts +10 -0
  37. package/dist/controller-decorator/model/MethodMeta.js +1 -0
  38. package/dist/controller-decorator/model/index.d.ts +4 -0
  39. package/dist/controller-decorator/model/index.js +3 -0
  40. package/dist/controller-decorator/model/types.d.ts +49 -0
  41. package/dist/controller-decorator/model/types.js +45 -0
  42. package/dist/core-decorator/ContextProto.d.ts +10 -0
  43. package/dist/core-decorator/ContextProto.js +3 -0
  44. package/dist/core-decorator/Inject.d.ts +7 -0
  45. package/dist/core-decorator/Inject.js +1 -0
  46. package/dist/core-decorator/Metadata.d.ts +4 -0
  47. package/dist/core-decorator/Metadata.js +1 -0
  48. package/dist/core-decorator/MultiInstanceProto.d.ts +31 -0
  49. package/dist/core-decorator/MultiInstanceProto.js +1 -0
  50. package/dist/core-decorator/Prototype.d.ts +13 -0
  51. package/dist/core-decorator/Prototype.js +5 -0
  52. package/dist/core-decorator/SingletonProto.d.ts +10 -0
  53. package/dist/core-decorator/SingletonProto.js +1 -0
  54. package/dist/core-decorator/enum/AccessLevel.d.ts +7 -0
  55. package/dist/core-decorator/enum/AccessLevel.js +9 -0
  56. package/dist/core-decorator/enum/EggType.d.ts +7 -0
  57. package/dist/core-decorator/enum/EggType.js +9 -0
  58. package/dist/core-decorator/enum/InjectType.d.ts +7 -0
  59. package/dist/core-decorator/enum/InjectType.js +9 -0
  60. package/dist/core-decorator/enum/MultiInstanceType.d.ts +7 -0
  61. package/dist/core-decorator/enum/MultiInstanceType.js +9 -0
  62. package/dist/core-decorator/enum/ObjectInitType.d.ts +10 -0
  63. package/dist/core-decorator/enum/ObjectInitType.js +15 -0
  64. package/dist/core-decorator/enum/Qualifier.d.ts +10 -0
  65. package/dist/core-decorator/enum/Qualifier.js +11 -0
  66. package/dist/core-decorator/enum/index.d.ts +7 -0
  67. package/dist/core-decorator/enum/index.js +8 -0
  68. package/dist/core-decorator/index.d.ts +18 -0
  69. package/dist/core-decorator/index.js +12 -0
  70. package/dist/core-decorator/model/EggMultiInstancePrototypeInfo.d.ts +62 -0
  71. package/dist/core-decorator/model/EggMultiInstancePrototypeInfo.js +4 -0
  72. package/dist/core-decorator/model/EggPrototypeInfo.d.ts +39 -0
  73. package/dist/core-decorator/model/EggPrototypeInfo.js +3 -0
  74. package/dist/core-decorator/model/InjectConstructorInfo.d.ts +23 -0
  75. package/dist/core-decorator/model/InjectConstructorInfo.js +1 -0
  76. package/dist/core-decorator/model/InjectObjectInfo.d.ts +18 -0
  77. package/dist/core-decorator/model/InjectObjectInfo.js +1 -0
  78. package/{core-decorator → dist/core-decorator}/model/QualifierInfo.d.ts +8 -5
  79. package/dist/core-decorator/model/QualifierInfo.js +1 -0
  80. package/dist/core-decorator/model/index.d.ts +6 -0
  81. package/dist/core-decorator/model/index.js +4 -0
  82. package/dist/dal/Qualifier.d.ts +9 -0
  83. package/dist/dal/Qualifier.js +10 -0
  84. package/dist/dal/decorator/Column.d.ts +182 -0
  85. package/dist/dal/decorator/Column.js +1 -0
  86. package/dist/dal/decorator/DataSourceQualifier.d.ts +5 -0
  87. package/dist/dal/decorator/DataSourceQualifier.js +6 -0
  88. package/dist/dal/decorator/Table.d.ts +27 -0
  89. package/dist/dal/decorator/Table.js +1 -0
  90. package/dist/dal/decorator/index.d.ts +19 -0
  91. package/dist/dal/decorator/index.js +3 -0
  92. package/dist/dal/enum/ColumnFormat.d.ts +8 -0
  93. package/dist/dal/enum/ColumnFormat.js +10 -0
  94. package/dist/dal/enum/ColumnType.d.ts +43 -0
  95. package/dist/dal/enum/ColumnType.js +45 -0
  96. package/dist/dal/enum/CompressionType.d.ts +8 -0
  97. package/dist/dal/enum/CompressionType.js +10 -0
  98. package/dist/dal/enum/IndexStoreType.d.ts +7 -0
  99. package/dist/dal/enum/IndexStoreType.js +9 -0
  100. package/dist/dal/enum/IndexType.d.ts +10 -0
  101. package/dist/dal/enum/IndexType.js +12 -0
  102. package/dist/dal/enum/InsertMethod.d.ts +8 -0
  103. package/dist/dal/enum/InsertMethod.js +10 -0
  104. package/dist/dal/enum/RowFormat.d.ts +11 -0
  105. package/dist/dal/enum/RowFormat.js +13 -0
  106. package/dist/dal/enum/SqlType.d.ts +10 -0
  107. package/dist/dal/enum/SqlType.js +12 -0
  108. package/dist/dal/enum/Templates.d.ts +8 -0
  109. package/dist/dal/enum/Templates.js +10 -0
  110. package/dist/dal/enum/index.d.ts +10 -0
  111. package/dist/dal/enum/index.js +11 -0
  112. package/dist/dal/index.d.ts +21 -0
  113. package/dist/dal/index.js +14 -0
  114. package/dist/dal/type/BaseDao.d.ts +13 -0
  115. package/dist/dal/type/BaseDao.js +1 -0
  116. package/dist/dal/type/CodeGenerator.d.ts +9 -0
  117. package/dist/dal/type/CodeGenerator.js +1 -0
  118. package/dist/dal/type/ColumnTsType.d.ts +45 -0
  119. package/dist/dal/type/ColumnTsType.js +1 -0
  120. package/dist/dal/type/DateSource.d.ts +16 -0
  121. package/dist/dal/type/DateSource.js +1 -0
  122. package/dist/dal/type/Spatial.d.ts +14 -0
  123. package/dist/dal/type/Spatial.js +1 -0
  124. package/dist/dal/type/SqlMap.d.ts +22 -0
  125. package/dist/dal/type/SqlMap.js +1 -0
  126. package/dist/dal/type/index.d.ts +7 -0
  127. package/dist/dal/type/index.js +1 -0
  128. package/dist/dynamic-inject.d.ts +18 -0
  129. package/dist/dynamic-inject.js +5 -0
  130. package/dist/index.d.ts +72 -0
  131. package/dist/index.js +38 -0
  132. package/dist/lifecycle/EggObjectLifecycle.d.ts +40 -0
  133. package/dist/lifecycle/EggObjectLifecycle.js +1 -0
  134. package/dist/lifecycle/IdenticalObject.d.ts +7 -0
  135. package/dist/lifecycle/IdenticalObject.js +1 -0
  136. package/dist/lifecycle/LifecycleHook.d.ts +16 -0
  137. package/dist/lifecycle/LifecycleHook.js +1 -0
  138. package/dist/lifecycle/index.d.ts +4 -0
  139. package/dist/lifecycle/index.js +1 -0
  140. package/dist/metadata/enum/ProtoDescriptorType.d.ts +6 -0
  141. package/dist/metadata/enum/ProtoDescriptorType.js +8 -0
  142. package/dist/metadata/enum/index.d.ts +2 -0
  143. package/dist/metadata/enum/index.js +3 -0
  144. package/dist/metadata/errors.d.ts +8 -0
  145. package/dist/metadata/errors.js +10 -0
  146. package/dist/metadata/index.d.ts +7 -0
  147. package/dist/metadata/index.js +6 -0
  148. package/dist/metadata/model/EggPrototype.d.ts +145 -0
  149. package/dist/metadata/model/EggPrototype.js +3 -0
  150. package/dist/metadata/model/LoadUnit.d.ts +34 -0
  151. package/dist/metadata/model/LoadUnit.js +10 -0
  152. package/dist/metadata/model/Loader.d.ts +12 -0
  153. package/dist/metadata/model/Loader.js +1 -0
  154. package/dist/metadata/model/ProtoDescriptor.d.ts +29 -0
  155. package/dist/metadata/model/ProtoDescriptor.js +3 -0
  156. package/dist/metadata/model/index.d.ts +5 -0
  157. package/dist/metadata/model/index.js +5 -0
  158. package/dist/orm.d.ts +33 -0
  159. package/dist/orm.js +10 -0
  160. package/dist/runtime/Factory.d.ts +11 -0
  161. package/dist/runtime/Factory.js +1 -0
  162. package/dist/runtime/index.d.ts +6 -0
  163. package/dist/runtime/index.js +3 -0
  164. package/dist/runtime/model/EggContainer.d.ts +16 -0
  165. package/dist/runtime/model/EggContainer.js +1 -0
  166. package/dist/runtime/model/EggContext.d.ts +10 -0
  167. package/dist/runtime/model/EggContext.js +1 -0
  168. package/dist/runtime/model/EggObject.d.ts +29 -0
  169. package/dist/runtime/model/EggObject.js +12 -0
  170. package/dist/runtime/model/LoadUnitInstance.d.ts +13 -0
  171. package/dist/runtime/model/LoadUnitInstance.js +1 -0
  172. package/dist/runtime/model/index.d.ts +5 -0
  173. package/dist/runtime/model/index.js +3 -0
  174. package/dist/schedule.d.ts +33 -0
  175. package/dist/schedule.js +13 -0
  176. package/dist/transaction.d.ts +26 -0
  177. package/dist/transaction.js +13 -0
  178. package/package.json +109 -67
  179. package/aop/Advice.d.ts +0 -39
  180. package/aop/Advice.js +0 -2
  181. package/aop/Aspect.d.ts +0 -13
  182. package/aop/Aspect.js +0 -2
  183. package/aop/Crosscut.d.ts +0 -28
  184. package/aop/Crosscut.js +0 -3
  185. package/aop/Pointcut.d.ts +0 -25
  186. package/aop/Pointcut.js +0 -17
  187. package/aop/index.d.ts +0 -4
  188. package/aop/index.js +0 -5
  189. package/common/Graph.d.ts +0 -3
  190. package/common/Graph.js +0 -2
  191. package/common/Logger.d.ts +0 -7
  192. package/common/Logger.js +0 -2
  193. package/common/ModuleConfig.d.ts +0 -27
  194. package/common/ModuleConfig.js +0 -2
  195. package/common/RuntimeConfig.d.ts +0 -15
  196. package/common/RuntimeConfig.js +0 -2
  197. package/common/index.d.ts +0 -4
  198. package/common/index.js +0 -5
  199. package/controller-decorator/HTTPController.d.ts +0 -5
  200. package/controller-decorator/HTTPController.js +0 -2
  201. package/controller-decorator/HTTPMethod.d.ts +0 -6
  202. package/controller-decorator/HTTPMethod.js +0 -2
  203. package/controller-decorator/HTTPParam.d.ts +0 -9
  204. package/controller-decorator/HTTPParam.js +0 -2
  205. package/controller-decorator/MetadataKey.d.ts +0 -20
  206. package/controller-decorator/MetadataKey.js +0 -21
  207. package/controller-decorator/builder.d.ts +0 -6
  208. package/controller-decorator/builder.js +0 -2
  209. package/controller-decorator/index.d.ts +0 -6
  210. package/controller-decorator/index.js +0 -7
  211. package/controller-decorator/model/ControllerMetadata.d.ts +0 -11
  212. package/controller-decorator/model/ControllerMetadata.js +0 -2
  213. package/controller-decorator/model/MethodMeta.d.ts +0 -6
  214. package/controller-decorator/model/MethodMeta.js +0 -2
  215. package/controller-decorator/model/index.d.ts +0 -3
  216. package/controller-decorator/model/index.js +0 -4
  217. package/controller-decorator/model/types.d.ts +0 -45
  218. package/controller-decorator/model/types.js +0 -42
  219. package/core-decorator/ContextProto.d.ts +0 -6
  220. package/core-decorator/ContextProto.js +0 -2
  221. package/core-decorator/Inject.d.ts +0 -4
  222. package/core-decorator/Inject.js +0 -2
  223. package/core-decorator/Metadata.d.ts +0 -1
  224. package/core-decorator/Metadata.js +0 -2
  225. package/core-decorator/MultiInstanceProto.d.ts +0 -26
  226. package/core-decorator/MultiInstanceProto.js +0 -2
  227. package/core-decorator/Prototype.d.ts +0 -8
  228. package/core-decorator/Prototype.js +0 -2
  229. package/core-decorator/SingletonProto.d.ts +0 -6
  230. package/core-decorator/SingletonProto.js +0 -2
  231. package/core-decorator/enum/AccessLevel.d.ts +0 -4
  232. package/core-decorator/enum/AccessLevel.js +0 -8
  233. package/core-decorator/enum/EggType.d.ts +0 -4
  234. package/core-decorator/enum/EggType.js +0 -6
  235. package/core-decorator/enum/InjectType.d.ts +0 -4
  236. package/core-decorator/enum/InjectType.js +0 -6
  237. package/core-decorator/enum/MultiInstanceType.d.ts +0 -4
  238. package/core-decorator/enum/MultiInstanceType.js +0 -6
  239. package/core-decorator/enum/ObjectInitType.d.ts +0 -7
  240. package/core-decorator/enum/ObjectInitType.js +0 -15
  241. package/core-decorator/enum/Qualifier.d.ts +0 -7
  242. package/core-decorator/enum/Qualifier.js +0 -8
  243. package/core-decorator/enum/index.d.ts +0 -6
  244. package/core-decorator/enum/index.js +0 -7
  245. package/core-decorator/index.d.ts +0 -8
  246. package/core-decorator/index.js +0 -9
  247. package/core-decorator/model/EggMultiInstancePrototypeInfo.d.ts +0 -57
  248. package/core-decorator/model/EggMultiInstancePrototypeInfo.js +0 -2
  249. package/core-decorator/model/EggPrototypeInfo.d.ts +0 -34
  250. package/core-decorator/model/EggPrototypeInfo.js +0 -2
  251. package/core-decorator/model/InjectConstructorInfo.d.ts +0 -19
  252. package/core-decorator/model/InjectConstructorInfo.js +0 -2
  253. package/core-decorator/model/InjectObjectInfo.d.ts +0 -15
  254. package/core-decorator/model/InjectObjectInfo.js +0 -2
  255. package/core-decorator/model/QualifierInfo.js +0 -2
  256. package/core-decorator/model/index.d.ts +0 -5
  257. package/core-decorator/model/index.js +0 -6
  258. package/dal/Qualifier.d.ts +0 -6
  259. package/dal/Qualifier.js +0 -7
  260. package/dal/decorator/Column.d.ts +0 -178
  261. package/dal/decorator/Column.js +0 -2
  262. package/dal/decorator/DataSourceQualifier.d.ts +0 -2
  263. package/dal/decorator/DataSourceQualifier.js +0 -3
  264. package/dal/decorator/Table.d.ts +0 -21
  265. package/dal/decorator/Table.js +0 -2
  266. package/dal/decorator/index.d.ts +0 -14
  267. package/dal/decorator/index.js +0 -4
  268. package/dal/enum/ColumnFormat.d.ts +0 -5
  269. package/dal/enum/ColumnFormat.js +0 -7
  270. package/dal/enum/ColumnType.d.ts +0 -40
  271. package/dal/enum/ColumnType.js +0 -48
  272. package/dal/enum/CompressionType.d.ts +0 -5
  273. package/dal/enum/CompressionType.js +0 -7
  274. package/dal/enum/IndexStoreType.d.ts +0 -4
  275. package/dal/enum/IndexStoreType.js +0 -6
  276. package/dal/enum/IndexType.d.ts +0 -7
  277. package/dal/enum/IndexType.js +0 -9
  278. package/dal/enum/InsertMethod.d.ts +0 -5
  279. package/dal/enum/InsertMethod.js +0 -7
  280. package/dal/enum/RowFormat.d.ts +0 -8
  281. package/dal/enum/RowFormat.js +0 -10
  282. package/dal/enum/SqlType.d.ts +0 -7
  283. package/dal/enum/SqlType.js +0 -9
  284. package/dal/enum/Templates.d.ts +0 -5
  285. package/dal/enum/Templates.js +0 -7
  286. package/dal/enum/index.d.ts +0 -9
  287. package/dal/enum/index.js +0 -10
  288. package/dal/index.d.ts +0 -4
  289. package/dal/index.js +0 -5
  290. package/dal/type/BaseDao.d.ts +0 -9
  291. package/dal/type/BaseDao.js +0 -2
  292. package/dal/type/CodeGenerator.d.ts +0 -6
  293. package/dal/type/CodeGenerator.js +0 -2
  294. package/dal/type/ColumnTsType.d.ts +0 -41
  295. package/dal/type/ColumnTsType.js +0 -2
  296. package/dal/type/DateSource.d.ts +0 -13
  297. package/dal/type/DateSource.js +0 -2
  298. package/dal/type/Spatial.d.ts +0 -11
  299. package/dal/type/Spatial.js +0 -2
  300. package/dal/type/SqlMap.d.ts +0 -18
  301. package/dal/type/SqlMap.js +0 -2
  302. package/dal/type/index.d.ts +0 -6
  303. package/dal/type/index.js +0 -7
  304. package/dynamic-inject.d.ts +0 -13
  305. package/dynamic-inject.js +0 -2
  306. package/index.d.ts +0 -12
  307. package/index.js +0 -13
  308. package/lifecycle/EggObjectLifecycle.d.ts +0 -35
  309. package/lifecycle/EggObjectLifecycle.js +0 -2
  310. package/lifecycle/IdenticalObject.d.ts +0 -4
  311. package/lifecycle/IdenticalObject.js +0 -2
  312. package/lifecycle/LifecycleHook.d.ts +0 -13
  313. package/lifecycle/LifecycleHook.js +0 -2
  314. package/lifecycle/index.d.ts +0 -3
  315. package/lifecycle/index.js +0 -4
  316. package/metadata/enum/ProtoDescriptorType.d.ts +0 -3
  317. package/metadata/enum/ProtoDescriptorType.js +0 -5
  318. package/metadata/enum/index.d.ts +0 -1
  319. package/metadata/enum/index.js +0 -2
  320. package/metadata/errors.d.ts +0 -5
  321. package/metadata/errors.js +0 -7
  322. package/metadata/index.d.ts +0 -3
  323. package/metadata/index.js +0 -4
  324. package/metadata/model/EggPrototype.d.ts +0 -136
  325. package/metadata/model/EggPrototype.js +0 -2
  326. package/metadata/model/LoadUnit.d.ts +0 -29
  327. package/metadata/model/LoadUnit.js +0 -7
  328. package/metadata/model/Loader.d.ts +0 -7
  329. package/metadata/model/Loader.js +0 -2
  330. package/metadata/model/ProtoDescriptor.d.ts +0 -22
  331. package/metadata/model/ProtoDescriptor.js +0 -2
  332. package/metadata/model/index.d.ts +0 -4
  333. package/metadata/model/index.js +0 -5
  334. package/orm.d.ts +0 -30
  335. package/orm.js +0 -7
  336. package/runtime/Factory.d.ts +0 -6
  337. package/runtime/Factory.js +0 -2
  338. package/runtime/index.d.ts +0 -2
  339. package/runtime/index.js +0 -3
  340. package/runtime/model/EggContainer.d.ts +0 -11
  341. package/runtime/model/EggContainer.js +0 -2
  342. package/runtime/model/EggContext.d.ts +0 -7
  343. package/runtime/model/EggContext.js +0 -2
  344. package/runtime/model/EggObject.d.ts +0 -24
  345. package/runtime/model/EggObject.js +0 -9
  346. package/runtime/model/LoadUnitInstance.d.ts +0 -9
  347. package/runtime/model/LoadUnitInstance.js +0 -2
  348. package/runtime/model/index.d.ts +0 -4
  349. package/runtime/model/index.js +0 -5
  350. package/schedule.d.ts +0 -30
  351. package/schedule.js +0 -10
  352. package/transaction.d.ts +0 -23
  353. package/transaction.js +0 -10
@@ -0,0 +1,27 @@
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;
25
+ }
26
+ //#endregion
27
+ export { TableParams };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,19 @@
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;
17
+ }
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 };
@@ -0,0 +1,3 @@
1
+ import { DataSourceInjectName, DataSourceQualifierAttribute } from "./DataSourceQualifier.js";
2
+
3
+ export { DataSourceInjectName, DataSourceQualifierAttribute };
@@ -0,0 +1,8 @@
1
+ //#region src/dal/enum/ColumnFormat.d.ts
2
+ declare enum ColumnFormat {
3
+ FIXED = "FIXED",
4
+ DYNAMIC = "DYNAMIC",
5
+ DEFAULT = "DEFAULT",
6
+ }
7
+ //#endregion
8
+ export { ColumnFormat };
@@ -0,0 +1,10 @@
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 };
@@ -0,0 +1,43 @@
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",
41
+ }
42
+ //#endregion
43
+ export { ColumnType };
@@ -0,0 +1,45 @@
1
+ //#region src/dal/enum/ColumnType.ts
2
+ let ColumnType = /* @__PURE__ */ function(ColumnType$1) {
3
+ ColumnType$1["BIT"] = "BIT";
4
+ ColumnType$1["TINYINT"] = "TINYINT";
5
+ ColumnType$1["BOOL"] = "BOOL";
6
+ ColumnType$1["SMALLINT"] = "SMALLINT";
7
+ ColumnType$1["MEDIUMINT"] = "MEDIUMINT";
8
+ ColumnType$1["INT"] = "INT";
9
+ ColumnType$1["BIGINT"] = "BIGINT";
10
+ ColumnType$1["DECIMAL"] = "DECIMAL";
11
+ ColumnType$1["FLOAT"] = "FLOAT";
12
+ ColumnType$1["DOUBLE"] = "DOUBLE";
13
+ ColumnType$1["DATE"] = "DATE";
14
+ ColumnType$1["DATETIME"] = "DATETIME";
15
+ ColumnType$1["TIMESTAMP"] = "TIMESTAMP";
16
+ ColumnType$1["TIME"] = "TIME";
17
+ ColumnType$1["YEAR"] = "YEAR";
18
+ ColumnType$1["CHAR"] = "CHAR";
19
+ ColumnType$1["VARCHAR"] = "VARCHAR";
20
+ ColumnType$1["BINARY"] = "BINARY";
21
+ ColumnType$1["VARBINARY"] = "VARBINARY";
22
+ ColumnType$1["TINYBLOB"] = "TINYBLOB";
23
+ ColumnType$1["TINYTEXT"] = "TINYTEXT";
24
+ ColumnType$1["BLOB"] = "BLOB";
25
+ ColumnType$1["TEXT"] = "TEXT";
26
+ ColumnType$1["MEDIUMBLOB"] = "MEDIUMBLOB";
27
+ ColumnType$1["MEDIUMTEXT"] = "MEDIUMTEXT";
28
+ ColumnType$1["LONGBLOB"] = "LONGBLOB";
29
+ ColumnType$1["LONGTEXT"] = "LONGTEXT";
30
+ ColumnType$1["ENUM"] = "ENUM";
31
+ ColumnType$1["SET"] = "SET";
32
+ ColumnType$1["JSON"] = "JSON";
33
+ ColumnType$1["GEOMETRY"] = "GEOMETRY";
34
+ ColumnType$1["POINT"] = "POINT";
35
+ ColumnType$1["LINESTRING"] = "LINESTRING";
36
+ ColumnType$1["POLYGON"] = "POLYGON";
37
+ ColumnType$1["MULTIPOINT"] = "MULTIPOINT";
38
+ ColumnType$1["MULTILINESTRING"] = "MULTILINESTRING";
39
+ ColumnType$1["MULTIPOLYGON"] = "MULTIPOLYGON";
40
+ ColumnType$1["GEOMETRYCOLLECTION"] = "GEOMETRYCOLLECTION";
41
+ return ColumnType$1;
42
+ }({});
43
+
44
+ //#endregion
45
+ export { ColumnType };
@@ -0,0 +1,8 @@
1
+ //#region src/dal/enum/CompressionType.d.ts
2
+ declare enum CompressionType {
3
+ ZLIB = "ZLIB",
4
+ LZ4 = "LZ4",
5
+ NONE = "NONE",
6
+ }
7
+ //#endregion
8
+ export { CompressionType };
@@ -0,0 +1,10 @@
1
+ //#region src/dal/enum/CompressionType.ts
2
+ let CompressionType = /* @__PURE__ */ function(CompressionType$1) {
3
+ CompressionType$1["ZLIB"] = "ZLIB";
4
+ CompressionType$1["LZ4"] = "LZ4";
5
+ CompressionType$1["NONE"] = "NONE";
6
+ return CompressionType$1;
7
+ }({});
8
+
9
+ //#endregion
10
+ export { CompressionType };
@@ -0,0 +1,7 @@
1
+ //#region src/dal/enum/IndexStoreType.d.ts
2
+ declare enum IndexStoreType {
3
+ BTREE = "BTREE",
4
+ HASH = "HASH",
5
+ }
6
+ //#endregion
7
+ export { IndexStoreType };
@@ -0,0 +1,9 @@
1
+ //#region src/dal/enum/IndexStoreType.ts
2
+ let IndexStoreType = /* @__PURE__ */ function(IndexStoreType$1) {
3
+ IndexStoreType$1["BTREE"] = "BTREE";
4
+ IndexStoreType$1["HASH"] = "HASH";
5
+ return IndexStoreType$1;
6
+ }({});
7
+
8
+ //#endregion
9
+ export { IndexStoreType };
@@ -0,0 +1,10 @@
1
+ //#region src/dal/enum/IndexType.d.ts
2
+ declare enum IndexType {
3
+ PRIMARY = "PRIMARY",
4
+ UNIQUE = "UNIQUE",
5
+ INDEX = "INDEX",
6
+ FULLTEXT = "FULLTEXT",
7
+ SPATIAL = "SPATIAL",
8
+ }
9
+ //#endregion
10
+ export { IndexType };
@@ -0,0 +1,12 @@
1
+ //#region src/dal/enum/IndexType.ts
2
+ let IndexType = /* @__PURE__ */ function(IndexType$1) {
3
+ IndexType$1["PRIMARY"] = "PRIMARY";
4
+ IndexType$1["UNIQUE"] = "UNIQUE";
5
+ IndexType$1["INDEX"] = "INDEX";
6
+ IndexType$1["FULLTEXT"] = "FULLTEXT";
7
+ IndexType$1["SPATIAL"] = "SPATIAL";
8
+ return IndexType$1;
9
+ }({});
10
+
11
+ //#endregion
12
+ export { IndexType };
@@ -0,0 +1,8 @@
1
+ //#region src/dal/enum/InsertMethod.d.ts
2
+ declare enum InsertMethod {
3
+ NO = "NO",
4
+ FIRST = "FIRST",
5
+ LAST = "LAST",
6
+ }
7
+ //#endregion
8
+ export { InsertMethod };
@@ -0,0 +1,10 @@
1
+ //#region src/dal/enum/InsertMethod.ts
2
+ let InsertMethod = /* @__PURE__ */ function(InsertMethod$1) {
3
+ InsertMethod$1["NO"] = "NO";
4
+ InsertMethod$1["FIRST"] = "FIRST";
5
+ InsertMethod$1["LAST"] = "LAST";
6
+ return InsertMethod$1;
7
+ }({});
8
+
9
+ //#endregion
10
+ export { InsertMethod };
@@ -0,0 +1,11 @@
1
+ //#region src/dal/enum/RowFormat.d.ts
2
+ declare enum RowFormat {
3
+ DEFAULT = "DEFAULT",
4
+ DYNAMIC = "DYNAMIC",
5
+ FIXED = "FIXED",
6
+ COMPRESSED = "COMPRESSED",
7
+ REDUNDANT = "REDUNDANT",
8
+ COMPACT = "COMPACT",
9
+ }
10
+ //#endregion
11
+ export { RowFormat };
@@ -0,0 +1,13 @@
1
+ //#region src/dal/enum/RowFormat.ts
2
+ let RowFormat = /* @__PURE__ */ function(RowFormat$1) {
3
+ RowFormat$1["DEFAULT"] = "DEFAULT";
4
+ RowFormat$1["DYNAMIC"] = "DYNAMIC";
5
+ RowFormat$1["FIXED"] = "FIXED";
6
+ RowFormat$1["COMPRESSED"] = "COMPRESSED";
7
+ RowFormat$1["REDUNDANT"] = "REDUNDANT";
8
+ RowFormat$1["COMPACT"] = "COMPACT";
9
+ return RowFormat$1;
10
+ }({});
11
+
12
+ //#endregion
13
+ export { RowFormat };
@@ -0,0 +1,10 @@
1
+ //#region src/dal/enum/SqlType.d.ts
2
+ declare enum SqlType {
3
+ BLOCK = "BLOCK",
4
+ INSERT = "INSERT",
5
+ SELECT = "SELECT",
6
+ UPDATE = "UPDATE",
7
+ DELETE = "DELETE",
8
+ }
9
+ //#endregion
10
+ export { SqlType };
@@ -0,0 +1,12 @@
1
+ //#region src/dal/enum/SqlType.ts
2
+ let SqlType = /* @__PURE__ */ function(SqlType$1) {
3
+ SqlType$1["BLOCK"] = "BLOCK";
4
+ SqlType$1["INSERT"] = "INSERT";
5
+ SqlType$1["SELECT"] = "SELECT";
6
+ SqlType$1["UPDATE"] = "UPDATE";
7
+ SqlType$1["DELETE"] = "DELETE";
8
+ return SqlType$1;
9
+ }({});
10
+
11
+ //#endregion
12
+ export { SqlType };
@@ -0,0 +1,8 @@
1
+ //#region src/dal/enum/Templates.d.ts
2
+ declare enum Templates {
3
+ BASE_DAO = "base_dao",
4
+ DAO = "dao",
5
+ EXTENSION = "extension",
6
+ }
7
+ //#endregion
8
+ export { Templates };
@@ -0,0 +1,10 @@
1
+ //#region src/dal/enum/Templates.ts
2
+ let Templates = /* @__PURE__ */ function(Templates$1) {
3
+ Templates$1["BASE_DAO"] = "base_dao";
4
+ Templates$1["DAO"] = "dao";
5
+ Templates$1["EXTENSION"] = "extension";
6
+ return Templates$1;
7
+ }({});
8
+
9
+ //#endregion
10
+ export { Templates };
@@ -0,0 +1,10 @@
1
+ import { ColumnFormat } from "./ColumnFormat.js";
2
+ import { ColumnType } from "./ColumnType.js";
3
+ import { CompressionType } from "./CompressionType.js";
4
+ import { IndexStoreType } from "./IndexStoreType.js";
5
+ import { IndexType } from "./IndexType.js";
6
+ import { InsertMethod } from "./InsertMethod.js";
7
+ import { RowFormat } from "./RowFormat.js";
8
+ import { SqlType } from "./SqlType.js";
9
+ import { Templates } from "./Templates.js";
10
+ export { ColumnFormat, ColumnType, CompressionType, IndexStoreType, IndexType, InsertMethod, RowFormat, SqlType, Templates };
@@ -0,0 +1,11 @@
1
+ import { ColumnFormat } from "./ColumnFormat.js";
2
+ import { ColumnType } from "./ColumnType.js";
3
+ import { CompressionType } from "./CompressionType.js";
4
+ import { IndexStoreType } from "./IndexStoreType.js";
5
+ import { IndexType } from "./IndexType.js";
6
+ import { InsertMethod } from "./InsertMethod.js";
7
+ import { RowFormat } from "./RowFormat.js";
8
+ import { SqlType } from "./SqlType.js";
9
+ import { Templates } from "./Templates.js";
10
+
11
+ export { ColumnFormat, ColumnType, CompressionType, IndexStoreType, IndexType, InsertMethod, RowFormat, SqlType, Templates };
@@ -0,0 +1,21 @@
1
+ import { DAL_COLUMN_INFO_MAP, DAL_COLUMN_TYPE_MAP, DAL_INDEX_LIST, DAL_IS_DAO, DAL_IS_TABLE, DAL_TABLE_PARAMS } from "./Qualifier.js";
2
+ import { ColumnFormat } from "./enum/ColumnFormat.js";
3
+ import { ColumnType } from "./enum/ColumnType.js";
4
+ import { CompressionType } from "./enum/CompressionType.js";
5
+ import { IndexStoreType } from "./enum/IndexStoreType.js";
6
+ import { IndexType } from "./enum/IndexType.js";
7
+ import { InsertMethod } from "./enum/InsertMethod.js";
8
+ import { RowFormat } from "./enum/RowFormat.js";
9
+ import { SqlType } from "./enum/SqlType.js";
10
+ import { Templates } from "./enum/Templates.js";
11
+ 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 "./decorator/Column.js";
12
+ import { DataSourceInjectName, DataSourceQualifierAttribute } from "./decorator/DataSourceQualifier.js";
13
+ import { TableParams } from "./decorator/Table.js";
14
+ import { IndexParams } from "./decorator/index.js";
15
+ import { BaseSqlMap, BlockSqlMap, FullSqlMap, GenerateSqlMap, SqlMap } from "./type/SqlMap.js";
16
+ import { BaseDaoType } from "./type/BaseDao.js";
17
+ import { CodeGeneratorOptions } from "./type/CodeGenerator.js";
18
+ import { Geometry, GeometryCollection, Line, MultiLine, MultiPoint, MultiPolygon, Point, Polygon } from "./type/Spatial.js";
19
+ import { ColumnTsType } from "./type/ColumnTsType.js";
20
+ import { DataSource, PaginateData } from "./type/DateSource.js";
21
+ export { BaseDaoType, BaseSpatialParams, BaseSqlMap, BigIntParams, BinaryParams, BitParams, BlobParams, BlockSqlMap, BoolParams, CharParams, CodeGeneratorOptions, ColumnFormat, ColumnParams, ColumnTsType, ColumnType, ColumnTypeParams, CompressionType, DAL_COLUMN_INFO_MAP, DAL_COLUMN_TYPE_MAP, DAL_INDEX_LIST, DAL_IS_DAO, DAL_IS_TABLE, DAL_TABLE_PARAMS, DataSource, DataSourceInjectName, DataSourceQualifierAttribute, DateParams, DateTimeParams, DecimalParams, DoubleParams, EnumParams, FloatParams, FullSqlMap, GenerateSqlMap, Geometry, GeometryCollection, GeometryCollectionParams, GeometryParams, IColumnTypeParams, IndexParams, IndexStoreType, IndexType, InsertMethod, IntParams, JsonParams, Line, LinestringParams, LongBlobParams, LongTextParams, MediumBlobParams, MediumIntParams, MediumTextParams, MultiLine, MultiLinestringParams, MultiPoint, MultiPointParams, MultiPolygon, MultiPolygonParams, PaginateData, Point, PointParams, Polygon, PolygonParams, RowFormat, SetParams, SmallIntParams, SqlMap, SqlType, TableParams, Templates, TextParams, TimeParams, TimestampParams, TinyBlobParams, TinyIntParams, TinyTextParams, VarBinaryParams, VarCharParams, YearParams };
@@ -0,0 +1,14 @@
1
+ import { ColumnFormat } from "./enum/ColumnFormat.js";
2
+ import { ColumnType } from "./enum/ColumnType.js";
3
+ import { CompressionType } from "./enum/CompressionType.js";
4
+ import { IndexStoreType } from "./enum/IndexStoreType.js";
5
+ import { IndexType } from "./enum/IndexType.js";
6
+ import { InsertMethod } from "./enum/InsertMethod.js";
7
+ import { RowFormat } from "./enum/RowFormat.js";
8
+ import { SqlType } from "./enum/SqlType.js";
9
+ import { Templates } from "./enum/Templates.js";
10
+ import { DataSourceInjectName, DataSourceQualifierAttribute } from "./decorator/DataSourceQualifier.js";
11
+ import "./decorator/index.js";
12
+ import { DAL_COLUMN_INFO_MAP, DAL_COLUMN_TYPE_MAP, DAL_INDEX_LIST, DAL_IS_DAO, DAL_IS_TABLE, DAL_TABLE_PARAMS } from "./Qualifier.js";
13
+
14
+ export { ColumnFormat, ColumnType, CompressionType, DAL_COLUMN_INFO_MAP, DAL_COLUMN_TYPE_MAP, DAL_INDEX_LIST, DAL_IS_DAO, DAL_IS_TABLE, DAL_TABLE_PARAMS, DataSourceInjectName, DataSourceQualifierAttribute, IndexStoreType, IndexType, InsertMethod, RowFormat, SqlType, Templates };
@@ -0,0 +1,13 @@
1
+ import { EggProtoImplClass } from "../../core-decorator/model/EggPrototypeInfo.js";
2
+ import { SqlMap } from "./SqlMap.js";
3
+
4
+ //#region src/dal/type/BaseDao.d.ts
5
+ interface BaseDaoType {
6
+ new (...args: any[]): object;
7
+ clazzModel: EggProtoImplClass<object>;
8
+ clazzExtension: Record<string, SqlMap>;
9
+ tableStature: object;
10
+ tableSql: string;
11
+ }
12
+ //#endregion
13
+ export { BaseDaoType };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,9 @@
1
+ //#region src/dal/type/CodeGenerator.d.ts
2
+ interface CodeGeneratorOptions {
3
+ moduleDir: string;
4
+ moduleName: string;
5
+ teggPkg?: string;
6
+ dalPkg?: string;
7
+ }
8
+ //#endregion
9
+ export { CodeGeneratorOptions };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,45 @@
1
+ import { Geometry, GeometryCollection, Line, MultiLine, MultiPoint, MultiPolygon, Point, Polygon } from "./Spatial.js";
2
+
3
+ //#region src/dal/type/ColumnTsType.d.ts
4
+ interface ColumnTsType {
5
+ BIT: Buffer;
6
+ TINYINT: number;
7
+ BOOL: 0 | 1;
8
+ SMALLINT: number;
9
+ MEDIUMINT: number;
10
+ INT: number;
11
+ BIGINT: string;
12
+ DECIMAL: string;
13
+ FLOAT: number;
14
+ DOUBLE: number;
15
+ DATE: Date;
16
+ DATETIME: Date;
17
+ TIMESTAMP: Date;
18
+ TIME: string;
19
+ YEAR: number;
20
+ CHAR: string;
21
+ VARCHAR: string;
22
+ BINARY: Buffer;
23
+ VARBINARY: Buffer;
24
+ TINYBLOB: Buffer;
25
+ TINYTEXT: string;
26
+ BLOB: Buffer;
27
+ TEXT: string;
28
+ MEDIUMBLOB: Buffer;
29
+ MEDIUMTEXT: string;
30
+ LONGBLOB: Buffer;
31
+ LONGTEXT: string;
32
+ ENUM: string;
33
+ SET: string;
34
+ JSON: object;
35
+ GEOMETRY: Geometry;
36
+ POINT: Point;
37
+ LINESTRING: Line;
38
+ POLYGON: Polygon;
39
+ MULTIPOINT: MultiPoint;
40
+ MULTILINESTRING: MultiLine;
41
+ MULTIPOLYGON: MultiPolygon;
42
+ GEOMETRYCOLLECTION: GeometryCollection;
43
+ }
44
+ //#endregion
45
+ export { ColumnTsType };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,16 @@
1
+ //#region src/dal/type/DateSource.d.ts
2
+ interface PaginateData<T> {
3
+ total: number;
4
+ pageNum: number;
5
+ rows: Array<T>;
6
+ }
7
+ interface DataSource<T> {
8
+ execute(sqlName: string, data?: any): Promise<Array<T>>;
9
+ executeScalar(sqlName: string, data?: any): Promise<T | null>;
10
+ executeRaw(sqlName: string, data?: any): Promise<Array<any>>;
11
+ executeRawScalar(sqlName: string, data?: any): Promise<any | null>;
12
+ paginate(sqlName: string, data: any, currentPage: number, perPageCount: number): Promise<PaginateData<T>>;
13
+ count(sqlName: string, data?: any): Promise<number>;
14
+ }
15
+ //#endregion
16
+ export { DataSource, PaginateData };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,14 @@
1
+ //#region src/dal/type/Spatial.d.ts
2
+ interface Point {
3
+ x: number;
4
+ y: number;
5
+ }
6
+ type Line = Array<Point>;
7
+ type Polygon = Array<Line>;
8
+ type Geometry = Point | Line | Polygon;
9
+ type MultiPoint = Array<Point>;
10
+ type MultiLine = Array<Line>;
11
+ type MultiPolygon = Array<Polygon>;
12
+ type GeometryCollection = Array<Point | Line | Polygon>;
13
+ //#endregion
14
+ export { Geometry, GeometryCollection, Line, MultiLine, MultiPoint, MultiPolygon, Point, Polygon };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,22 @@
1
+ import { SqlType } from "../enum/SqlType.js";
2
+
3
+ //#region src/dal/type/SqlMap.d.ts
4
+ interface BaseSqlMap {
5
+ type?: SqlType;
6
+ }
7
+ interface FullSqlMap extends BaseSqlMap {
8
+ type: SqlType.DELETE | SqlType.INSERT | SqlType.UPDATE | SqlType.SELECT;
9
+ sql: string;
10
+ }
11
+ interface BlockSqlMap extends BaseSqlMap {
12
+ type: SqlType.BLOCK;
13
+ content: string;
14
+ }
15
+ type SqlMap = FullSqlMap | BlockSqlMap;
16
+ interface GenerateSqlMap {
17
+ name: string;
18
+ type: SqlType.DELETE | SqlType.UPDATE | SqlType.INSERT | SqlType.SELECT;
19
+ sql: string;
20
+ }
21
+ //#endregion
22
+ export { BaseSqlMap, BlockSqlMap, FullSqlMap, GenerateSqlMap, SqlMap };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,7 @@
1
+ import { BaseSqlMap, BlockSqlMap, FullSqlMap, GenerateSqlMap, SqlMap } from "./SqlMap.js";
2
+ import { BaseDaoType } from "./BaseDao.js";
3
+ import { CodeGeneratorOptions } from "./CodeGenerator.js";
4
+ import { Geometry, GeometryCollection, Line, MultiLine, MultiPoint, MultiPolygon, Point, Polygon } from "./Spatial.js";
5
+ import { ColumnTsType } from "./ColumnTsType.js";
6
+ import { DataSource, PaginateData } from "./DateSource.js";
7
+ export { BaseDaoType, BaseSqlMap, BlockSqlMap, CodeGeneratorOptions, ColumnTsType, DataSource, FullSqlMap, GenerateSqlMap, Geometry, GeometryCollection, Line, MultiLine, MultiPoint, MultiPolygon, PaginateData, Point, Polygon, SqlMap };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,18 @@
1
+ import { QualifierValue } from "./core-decorator/model/QualifierInfo.js";
2
+ import { EggProtoImplClass } from "./core-decorator/model/EggPrototypeInfo.js";
3
+
4
+ //#region src/dynamic-inject.d.ts
5
+ type EggAbstractClazz<T extends object = object> = Function & {
6
+ prototype: T;
7
+ };
8
+ type ImplTypeEnum = {
9
+ [id: string]: QualifierValue;
10
+ };
11
+ type ImplDecorator<T extends object, Enum extends ImplTypeEnum> = (type: Enum[keyof Enum]) => ((clazz: EggProtoImplClass<T>) => void);
12
+ interface EggObjectFactory {
13
+ getEggObject<T extends object>(abstractClazz: EggAbstractClazz<T>, qualifierValue: QualifierValue): Promise<T>;
14
+ getEggObjects<T extends object>(abstractClazz: EggAbstractClazz<T>): Promise<AsyncIterable<T>>;
15
+ }
16
+ declare const QUALIFIER_IMPL_MAP: unique symbol;
17
+ //#endregion
18
+ export { EggAbstractClazz, EggObjectFactory, ImplDecorator, ImplTypeEnum, QUALIFIER_IMPL_MAP };
@@ -0,0 +1,5 @@
1
+ //#region src/dynamic-inject.ts
2
+ const QUALIFIER_IMPL_MAP = Symbol.for("EggPrototype#qualifierImplMap");
3
+
4
+ //#endregion
5
+ export { QUALIFIER_IMPL_MAP };