vona-module-test-vona 5.0.38 → 5.0.41
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.
- package/dist/.metadata/index.d.ts +22 -1
- package/dist/bean/cacheRedis.post.d.ts +7 -0
- package/dist/index.js +499 -268
- package/dist/service/order.d.ts +4 -0
- package/dist/service/post.d.ts +20 -0
- package/package.json +4 -2
- package/src/.metadata/index.ts +1741 -0
- package/src/.metadata/this.ts +2 -0
- package/src/bean/aop.regExp.ts +30 -0
- package/src/bean/aop.simple.ts +58 -0
- package/src/bean/aopMethod.test.ts +42 -0
- package/src/bean/bean.testCtx.ts +55 -0
- package/src/bean/broadcast.test.ts +22 -0
- package/src/bean/cacheMem.test.ts +7 -0
- package/src/bean/cacheRedis.post.ts +10 -0
- package/src/bean/cacheRedis.test.ts +7 -0
- package/src/bean/event.helloEcho.ts +8 -0
- package/src/bean/eventListener.helloEcho.ts +21 -0
- package/src/bean/meta.version.ts +81 -0
- package/src/bean/queue.test.ts +18 -0
- package/src/bean/schedule.test.ts +12 -0
- package/src/bean/schedule.test3.ts +12 -0
- package/src/bean/summerCache.test.ts +29 -0
- package/src/config/config.ts +5 -0
- package/src/config/locale/en-us.ts +19 -0
- package/src/config/locale/zh-cn.ts +17 -0
- package/src/controller/bean.ts +95 -0
- package/src/controller/cacheMem.ts +63 -0
- package/src/controller/cacheRedis.ts +55 -0
- package/src/controller/dtoTest.ts +63 -0
- package/src/controller/guardPassport.ts +25 -0
- package/src/controller/onion.ts +92 -0
- package/src/controller/passport.ts +48 -0
- package/src/controller/performAction.ts +18 -0
- package/src/controller/queue.ts +25 -0
- package/src/controller/summer.ts +125 -0
- package/src/controller/tail.ts +32 -0
- package/src/controller/transaction.ts +29 -0
- package/src/controller/upload.ts +57 -0
- package/src/dto/categoryTree.ts +8 -0
- package/src/dto/orderCreate.ts +10 -0
- package/src/dto/orderResult.ts +9 -0
- package/src/dto/orderUpdate.ts +9 -0
- package/src/dto/postCreate.ts +9 -0
- package/src/dto/profile.ts +14 -0
- package/src/dto/roleLazy.ts +15 -0
- package/src/dto/user.ts +19 -0
- package/src/dto/userCreate.ts +8 -0
- package/src/dto/userLazy.ts +18 -0
- package/src/dto/userUpdate.ts +8 -0
- package/src/entity/category.ts +14 -0
- package/src/entity/order.ts +18 -0
- package/src/entity/post.ts +17 -0
- package/src/entity/postContent.ts +14 -0
- package/src/entity/product.ts +24 -0
- package/src/entity/role.ts +11 -0
- package/src/entity/roleUser.ts +14 -0
- package/src/entity/test.ts +18 -0
- package/src/entity/user.ts +17 -0
- package/src/index.ts +1 -0
- package/src/model/category.ts +17 -0
- package/src/model/categoryChain.ts +16 -0
- package/src/model/order.ts +26 -0
- package/src/model/orderStats.ts +27 -0
- package/src/model/post.ts +16 -0
- package/src/model/postContent.ts +17 -0
- package/src/model/product.ts +8 -0
- package/src/model/role.ts +15 -0
- package/src/model/roleUser.ts +8 -0
- package/src/model/test.ts +8 -0
- package/src/model/testDynamicTable.ts +21 -0
- package/src/model/user.ts +21 -0
- package/src/model/userStats.ts +15 -0
- package/src/model/userStatsGroup.ts +15 -0
- package/src/service/aopMethod.ts +38 -0
- package/src/service/caching.ts +75 -0
- package/src/service/order.ts +65 -0
- package/src/service/post.ts +219 -0
- package/src/service/test.ts +9 -0
- package/src/service/testApp.ts +13 -0
- package/src/service/testClass.ts +15 -0
- package/src/service/testData.ts +67 -0
- package/src/service/transaction.ts +20 -0
- package/test/aopMethod.test.ts +21 -0
- package/test/authSimple.test.ts +45 -0
- package/test/bean.test.ts +16 -0
- package/test/broadcast.test.ts +17 -0
- package/test/cache/cacheMem.test.ts +10 -0
- package/test/cache/cacheRedis.test.ts +10 -0
- package/test/cache/caching.test.ts +58 -0
- package/test/cache/summer.test.ts +10 -0
- package/test/database/database.test.ts +127 -0
- package/test/database/dtoAggregate.test.ts +44 -0
- package/test/database/dtoGet.test.ts +61 -0
- package/test/database/dtoGroup.test.ts +44 -0
- package/test/database/dtoLazy.test.ts +45 -0
- package/test/database/dtoMutate.test.ts +56 -0
- package/test/database/modelAggregate.test.ts +197 -0
- package/test/database/modelCache.test.ts +37 -0
- package/test/database/modelGeneral.test.ts +18 -0
- package/test/database/modelGroup.test.ts +211 -0
- package/test/database/modelRelations.test.ts +203 -0
- package/test/database/modelRelationsJoins.test.ts +39 -0
- package/test/database/modelRelationsMutate.test.ts +354 -0
- package/test/database/modelWhere.test.ts +138 -0
- package/test/database/orm.test.ts +22 -0
- package/test/database/transaction.test.ts +142 -0
- package/test/event.test.ts +14 -0
- package/test/guardPassport.test.ts +44 -0
- package/test/jwt.test.ts +27 -0
- package/test/locale.test.ts +51 -0
- package/test/passport.test.ts +57 -0
- package/test/queue.test.ts +11 -0
- package/test/tail.test.ts +21 -0
- package/test/upload.test.ts +58 -0
- package/test/utils/cabloyUtils.test.ts +22 -0
- package/test/utils/celjs.test.ts +26 -0
- package/test/utils/mappedTypes.test.ts +65 -0
- package/test/utils/performAction.test.ts +28 -0
|
@@ -0,0 +1,1741 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { TypeEntityMeta,TypeModelsClassLikeGeneral,TypeSymbolKeyFieldsMore,IModelRelationHasOne,IModelRelationBelongsTo,IModelRelationHasMany,IModelRelationBelongsToMany } from 'vona-module-a-orm';
|
|
3
|
+
import type { TypeEntityOptionsFields,TypeControllerOptionsActions } from 'vona-module-a-openapi';
|
|
4
|
+
/** aop: begin */
|
|
5
|
+
export * from '../bean/aop.regExp.ts';
|
|
6
|
+
export * from '../bean/aop.simple.ts';
|
|
7
|
+
|
|
8
|
+
import { type IDecoratorAopOptions } from 'vona-module-a-aspect';
|
|
9
|
+
declare module 'vona-module-a-aspect' {
|
|
10
|
+
|
|
11
|
+
export interface IAopRecord {
|
|
12
|
+
'test-vona:regExp': IDecoratorAopOptions;
|
|
13
|
+
'test-vona:simple': IDecoratorAopOptions;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
declare module 'vona-module-test-vona' {
|
|
19
|
+
|
|
20
|
+
export interface AopRegExp {
|
|
21
|
+
/** @internal */
|
|
22
|
+
get scope(): ScopeModuleTestVona;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface AopRegExp {
|
|
26
|
+
get $beanFullName(): 'test-vona.aop.regExp';
|
|
27
|
+
get $onionName(): 'test-vona:regExp';
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface AopSimple {
|
|
31
|
+
/** @internal */
|
|
32
|
+
get scope(): ScopeModuleTestVona;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface AopSimple {
|
|
36
|
+
get $beanFullName(): 'test-vona.aop.simple';
|
|
37
|
+
get $onionName(): 'test-vona:simple';
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
/** aop: end */
|
|
41
|
+
/** aopMethod: begin */
|
|
42
|
+
export * from '../bean/aopMethod.test.ts';
|
|
43
|
+
import type { IAopMethodOptionsTest } from '../bean/aopMethod.test.ts';
|
|
44
|
+
import 'vona';
|
|
45
|
+
declare module 'vona-module-a-aspect' {
|
|
46
|
+
|
|
47
|
+
export interface IAopMethodRecord {
|
|
48
|
+
'test-vona:test': IAopMethodOptionsTest;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
}
|
|
53
|
+
declare module 'vona-module-test-vona' {
|
|
54
|
+
|
|
55
|
+
export interface AopMethodTest {
|
|
56
|
+
/** @internal */
|
|
57
|
+
get scope(): ScopeModuleTestVona;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface AopMethodTest {
|
|
61
|
+
get $beanFullName(): 'test-vona.aopMethod.test';
|
|
62
|
+
get $onionName(): 'test-vona:test';
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
/** aopMethod: end */
|
|
66
|
+
/** entity: begin */
|
|
67
|
+
export * from '../entity/category.ts';
|
|
68
|
+
export * from '../entity/order.ts';
|
|
69
|
+
export * from '../entity/post.ts';
|
|
70
|
+
export * from '../entity/postContent.ts';
|
|
71
|
+
export * from '../entity/product.ts';
|
|
72
|
+
export * from '../entity/role.ts';
|
|
73
|
+
export * from '../entity/roleUser.ts';
|
|
74
|
+
export * from '../entity/test.ts';
|
|
75
|
+
export * from '../entity/user.ts';
|
|
76
|
+
import type { IEntityOptionsCategory } from '../entity/category.ts';
|
|
77
|
+
import type { IEntityOptionsOrder } from '../entity/order.ts';
|
|
78
|
+
import type { IEntityOptionsPost } from '../entity/post.ts';
|
|
79
|
+
import type { IEntityOptionsPostContent } from '../entity/postContent.ts';
|
|
80
|
+
import type { IEntityOptionsProduct } from '../entity/product.ts';
|
|
81
|
+
import type { IEntityOptionsRole } from '../entity/role.ts';
|
|
82
|
+
import type { IEntityOptionsRoleUser } from '../entity/roleUser.ts';
|
|
83
|
+
import type { IEntityOptionsTest } from '../entity/test.ts';
|
|
84
|
+
import type { IEntityOptionsUser } from '../entity/user.ts';
|
|
85
|
+
import 'vona';
|
|
86
|
+
declare module 'vona-module-a-orm' {
|
|
87
|
+
|
|
88
|
+
export interface IEntityRecord {
|
|
89
|
+
'test-vona:category': IEntityOptionsCategory;
|
|
90
|
+
'test-vona:order': IEntityOptionsOrder;
|
|
91
|
+
'test-vona:post': IEntityOptionsPost;
|
|
92
|
+
'test-vona:postContent': IEntityOptionsPostContent;
|
|
93
|
+
'test-vona:product': IEntityOptionsProduct;
|
|
94
|
+
'test-vona:role': IEntityOptionsRole;
|
|
95
|
+
'test-vona:roleUser': IEntityOptionsRoleUser;
|
|
96
|
+
'test-vona:test': IEntityOptionsTest;
|
|
97
|
+
'test-vona:user': IEntityOptionsUser;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
}
|
|
102
|
+
declare module 'vona-module-test-vona' {
|
|
103
|
+
|
|
104
|
+
}
|
|
105
|
+
/** entity: end */
|
|
106
|
+
/** entity: begin */
|
|
107
|
+
import type { EntityCategory } from '../entity/category.ts';
|
|
108
|
+
import type { EntityOrder } from '../entity/order.ts';
|
|
109
|
+
import type { EntityPost } from '../entity/post.ts';
|
|
110
|
+
import type { EntityPostContent } from '../entity/postContent.ts';
|
|
111
|
+
import type { EntityProduct } from '../entity/product.ts';
|
|
112
|
+
import type { EntityRole } from '../entity/role.ts';
|
|
113
|
+
import type { EntityRoleUser } from '../entity/roleUser.ts';
|
|
114
|
+
import type { EntityTest } from '../entity/test.ts';
|
|
115
|
+
import type { EntityUser } from '../entity/user.ts';
|
|
116
|
+
export interface IModuleEntity {
|
|
117
|
+
'category': EntityCategoryMeta;
|
|
118
|
+
'order': EntityOrderMeta;
|
|
119
|
+
'post': EntityPostMeta;
|
|
120
|
+
'postContent': EntityPostContentMeta;
|
|
121
|
+
'product': EntityProductMeta;
|
|
122
|
+
'role': EntityRoleMeta;
|
|
123
|
+
'roleUser': EntityRoleUserMeta;
|
|
124
|
+
'test': EntityTestMeta;
|
|
125
|
+
'user': EntityUserMeta;
|
|
126
|
+
}
|
|
127
|
+
/** entity: end */
|
|
128
|
+
/** entity: begin */
|
|
129
|
+
export type EntityCategoryTableName = 'testVonaCategory';
|
|
130
|
+
export type EntityOrderTableName = 'testVonaOrder';
|
|
131
|
+
export type EntityPostTableName = 'testVonaPost';
|
|
132
|
+
export type EntityPostContentTableName = 'testVonaPostContent';
|
|
133
|
+
export type EntityProductTableName = 'testVonaProduct';
|
|
134
|
+
export type EntityRoleTableName = 'testVonaRole';
|
|
135
|
+
export type EntityRoleUserTableName = 'testVonaRoleUser';
|
|
136
|
+
export type EntityTestTableName = 'testVonaTest';
|
|
137
|
+
export type EntityUserTableName = 'testVonaUser';
|
|
138
|
+
export type EntityCategoryMeta=TypeEntityMeta<EntityCategory,EntityCategoryTableName>;
|
|
139
|
+
export type EntityOrderMeta=TypeEntityMeta<EntityOrder,EntityOrderTableName>;
|
|
140
|
+
export type EntityPostMeta=TypeEntityMeta<EntityPost,EntityPostTableName>;
|
|
141
|
+
export type EntityPostContentMeta=TypeEntityMeta<EntityPostContent,EntityPostContentTableName>;
|
|
142
|
+
export type EntityProductMeta=TypeEntityMeta<EntityProduct,EntityProductTableName>;
|
|
143
|
+
export type EntityRoleMeta=TypeEntityMeta<EntityRole,EntityRoleTableName>;
|
|
144
|
+
export type EntityRoleUserMeta=TypeEntityMeta<EntityRoleUser,EntityRoleUserTableName>;
|
|
145
|
+
export type EntityTestMeta=TypeEntityMeta<EntityTest,EntityTestTableName>;
|
|
146
|
+
export type EntityUserMeta=TypeEntityMeta<EntityUser,EntityUserTableName>;
|
|
147
|
+
declare module 'vona-module-a-orm' {
|
|
148
|
+
export interface ITableRecord {
|
|
149
|
+
'testVonaCategory': never;
|
|
150
|
+
'testVonaOrder': never;
|
|
151
|
+
'testVonaPost': never;
|
|
152
|
+
'testVonaPostContent': never;
|
|
153
|
+
'testVonaProduct': never;
|
|
154
|
+
'testVonaRole': never;
|
|
155
|
+
'testVonaRoleUser': never;
|
|
156
|
+
'testVonaTest': never;
|
|
157
|
+
'testVonaUser': never;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
declare module 'vona-module-test-vona' {
|
|
161
|
+
|
|
162
|
+
export interface IEntityOptionsCategory {
|
|
163
|
+
fields?: TypeEntityOptionsFields<EntityCategory, IEntityOptionsCategory[TypeSymbolKeyFieldsMore]>;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export interface IEntityOptionsOrder {
|
|
167
|
+
fields?: TypeEntityOptionsFields<EntityOrder, IEntityOptionsOrder[TypeSymbolKeyFieldsMore]>;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export interface IEntityOptionsPost {
|
|
171
|
+
fields?: TypeEntityOptionsFields<EntityPost, IEntityOptionsPost[TypeSymbolKeyFieldsMore]>;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export interface IEntityOptionsPostContent {
|
|
175
|
+
fields?: TypeEntityOptionsFields<EntityPostContent, IEntityOptionsPostContent[TypeSymbolKeyFieldsMore]>;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export interface IEntityOptionsProduct {
|
|
179
|
+
fields?: TypeEntityOptionsFields<EntityProduct, IEntityOptionsProduct[TypeSymbolKeyFieldsMore]>;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export interface IEntityOptionsRole {
|
|
183
|
+
fields?: TypeEntityOptionsFields<EntityRole, IEntityOptionsRole[TypeSymbolKeyFieldsMore]>;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export interface IEntityOptionsRoleUser {
|
|
187
|
+
fields?: TypeEntityOptionsFields<EntityRoleUser, IEntityOptionsRoleUser[TypeSymbolKeyFieldsMore]>;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export interface IEntityOptionsTest {
|
|
191
|
+
fields?: TypeEntityOptionsFields<EntityTest, IEntityOptionsTest[TypeSymbolKeyFieldsMore]>;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export interface IEntityOptionsUser {
|
|
195
|
+
fields?: TypeEntityOptionsFields<EntityUser, IEntityOptionsUser[TypeSymbolKeyFieldsMore]>;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
/** entity: end */
|
|
199
|
+
/** model: begin */
|
|
200
|
+
export * from '../model/category.ts';
|
|
201
|
+
export * from '../model/categoryChain.ts';
|
|
202
|
+
export * from '../model/order.ts';
|
|
203
|
+
export * from '../model/orderStats.ts';
|
|
204
|
+
export * from '../model/post.ts';
|
|
205
|
+
export * from '../model/postContent.ts';
|
|
206
|
+
export * from '../model/product.ts';
|
|
207
|
+
export * from '../model/role.ts';
|
|
208
|
+
export * from '../model/roleUser.ts';
|
|
209
|
+
export * from '../model/test.ts';
|
|
210
|
+
export * from '../model/testDynamicTable.ts';
|
|
211
|
+
export * from '../model/user.ts';
|
|
212
|
+
export * from '../model/userStats.ts';
|
|
213
|
+
export * from '../model/userStatsGroup.ts';
|
|
214
|
+
import type { IModelOptionsCategory } from '../model/category.ts';
|
|
215
|
+
import type { IModelOptionsCategoryChain } from '../model/categoryChain.ts';
|
|
216
|
+
import type { IModelOptionsOrder } from '../model/order.ts';
|
|
217
|
+
import type { IModelOptionsOrderStats } from '../model/orderStats.ts';
|
|
218
|
+
import type { IModelOptionsPost } from '../model/post.ts';
|
|
219
|
+
import type { IModelOptionsPostContent } from '../model/postContent.ts';
|
|
220
|
+
import type { IModelOptionsProduct } from '../model/product.ts';
|
|
221
|
+
import type { IModelOptionsRole } from '../model/role.ts';
|
|
222
|
+
import type { IModelOptionsRoleUser } from '../model/roleUser.ts';
|
|
223
|
+
import type { IModelOptionsTest } from '../model/test.ts';
|
|
224
|
+
import type { IModelOptionsTestDynamicTable } from '../model/testDynamicTable.ts';
|
|
225
|
+
import type { IModelOptionsUser } from '../model/user.ts';
|
|
226
|
+
import type { IModelOptionsUserStats } from '../model/userStats.ts';
|
|
227
|
+
import type { IModelOptionsUserStatsGroup } from '../model/userStatsGroup.ts';
|
|
228
|
+
import 'vona';
|
|
229
|
+
declare module 'vona-module-a-orm' {
|
|
230
|
+
|
|
231
|
+
export interface IModelRecord {
|
|
232
|
+
'test-vona:category': IModelOptionsCategory;
|
|
233
|
+
'test-vona:categoryChain': IModelOptionsCategoryChain;
|
|
234
|
+
'test-vona:order': IModelOptionsOrder;
|
|
235
|
+
'test-vona:orderStats': IModelOptionsOrderStats;
|
|
236
|
+
'test-vona:post': IModelOptionsPost;
|
|
237
|
+
'test-vona:postContent': IModelOptionsPostContent;
|
|
238
|
+
'test-vona:product': IModelOptionsProduct;
|
|
239
|
+
'test-vona:role': IModelOptionsRole;
|
|
240
|
+
'test-vona:roleUser': IModelOptionsRoleUser;
|
|
241
|
+
'test-vona:test': IModelOptionsTest;
|
|
242
|
+
'test-vona:testDynamicTable': IModelOptionsTestDynamicTable;
|
|
243
|
+
'test-vona:user': IModelOptionsUser;
|
|
244
|
+
'test-vona:userStats': IModelOptionsUserStats;
|
|
245
|
+
'test-vona:userStatsGroup': IModelOptionsUserStatsGroup;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
}
|
|
250
|
+
declare module 'vona-module-test-vona' {
|
|
251
|
+
|
|
252
|
+
export interface ModelCategory {
|
|
253
|
+
/** @internal */
|
|
254
|
+
get scope(): ScopeModuleTestVona;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export interface ModelCategory {
|
|
258
|
+
get $beanFullName(): 'test-vona.model.category';
|
|
259
|
+
get $onionName(): 'test-vona:category';
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export interface ModelCategoryChain {
|
|
263
|
+
/** @internal */
|
|
264
|
+
get scope(): ScopeModuleTestVona;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export interface ModelCategoryChain {
|
|
268
|
+
get $beanFullName(): 'test-vona.model.categoryChain';
|
|
269
|
+
get $onionName(): 'test-vona:categoryChain';
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export interface ModelOrder {
|
|
273
|
+
/** @internal */
|
|
274
|
+
get scope(): ScopeModuleTestVona;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export interface ModelOrder {
|
|
278
|
+
get $beanFullName(): 'test-vona.model.order';
|
|
279
|
+
get $onionName(): 'test-vona:order';
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export interface ModelOrderStats {
|
|
283
|
+
/** @internal */
|
|
284
|
+
get scope(): ScopeModuleTestVona;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export interface ModelOrderStats {
|
|
288
|
+
get $beanFullName(): 'test-vona.model.orderStats';
|
|
289
|
+
get $onionName(): 'test-vona:orderStats';
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export interface ModelPost {
|
|
293
|
+
/** @internal */
|
|
294
|
+
get scope(): ScopeModuleTestVona;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export interface ModelPost {
|
|
298
|
+
get $beanFullName(): 'test-vona.model.post';
|
|
299
|
+
get $onionName(): 'test-vona:post';
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export interface ModelPostContent {
|
|
303
|
+
/** @internal */
|
|
304
|
+
get scope(): ScopeModuleTestVona;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export interface ModelPostContent {
|
|
308
|
+
get $beanFullName(): 'test-vona.model.postContent';
|
|
309
|
+
get $onionName(): 'test-vona:postContent';
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export interface ModelProduct {
|
|
313
|
+
/** @internal */
|
|
314
|
+
get scope(): ScopeModuleTestVona;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export interface ModelProduct {
|
|
318
|
+
get $beanFullName(): 'test-vona.model.product';
|
|
319
|
+
get $onionName(): 'test-vona:product';
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export interface ModelRole {
|
|
323
|
+
/** @internal */
|
|
324
|
+
get scope(): ScopeModuleTestVona;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
export interface ModelRole {
|
|
328
|
+
get $beanFullName(): 'test-vona.model.role';
|
|
329
|
+
get $onionName(): 'test-vona:role';
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
export interface ModelRoleUser {
|
|
333
|
+
/** @internal */
|
|
334
|
+
get scope(): ScopeModuleTestVona;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export interface ModelRoleUser {
|
|
338
|
+
get $beanFullName(): 'test-vona.model.roleUser';
|
|
339
|
+
get $onionName(): 'test-vona:roleUser';
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export interface ModelTest {
|
|
343
|
+
/** @internal */
|
|
344
|
+
get scope(): ScopeModuleTestVona;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export interface ModelTest {
|
|
348
|
+
get $beanFullName(): 'test-vona.model.test';
|
|
349
|
+
get $onionName(): 'test-vona:test';
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
export interface ModelTestDynamicTable {
|
|
353
|
+
/** @internal */
|
|
354
|
+
get scope(): ScopeModuleTestVona;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export interface ModelTestDynamicTable {
|
|
358
|
+
get $beanFullName(): 'test-vona.model.testDynamicTable';
|
|
359
|
+
get $onionName(): 'test-vona:testDynamicTable';
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
export interface ModelUser {
|
|
363
|
+
/** @internal */
|
|
364
|
+
get scope(): ScopeModuleTestVona;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export interface ModelUser {
|
|
368
|
+
get $beanFullName(): 'test-vona.model.user';
|
|
369
|
+
get $onionName(): 'test-vona:user';
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
export interface ModelUserStats {
|
|
373
|
+
/** @internal */
|
|
374
|
+
get scope(): ScopeModuleTestVona;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
export interface ModelUserStats {
|
|
378
|
+
get $beanFullName(): 'test-vona.model.userStats';
|
|
379
|
+
get $onionName(): 'test-vona:userStats';
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export interface ModelUserStatsGroup {
|
|
383
|
+
/** @internal */
|
|
384
|
+
get scope(): ScopeModuleTestVona;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export interface ModelUserStatsGroup {
|
|
388
|
+
get $beanFullName(): 'test-vona.model.userStatsGroup';
|
|
389
|
+
get $onionName(): 'test-vona:userStatsGroup';
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
/** model: end */
|
|
393
|
+
/** model: begin */
|
|
394
|
+
import type { ModelCategory } from '../model/category.ts';
|
|
395
|
+
import type { ModelCategoryChain } from '../model/categoryChain.ts';
|
|
396
|
+
import type { ModelOrder } from '../model/order.ts';
|
|
397
|
+
import type { ModelOrderStats } from '../model/orderStats.ts';
|
|
398
|
+
import type { ModelPost } from '../model/post.ts';
|
|
399
|
+
import type { ModelPostContent } from '../model/postContent.ts';
|
|
400
|
+
import type { ModelProduct } from '../model/product.ts';
|
|
401
|
+
import type { ModelRole } from '../model/role.ts';
|
|
402
|
+
import type { ModelRoleUser } from '../model/roleUser.ts';
|
|
403
|
+
import type { ModelTest } from '../model/test.ts';
|
|
404
|
+
import type { ModelTestDynamicTable } from '../model/testDynamicTable.ts';
|
|
405
|
+
import type { ModelUser } from '../model/user.ts';
|
|
406
|
+
import type { ModelUserStats } from '../model/userStats.ts';
|
|
407
|
+
import type { ModelUserStatsGroup } from '../model/userStatsGroup.ts';
|
|
408
|
+
export interface IModuleModel {
|
|
409
|
+
'category': ModelCategory;
|
|
410
|
+
'categoryChain': ModelCategoryChain;
|
|
411
|
+
'order': ModelOrder;
|
|
412
|
+
'orderStats': ModelOrderStats;
|
|
413
|
+
'post': ModelPost;
|
|
414
|
+
'postContent': ModelPostContent;
|
|
415
|
+
'product': ModelProduct;
|
|
416
|
+
'role': ModelRole;
|
|
417
|
+
'roleUser': ModelRoleUser;
|
|
418
|
+
'test': ModelTest;
|
|
419
|
+
'testDynamicTable': ModelTestDynamicTable;
|
|
420
|
+
'user': ModelUser;
|
|
421
|
+
'userStats': ModelUserStats;
|
|
422
|
+
'userStatsGroup': ModelUserStatsGroup;
|
|
423
|
+
}
|
|
424
|
+
/** model: end */
|
|
425
|
+
/** model: begin */
|
|
426
|
+
|
|
427
|
+
import 'vona';
|
|
428
|
+
declare module 'vona' {
|
|
429
|
+
export interface IBeanRecordGeneral {
|
|
430
|
+
'test-vona.model.category': ModelCategory;
|
|
431
|
+
'test-vona.model.categoryChain': ModelCategoryChain;
|
|
432
|
+
'test-vona.model.order': ModelOrder;
|
|
433
|
+
'test-vona.model.orderStats': ModelOrderStats;
|
|
434
|
+
'test-vona.model.post': ModelPost;
|
|
435
|
+
'test-vona.model.postContent': ModelPostContent;
|
|
436
|
+
'test-vona.model.product': ModelProduct;
|
|
437
|
+
'test-vona.model.role': ModelRole;
|
|
438
|
+
'test-vona.model.roleUser': ModelRoleUser;
|
|
439
|
+
'test-vona.model.test': ModelTest;
|
|
440
|
+
'test-vona.model.testDynamicTable': ModelTestDynamicTable;
|
|
441
|
+
'test-vona.model.user': ModelUser;
|
|
442
|
+
'test-vona.model.userStats': ModelUserStats;
|
|
443
|
+
'test-vona.model.userStatsGroup': ModelUserStatsGroup;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
/** model: end */
|
|
447
|
+
/** model: begin */
|
|
448
|
+
import type { IModelGetOptions, IModelMethodOptions, IModelSelectParams, TableIdentity, TypeModelRelationResult, TypeModelWhere, IModelInsertOptions, TypeModelMutateRelationData, IModelDeleteOptions, IModelUpdateOptions, IModelMutateOptions, IModelSelectCountParams, IModelSelectAggrParams, TypeModelAggrRelationResult, IModelSelectGroupParams, TypeModelGroupRelationResult } from 'vona-module-a-orm';
|
|
449
|
+
import { SymbolKeyEntity, SymbolKeyEntityMeta, SymbolKeyModelOptions } from 'vona-module-a-orm';
|
|
450
|
+
declare module 'vona-module-test-vona' {
|
|
451
|
+
export interface IModelOptionsCategory {
|
|
452
|
+
relations: {
|
|
453
|
+
children: IModelRelationHasMany<ModelCategory, true, 'id'|'name',undefined,undefined,undefined>;
|
|
454
|
+
};
|
|
455
|
+
}
|
|
456
|
+
export interface IModelOptionsCategoryChain {
|
|
457
|
+
relations: {
|
|
458
|
+
parent: IModelRelationBelongsTo<ModelCategoryChain, ModelCategoryChain, true, 'id'|'name'|'categoryIdParent'>;
|
|
459
|
+
};
|
|
460
|
+
}
|
|
461
|
+
export interface IModelOptionsOrder {
|
|
462
|
+
relations: {
|
|
463
|
+
user: IModelRelationBelongsTo<ModelOrder, ModelUser, true, 'id'|'name'>;
|
|
464
|
+
products: IModelRelationHasMany<ModelProduct, true, 'id'|'name'|'price'|'quantity'|'amount',undefined,undefined,undefined>;
|
|
465
|
+
};
|
|
466
|
+
}
|
|
467
|
+
export interface IModelOptionsOrderStats {
|
|
468
|
+
relations: {
|
|
469
|
+
productStats: IModelRelationHasMany<ModelProduct, true, '*',undefined,{ count?: '*' | Array<'*'>;sum?: 'amount' | Array<'amount'> },undefined>;
|
|
470
|
+
productsGroups: IModelRelationHasMany<ModelProduct, false, undefined,undefined,{ count?: '*' | Array<'*'>;sum?: 'amount' | Array<'amount'> },'id' | Array<'id'>>;
|
|
471
|
+
};
|
|
472
|
+
}
|
|
473
|
+
export interface IModelOptionsPost {
|
|
474
|
+
relations: {
|
|
475
|
+
postContent: IModelRelationHasOne<ModelPostContent, false, 'id'|'content'>;
|
|
476
|
+
user: IModelRelationBelongsTo<ModelPost, ModelUser, true, 'id'|'name'>;
|
|
477
|
+
};
|
|
478
|
+
}
|
|
479
|
+
export interface IModelOptionsPostContent {
|
|
480
|
+
relations: {
|
|
481
|
+
post: IModelRelationBelongsTo<ModelPostContent, ModelPost, false, '*'>;
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
export interface IModelOptionsRole {
|
|
485
|
+
relations: {
|
|
486
|
+
users: IModelRelationBelongsToMany<ModelRoleUser, ModelUser, false, 'id'|'name',undefined,undefined,undefined>;
|
|
487
|
+
};
|
|
488
|
+
}
|
|
489
|
+
export interface IModelOptionsUser {
|
|
490
|
+
relations: {
|
|
491
|
+
posts: IModelRelationHasMany<ModelPost, false, 'id'|'title',['test-vona:user',ModelPostContent],undefined,undefined>;
|
|
492
|
+
roles: IModelRelationBelongsToMany<'test-vona:roleUser', 'test-vona:role', false, 'id'|'name',undefined,undefined,undefined>;
|
|
493
|
+
};
|
|
494
|
+
}
|
|
495
|
+
export interface IModelOptionsUserStats {
|
|
496
|
+
relations: {
|
|
497
|
+
posts: IModelRelationHasMany<ModelPost, true, '*',undefined,{ count?: '*'|'title' | Array<'*'|'title'>;sum?: 'stars' | Array<'stars'> },undefined>;
|
|
498
|
+
roles: IModelRelationBelongsToMany<'test-vona:roleUser', 'test-vona:role', false, '*',undefined,{ count?: '*' | Array<'*'> },undefined>;
|
|
499
|
+
};
|
|
500
|
+
}
|
|
501
|
+
export interface IModelOptionsUserStatsGroup {
|
|
502
|
+
relations: {
|
|
503
|
+
posts: IModelRelationHasMany<ModelPost, true, undefined,undefined,{ count?: '*'|'title' | Array<'*'|'title'>;sum?: 'stars' | Array<'stars'> },'title' | Array<'title'>>;
|
|
504
|
+
roles: IModelRelationBelongsToMany<'test-vona:roleUser', 'test-vona:role', false, undefined,undefined,{ count?: '*' | Array<'*'> },'name' | Array<'name'>>;
|
|
505
|
+
};
|
|
506
|
+
}
|
|
507
|
+
export interface ModelCategory {
|
|
508
|
+
[SymbolKeyEntity]: EntityCategory;
|
|
509
|
+
[SymbolKeyEntityMeta]: EntityCategoryMeta;
|
|
510
|
+
[SymbolKeyModelOptions]: IModelOptionsCategory;
|
|
511
|
+
get<T extends IModelGetOptions<EntityCategory,ModelCategory>>(where: TypeModelWhere<EntityCategory>, options?: T): Promise<TypeModelRelationResult<EntityCategory, ModelCategory, T> | undefined>;
|
|
512
|
+
mget<T extends IModelGetOptions<EntityCategory,ModelCategory>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityCategory, ModelCategory, T>[]>;
|
|
513
|
+
select<T extends IModelSelectParams<EntityCategory,ModelCategory,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityCategory, ModelCategory, T>[]>;
|
|
514
|
+
insert<T extends IModelInsertOptions<EntityCategory,ModelCategory>>(data?: TypeModelMutateRelationData<EntityCategory,ModelCategory, T>, options?: T): Promise<Required<TypeModelMutateRelationData<EntityCategory,ModelCategory, T>>>;
|
|
515
|
+
insertBulk<T extends IModelInsertOptions<EntityCategory,ModelCategory>>(items: TypeModelMutateRelationData<EntityCategory,ModelCategory, T>[], options?: T): Promise<Required<TypeModelMutateRelationData<EntityCategory,ModelCategory, T>>[]>;
|
|
516
|
+
update<T extends IModelUpdateOptions<EntityCategory,ModelCategory>>(data: TypeModelMutateRelationData<EntityCategory,ModelCategory, T>, options?: T): Promise<TypeModelMutateRelationData<EntityCategory,ModelCategory, T>>;
|
|
517
|
+
updateBulk<T extends IModelUpdateOptions<EntityCategory,ModelCategory>>(items: TypeModelMutateRelationData<EntityCategory,ModelCategory, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityCategory,ModelCategory, T>[]>;
|
|
518
|
+
delete<T extends IModelDeleteOptions<EntityCategory,ModelCategory>>(where?: TypeModelWhere<EntityCategory>, options?: T): Promise<void>;
|
|
519
|
+
deleteBulk<T extends IModelDeleteOptions<EntityCategory,ModelCategory>>(ids: TableIdentity[], options?: T): Promise<void>;
|
|
520
|
+
mutate<T extends IModelMutateOptions<EntityCategory,ModelCategory>>(data?: TypeModelMutateRelationData<EntityCategory,ModelCategory, T>, options?: T): Promise<TypeModelMutateRelationData<EntityCategory,ModelCategory, T>>;
|
|
521
|
+
mutateBulk<T extends IModelMutateOptions<EntityCategory,ModelCategory>>(items: TypeModelMutateRelationData<EntityCategory,ModelCategory, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityCategory,ModelCategory, T>[]>;
|
|
522
|
+
count<T extends IModelSelectCountParams<EntityCategory,ModelCategory,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<BigNumber | undefined>;
|
|
523
|
+
aggregate<T extends IModelSelectAggrParams<EntityCategory,ModelCategory,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;
|
|
524
|
+
group<T extends IModelSelectGroupParams<EntityCategory,ModelCategory,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityCategory, T>[]>;
|
|
525
|
+
}
|
|
526
|
+
export interface ModelCategoryChain {
|
|
527
|
+
[SymbolKeyEntity]: EntityCategory;
|
|
528
|
+
[SymbolKeyEntityMeta]: EntityCategoryMeta;
|
|
529
|
+
[SymbolKeyModelOptions]: IModelOptionsCategoryChain;
|
|
530
|
+
get<T extends IModelGetOptions<EntityCategory,ModelCategoryChain>>(where: TypeModelWhere<EntityCategory>, options?: T): Promise<TypeModelRelationResult<EntityCategory, ModelCategoryChain, T> | undefined>;
|
|
531
|
+
mget<T extends IModelGetOptions<EntityCategory,ModelCategoryChain>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityCategory, ModelCategoryChain, T>[]>;
|
|
532
|
+
select<T extends IModelSelectParams<EntityCategory,ModelCategoryChain,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityCategory, ModelCategoryChain, T>[]>;
|
|
533
|
+
insert<T extends IModelInsertOptions<EntityCategory,ModelCategoryChain>>(data?: TypeModelMutateRelationData<EntityCategory,ModelCategoryChain, T>, options?: T): Promise<Required<TypeModelMutateRelationData<EntityCategory,ModelCategoryChain, T>>>;
|
|
534
|
+
insertBulk<T extends IModelInsertOptions<EntityCategory,ModelCategoryChain>>(items: TypeModelMutateRelationData<EntityCategory,ModelCategoryChain, T>[], options?: T): Promise<Required<TypeModelMutateRelationData<EntityCategory,ModelCategoryChain, T>>[]>;
|
|
535
|
+
update<T extends IModelUpdateOptions<EntityCategory,ModelCategoryChain>>(data: TypeModelMutateRelationData<EntityCategory,ModelCategoryChain, T>, options?: T): Promise<TypeModelMutateRelationData<EntityCategory,ModelCategoryChain, T>>;
|
|
536
|
+
updateBulk<T extends IModelUpdateOptions<EntityCategory,ModelCategoryChain>>(items: TypeModelMutateRelationData<EntityCategory,ModelCategoryChain, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityCategory,ModelCategoryChain, T>[]>;
|
|
537
|
+
delete<T extends IModelDeleteOptions<EntityCategory,ModelCategoryChain>>(where?: TypeModelWhere<EntityCategory>, options?: T): Promise<void>;
|
|
538
|
+
deleteBulk<T extends IModelDeleteOptions<EntityCategory,ModelCategoryChain>>(ids: TableIdentity[], options?: T): Promise<void>;
|
|
539
|
+
mutate<T extends IModelMutateOptions<EntityCategory,ModelCategoryChain>>(data?: TypeModelMutateRelationData<EntityCategory,ModelCategoryChain, T>, options?: T): Promise<TypeModelMutateRelationData<EntityCategory,ModelCategoryChain, T>>;
|
|
540
|
+
mutateBulk<T extends IModelMutateOptions<EntityCategory,ModelCategoryChain>>(items: TypeModelMutateRelationData<EntityCategory,ModelCategoryChain, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityCategory,ModelCategoryChain, T>[]>;
|
|
541
|
+
count<T extends IModelSelectCountParams<EntityCategory,ModelCategoryChain,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<BigNumber | undefined>;
|
|
542
|
+
aggregate<T extends IModelSelectAggrParams<EntityCategory,ModelCategoryChain,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;
|
|
543
|
+
group<T extends IModelSelectGroupParams<EntityCategory,ModelCategoryChain,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityCategory, T>[]>;
|
|
544
|
+
}
|
|
545
|
+
export interface ModelOrder {
|
|
546
|
+
[SymbolKeyEntity]: EntityOrder;
|
|
547
|
+
[SymbolKeyEntityMeta]: EntityOrderMeta;
|
|
548
|
+
[SymbolKeyModelOptions]: IModelOptionsOrder;
|
|
549
|
+
get<T extends IModelGetOptions<EntityOrder,ModelOrder>>(where: TypeModelWhere<EntityOrder>, options?: T): Promise<TypeModelRelationResult<EntityOrder, ModelOrder, T> | undefined>;
|
|
550
|
+
mget<T extends IModelGetOptions<EntityOrder,ModelOrder>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityOrder, ModelOrder, T>[]>;
|
|
551
|
+
select<T extends IModelSelectParams<EntityOrder,ModelOrder,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityOrder, ModelOrder, T>[]>;
|
|
552
|
+
insert<T extends IModelInsertOptions<EntityOrder,ModelOrder>>(data?: TypeModelMutateRelationData<EntityOrder,ModelOrder, T>, options?: T): Promise<Required<TypeModelMutateRelationData<EntityOrder,ModelOrder, T>>>;
|
|
553
|
+
insertBulk<T extends IModelInsertOptions<EntityOrder,ModelOrder>>(items: TypeModelMutateRelationData<EntityOrder,ModelOrder, T>[], options?: T): Promise<Required<TypeModelMutateRelationData<EntityOrder,ModelOrder, T>>[]>;
|
|
554
|
+
update<T extends IModelUpdateOptions<EntityOrder,ModelOrder>>(data: TypeModelMutateRelationData<EntityOrder,ModelOrder, T>, options?: T): Promise<TypeModelMutateRelationData<EntityOrder,ModelOrder, T>>;
|
|
555
|
+
updateBulk<T extends IModelUpdateOptions<EntityOrder,ModelOrder>>(items: TypeModelMutateRelationData<EntityOrder,ModelOrder, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityOrder,ModelOrder, T>[]>;
|
|
556
|
+
delete<T extends IModelDeleteOptions<EntityOrder,ModelOrder>>(where?: TypeModelWhere<EntityOrder>, options?: T): Promise<void>;
|
|
557
|
+
deleteBulk<T extends IModelDeleteOptions<EntityOrder,ModelOrder>>(ids: TableIdentity[], options?: T): Promise<void>;
|
|
558
|
+
mutate<T extends IModelMutateOptions<EntityOrder,ModelOrder>>(data?: TypeModelMutateRelationData<EntityOrder,ModelOrder, T>, options?: T): Promise<TypeModelMutateRelationData<EntityOrder,ModelOrder, T>>;
|
|
559
|
+
mutateBulk<T extends IModelMutateOptions<EntityOrder,ModelOrder>>(items: TypeModelMutateRelationData<EntityOrder,ModelOrder, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityOrder,ModelOrder, T>[]>;
|
|
560
|
+
count<T extends IModelSelectCountParams<EntityOrder,ModelOrder,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<BigNumber | undefined>;
|
|
561
|
+
aggregate<T extends IModelSelectAggrParams<EntityOrder,ModelOrder,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;
|
|
562
|
+
group<T extends IModelSelectGroupParams<EntityOrder,ModelOrder,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityOrder, T>[]>;
|
|
563
|
+
}
|
|
564
|
+
export interface ModelOrderStats {
|
|
565
|
+
[SymbolKeyEntity]: EntityOrder;
|
|
566
|
+
[SymbolKeyEntityMeta]: EntityOrderMeta;
|
|
567
|
+
[SymbolKeyModelOptions]: IModelOptionsOrderStats;
|
|
568
|
+
get<T extends IModelGetOptions<EntityOrder,ModelOrderStats>>(where: TypeModelWhere<EntityOrder>, options?: T): Promise<TypeModelRelationResult<EntityOrder, ModelOrderStats, T> | undefined>;
|
|
569
|
+
mget<T extends IModelGetOptions<EntityOrder,ModelOrderStats>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityOrder, ModelOrderStats, T>[]>;
|
|
570
|
+
select<T extends IModelSelectParams<EntityOrder,ModelOrderStats,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityOrder, ModelOrderStats, T>[]>;
|
|
571
|
+
insert<T extends IModelInsertOptions<EntityOrder,ModelOrderStats>>(data?: TypeModelMutateRelationData<EntityOrder,ModelOrderStats, T>, options?: T): Promise<Required<TypeModelMutateRelationData<EntityOrder,ModelOrderStats, T>>>;
|
|
572
|
+
insertBulk<T extends IModelInsertOptions<EntityOrder,ModelOrderStats>>(items: TypeModelMutateRelationData<EntityOrder,ModelOrderStats, T>[], options?: T): Promise<Required<TypeModelMutateRelationData<EntityOrder,ModelOrderStats, T>>[]>;
|
|
573
|
+
update<T extends IModelUpdateOptions<EntityOrder,ModelOrderStats>>(data: TypeModelMutateRelationData<EntityOrder,ModelOrderStats, T>, options?: T): Promise<TypeModelMutateRelationData<EntityOrder,ModelOrderStats, T>>;
|
|
574
|
+
updateBulk<T extends IModelUpdateOptions<EntityOrder,ModelOrderStats>>(items: TypeModelMutateRelationData<EntityOrder,ModelOrderStats, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityOrder,ModelOrderStats, T>[]>;
|
|
575
|
+
delete<T extends IModelDeleteOptions<EntityOrder,ModelOrderStats>>(where?: TypeModelWhere<EntityOrder>, options?: T): Promise<void>;
|
|
576
|
+
deleteBulk<T extends IModelDeleteOptions<EntityOrder,ModelOrderStats>>(ids: TableIdentity[], options?: T): Promise<void>;
|
|
577
|
+
mutate<T extends IModelMutateOptions<EntityOrder,ModelOrderStats>>(data?: TypeModelMutateRelationData<EntityOrder,ModelOrderStats, T>, options?: T): Promise<TypeModelMutateRelationData<EntityOrder,ModelOrderStats, T>>;
|
|
578
|
+
mutateBulk<T extends IModelMutateOptions<EntityOrder,ModelOrderStats>>(items: TypeModelMutateRelationData<EntityOrder,ModelOrderStats, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityOrder,ModelOrderStats, T>[]>;
|
|
579
|
+
count<T extends IModelSelectCountParams<EntityOrder,ModelOrderStats,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<BigNumber | undefined>;
|
|
580
|
+
aggregate<T extends IModelSelectAggrParams<EntityOrder,ModelOrderStats,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;
|
|
581
|
+
group<T extends IModelSelectGroupParams<EntityOrder,ModelOrderStats,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityOrder, T>[]>;
|
|
582
|
+
}
|
|
583
|
+
export interface ModelPost {
|
|
584
|
+
[SymbolKeyEntity]: EntityPost;
|
|
585
|
+
[SymbolKeyEntityMeta]: EntityPostMeta;
|
|
586
|
+
[SymbolKeyModelOptions]: IModelOptionsPost;
|
|
587
|
+
get<T extends IModelGetOptions<EntityPost,ModelPost>>(where: TypeModelWhere<EntityPost>, options?: T): Promise<TypeModelRelationResult<EntityPost, ModelPost, T> | undefined>;
|
|
588
|
+
mget<T extends IModelGetOptions<EntityPost,ModelPost>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityPost, ModelPost, T>[]>;
|
|
589
|
+
select<T extends IModelSelectParams<EntityPost,ModelPost,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityPost, ModelPost, T>[]>;
|
|
590
|
+
insert<T extends IModelInsertOptions<EntityPost,ModelPost>>(data?: TypeModelMutateRelationData<EntityPost,ModelPost, T>, options?: T): Promise<Required<TypeModelMutateRelationData<EntityPost,ModelPost, T>>>;
|
|
591
|
+
insertBulk<T extends IModelInsertOptions<EntityPost,ModelPost>>(items: TypeModelMutateRelationData<EntityPost,ModelPost, T>[], options?: T): Promise<Required<TypeModelMutateRelationData<EntityPost,ModelPost, T>>[]>;
|
|
592
|
+
update<T extends IModelUpdateOptions<EntityPost,ModelPost>>(data: TypeModelMutateRelationData<EntityPost,ModelPost, T>, options?: T): Promise<TypeModelMutateRelationData<EntityPost,ModelPost, T>>;
|
|
593
|
+
updateBulk<T extends IModelUpdateOptions<EntityPost,ModelPost>>(items: TypeModelMutateRelationData<EntityPost,ModelPost, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityPost,ModelPost, T>[]>;
|
|
594
|
+
delete<T extends IModelDeleteOptions<EntityPost,ModelPost>>(where?: TypeModelWhere<EntityPost>, options?: T): Promise<void>;
|
|
595
|
+
deleteBulk<T extends IModelDeleteOptions<EntityPost,ModelPost>>(ids: TableIdentity[], options?: T): Promise<void>;
|
|
596
|
+
mutate<T extends IModelMutateOptions<EntityPost,ModelPost>>(data?: TypeModelMutateRelationData<EntityPost,ModelPost, T>, options?: T): Promise<TypeModelMutateRelationData<EntityPost,ModelPost, T>>;
|
|
597
|
+
mutateBulk<T extends IModelMutateOptions<EntityPost,ModelPost>>(items: TypeModelMutateRelationData<EntityPost,ModelPost, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityPost,ModelPost, T>[]>;
|
|
598
|
+
count<T extends IModelSelectCountParams<EntityPost,ModelPost,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<BigNumber | undefined>;
|
|
599
|
+
aggregate<T extends IModelSelectAggrParams<EntityPost,ModelPost,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;
|
|
600
|
+
group<T extends IModelSelectGroupParams<EntityPost,ModelPost,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityPost, T>[]>;
|
|
601
|
+
}
|
|
602
|
+
export interface ModelPostContent {
|
|
603
|
+
[SymbolKeyEntity]: EntityPostContent;
|
|
604
|
+
[SymbolKeyEntityMeta]: EntityPostContentMeta;
|
|
605
|
+
[SymbolKeyModelOptions]: IModelOptionsPostContent;
|
|
606
|
+
get<T extends IModelGetOptions<EntityPostContent,ModelPostContent>>(where: TypeModelWhere<EntityPostContent>, options?: T): Promise<TypeModelRelationResult<EntityPostContent, ModelPostContent, T> | undefined>;
|
|
607
|
+
mget<T extends IModelGetOptions<EntityPostContent,ModelPostContent>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityPostContent, ModelPostContent, T>[]>;
|
|
608
|
+
select<T extends IModelSelectParams<EntityPostContent,ModelPostContent,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityPostContent, ModelPostContent, T>[]>;
|
|
609
|
+
insert<T extends IModelInsertOptions<EntityPostContent,ModelPostContent>>(data?: TypeModelMutateRelationData<EntityPostContent,ModelPostContent, T>, options?: T): Promise<Required<TypeModelMutateRelationData<EntityPostContent,ModelPostContent, T>>>;
|
|
610
|
+
insertBulk<T extends IModelInsertOptions<EntityPostContent,ModelPostContent>>(items: TypeModelMutateRelationData<EntityPostContent,ModelPostContent, T>[], options?: T): Promise<Required<TypeModelMutateRelationData<EntityPostContent,ModelPostContent, T>>[]>;
|
|
611
|
+
update<T extends IModelUpdateOptions<EntityPostContent,ModelPostContent>>(data: TypeModelMutateRelationData<EntityPostContent,ModelPostContent, T>, options?: T): Promise<TypeModelMutateRelationData<EntityPostContent,ModelPostContent, T>>;
|
|
612
|
+
updateBulk<T extends IModelUpdateOptions<EntityPostContent,ModelPostContent>>(items: TypeModelMutateRelationData<EntityPostContent,ModelPostContent, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityPostContent,ModelPostContent, T>[]>;
|
|
613
|
+
delete<T extends IModelDeleteOptions<EntityPostContent,ModelPostContent>>(where?: TypeModelWhere<EntityPostContent>, options?: T): Promise<void>;
|
|
614
|
+
deleteBulk<T extends IModelDeleteOptions<EntityPostContent,ModelPostContent>>(ids: TableIdentity[], options?: T): Promise<void>;
|
|
615
|
+
mutate<T extends IModelMutateOptions<EntityPostContent,ModelPostContent>>(data?: TypeModelMutateRelationData<EntityPostContent,ModelPostContent, T>, options?: T): Promise<TypeModelMutateRelationData<EntityPostContent,ModelPostContent, T>>;
|
|
616
|
+
mutateBulk<T extends IModelMutateOptions<EntityPostContent,ModelPostContent>>(items: TypeModelMutateRelationData<EntityPostContent,ModelPostContent, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityPostContent,ModelPostContent, T>[]>;
|
|
617
|
+
count<T extends IModelSelectCountParams<EntityPostContent,ModelPostContent,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<BigNumber | undefined>;
|
|
618
|
+
aggregate<T extends IModelSelectAggrParams<EntityPostContent,ModelPostContent,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;
|
|
619
|
+
group<T extends IModelSelectGroupParams<EntityPostContent,ModelPostContent,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityPostContent, T>[]>;
|
|
620
|
+
}
|
|
621
|
+
export interface ModelProduct {
|
|
622
|
+
[SymbolKeyEntity]: EntityProduct;
|
|
623
|
+
[SymbolKeyEntityMeta]: EntityProductMeta;
|
|
624
|
+
[SymbolKeyModelOptions]: IModelOptionsProduct;
|
|
625
|
+
get<T extends IModelGetOptions<EntityProduct,ModelProduct>>(where: TypeModelWhere<EntityProduct>, options?: T): Promise<TypeModelRelationResult<EntityProduct, ModelProduct, T> | undefined>;
|
|
626
|
+
mget<T extends IModelGetOptions<EntityProduct,ModelProduct>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityProduct, ModelProduct, T>[]>;
|
|
627
|
+
select<T extends IModelSelectParams<EntityProduct,ModelProduct,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityProduct, ModelProduct, T>[]>;
|
|
628
|
+
insert<T extends IModelInsertOptions<EntityProduct,ModelProduct>>(data?: TypeModelMutateRelationData<EntityProduct,ModelProduct, T>, options?: T): Promise<Required<TypeModelMutateRelationData<EntityProduct,ModelProduct, T>>>;
|
|
629
|
+
insertBulk<T extends IModelInsertOptions<EntityProduct,ModelProduct>>(items: TypeModelMutateRelationData<EntityProduct,ModelProduct, T>[], options?: T): Promise<Required<TypeModelMutateRelationData<EntityProduct,ModelProduct, T>>[]>;
|
|
630
|
+
update<T extends IModelUpdateOptions<EntityProduct,ModelProduct>>(data: TypeModelMutateRelationData<EntityProduct,ModelProduct, T>, options?: T): Promise<TypeModelMutateRelationData<EntityProduct,ModelProduct, T>>;
|
|
631
|
+
updateBulk<T extends IModelUpdateOptions<EntityProduct,ModelProduct>>(items: TypeModelMutateRelationData<EntityProduct,ModelProduct, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityProduct,ModelProduct, T>[]>;
|
|
632
|
+
delete<T extends IModelDeleteOptions<EntityProduct,ModelProduct>>(where?: TypeModelWhere<EntityProduct>, options?: T): Promise<void>;
|
|
633
|
+
deleteBulk<T extends IModelDeleteOptions<EntityProduct,ModelProduct>>(ids: TableIdentity[], options?: T): Promise<void>;
|
|
634
|
+
mutate<T extends IModelMutateOptions<EntityProduct,ModelProduct>>(data?: TypeModelMutateRelationData<EntityProduct,ModelProduct, T>, options?: T): Promise<TypeModelMutateRelationData<EntityProduct,ModelProduct, T>>;
|
|
635
|
+
mutateBulk<T extends IModelMutateOptions<EntityProduct,ModelProduct>>(items: TypeModelMutateRelationData<EntityProduct,ModelProduct, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityProduct,ModelProduct, T>[]>;
|
|
636
|
+
count<T extends IModelSelectCountParams<EntityProduct,ModelProduct,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<BigNumber | undefined>;
|
|
637
|
+
aggregate<T extends IModelSelectAggrParams<EntityProduct,ModelProduct,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;
|
|
638
|
+
group<T extends IModelSelectGroupParams<EntityProduct,ModelProduct,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityProduct, T>[]>;
|
|
639
|
+
}
|
|
640
|
+
export interface ModelRole {
|
|
641
|
+
[SymbolKeyEntity]: EntityRole;
|
|
642
|
+
[SymbolKeyEntityMeta]: EntityRoleMeta;
|
|
643
|
+
[SymbolKeyModelOptions]: IModelOptionsRole;
|
|
644
|
+
get<T extends IModelGetOptions<EntityRole,ModelRole>>(where: TypeModelWhere<EntityRole>, options?: T): Promise<TypeModelRelationResult<EntityRole, ModelRole, T> | undefined>;
|
|
645
|
+
mget<T extends IModelGetOptions<EntityRole,ModelRole>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityRole, ModelRole, T>[]>;
|
|
646
|
+
select<T extends IModelSelectParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityRole, ModelRole, T>[]>;
|
|
647
|
+
insert<T extends IModelInsertOptions<EntityRole,ModelRole>>(data?: TypeModelMutateRelationData<EntityRole,ModelRole, T>, options?: T): Promise<Required<TypeModelMutateRelationData<EntityRole,ModelRole, T>>>;
|
|
648
|
+
insertBulk<T extends IModelInsertOptions<EntityRole,ModelRole>>(items: TypeModelMutateRelationData<EntityRole,ModelRole, T>[], options?: T): Promise<Required<TypeModelMutateRelationData<EntityRole,ModelRole, T>>[]>;
|
|
649
|
+
update<T extends IModelUpdateOptions<EntityRole,ModelRole>>(data: TypeModelMutateRelationData<EntityRole,ModelRole, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T>>;
|
|
650
|
+
updateBulk<T extends IModelUpdateOptions<EntityRole,ModelRole>>(items: TypeModelMutateRelationData<EntityRole,ModelRole, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T>[]>;
|
|
651
|
+
delete<T extends IModelDeleteOptions<EntityRole,ModelRole>>(where?: TypeModelWhere<EntityRole>, options?: T): Promise<void>;
|
|
652
|
+
deleteBulk<T extends IModelDeleteOptions<EntityRole,ModelRole>>(ids: TableIdentity[], options?: T): Promise<void>;
|
|
653
|
+
mutate<T extends IModelMutateOptions<EntityRole,ModelRole>>(data?: TypeModelMutateRelationData<EntityRole,ModelRole, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T>>;
|
|
654
|
+
mutateBulk<T extends IModelMutateOptions<EntityRole,ModelRole>>(items: TypeModelMutateRelationData<EntityRole,ModelRole, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityRole,ModelRole, T>[]>;
|
|
655
|
+
count<T extends IModelSelectCountParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<BigNumber | undefined>;
|
|
656
|
+
aggregate<T extends IModelSelectAggrParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;
|
|
657
|
+
group<T extends IModelSelectGroupParams<EntityRole,ModelRole,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityRole, T>[]>;
|
|
658
|
+
}
|
|
659
|
+
export interface ModelRoleUser {
|
|
660
|
+
[SymbolKeyEntity]: EntityRoleUser;
|
|
661
|
+
[SymbolKeyEntityMeta]: EntityRoleUserMeta;
|
|
662
|
+
[SymbolKeyModelOptions]: IModelOptionsRoleUser;
|
|
663
|
+
get<T extends IModelGetOptions<EntityRoleUser,ModelRoleUser>>(where: TypeModelWhere<EntityRoleUser>, options?: T): Promise<TypeModelRelationResult<EntityRoleUser, ModelRoleUser, T> | undefined>;
|
|
664
|
+
mget<T extends IModelGetOptions<EntityRoleUser,ModelRoleUser>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityRoleUser, ModelRoleUser, T>[]>;
|
|
665
|
+
select<T extends IModelSelectParams<EntityRoleUser,ModelRoleUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityRoleUser, ModelRoleUser, T>[]>;
|
|
666
|
+
insert<T extends IModelInsertOptions<EntityRoleUser,ModelRoleUser>>(data?: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>, options?: T): Promise<Required<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>>>;
|
|
667
|
+
insertBulk<T extends IModelInsertOptions<EntityRoleUser,ModelRoleUser>>(items: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>[], options?: T): Promise<Required<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>>[]>;
|
|
668
|
+
update<T extends IModelUpdateOptions<EntityRoleUser,ModelRoleUser>>(data: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>>;
|
|
669
|
+
updateBulk<T extends IModelUpdateOptions<EntityRoleUser,ModelRoleUser>>(items: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>[]>;
|
|
670
|
+
delete<T extends IModelDeleteOptions<EntityRoleUser,ModelRoleUser>>(where?: TypeModelWhere<EntityRoleUser>, options?: T): Promise<void>;
|
|
671
|
+
deleteBulk<T extends IModelDeleteOptions<EntityRoleUser,ModelRoleUser>>(ids: TableIdentity[], options?: T): Promise<void>;
|
|
672
|
+
mutate<T extends IModelMutateOptions<EntityRoleUser,ModelRoleUser>>(data?: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>>;
|
|
673
|
+
mutateBulk<T extends IModelMutateOptions<EntityRoleUser,ModelRoleUser>>(items: TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityRoleUser,ModelRoleUser, T>[]>;
|
|
674
|
+
count<T extends IModelSelectCountParams<EntityRoleUser,ModelRoleUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<BigNumber | undefined>;
|
|
675
|
+
aggregate<T extends IModelSelectAggrParams<EntityRoleUser,ModelRoleUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;
|
|
676
|
+
group<T extends IModelSelectGroupParams<EntityRoleUser,ModelRoleUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityRoleUser, T>[]>;
|
|
677
|
+
}
|
|
678
|
+
export interface ModelTest {
|
|
679
|
+
[SymbolKeyEntity]: EntityTest;
|
|
680
|
+
[SymbolKeyEntityMeta]: EntityTestMeta;
|
|
681
|
+
[SymbolKeyModelOptions]: IModelOptionsTest;
|
|
682
|
+
get<T extends IModelGetOptions<EntityTest,ModelTest>>(where: TypeModelWhere<EntityTest>, options?: T): Promise<TypeModelRelationResult<EntityTest, ModelTest, T> | undefined>;
|
|
683
|
+
mget<T extends IModelGetOptions<EntityTest,ModelTest>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityTest, ModelTest, T>[]>;
|
|
684
|
+
select<T extends IModelSelectParams<EntityTest,ModelTest,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityTest, ModelTest, T>[]>;
|
|
685
|
+
insert<T extends IModelInsertOptions<EntityTest,ModelTest>>(data?: TypeModelMutateRelationData<EntityTest,ModelTest, T>, options?: T): Promise<Required<TypeModelMutateRelationData<EntityTest,ModelTest, T>>>;
|
|
686
|
+
insertBulk<T extends IModelInsertOptions<EntityTest,ModelTest>>(items: TypeModelMutateRelationData<EntityTest,ModelTest, T>[], options?: T): Promise<Required<TypeModelMutateRelationData<EntityTest,ModelTest, T>>[]>;
|
|
687
|
+
update<T extends IModelUpdateOptions<EntityTest,ModelTest>>(data: TypeModelMutateRelationData<EntityTest,ModelTest, T>, options?: T): Promise<TypeModelMutateRelationData<EntityTest,ModelTest, T>>;
|
|
688
|
+
updateBulk<T extends IModelUpdateOptions<EntityTest,ModelTest>>(items: TypeModelMutateRelationData<EntityTest,ModelTest, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityTest,ModelTest, T>[]>;
|
|
689
|
+
delete<T extends IModelDeleteOptions<EntityTest,ModelTest>>(where?: TypeModelWhere<EntityTest>, options?: T): Promise<void>;
|
|
690
|
+
deleteBulk<T extends IModelDeleteOptions<EntityTest,ModelTest>>(ids: TableIdentity[], options?: T): Promise<void>;
|
|
691
|
+
mutate<T extends IModelMutateOptions<EntityTest,ModelTest>>(data?: TypeModelMutateRelationData<EntityTest,ModelTest, T>, options?: T): Promise<TypeModelMutateRelationData<EntityTest,ModelTest, T>>;
|
|
692
|
+
mutateBulk<T extends IModelMutateOptions<EntityTest,ModelTest>>(items: TypeModelMutateRelationData<EntityTest,ModelTest, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityTest,ModelTest, T>[]>;
|
|
693
|
+
count<T extends IModelSelectCountParams<EntityTest,ModelTest,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<BigNumber | undefined>;
|
|
694
|
+
aggregate<T extends IModelSelectAggrParams<EntityTest,ModelTest,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;
|
|
695
|
+
group<T extends IModelSelectGroupParams<EntityTest,ModelTest,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityTest, T>[]>;
|
|
696
|
+
}
|
|
697
|
+
export interface ModelTestDynamicTable {
|
|
698
|
+
[SymbolKeyEntity]: EntityTest;
|
|
699
|
+
[SymbolKeyEntityMeta]: EntityTestMeta;
|
|
700
|
+
[SymbolKeyModelOptions]: IModelOptionsTestDynamicTable;
|
|
701
|
+
get<T extends IModelGetOptions<EntityTest,ModelTestDynamicTable>>(where: TypeModelWhere<EntityTest>, options?: T): Promise<TypeModelRelationResult<EntityTest, ModelTestDynamicTable, T> | undefined>;
|
|
702
|
+
mget<T extends IModelGetOptions<EntityTest,ModelTestDynamicTable>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityTest, ModelTestDynamicTable, T>[]>;
|
|
703
|
+
select<T extends IModelSelectParams<EntityTest,ModelTestDynamicTable,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityTest, ModelTestDynamicTable, T>[]>;
|
|
704
|
+
insert<T extends IModelInsertOptions<EntityTest,ModelTestDynamicTable>>(data?: TypeModelMutateRelationData<EntityTest,ModelTestDynamicTable, T>, options?: T): Promise<Required<TypeModelMutateRelationData<EntityTest,ModelTestDynamicTable, T>>>;
|
|
705
|
+
insertBulk<T extends IModelInsertOptions<EntityTest,ModelTestDynamicTable>>(items: TypeModelMutateRelationData<EntityTest,ModelTestDynamicTable, T>[], options?: T): Promise<Required<TypeModelMutateRelationData<EntityTest,ModelTestDynamicTable, T>>[]>;
|
|
706
|
+
update<T extends IModelUpdateOptions<EntityTest,ModelTestDynamicTable>>(data: TypeModelMutateRelationData<EntityTest,ModelTestDynamicTable, T>, options?: T): Promise<TypeModelMutateRelationData<EntityTest,ModelTestDynamicTable, T>>;
|
|
707
|
+
updateBulk<T extends IModelUpdateOptions<EntityTest,ModelTestDynamicTable>>(items: TypeModelMutateRelationData<EntityTest,ModelTestDynamicTable, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityTest,ModelTestDynamicTable, T>[]>;
|
|
708
|
+
delete<T extends IModelDeleteOptions<EntityTest,ModelTestDynamicTable>>(where?: TypeModelWhere<EntityTest>, options?: T): Promise<void>;
|
|
709
|
+
deleteBulk<T extends IModelDeleteOptions<EntityTest,ModelTestDynamicTable>>(ids: TableIdentity[], options?: T): Promise<void>;
|
|
710
|
+
mutate<T extends IModelMutateOptions<EntityTest,ModelTestDynamicTable>>(data?: TypeModelMutateRelationData<EntityTest,ModelTestDynamicTable, T>, options?: T): Promise<TypeModelMutateRelationData<EntityTest,ModelTestDynamicTable, T>>;
|
|
711
|
+
mutateBulk<T extends IModelMutateOptions<EntityTest,ModelTestDynamicTable>>(items: TypeModelMutateRelationData<EntityTest,ModelTestDynamicTable, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityTest,ModelTestDynamicTable, T>[]>;
|
|
712
|
+
count<T extends IModelSelectCountParams<EntityTest,ModelTestDynamicTable,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<BigNumber | undefined>;
|
|
713
|
+
aggregate<T extends IModelSelectAggrParams<EntityTest,ModelTestDynamicTable,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;
|
|
714
|
+
group<T extends IModelSelectGroupParams<EntityTest,ModelTestDynamicTable,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityTest, T>[]>;
|
|
715
|
+
}
|
|
716
|
+
export interface ModelUser {
|
|
717
|
+
[SymbolKeyEntity]: EntityUser;
|
|
718
|
+
[SymbolKeyEntityMeta]: EntityUserMeta;
|
|
719
|
+
[SymbolKeyModelOptions]: IModelOptionsUser;
|
|
720
|
+
get<T extends IModelGetOptions<EntityUser,ModelUser>>(where: TypeModelWhere<EntityUser>, options?: T): Promise<TypeModelRelationResult<EntityUser, ModelUser, T> | undefined>;
|
|
721
|
+
mget<T extends IModelGetOptions<EntityUser,ModelUser>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityUser, ModelUser, T>[]>;
|
|
722
|
+
select<T extends IModelSelectParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityUser, ModelUser, T>[]>;
|
|
723
|
+
insert<T extends IModelInsertOptions<EntityUser,ModelUser>>(data?: TypeModelMutateRelationData<EntityUser,ModelUser, T>, options?: T): Promise<Required<TypeModelMutateRelationData<EntityUser,ModelUser, T>>>;
|
|
724
|
+
insertBulk<T extends IModelInsertOptions<EntityUser,ModelUser>>(items: TypeModelMutateRelationData<EntityUser,ModelUser, T>[], options?: T): Promise<Required<TypeModelMutateRelationData<EntityUser,ModelUser, T>>[]>;
|
|
725
|
+
update<T extends IModelUpdateOptions<EntityUser,ModelUser>>(data: TypeModelMutateRelationData<EntityUser,ModelUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T>>;
|
|
726
|
+
updateBulk<T extends IModelUpdateOptions<EntityUser,ModelUser>>(items: TypeModelMutateRelationData<EntityUser,ModelUser, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T>[]>;
|
|
727
|
+
delete<T extends IModelDeleteOptions<EntityUser,ModelUser>>(where?: TypeModelWhere<EntityUser>, options?: T): Promise<void>;
|
|
728
|
+
deleteBulk<T extends IModelDeleteOptions<EntityUser,ModelUser>>(ids: TableIdentity[], options?: T): Promise<void>;
|
|
729
|
+
mutate<T extends IModelMutateOptions<EntityUser,ModelUser>>(data?: TypeModelMutateRelationData<EntityUser,ModelUser, T>, options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T>>;
|
|
730
|
+
mutateBulk<T extends IModelMutateOptions<EntityUser,ModelUser>>(items: TypeModelMutateRelationData<EntityUser,ModelUser, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUser, T>[]>;
|
|
731
|
+
count<T extends IModelSelectCountParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<BigNumber | undefined>;
|
|
732
|
+
aggregate<T extends IModelSelectAggrParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;
|
|
733
|
+
group<T extends IModelSelectGroupParams<EntityUser,ModelUser,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityUser, T>[]>;
|
|
734
|
+
}
|
|
735
|
+
export interface ModelUserStats {
|
|
736
|
+
[SymbolKeyEntity]: EntityUser;
|
|
737
|
+
[SymbolKeyEntityMeta]: EntityUserMeta;
|
|
738
|
+
[SymbolKeyModelOptions]: IModelOptionsUserStats;
|
|
739
|
+
get<T extends IModelGetOptions<EntityUser,ModelUserStats>>(where: TypeModelWhere<EntityUser>, options?: T): Promise<TypeModelRelationResult<EntityUser, ModelUserStats, T> | undefined>;
|
|
740
|
+
mget<T extends IModelGetOptions<EntityUser,ModelUserStats>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityUser, ModelUserStats, T>[]>;
|
|
741
|
+
select<T extends IModelSelectParams<EntityUser,ModelUserStats,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityUser, ModelUserStats, T>[]>;
|
|
742
|
+
insert<T extends IModelInsertOptions<EntityUser,ModelUserStats>>(data?: TypeModelMutateRelationData<EntityUser,ModelUserStats, T>, options?: T): Promise<Required<TypeModelMutateRelationData<EntityUser,ModelUserStats, T>>>;
|
|
743
|
+
insertBulk<T extends IModelInsertOptions<EntityUser,ModelUserStats>>(items: TypeModelMutateRelationData<EntityUser,ModelUserStats, T>[], options?: T): Promise<Required<TypeModelMutateRelationData<EntityUser,ModelUserStats, T>>[]>;
|
|
744
|
+
update<T extends IModelUpdateOptions<EntityUser,ModelUserStats>>(data: TypeModelMutateRelationData<EntityUser,ModelUserStats, T>, options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUserStats, T>>;
|
|
745
|
+
updateBulk<T extends IModelUpdateOptions<EntityUser,ModelUserStats>>(items: TypeModelMutateRelationData<EntityUser,ModelUserStats, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUserStats, T>[]>;
|
|
746
|
+
delete<T extends IModelDeleteOptions<EntityUser,ModelUserStats>>(where?: TypeModelWhere<EntityUser>, options?: T): Promise<void>;
|
|
747
|
+
deleteBulk<T extends IModelDeleteOptions<EntityUser,ModelUserStats>>(ids: TableIdentity[], options?: T): Promise<void>;
|
|
748
|
+
mutate<T extends IModelMutateOptions<EntityUser,ModelUserStats>>(data?: TypeModelMutateRelationData<EntityUser,ModelUserStats, T>, options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUserStats, T>>;
|
|
749
|
+
mutateBulk<T extends IModelMutateOptions<EntityUser,ModelUserStats>>(items: TypeModelMutateRelationData<EntityUser,ModelUserStats, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUserStats, T>[]>;
|
|
750
|
+
count<T extends IModelSelectCountParams<EntityUser,ModelUserStats,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<BigNumber | undefined>;
|
|
751
|
+
aggregate<T extends IModelSelectAggrParams<EntityUser,ModelUserStats,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;
|
|
752
|
+
group<T extends IModelSelectGroupParams<EntityUser,ModelUserStats,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityUser, T>[]>;
|
|
753
|
+
}
|
|
754
|
+
export interface ModelUserStatsGroup {
|
|
755
|
+
[SymbolKeyEntity]: EntityUser;
|
|
756
|
+
[SymbolKeyEntityMeta]: EntityUserMeta;
|
|
757
|
+
[SymbolKeyModelOptions]: IModelOptionsUserStatsGroup;
|
|
758
|
+
get<T extends IModelGetOptions<EntityUser,ModelUserStatsGroup>>(where: TypeModelWhere<EntityUser>, options?: T): Promise<TypeModelRelationResult<EntityUser, ModelUserStatsGroup, T> | undefined>;
|
|
759
|
+
mget<T extends IModelGetOptions<EntityUser,ModelUserStatsGroup>>(ids: TableIdentity[], options?: T): Promise<TypeModelRelationResult<EntityUser, ModelUserStatsGroup, T>[]>;
|
|
760
|
+
select<T extends IModelSelectParams<EntityUser,ModelUserStatsGroup,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelRelationResult<EntityUser, ModelUserStatsGroup, T>[]>;
|
|
761
|
+
insert<T extends IModelInsertOptions<EntityUser,ModelUserStatsGroup>>(data?: TypeModelMutateRelationData<EntityUser,ModelUserStatsGroup, T>, options?: T): Promise<Required<TypeModelMutateRelationData<EntityUser,ModelUserStatsGroup, T>>>;
|
|
762
|
+
insertBulk<T extends IModelInsertOptions<EntityUser,ModelUserStatsGroup>>(items: TypeModelMutateRelationData<EntityUser,ModelUserStatsGroup, T>[], options?: T): Promise<Required<TypeModelMutateRelationData<EntityUser,ModelUserStatsGroup, T>>[]>;
|
|
763
|
+
update<T extends IModelUpdateOptions<EntityUser,ModelUserStatsGroup>>(data: TypeModelMutateRelationData<EntityUser,ModelUserStatsGroup, T>, options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUserStatsGroup, T>>;
|
|
764
|
+
updateBulk<T extends IModelUpdateOptions<EntityUser,ModelUserStatsGroup>>(items: TypeModelMutateRelationData<EntityUser,ModelUserStatsGroup, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUserStatsGroup, T>[]>;
|
|
765
|
+
delete<T extends IModelDeleteOptions<EntityUser,ModelUserStatsGroup>>(where?: TypeModelWhere<EntityUser>, options?: T): Promise<void>;
|
|
766
|
+
deleteBulk<T extends IModelDeleteOptions<EntityUser,ModelUserStatsGroup>>(ids: TableIdentity[], options?: T): Promise<void>;
|
|
767
|
+
mutate<T extends IModelMutateOptions<EntityUser,ModelUserStatsGroup>>(data?: TypeModelMutateRelationData<EntityUser,ModelUserStatsGroup, T>, options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUserStatsGroup, T>>;
|
|
768
|
+
mutateBulk<T extends IModelMutateOptions<EntityUser,ModelUserStatsGroup>>(items: TypeModelMutateRelationData<EntityUser,ModelUserStatsGroup, T>[], options?: T): Promise<TypeModelMutateRelationData<EntityUser,ModelUserStatsGroup, T>[]>;
|
|
769
|
+
count<T extends IModelSelectCountParams<EntityUser,ModelUserStatsGroup,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<BigNumber | undefined>;
|
|
770
|
+
aggregate<T extends IModelSelectAggrParams<EntityUser,ModelUserStatsGroup,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelAggrRelationResult<T>>;
|
|
771
|
+
group<T extends IModelSelectGroupParams<EntityUser,ModelUserStatsGroup,ModelJoins>, ModelJoins extends TypeModelsClassLikeGeneral | undefined = undefined>(params?: T, options?: IModelMethodOptions, modelJoins?: ModelJoins): Promise<TypeModelGroupRelationResult<EntityUser, T>[]>;
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
declare module 'vona-module-a-orm' {
|
|
775
|
+
export interface IModelClassRecord {
|
|
776
|
+
'test-vona:category': ModelCategory;
|
|
777
|
+
'test-vona:categoryChain': ModelCategoryChain;
|
|
778
|
+
'test-vona:order': ModelOrder;
|
|
779
|
+
'test-vona:orderStats': ModelOrderStats;
|
|
780
|
+
'test-vona:post': ModelPost;
|
|
781
|
+
'test-vona:postContent': ModelPostContent;
|
|
782
|
+
'test-vona:product': ModelProduct;
|
|
783
|
+
'test-vona:role': ModelRole;
|
|
784
|
+
'test-vona:roleUser': ModelRoleUser;
|
|
785
|
+
'test-vona:test': ModelTest;
|
|
786
|
+
'test-vona:testDynamicTable': ModelTestDynamicTable;
|
|
787
|
+
'test-vona:user': ModelUser;
|
|
788
|
+
'test-vona:userStats': ModelUserStats;
|
|
789
|
+
'test-vona:userStatsGroup': ModelUserStatsGroup;
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
/** model: end */
|
|
793
|
+
/** bean: begin */
|
|
794
|
+
export * from '../bean/bean.testCtx.ts';
|
|
795
|
+
|
|
796
|
+
import 'vona';
|
|
797
|
+
declare module 'vona' {
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
}
|
|
801
|
+
declare module 'vona-module-test-vona' {
|
|
802
|
+
|
|
803
|
+
export interface BeanTestCtx {
|
|
804
|
+
/** @internal */
|
|
805
|
+
get scope(): ScopeModuleTestVona;
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
/** bean: end */
|
|
809
|
+
/** bean: begin */
|
|
810
|
+
import type { BeanTestCtx } from '../bean/bean.testCtx.ts';
|
|
811
|
+
import 'vona';
|
|
812
|
+
declare module 'vona' {
|
|
813
|
+
export interface IBeanRecordGlobal {
|
|
814
|
+
'testCtx': BeanTestCtx;
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
/** bean: end */
|
|
818
|
+
/** service: begin */
|
|
819
|
+
export * from '../service/aopMethod.ts';
|
|
820
|
+
export * from '../service/caching.ts';
|
|
821
|
+
export * from '../service/order.ts';
|
|
822
|
+
export * from '../service/post.ts';
|
|
823
|
+
export * from '../service/test.ts';
|
|
824
|
+
export * from '../service/testApp.ts';
|
|
825
|
+
export * from '../service/testClass.ts';
|
|
826
|
+
export * from '../service/testData.ts';
|
|
827
|
+
export * from '../service/transaction.ts';
|
|
828
|
+
|
|
829
|
+
import 'vona';
|
|
830
|
+
declare module 'vona-module-a-bean' {
|
|
831
|
+
|
|
832
|
+
export interface IServiceRecord {
|
|
833
|
+
'test-vona:aopMethod': never;
|
|
834
|
+
'test-vona:caching': never;
|
|
835
|
+
'test-vona:order': never;
|
|
836
|
+
'test-vona:post': never;
|
|
837
|
+
'test-vona:test': never;
|
|
838
|
+
'test-vona:testApp': never;
|
|
839
|
+
'test-vona:testClass': never;
|
|
840
|
+
'test-vona:testData': never;
|
|
841
|
+
'test-vona:transaction': never;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
}
|
|
846
|
+
declare module 'vona-module-test-vona' {
|
|
847
|
+
|
|
848
|
+
export interface ServiceAopMethod {
|
|
849
|
+
/** @internal */
|
|
850
|
+
get scope(): ScopeModuleTestVona;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
export interface ServiceAopMethod {
|
|
854
|
+
get $beanFullName(): 'test-vona.service.aopMethod';
|
|
855
|
+
get $onionName(): 'test-vona:aopMethod';
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
export interface ServiceCaching {
|
|
859
|
+
/** @internal */
|
|
860
|
+
get scope(): ScopeModuleTestVona;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
export interface ServiceCaching {
|
|
864
|
+
get $beanFullName(): 'test-vona.service.caching';
|
|
865
|
+
get $onionName(): 'test-vona:caching';
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
export interface ServiceOrder {
|
|
869
|
+
/** @internal */
|
|
870
|
+
get scope(): ScopeModuleTestVona;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
export interface ServiceOrder {
|
|
874
|
+
get $beanFullName(): 'test-vona.service.order';
|
|
875
|
+
get $onionName(): 'test-vona:order';
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
export interface ServicePost {
|
|
879
|
+
/** @internal */
|
|
880
|
+
get scope(): ScopeModuleTestVona;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
export interface ServicePost {
|
|
884
|
+
get $beanFullName(): 'test-vona.service.post';
|
|
885
|
+
get $onionName(): 'test-vona:post';
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
export interface ServiceTest {
|
|
889
|
+
/** @internal */
|
|
890
|
+
get scope(): ScopeModuleTestVona;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
export interface ServiceTest {
|
|
894
|
+
get $beanFullName(): 'test-vona.service.test';
|
|
895
|
+
get $onionName(): 'test-vona:test';
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
export interface ServiceTestApp {
|
|
899
|
+
/** @internal */
|
|
900
|
+
get scope(): ScopeModuleTestVona;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
export interface ServiceTestApp {
|
|
904
|
+
get $beanFullName(): 'test-vona.service.testApp';
|
|
905
|
+
get $onionName(): 'test-vona:testApp';
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
export interface ServiceTestClass {
|
|
909
|
+
/** @internal */
|
|
910
|
+
get scope(): ScopeModuleTestVona;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
export interface ServiceTestClass {
|
|
914
|
+
get $beanFullName(): 'test-vona.service.testClass';
|
|
915
|
+
get $onionName(): 'test-vona:testClass';
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
export interface ServiceTestData {
|
|
919
|
+
/** @internal */
|
|
920
|
+
get scope(): ScopeModuleTestVona;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
export interface ServiceTestData {
|
|
924
|
+
get $beanFullName(): 'test-vona.service.testData';
|
|
925
|
+
get $onionName(): 'test-vona:testData';
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
export interface ServiceTransaction {
|
|
929
|
+
/** @internal */
|
|
930
|
+
get scope(): ScopeModuleTestVona;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
export interface ServiceTransaction {
|
|
934
|
+
get $beanFullName(): 'test-vona.service.transaction';
|
|
935
|
+
get $onionName(): 'test-vona:transaction';
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
/** service: end */
|
|
939
|
+
/** service: begin */
|
|
940
|
+
import type { ServiceAopMethod } from '../service/aopMethod.ts';
|
|
941
|
+
import type { ServiceCaching } from '../service/caching.ts';
|
|
942
|
+
import type { ServiceOrder } from '../service/order.ts';
|
|
943
|
+
import type { ServicePost } from '../service/post.ts';
|
|
944
|
+
import type { ServiceTest } from '../service/test.ts';
|
|
945
|
+
import type { ServiceTestApp } from '../service/testApp.ts';
|
|
946
|
+
import type { ServiceTestClass } from '../service/testClass.ts';
|
|
947
|
+
import type { ServiceTestData } from '../service/testData.ts';
|
|
948
|
+
import type { ServiceTransaction } from '../service/transaction.ts';
|
|
949
|
+
export interface IModuleService {
|
|
950
|
+
'aopMethod': ServiceAopMethod;
|
|
951
|
+
'caching': ServiceCaching;
|
|
952
|
+
'order': ServiceOrder;
|
|
953
|
+
'post': ServicePost;
|
|
954
|
+
'test': ServiceTest;
|
|
955
|
+
'testApp': ServiceTestApp;
|
|
956
|
+
'testClass': ServiceTestClass;
|
|
957
|
+
'testData': ServiceTestData;
|
|
958
|
+
'transaction': ServiceTransaction;
|
|
959
|
+
}
|
|
960
|
+
/** service: end */
|
|
961
|
+
/** service: begin */
|
|
962
|
+
|
|
963
|
+
import 'vona';
|
|
964
|
+
declare module 'vona' {
|
|
965
|
+
export interface IBeanRecordGeneral {
|
|
966
|
+
'test-vona.service.aopMethod': ServiceAopMethod;
|
|
967
|
+
'test-vona.service.caching': ServiceCaching;
|
|
968
|
+
'test-vona.service.order': ServiceOrder;
|
|
969
|
+
'test-vona.service.post': ServicePost;
|
|
970
|
+
'test-vona.service.test': ServiceTest;
|
|
971
|
+
'test-vona.service.testApp': ServiceTestApp;
|
|
972
|
+
'test-vona.service.testClass': ServiceTestClass;
|
|
973
|
+
'test-vona.service.testData': ServiceTestData;
|
|
974
|
+
'test-vona.service.transaction': ServiceTransaction;
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
/** service: end */
|
|
978
|
+
/** broadcast: begin */
|
|
979
|
+
export * from '../bean/broadcast.test.ts';
|
|
980
|
+
|
|
981
|
+
import { type IDecoratorBroadcastOptions } from 'vona-module-a-broadcast';
|
|
982
|
+
declare module 'vona-module-a-broadcast' {
|
|
983
|
+
|
|
984
|
+
export interface IBroadcastRecord {
|
|
985
|
+
'test-vona:test': IDecoratorBroadcastOptions;
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
}
|
|
990
|
+
declare module 'vona-module-test-vona' {
|
|
991
|
+
|
|
992
|
+
export interface BroadcastTest {
|
|
993
|
+
/** @internal */
|
|
994
|
+
get scope(): ScopeModuleTestVona;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
export interface BroadcastTest {
|
|
998
|
+
get $beanFullName(): 'test-vona.broadcast.test';
|
|
999
|
+
get $onionName(): 'test-vona:test';
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
/** broadcast: end */
|
|
1003
|
+
/** broadcast: begin */
|
|
1004
|
+
import type { BroadcastTest } from '../bean/broadcast.test.ts';
|
|
1005
|
+
export interface IModuleBroadcast {
|
|
1006
|
+
'test': BroadcastTest;
|
|
1007
|
+
}
|
|
1008
|
+
/** broadcast: end */
|
|
1009
|
+
/** cacheMem: begin */
|
|
1010
|
+
export * from '../bean/cacheMem.test.ts';
|
|
1011
|
+
|
|
1012
|
+
import { type IDecoratorCacheMemOptions } from 'vona-module-a-cache';
|
|
1013
|
+
declare module 'vona-module-a-cache' {
|
|
1014
|
+
|
|
1015
|
+
export interface ICacheMemRecord {
|
|
1016
|
+
'test-vona:test': IDecoratorCacheMemOptions;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
}
|
|
1021
|
+
declare module 'vona-module-test-vona' {
|
|
1022
|
+
|
|
1023
|
+
export interface CacheMemTest {
|
|
1024
|
+
/** @internal */
|
|
1025
|
+
get scope(): ScopeModuleTestVona;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
export interface CacheMemTest {
|
|
1029
|
+
get $beanFullName(): 'test-vona.cacheMem.test';
|
|
1030
|
+
get $onionName(): 'test-vona:test';
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
/** cacheMem: end */
|
|
1034
|
+
/** cacheMem: begin */
|
|
1035
|
+
import type { CacheMemTest } from '../bean/cacheMem.test.ts';
|
|
1036
|
+
export interface IModuleCacheMem {
|
|
1037
|
+
'test': CacheMemTest;
|
|
1038
|
+
}
|
|
1039
|
+
/** cacheMem: end */
|
|
1040
|
+
/** cacheRedis: begin */
|
|
1041
|
+
export * from '../bean/cacheRedis.post.ts';
|
|
1042
|
+
export * from '../bean/cacheRedis.test.ts';
|
|
1043
|
+
|
|
1044
|
+
import { type IDecoratorCacheRedisOptions } from 'vona-module-a-cache';
|
|
1045
|
+
declare module 'vona-module-a-cache' {
|
|
1046
|
+
|
|
1047
|
+
export interface ICacheRedisRecord {
|
|
1048
|
+
'test-vona:post': IDecoratorCacheRedisOptions;
|
|
1049
|
+
'test-vona:test': IDecoratorCacheRedisOptions;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
}
|
|
1054
|
+
declare module 'vona-module-test-vona' {
|
|
1055
|
+
|
|
1056
|
+
export interface CacheRedisPost {
|
|
1057
|
+
/** @internal */
|
|
1058
|
+
get scope(): ScopeModuleTestVona;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
export interface CacheRedisPost {
|
|
1062
|
+
get $beanFullName(): 'test-vona.cacheRedis.post';
|
|
1063
|
+
get $onionName(): 'test-vona:post';
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
export interface CacheRedisTest {
|
|
1067
|
+
/** @internal */
|
|
1068
|
+
get scope(): ScopeModuleTestVona;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
export interface CacheRedisTest {
|
|
1072
|
+
get $beanFullName(): 'test-vona.cacheRedis.test';
|
|
1073
|
+
get $onionName(): 'test-vona:test';
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
/** cacheRedis: end */
|
|
1077
|
+
/** cacheRedis: begin */
|
|
1078
|
+
import type { CacheRedisPost } from '../bean/cacheRedis.post.ts';
|
|
1079
|
+
import type { CacheRedisTest } from '../bean/cacheRedis.test.ts';
|
|
1080
|
+
export interface IModuleCacheRedis {
|
|
1081
|
+
'post': CacheRedisPost;
|
|
1082
|
+
'test': CacheRedisTest;
|
|
1083
|
+
}
|
|
1084
|
+
/** cacheRedis: end */
|
|
1085
|
+
/** event: begin */
|
|
1086
|
+
export * from '../bean/event.helloEcho.ts';
|
|
1087
|
+
|
|
1088
|
+
import 'vona';
|
|
1089
|
+
declare module 'vona' {
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
}
|
|
1093
|
+
declare module 'vona-module-test-vona' {
|
|
1094
|
+
|
|
1095
|
+
export interface EventHelloEcho {
|
|
1096
|
+
/** @internal */
|
|
1097
|
+
get scope(): ScopeModuleTestVona;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
export interface EventHelloEcho {
|
|
1101
|
+
get $beanFullName(): 'test-vona.event.helloEcho';
|
|
1102
|
+
get $onionName(): 'test-vona:helloEcho';
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
/** event: end */
|
|
1106
|
+
/** event: begin */
|
|
1107
|
+
import type { EventHelloEcho } from '../bean/event.helloEcho.ts';
|
|
1108
|
+
export interface IModuleEvent {
|
|
1109
|
+
'helloEcho': EventHelloEcho;
|
|
1110
|
+
}
|
|
1111
|
+
/** event: end */
|
|
1112
|
+
/** event: begin */
|
|
1113
|
+
import type { TypeEventHelloEchoData, TypeEventHelloEchoResult } from '../bean/event.helloEcho.ts';
|
|
1114
|
+
import type { EventOn } from 'vona-module-a-event';
|
|
1115
|
+
declare module 'vona-module-a-event' {
|
|
1116
|
+
export interface IEventRecord {
|
|
1117
|
+
'test-vona:helloEcho': EventOn<TypeEventHelloEchoData, TypeEventHelloEchoResult>;
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
/** event: end */
|
|
1121
|
+
/** eventListener: begin */
|
|
1122
|
+
export * from '../bean/eventListener.helloEcho.ts';
|
|
1123
|
+
|
|
1124
|
+
import { type IDecoratorEventListenerOptions } from 'vona-module-a-event';
|
|
1125
|
+
declare module 'vona-module-a-event' {
|
|
1126
|
+
|
|
1127
|
+
export interface IEventListenerRecord {
|
|
1128
|
+
'test-vona:helloEcho': IDecoratorEventListenerOptions;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
}
|
|
1133
|
+
declare module 'vona-module-test-vona' {
|
|
1134
|
+
|
|
1135
|
+
export interface EventListenerHelloEcho {
|
|
1136
|
+
/** @internal */
|
|
1137
|
+
get scope(): ScopeModuleTestVona;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
export interface EventListenerHelloEcho {
|
|
1141
|
+
get $beanFullName(): 'test-vona.eventListener.helloEcho';
|
|
1142
|
+
get $onionName(): 'test-vona:helloEcho';
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
/** eventListener: end */
|
|
1146
|
+
/** meta: begin */
|
|
1147
|
+
export * from '../bean/meta.version.ts';
|
|
1148
|
+
|
|
1149
|
+
import 'vona';
|
|
1150
|
+
declare module 'vona' {
|
|
1151
|
+
|
|
1152
|
+
export interface IMetaRecord {
|
|
1153
|
+
'test-vona:version': never;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+
}
|
|
1158
|
+
declare module 'vona-module-test-vona' {
|
|
1159
|
+
|
|
1160
|
+
export interface MetaVersion {
|
|
1161
|
+
/** @internal */
|
|
1162
|
+
get scope(): ScopeModuleTestVona;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
export interface MetaVersion {
|
|
1166
|
+
get $beanFullName(): 'test-vona.meta.version';
|
|
1167
|
+
get $onionName(): 'test-vona:version';
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
/** meta: end */
|
|
1171
|
+
/** queue: begin */
|
|
1172
|
+
export * from '../bean/queue.test.ts';
|
|
1173
|
+
|
|
1174
|
+
import { type IDecoratorQueueOptions } from 'vona-module-a-queue';
|
|
1175
|
+
declare module 'vona-module-a-queue' {
|
|
1176
|
+
|
|
1177
|
+
export interface IQueueRecord {
|
|
1178
|
+
'test-vona:test': IDecoratorQueueOptions;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
}
|
|
1183
|
+
declare module 'vona-module-test-vona' {
|
|
1184
|
+
|
|
1185
|
+
export interface QueueTest {
|
|
1186
|
+
/** @internal */
|
|
1187
|
+
get scope(): ScopeModuleTestVona;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
export interface QueueTest {
|
|
1191
|
+
get $beanFullName(): 'test-vona.queue.test';
|
|
1192
|
+
get $onionName(): 'test-vona:test';
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
/** queue: end */
|
|
1196
|
+
/** queue: begin */
|
|
1197
|
+
import type { QueueTest } from '../bean/queue.test.ts';
|
|
1198
|
+
export interface IModuleQueue {
|
|
1199
|
+
'test': QueueTest;
|
|
1200
|
+
}
|
|
1201
|
+
/** queue: end */
|
|
1202
|
+
/** schedule: begin */
|
|
1203
|
+
export * from '../bean/schedule.test.ts';
|
|
1204
|
+
export * from '../bean/schedule.test3.ts';
|
|
1205
|
+
|
|
1206
|
+
import { type IDecoratorScheduleOptions } from 'vona-module-a-schedule';
|
|
1207
|
+
declare module 'vona-module-a-schedule' {
|
|
1208
|
+
|
|
1209
|
+
export interface IScheduleRecord {
|
|
1210
|
+
'test-vona:test': IDecoratorScheduleOptions;
|
|
1211
|
+
'test-vona:test3': IDecoratorScheduleOptions;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
}
|
|
1216
|
+
declare module 'vona-module-test-vona' {
|
|
1217
|
+
|
|
1218
|
+
export interface ScheduleTest {
|
|
1219
|
+
/** @internal */
|
|
1220
|
+
get scope(): ScopeModuleTestVona;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
export interface ScheduleTest {
|
|
1224
|
+
get $beanFullName(): 'test-vona.schedule.test';
|
|
1225
|
+
get $onionName(): 'test-vona:test';
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
export interface ScheduleTest3 {
|
|
1229
|
+
/** @internal */
|
|
1230
|
+
get scope(): ScopeModuleTestVona;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
export interface ScheduleTest3 {
|
|
1234
|
+
get $beanFullName(): 'test-vona.schedule.test3';
|
|
1235
|
+
get $onionName(): 'test-vona:test3';
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
/** schedule: end */
|
|
1239
|
+
/** summerCache: begin */
|
|
1240
|
+
export * from '../bean/summerCache.test.ts';
|
|
1241
|
+
|
|
1242
|
+
import { type IDecoratorSummerCacheOptions } from 'vona-module-a-summer';
|
|
1243
|
+
declare module 'vona-module-a-summer' {
|
|
1244
|
+
|
|
1245
|
+
export interface ISummerCacheRecord {
|
|
1246
|
+
'test-vona:test': IDecoratorSummerCacheOptions;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
}
|
|
1251
|
+
declare module 'vona-module-test-vona' {
|
|
1252
|
+
|
|
1253
|
+
export interface SummerCacheTest {
|
|
1254
|
+
/** @internal */
|
|
1255
|
+
get scope(): ScopeModuleTestVona;
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
export interface SummerCacheTest {
|
|
1259
|
+
get $beanFullName(): 'test-vona.summerCache.test';
|
|
1260
|
+
get $onionName(): 'test-vona:test';
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
/** summerCache: end */
|
|
1264
|
+
/** summerCache: begin */
|
|
1265
|
+
import type { SummerCacheTest } from '../bean/summerCache.test.ts';
|
|
1266
|
+
export interface IModuleSummerCache {
|
|
1267
|
+
'test': SummerCacheTest;
|
|
1268
|
+
}
|
|
1269
|
+
/** summerCache: end */
|
|
1270
|
+
/** dto: begin */
|
|
1271
|
+
export * from '../dto/categoryTree.ts';
|
|
1272
|
+
export * from '../dto/orderCreate.ts';
|
|
1273
|
+
export * from '../dto/orderResult.ts';
|
|
1274
|
+
export * from '../dto/orderUpdate.ts';
|
|
1275
|
+
export * from '../dto/postCreate.ts';
|
|
1276
|
+
export * from '../dto/profile.ts';
|
|
1277
|
+
export * from '../dto/roleLazy.ts';
|
|
1278
|
+
export * from '../dto/user.ts';
|
|
1279
|
+
export * from '../dto/userCreate.ts';
|
|
1280
|
+
export * from '../dto/userLazy.ts';
|
|
1281
|
+
export * from '../dto/userUpdate.ts';
|
|
1282
|
+
import type { IDtoOptionsCategoryTree } from '../dto/categoryTree.ts';
|
|
1283
|
+
import type { IDtoOptionsOrderCreate } from '../dto/orderCreate.ts';
|
|
1284
|
+
import type { IDtoOptionsOrderResult } from '../dto/orderResult.ts';
|
|
1285
|
+
import type { IDtoOptionsOrderUpdate } from '../dto/orderUpdate.ts';
|
|
1286
|
+
import type { IDtoOptionsPostCreate } from '../dto/postCreate.ts';
|
|
1287
|
+
import type { IDtoOptionsProfile } from '../dto/profile.ts';
|
|
1288
|
+
import type { IDtoOptionsRoleLazy } from '../dto/roleLazy.ts';
|
|
1289
|
+
import type { IDtoOptionsUser } from '../dto/user.ts';
|
|
1290
|
+
import type { IDtoOptionsUserCreate } from '../dto/userCreate.ts';
|
|
1291
|
+
import type { IDtoOptionsUserLazy } from '../dto/userLazy.ts';
|
|
1292
|
+
import type { IDtoOptionsUserUpdate } from '../dto/userUpdate.ts';
|
|
1293
|
+
import 'vona';
|
|
1294
|
+
declare module 'vona-module-a-web' {
|
|
1295
|
+
|
|
1296
|
+
export interface IDtoRecord {
|
|
1297
|
+
'test-vona:categoryTree': IDtoOptionsCategoryTree;
|
|
1298
|
+
'test-vona:orderCreate': IDtoOptionsOrderCreate;
|
|
1299
|
+
'test-vona:orderResult': IDtoOptionsOrderResult;
|
|
1300
|
+
'test-vona:orderUpdate': IDtoOptionsOrderUpdate;
|
|
1301
|
+
'test-vona:postCreate': IDtoOptionsPostCreate;
|
|
1302
|
+
'test-vona:profile': IDtoOptionsProfile;
|
|
1303
|
+
'test-vona:roleLazy': IDtoOptionsRoleLazy;
|
|
1304
|
+
'test-vona:user': IDtoOptionsUser;
|
|
1305
|
+
'test-vona:userCreate': IDtoOptionsUserCreate;
|
|
1306
|
+
'test-vona:userLazy': IDtoOptionsUserLazy;
|
|
1307
|
+
'test-vona:userUpdate': IDtoOptionsUserUpdate;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
}
|
|
1312
|
+
declare module 'vona-module-test-vona' {
|
|
1313
|
+
|
|
1314
|
+
}
|
|
1315
|
+
/** dto: end */
|
|
1316
|
+
/** dto: begin */
|
|
1317
|
+
import type { DtoCategoryTree } from '../dto/categoryTree.ts';
|
|
1318
|
+
import type { DtoOrderCreate } from '../dto/orderCreate.ts';
|
|
1319
|
+
import type { DtoOrderResult } from '../dto/orderResult.ts';
|
|
1320
|
+
import type { DtoOrderUpdate } from '../dto/orderUpdate.ts';
|
|
1321
|
+
import type { DtoPostCreate } from '../dto/postCreate.ts';
|
|
1322
|
+
import type { DtoProfile } from '../dto/profile.ts';
|
|
1323
|
+
import type { DtoRoleLazy } from '../dto/roleLazy.ts';
|
|
1324
|
+
import type { DtoUser } from '../dto/user.ts';
|
|
1325
|
+
import type { DtoUserCreate } from '../dto/userCreate.ts';
|
|
1326
|
+
import type { DtoUserLazy } from '../dto/userLazy.ts';
|
|
1327
|
+
import type { DtoUserUpdate } from '../dto/userUpdate.ts';
|
|
1328
|
+
declare module 'vona-module-test-vona' {
|
|
1329
|
+
|
|
1330
|
+
export interface IDtoOptionsCategoryTree {
|
|
1331
|
+
fields?: TypeEntityOptionsFields<DtoCategoryTree, IDtoOptionsCategoryTree[TypeSymbolKeyFieldsMore]>;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
export interface IDtoOptionsOrderCreate {
|
|
1335
|
+
fields?: TypeEntityOptionsFields<DtoOrderCreate, IDtoOptionsOrderCreate[TypeSymbolKeyFieldsMore]>;
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
export interface IDtoOptionsOrderResult {
|
|
1339
|
+
fields?: TypeEntityOptionsFields<DtoOrderResult, IDtoOptionsOrderResult[TypeSymbolKeyFieldsMore]>;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
export interface IDtoOptionsOrderUpdate {
|
|
1343
|
+
fields?: TypeEntityOptionsFields<DtoOrderUpdate, IDtoOptionsOrderUpdate[TypeSymbolKeyFieldsMore]>;
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
export interface IDtoOptionsPostCreate {
|
|
1347
|
+
fields?: TypeEntityOptionsFields<DtoPostCreate, IDtoOptionsPostCreate[TypeSymbolKeyFieldsMore]>;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
export interface IDtoOptionsProfile {
|
|
1351
|
+
fields?: TypeEntityOptionsFields<DtoProfile, IDtoOptionsProfile[TypeSymbolKeyFieldsMore]>;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
export interface IDtoOptionsRoleLazy {
|
|
1355
|
+
fields?: TypeEntityOptionsFields<DtoRoleLazy, IDtoOptionsRoleLazy[TypeSymbolKeyFieldsMore]>;
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
export interface IDtoOptionsUser {
|
|
1359
|
+
fields?: TypeEntityOptionsFields<DtoUser, IDtoOptionsUser[TypeSymbolKeyFieldsMore]>;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
export interface IDtoOptionsUserCreate {
|
|
1363
|
+
fields?: TypeEntityOptionsFields<DtoUserCreate, IDtoOptionsUserCreate[TypeSymbolKeyFieldsMore]>;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
export interface IDtoOptionsUserLazy {
|
|
1367
|
+
fields?: TypeEntityOptionsFields<DtoUserLazy, IDtoOptionsUserLazy[TypeSymbolKeyFieldsMore]>;
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
export interface IDtoOptionsUserUpdate {
|
|
1371
|
+
fields?: TypeEntityOptionsFields<DtoUserUpdate, IDtoOptionsUserUpdate[TypeSymbolKeyFieldsMore]>;
|
|
1372
|
+
}
|
|
1373
|
+
}
|
|
1374
|
+
/** dto: end */
|
|
1375
|
+
/** controller: begin */
|
|
1376
|
+
export * from '../controller/bean.ts';
|
|
1377
|
+
export * from '../controller/cacheMem.ts';
|
|
1378
|
+
export * from '../controller/cacheRedis.ts';
|
|
1379
|
+
export * from '../controller/dtoTest.ts';
|
|
1380
|
+
export * from '../controller/guardPassport.ts';
|
|
1381
|
+
export * from '../controller/onion.ts';
|
|
1382
|
+
export * from '../controller/passport.ts';
|
|
1383
|
+
export * from '../controller/performAction.ts';
|
|
1384
|
+
export * from '../controller/queue.ts';
|
|
1385
|
+
export * from '../controller/summer.ts';
|
|
1386
|
+
export * from '../controller/tail.ts';
|
|
1387
|
+
export * from '../controller/transaction.ts';
|
|
1388
|
+
export * from '../controller/upload.ts';
|
|
1389
|
+
import type { IControllerOptionsBean } from '../controller/bean.ts';
|
|
1390
|
+
import type { IControllerOptionsCacheMem } from '../controller/cacheMem.ts';
|
|
1391
|
+
import type { IControllerOptionsCacheRedis } from '../controller/cacheRedis.ts';
|
|
1392
|
+
import type { IControllerOptionsDtoTest } from '../controller/dtoTest.ts';
|
|
1393
|
+
import type { IControllerOptionsGuardPassport } from '../controller/guardPassport.ts';
|
|
1394
|
+
import type { IControllerOptionsOnion } from '../controller/onion.ts';
|
|
1395
|
+
import type { IControllerOptionsPassport } from '../controller/passport.ts';
|
|
1396
|
+
import type { IControllerOptionsPerformAction } from '../controller/performAction.ts';
|
|
1397
|
+
import type { IControllerOptionsQueue } from '../controller/queue.ts';
|
|
1398
|
+
import type { IControllerOptionsSummer } from '../controller/summer.ts';
|
|
1399
|
+
import type { IControllerOptionsTail } from '../controller/tail.ts';
|
|
1400
|
+
import type { IControllerOptionsTransaction } from '../controller/transaction.ts';
|
|
1401
|
+
import type { IControllerOptionsUpload } from '../controller/upload.ts';
|
|
1402
|
+
import 'vona';
|
|
1403
|
+
declare module 'vona-module-a-web' {
|
|
1404
|
+
|
|
1405
|
+
export interface IControllerRecord {
|
|
1406
|
+
'test-vona:bean': IControllerOptionsBean;
|
|
1407
|
+
'test-vona:cacheMem': IControllerOptionsCacheMem;
|
|
1408
|
+
'test-vona:cacheRedis': IControllerOptionsCacheRedis;
|
|
1409
|
+
'test-vona:dtoTest': IControllerOptionsDtoTest;
|
|
1410
|
+
'test-vona:guardPassport': IControllerOptionsGuardPassport;
|
|
1411
|
+
'test-vona:onion': IControllerOptionsOnion;
|
|
1412
|
+
'test-vona:passport': IControllerOptionsPassport;
|
|
1413
|
+
'test-vona:performAction': IControllerOptionsPerformAction;
|
|
1414
|
+
'test-vona:queue': IControllerOptionsQueue;
|
|
1415
|
+
'test-vona:summer': IControllerOptionsSummer;
|
|
1416
|
+
'test-vona:tail': IControllerOptionsTail;
|
|
1417
|
+
'test-vona:transaction': IControllerOptionsTransaction;
|
|
1418
|
+
'test-vona:upload': IControllerOptionsUpload;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
}
|
|
1423
|
+
declare module 'vona-module-test-vona' {
|
|
1424
|
+
|
|
1425
|
+
export interface ControllerBean {
|
|
1426
|
+
/** @internal */
|
|
1427
|
+
get scope(): ScopeModuleTestVona;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
export interface ControllerBean {
|
|
1431
|
+
get $beanFullName(): 'test-vona.controller.bean';
|
|
1432
|
+
get $onionName(): 'test-vona:bean';
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
export interface ControllerCacheMem {
|
|
1436
|
+
/** @internal */
|
|
1437
|
+
get scope(): ScopeModuleTestVona;
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
export interface ControllerCacheMem {
|
|
1441
|
+
get $beanFullName(): 'test-vona.controller.cacheMem';
|
|
1442
|
+
get $onionName(): 'test-vona:cacheMem';
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
export interface ControllerCacheRedis {
|
|
1446
|
+
/** @internal */
|
|
1447
|
+
get scope(): ScopeModuleTestVona;
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
export interface ControllerCacheRedis {
|
|
1451
|
+
get $beanFullName(): 'test-vona.controller.cacheRedis';
|
|
1452
|
+
get $onionName(): 'test-vona:cacheRedis';
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
export interface ControllerDtoTest {
|
|
1456
|
+
/** @internal */
|
|
1457
|
+
get scope(): ScopeModuleTestVona;
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
export interface ControllerDtoTest {
|
|
1461
|
+
get $beanFullName(): 'test-vona.controller.dtoTest';
|
|
1462
|
+
get $onionName(): 'test-vona:dtoTest';
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
export interface ControllerGuardPassport {
|
|
1466
|
+
/** @internal */
|
|
1467
|
+
get scope(): ScopeModuleTestVona;
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
export interface ControllerGuardPassport {
|
|
1471
|
+
get $beanFullName(): 'test-vona.controller.guardPassport';
|
|
1472
|
+
get $onionName(): 'test-vona:guardPassport';
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
export interface ControllerOnion {
|
|
1476
|
+
/** @internal */
|
|
1477
|
+
get scope(): ScopeModuleTestVona;
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
export interface ControllerOnion {
|
|
1481
|
+
get $beanFullName(): 'test-vona.controller.onion';
|
|
1482
|
+
get $onionName(): 'test-vona:onion';
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
export interface ControllerPassport {
|
|
1486
|
+
/** @internal */
|
|
1487
|
+
get scope(): ScopeModuleTestVona;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
export interface ControllerPassport {
|
|
1491
|
+
get $beanFullName(): 'test-vona.controller.passport';
|
|
1492
|
+
get $onionName(): 'test-vona:passport';
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
export interface ControllerPerformAction {
|
|
1496
|
+
/** @internal */
|
|
1497
|
+
get scope(): ScopeModuleTestVona;
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
export interface ControllerPerformAction {
|
|
1501
|
+
get $beanFullName(): 'test-vona.controller.performAction';
|
|
1502
|
+
get $onionName(): 'test-vona:performAction';
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
export interface ControllerQueue {
|
|
1506
|
+
/** @internal */
|
|
1507
|
+
get scope(): ScopeModuleTestVona;
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
export interface ControllerQueue {
|
|
1511
|
+
get $beanFullName(): 'test-vona.controller.queue';
|
|
1512
|
+
get $onionName(): 'test-vona:queue';
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
export interface ControllerSummer {
|
|
1516
|
+
/** @internal */
|
|
1517
|
+
get scope(): ScopeModuleTestVona;
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
export interface ControllerSummer {
|
|
1521
|
+
get $beanFullName(): 'test-vona.controller.summer';
|
|
1522
|
+
get $onionName(): 'test-vona:summer';
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
export interface ControllerTail {
|
|
1526
|
+
/** @internal */
|
|
1527
|
+
get scope(): ScopeModuleTestVona;
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
export interface ControllerTail {
|
|
1531
|
+
get $beanFullName(): 'test-vona.controller.tail';
|
|
1532
|
+
get $onionName(): 'test-vona:tail';
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
export interface ControllerTransaction {
|
|
1536
|
+
/** @internal */
|
|
1537
|
+
get scope(): ScopeModuleTestVona;
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
export interface ControllerTransaction {
|
|
1541
|
+
get $beanFullName(): 'test-vona.controller.transaction';
|
|
1542
|
+
get $onionName(): 'test-vona:transaction';
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
export interface ControllerUpload {
|
|
1546
|
+
/** @internal */
|
|
1547
|
+
get scope(): ScopeModuleTestVona;
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
export interface ControllerUpload {
|
|
1551
|
+
get $beanFullName(): 'test-vona.controller.upload';
|
|
1552
|
+
get $onionName(): 'test-vona:upload';
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
/** controller: end */
|
|
1556
|
+
/** controller: begin */
|
|
1557
|
+
// @ts-ignore ignore
|
|
1558
|
+
import type { ControllerBean } from '../controller/bean.ts';
|
|
1559
|
+
// @ts-ignore ignore
|
|
1560
|
+
import type { ControllerCacheMem } from '../controller/cacheMem.ts';
|
|
1561
|
+
// @ts-ignore ignore
|
|
1562
|
+
import type { ControllerCacheRedis } from '../controller/cacheRedis.ts';
|
|
1563
|
+
// @ts-ignore ignore
|
|
1564
|
+
import type { ControllerDtoTest } from '../controller/dtoTest.ts';
|
|
1565
|
+
// @ts-ignore ignore
|
|
1566
|
+
import type { ControllerGuardPassport } from '../controller/guardPassport.ts';
|
|
1567
|
+
// @ts-ignore ignore
|
|
1568
|
+
import type { ControllerOnion } from '../controller/onion.ts';
|
|
1569
|
+
// @ts-ignore ignore
|
|
1570
|
+
import type { ControllerPassport } from '../controller/passport.ts';
|
|
1571
|
+
// @ts-ignore ignore
|
|
1572
|
+
import type { ControllerPerformAction } from '../controller/performAction.ts';
|
|
1573
|
+
// @ts-ignore ignore
|
|
1574
|
+
import type { ControllerQueue } from '../controller/queue.ts';
|
|
1575
|
+
// @ts-ignore ignore
|
|
1576
|
+
import type { ControllerSummer } from '../controller/summer.ts';
|
|
1577
|
+
// @ts-ignore ignore
|
|
1578
|
+
import type { ControllerTail } from '../controller/tail.ts';
|
|
1579
|
+
// @ts-ignore ignore
|
|
1580
|
+
import type { ControllerTransaction } from '../controller/transaction.ts';
|
|
1581
|
+
// @ts-ignore ignore
|
|
1582
|
+
import type { ControllerUpload } from '../controller/upload.ts';
|
|
1583
|
+
declare module 'vona-module-test-vona' {
|
|
1584
|
+
|
|
1585
|
+
export interface IControllerOptionsBean {
|
|
1586
|
+
actions?: TypeControllerOptionsActions<ControllerBean>;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
export interface IControllerOptionsCacheMem {
|
|
1590
|
+
actions?: TypeControllerOptionsActions<ControllerCacheMem>;
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
export interface IControllerOptionsCacheRedis {
|
|
1594
|
+
actions?: TypeControllerOptionsActions<ControllerCacheRedis>;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
export interface IControllerOptionsDtoTest {
|
|
1598
|
+
actions?: TypeControllerOptionsActions<ControllerDtoTest>;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
export interface IControllerOptionsGuardPassport {
|
|
1602
|
+
actions?: TypeControllerOptionsActions<ControllerGuardPassport>;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
export interface IControllerOptionsOnion {
|
|
1606
|
+
actions?: TypeControllerOptionsActions<ControllerOnion>;
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
export interface IControllerOptionsPassport {
|
|
1610
|
+
actions?: TypeControllerOptionsActions<ControllerPassport>;
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
export interface IControllerOptionsPerformAction {
|
|
1614
|
+
actions?: TypeControllerOptionsActions<ControllerPerformAction>;
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
export interface IControllerOptionsQueue {
|
|
1618
|
+
actions?: TypeControllerOptionsActions<ControllerQueue>;
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
export interface IControllerOptionsSummer {
|
|
1622
|
+
actions?: TypeControllerOptionsActions<ControllerSummer>;
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
export interface IControllerOptionsTail {
|
|
1626
|
+
actions?: TypeControllerOptionsActions<ControllerTail>;
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
export interface IControllerOptionsTransaction {
|
|
1630
|
+
actions?: TypeControllerOptionsActions<ControllerTransaction>;
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
export interface IControllerOptionsUpload {
|
|
1634
|
+
actions?: TypeControllerOptionsActions<ControllerUpload>;
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
declare module 'vona-module-a-web' {
|
|
1638
|
+
export interface IApiPathGetRecord{
|
|
1639
|
+
'/test/vona/bean/test': undefined;
|
|
1640
|
+
'/test/vona/bean/service': undefined;
|
|
1641
|
+
'/test/vona/dtoTest/getUserLazy': undefined;
|
|
1642
|
+
'/test/vona/dtoTest/getUserDynamic': undefined;
|
|
1643
|
+
'/test/vona/dtoTest/getUserStats': undefined;
|
|
1644
|
+
'/test/vona/dtoTest/getUserStatsGroup': undefined;
|
|
1645
|
+
'/test/vona/dtoTest/getCategoryTree': undefined;
|
|
1646
|
+
'/test/vona/dtoTest/getCategoryTree2': undefined;
|
|
1647
|
+
'/test/vona/guardPassport/testUserName': undefined;
|
|
1648
|
+
'/test/vona/guardPassport/testUserNameFail': undefined;
|
|
1649
|
+
'/test/vona/guardPassport/testRoleName': undefined;
|
|
1650
|
+
'/test/vona/guardPassport/testRoleNameFail': undefined;
|
|
1651
|
+
'/': undefined;
|
|
1652
|
+
'/test/vona/onion/echo3/:userId': undefined;
|
|
1653
|
+
'/test/vona/onion/echo5': undefined;
|
|
1654
|
+
'/test/vona/onion/echo6': undefined;
|
|
1655
|
+
'/test/vona/passport/echo/:name': undefined;
|
|
1656
|
+
'/test/vona/passport/isAuthenticated': undefined;
|
|
1657
|
+
}
|
|
1658
|
+
export interface IApiPathPostRecord{
|
|
1659
|
+
'/test/vona/cacheMem': undefined;
|
|
1660
|
+
'/test/vona/cacheRedis': undefined;
|
|
1661
|
+
'/test/vona/dtoTest/createUser': undefined;
|
|
1662
|
+
'//echo': undefined;
|
|
1663
|
+
'/test/vona/onion/echo2/:userId/:userName': undefined;
|
|
1664
|
+
'/test/vona/onion/echo4': undefined;
|
|
1665
|
+
'/test/vona/passport/login': undefined;
|
|
1666
|
+
'/test/vona/passport/refresh': undefined;
|
|
1667
|
+
'/test/vona/passport/logout': undefined;
|
|
1668
|
+
'/test/vona/performAction/echo': undefined;
|
|
1669
|
+
'/test/vona/queue/pushAsync': undefined;
|
|
1670
|
+
'/test/vona/queue/push': undefined;
|
|
1671
|
+
'/test/vona/summer': undefined;
|
|
1672
|
+
'/test/vona/tail': undefined;
|
|
1673
|
+
'/test/vona/transaction/fail': undefined;
|
|
1674
|
+
'/test/vona/transaction/success': undefined;
|
|
1675
|
+
'/test/vona/upload/fields': undefined;
|
|
1676
|
+
'/test/vona/upload/file': undefined;
|
|
1677
|
+
'/test/vona/upload/files': undefined;
|
|
1678
|
+
}
|
|
1679
|
+
export interface IApiPathPatchRecord{
|
|
1680
|
+
'/test/vona/dtoTest/updateUser/:id': undefined;
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
}
|
|
1684
|
+
/** controller: end */
|
|
1685
|
+
/** config: begin */
|
|
1686
|
+
export * from '../config/config.ts';
|
|
1687
|
+
import type { config } from '../config/config.ts';
|
|
1688
|
+
/** config: end */
|
|
1689
|
+
/** locale: begin */
|
|
1690
|
+
import locale_en_us from '../config/locale/en-us.ts';
|
|
1691
|
+
import locale_zh_cn from '../config/locale/zh-cn.ts';
|
|
1692
|
+
export const locales = {
|
|
1693
|
+
'en-us': locale_en_us,
|
|
1694
|
+
'zh-cn': locale_zh_cn,
|
|
1695
|
+
};
|
|
1696
|
+
/** locale: end */
|
|
1697
|
+
/** scope: begin */
|
|
1698
|
+
import { BeanScopeBase, type BeanScopeUtil, type TypeModuleConfig, type TypeModuleLocales, type TypeLocaleBase } from 'vona';
|
|
1699
|
+
import { Scope } from 'vona-module-a-bean';
|
|
1700
|
+
|
|
1701
|
+
@Scope()
|
|
1702
|
+
export class ScopeModuleTestVona extends BeanScopeBase {}
|
|
1703
|
+
|
|
1704
|
+
export interface ScopeModuleTestVona {
|
|
1705
|
+
util: BeanScopeUtil;
|
|
1706
|
+
config: TypeModuleConfig<typeof config>;
|
|
1707
|
+
locale: TypeModuleLocales<(typeof locales)[TypeLocaleBase]>;
|
|
1708
|
+
entity: IModuleEntity;
|
|
1709
|
+
model: IModuleModel;
|
|
1710
|
+
service: IModuleService;
|
|
1711
|
+
broadcast: IModuleBroadcast;
|
|
1712
|
+
cacheMem: IModuleCacheMem;
|
|
1713
|
+
cacheRedis: IModuleCacheRedis;
|
|
1714
|
+
event: IModuleEvent;
|
|
1715
|
+
queue: IModuleQueue;
|
|
1716
|
+
summerCache: IModuleSummerCache;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
import 'vona';
|
|
1720
|
+
declare module 'vona' {
|
|
1721
|
+
export interface IBeanScopeRecord {
|
|
1722
|
+
'test-vona': ScopeModuleTestVona;
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
export interface IBeanScopeContainer {
|
|
1726
|
+
testVona: ScopeModuleTestVona;
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
export interface IBeanScopeConfig {
|
|
1730
|
+
'test-vona': ReturnType<typeof config>;
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
export interface IBeanScopeLocale {
|
|
1734
|
+
'test-vona': (typeof locales)[TypeLocaleBase];
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
export function $locale<K extends keyof (typeof locales)[TypeLocaleBase]>(key: K): `test-vona::${K}` {
|
|
1739
|
+
return `test-vona::${key}`;
|
|
1740
|
+
}
|
|
1741
|
+
/** scope: end */
|