vona-module-test-vona 5.0.19 → 5.0.21
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 +174 -177
- package/dist/index.js +369 -369
- package/package.json +1 -1
|
@@ -1,108 +1,10 @@
|
|
|
1
|
-
import type { BeanScopeUtil, TypeLocaleBase, TypeModuleConfig, TypeModuleLocales } from 'vona';
|
|
2
|
-
import type { IDecoratorAopOptions } from 'vona-module-a-aspect';
|
|
3
|
-
import type { IDecoratorBroadcastOptions } from 'vona-module-a-broadcast';
|
|
4
|
-
import type { IDecoratorCacheMemOptions } from 'vona-module-a-cache';
|
|
5
|
-
import type { IDecoratorCacheRedisOptions } from 'vona-module-a-cache';
|
|
6
1
|
import type { TypeMetaEntity } from 'vona-module-a-database';
|
|
7
|
-
import type { IDecoratorModelOptions } from 'vona-module-a-database';
|
|
8
|
-
import type { EventOn } from 'vona-module-a-event';
|
|
9
|
-
import type { IDecoratorEventListenerOptions } from 'vona-module-a-event';
|
|
10
2
|
import type { TypeControllerOptionsActions } from 'vona-module-a-openapi';
|
|
11
3
|
import type { TypeEntityOptionsFields } from 'vona-module-a-openapi';
|
|
12
|
-
import type { IDecoratorQueueOptions } from 'vona-module-a-queue';
|
|
13
|
-
import type { IDecoratorScheduleOptions } from 'vona-module-a-schedule';
|
|
14
|
-
import type { IDecoratorSummerCacheOptions } from 'vona-module-a-summer';
|
|
15
|
-
import type { IAopMethodOptionsTest } from '../bean/aopMethod.test.ts';
|
|
16
|
-
/** bean: end */
|
|
17
|
-
/** bean: begin */
|
|
18
|
-
import type { BeanTestCtx } from '../bean/bean.testCtx.ts';
|
|
19
|
-
/** broadcast: end */
|
|
20
|
-
/** broadcast: begin */
|
|
21
|
-
import type { BroadcastTest } from '../bean/broadcast.test.ts';
|
|
22
|
-
/** cacheMem: end */
|
|
23
|
-
/** cacheMem: begin */
|
|
24
|
-
import type { CacheMemTest } from '../bean/cacheMem.test.ts';
|
|
25
|
-
/** cacheRedis: end */
|
|
26
|
-
/** cacheRedis: begin */
|
|
27
|
-
import type { CacheRedisTest } from '../bean/cacheRedis.test.ts';
|
|
28
|
-
/** event: end */
|
|
29
|
-
/** event: begin */
|
|
30
|
-
import type { EventHelloEcho } from '../bean/event.helloEcho.ts';
|
|
31
|
-
/** event: end */
|
|
32
|
-
/** event: begin */
|
|
33
|
-
import type { TypeEventHelloEchoData, TypeEventHelloEchoResult } from '../bean/event.helloEcho.ts';
|
|
34
|
-
/** queue: end */
|
|
35
|
-
/** queue: begin */
|
|
36
|
-
import type { QueueTest } from '../bean/queue.test.ts';
|
|
37
|
-
/** summerCache: end */
|
|
38
|
-
/** summerCache: begin */
|
|
39
|
-
import type { SummerCacheTest } from '../bean/summerCache.test.ts';
|
|
40
|
-
import type { config } from '../config/config.ts';
|
|
41
|
-
import type { IControllerOptionsBean } from '../controller/bean.ts';
|
|
42
|
-
/** controller: end */
|
|
43
|
-
/** controller: begin */
|
|
44
|
-
import '../controller/bean.ts';
|
|
45
|
-
import type { IControllerOptionsCacheMem } from '../controller/cacheMem.ts';
|
|
46
|
-
import '../controller/cacheMem.ts';
|
|
47
|
-
import type { IControllerOptionsCacheRedis } from '../controller/cacheRedis.ts';
|
|
48
|
-
import '../controller/cacheRedis.ts';
|
|
49
|
-
import type { IControllerOptionsGuardPassport } from '../controller/guardPassport.ts';
|
|
50
|
-
import '../controller/guardPassport.ts';
|
|
51
|
-
import type { IControllerOptionsOnion } from '../controller/onion.ts';
|
|
52
|
-
import '../controller/onion.ts';
|
|
53
|
-
import type { IControllerOptionsPassport } from '../controller/passport.ts';
|
|
54
|
-
import '../controller/passport.ts';
|
|
55
|
-
import type { IControllerOptionsPerformAction } from '../controller/performAction.ts';
|
|
56
|
-
import '../controller/performAction.ts';
|
|
57
|
-
import type { IControllerOptionsQueue } from '../controller/queue.ts';
|
|
58
|
-
import '../controller/queue.ts';
|
|
59
|
-
import type { IControllerOptionsSummer } from '../controller/summer.ts';
|
|
60
|
-
import '../controller/summer.ts';
|
|
61
|
-
/** service: end */
|
|
62
|
-
/** service: begin */
|
|
63
|
-
import type { IControllerOptionsTail } from '../controller/tail.ts';
|
|
64
|
-
import '../controller/tail.ts';
|
|
65
|
-
import type { IControllerOptionsTransaction } from '../controller/transaction.ts';
|
|
66
|
-
import '../controller/transaction.ts';
|
|
67
|
-
import type { IControllerOptionsUpload } from '../controller/upload.ts';
|
|
68
|
-
import '../controller/upload.ts';
|
|
69
|
-
import type { IDtoOptionsProfile } from '../dto/profile.ts';
|
|
70
|
-
/** dto: end */
|
|
71
|
-
/** dto: begin */
|
|
72
|
-
import type { DtoProfile } from '../dto/profile.ts';
|
|
73
|
-
import type { IDtoOptionsUser } from '../dto/user.ts';
|
|
74
|
-
import type { DtoUser } from '../dto/user.ts';
|
|
75
|
-
import type { IEntityOptionsTest } from '../entity/test.ts';
|
|
76
|
-
/** entity: end */
|
|
77
|
-
/** entity: begin */
|
|
78
|
-
import type { EntityTest } from '../entity/test.ts';
|
|
79
|
-
/** model: end */
|
|
80
|
-
/** model: begin */
|
|
81
|
-
import type { ModelTest } from '../model/test.ts';
|
|
82
|
-
/** service: end */
|
|
83
|
-
/** service: begin */
|
|
84
|
-
import type { ServiceAopMethod } from '../service/aopMethod.ts';
|
|
85
|
-
import type { ServiceTest } from '../service/test.ts';
|
|
86
|
-
import type { ServiceTestApp } from '../service/testApp.ts';
|
|
87
|
-
import type { ServiceTestClass } from '../service/testClass.ts';
|
|
88
|
-
import type { ServiceTransaction } from '../service/transaction.ts';
|
|
89
|
-
/** locale: end */
|
|
90
|
-
/** scope: begin */
|
|
91
|
-
import { BeanScopeBase } from 'vona';
|
|
92
|
-
import 'vona';
|
|
93
|
-
import 'vona';
|
|
94
|
-
import 'vona';
|
|
95
|
-
import 'vona';
|
|
96
|
-
import 'vona';
|
|
97
|
-
import 'vona';
|
|
98
|
-
import 'vona';
|
|
99
|
-
import 'vona';
|
|
100
|
-
import 'vona';
|
|
101
|
-
import 'vona';
|
|
102
|
-
import 'vona';
|
|
103
4
|
/** aop: begin */
|
|
104
5
|
export * from '../bean/aop.regExp.ts';
|
|
105
6
|
export * from '../bean/aop.simple.ts';
|
|
7
|
+
import { type IDecoratorAopOptions } from 'vona-module-a-aspect';
|
|
106
8
|
declare module 'vona-module-a-aspect' {
|
|
107
9
|
interface IAopRecord {
|
|
108
10
|
'test-vona:regExp': IDecoratorAopOptions;
|
|
@@ -118,6 +20,8 @@ declare module 'vona-module-test-vona' {
|
|
|
118
20
|
/** aop: end */
|
|
119
21
|
/** aopMethod: begin */
|
|
120
22
|
export * from '../bean/aopMethod.test.ts';
|
|
23
|
+
import type { IAopMethodOptionsTest } from '../bean/aopMethod.test.ts';
|
|
24
|
+
import 'vona';
|
|
121
25
|
declare module 'vona-module-a-aspect' {
|
|
122
26
|
interface IAopMethodRecord {
|
|
123
27
|
'test-vona:test': IAopMethodOptionsTest;
|
|
@@ -127,9 +31,11 @@ declare module 'vona-module-test-vona' {
|
|
|
127
31
|
interface AopMethodTest {
|
|
128
32
|
}
|
|
129
33
|
}
|
|
130
|
-
/**
|
|
131
|
-
/**
|
|
132
|
-
export * from '../
|
|
34
|
+
/** aopMethod: end */
|
|
35
|
+
/** entity: begin */
|
|
36
|
+
export * from '../entity/test.ts';
|
|
37
|
+
import type { IEntityOptionsTest } from '../entity/test.ts';
|
|
38
|
+
import 'vona';
|
|
133
39
|
declare module 'vona-module-a-database' {
|
|
134
40
|
interface IEntityRecord {
|
|
135
41
|
'test-vona:test': Omit<IEntityOptionsTest, '_fieldsMore_'>;
|
|
@@ -137,22 +43,24 @@ declare module 'vona-module-a-database' {
|
|
|
137
43
|
}
|
|
138
44
|
declare module 'vona-module-test-vona' {
|
|
139
45
|
}
|
|
46
|
+
/** entity: end */
|
|
47
|
+
/** entity: begin */
|
|
48
|
+
import type { EntityTest } from '../entity/test.ts';
|
|
140
49
|
export interface IModuleEntity {
|
|
141
|
-
test: TypeMetaEntity<EntityTest>;
|
|
50
|
+
'test': TypeMetaEntity<EntityTest, EntityTestTableName>;
|
|
142
51
|
}
|
|
143
52
|
/** entity: end */
|
|
144
53
|
/** entity: begin */
|
|
54
|
+
export type EntityTestTableName = 'testVona';
|
|
145
55
|
declare module 'vona-module-test-vona' {
|
|
146
|
-
interface EntityTest {
|
|
147
|
-
get $table(): 'testVona';
|
|
148
|
-
}
|
|
149
56
|
interface IEntityOptionsTest {
|
|
150
57
|
fields?: TypeEntityOptionsFields<EntityTest, IEntityOptionsTest['_fieldsMore_']>;
|
|
151
58
|
}
|
|
152
59
|
}
|
|
153
|
-
/**
|
|
154
|
-
/**
|
|
155
|
-
export * from '../
|
|
60
|
+
/** entity: end */
|
|
61
|
+
/** model: begin */
|
|
62
|
+
export * from '../model/test.ts';
|
|
63
|
+
import { type IDecoratorModelOptions } from 'vona-module-a-database';
|
|
156
64
|
declare module 'vona-module-a-database' {
|
|
157
65
|
interface IModelRecord {
|
|
158
66
|
'test-vona:test': IDecoratorModelOptions;
|
|
@@ -162,26 +70,35 @@ declare module 'vona-module-test-vona' {
|
|
|
162
70
|
interface ModelTest {
|
|
163
71
|
}
|
|
164
72
|
}
|
|
73
|
+
/** model: end */
|
|
74
|
+
/** model: begin */
|
|
75
|
+
import type { ModelTest } from '../model/test.ts';
|
|
165
76
|
export interface IModuleModel {
|
|
166
|
-
test: ModelTest;
|
|
77
|
+
'test': ModelTest;
|
|
167
78
|
}
|
|
168
|
-
/**
|
|
169
|
-
/**
|
|
170
|
-
export * from '../bean/
|
|
79
|
+
/** model: end */
|
|
80
|
+
/** bean: begin */
|
|
81
|
+
export * from '../bean/bean.testCtx.ts';
|
|
82
|
+
import 'vona';
|
|
171
83
|
declare module 'vona' {
|
|
172
84
|
}
|
|
173
85
|
declare module 'vona-module-test-vona' {
|
|
174
86
|
interface BeanTestCtx {
|
|
175
87
|
}
|
|
176
88
|
}
|
|
89
|
+
/** bean: end */
|
|
90
|
+
/** bean: begin */
|
|
91
|
+
import type { BeanTestCtx } from '../bean/bean.testCtx.ts';
|
|
92
|
+
import 'vona';
|
|
177
93
|
declare module 'vona' {
|
|
178
94
|
interface IBeanRecordGlobal {
|
|
179
|
-
testCtx: BeanTestCtx;
|
|
95
|
+
'testCtx': BeanTestCtx;
|
|
180
96
|
}
|
|
181
97
|
}
|
|
182
|
-
/**
|
|
183
|
-
/**
|
|
184
|
-
export * from '../bean/
|
|
98
|
+
/** bean: end */
|
|
99
|
+
/** broadcast: begin */
|
|
100
|
+
export * from '../bean/broadcast.test.ts';
|
|
101
|
+
import { type IDecoratorBroadcastOptions } from 'vona-module-a-broadcast';
|
|
185
102
|
declare module 'vona-module-a-broadcast' {
|
|
186
103
|
interface IBroadcastRecord {
|
|
187
104
|
'test-vona:test': IDecoratorBroadcastOptions;
|
|
@@ -191,12 +108,16 @@ declare module 'vona-module-test-vona' {
|
|
|
191
108
|
interface BroadcastTest {
|
|
192
109
|
}
|
|
193
110
|
}
|
|
111
|
+
/** broadcast: end */
|
|
112
|
+
/** broadcast: begin */
|
|
113
|
+
import type { BroadcastTest } from '../bean/broadcast.test.ts';
|
|
194
114
|
export interface IModuleBroadcast {
|
|
195
|
-
test: BroadcastTest;
|
|
115
|
+
'test': BroadcastTest;
|
|
196
116
|
}
|
|
197
|
-
/**
|
|
198
|
-
/**
|
|
199
|
-
export * from '../bean/
|
|
117
|
+
/** broadcast: end */
|
|
118
|
+
/** cacheMem: begin */
|
|
119
|
+
export * from '../bean/cacheMem.test.ts';
|
|
120
|
+
import { type IDecoratorCacheMemOptions } from 'vona-module-a-cache';
|
|
200
121
|
declare module 'vona-module-a-cache' {
|
|
201
122
|
interface ICacheMemRecord {
|
|
202
123
|
'test-vona:test': IDecoratorCacheMemOptions;
|
|
@@ -206,12 +127,16 @@ declare module 'vona-module-test-vona' {
|
|
|
206
127
|
interface CacheMemTest {
|
|
207
128
|
}
|
|
208
129
|
}
|
|
130
|
+
/** cacheMem: end */
|
|
131
|
+
/** cacheMem: begin */
|
|
132
|
+
import type { CacheMemTest } from '../bean/cacheMem.test.ts';
|
|
209
133
|
export interface IModuleCacheMem {
|
|
210
|
-
test: CacheMemTest;
|
|
134
|
+
'test': CacheMemTest;
|
|
211
135
|
}
|
|
212
|
-
/**
|
|
213
|
-
/**
|
|
214
|
-
export * from '../bean/
|
|
136
|
+
/** cacheMem: end */
|
|
137
|
+
/** cacheRedis: begin */
|
|
138
|
+
export * from '../bean/cacheRedis.test.ts';
|
|
139
|
+
import { type IDecoratorCacheRedisOptions } from 'vona-module-a-cache';
|
|
215
140
|
declare module 'vona-module-a-cache' {
|
|
216
141
|
interface ICacheRedisRecord {
|
|
217
142
|
'test-vona:test': IDecoratorCacheRedisOptions;
|
|
@@ -221,29 +146,41 @@ declare module 'vona-module-test-vona' {
|
|
|
221
146
|
interface CacheRedisTest {
|
|
222
147
|
}
|
|
223
148
|
}
|
|
149
|
+
/** cacheRedis: end */
|
|
150
|
+
/** cacheRedis: begin */
|
|
151
|
+
import type { CacheRedisTest } from '../bean/cacheRedis.test.ts';
|
|
224
152
|
export interface IModuleCacheRedis {
|
|
225
|
-
test: CacheRedisTest;
|
|
153
|
+
'test': CacheRedisTest;
|
|
226
154
|
}
|
|
227
|
-
/**
|
|
228
|
-
/**
|
|
229
|
-
export * from '../bean/
|
|
155
|
+
/** cacheRedis: end */
|
|
156
|
+
/** event: begin */
|
|
157
|
+
export * from '../bean/event.helloEcho.ts';
|
|
158
|
+
import 'vona';
|
|
230
159
|
declare module 'vona' {
|
|
231
160
|
}
|
|
232
161
|
declare module 'vona-module-test-vona' {
|
|
233
162
|
interface EventHelloEcho {
|
|
234
163
|
}
|
|
235
164
|
}
|
|
165
|
+
/** event: end */
|
|
166
|
+
/** event: begin */
|
|
167
|
+
import type { EventHelloEcho } from '../bean/event.helloEcho.ts';
|
|
236
168
|
export interface IModuleEvent {
|
|
237
|
-
helloEcho: EventHelloEcho;
|
|
169
|
+
'helloEcho': EventHelloEcho;
|
|
238
170
|
}
|
|
171
|
+
/** event: end */
|
|
172
|
+
/** event: begin */
|
|
173
|
+
import type { TypeEventHelloEchoData, TypeEventHelloEchoResult } from '../bean/event.helloEcho.ts';
|
|
174
|
+
import type { EventOn } from 'vona-module-a-event';
|
|
239
175
|
declare module 'vona-module-a-event' {
|
|
240
176
|
interface IEventRecord {
|
|
241
177
|
'test-vona:helloEcho': EventOn<TypeEventHelloEchoData, TypeEventHelloEchoResult>;
|
|
242
178
|
}
|
|
243
179
|
}
|
|
244
|
-
/**
|
|
245
|
-
/**
|
|
246
|
-
export * from '../bean/
|
|
180
|
+
/** event: end */
|
|
181
|
+
/** eventListener: begin */
|
|
182
|
+
export * from '../bean/eventListener.helloEcho.ts';
|
|
183
|
+
import { type IDecoratorEventListenerOptions } from 'vona-module-a-event';
|
|
247
184
|
declare module 'vona-module-a-event' {
|
|
248
185
|
interface IEventListenerRecord {
|
|
249
186
|
'test-vona:helloEcho': IDecoratorEventListenerOptions;
|
|
@@ -253,7 +190,10 @@ declare module 'vona-module-test-vona' {
|
|
|
253
190
|
interface EventListenerHelloEcho {
|
|
254
191
|
}
|
|
255
192
|
}
|
|
256
|
-
|
|
193
|
+
/** eventListener: end */
|
|
194
|
+
/** meta: begin */
|
|
195
|
+
export * from '../bean/meta.version.ts';
|
|
196
|
+
import 'vona';
|
|
257
197
|
declare module 'vona' {
|
|
258
198
|
interface IMetaRecord {
|
|
259
199
|
'test-vona:version': never;
|
|
@@ -263,9 +203,10 @@ declare module 'vona-module-test-vona' {
|
|
|
263
203
|
interface MetaVersion {
|
|
264
204
|
}
|
|
265
205
|
}
|
|
266
|
-
/**
|
|
267
|
-
/**
|
|
268
|
-
export * from '../bean/
|
|
206
|
+
/** meta: end */
|
|
207
|
+
/** queue: begin */
|
|
208
|
+
export * from '../bean/queue.test.ts';
|
|
209
|
+
import { type IDecoratorQueueOptions } from 'vona-module-a-queue';
|
|
269
210
|
declare module 'vona-module-a-queue' {
|
|
270
211
|
interface IQueueRecord {
|
|
271
212
|
'test-vona:test': IDecoratorQueueOptions;
|
|
@@ -275,15 +216,17 @@ declare module 'vona-module-test-vona' {
|
|
|
275
216
|
interface QueueTest {
|
|
276
217
|
}
|
|
277
218
|
}
|
|
219
|
+
/** queue: end */
|
|
220
|
+
/** queue: begin */
|
|
221
|
+
import type { QueueTest } from '../bean/queue.test.ts';
|
|
278
222
|
export interface IModuleQueue {
|
|
279
|
-
test: QueueTest;
|
|
223
|
+
'test': QueueTest;
|
|
280
224
|
}
|
|
281
|
-
/**
|
|
282
|
-
/**
|
|
283
|
-
export * from '../bean/
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
export * from '../config/config.ts';
|
|
225
|
+
/** queue: end */
|
|
226
|
+
/** schedule: begin */
|
|
227
|
+
export * from '../bean/schedule.test.ts';
|
|
228
|
+
export * from '../bean/schedule.test3.ts';
|
|
229
|
+
import { type IDecoratorScheduleOptions } from 'vona-module-a-schedule';
|
|
287
230
|
declare module 'vona-module-a-schedule' {
|
|
288
231
|
interface IScheduleRecord {
|
|
289
232
|
'test-vona:test': IDecoratorScheduleOptions;
|
|
@@ -296,9 +239,10 @@ declare module 'vona-module-test-vona' {
|
|
|
296
239
|
interface ScheduleTest3 {
|
|
297
240
|
}
|
|
298
241
|
}
|
|
299
|
-
/**
|
|
300
|
-
/**
|
|
301
|
-
export * from '../
|
|
242
|
+
/** schedule: end */
|
|
243
|
+
/** summerCache: begin */
|
|
244
|
+
export * from '../bean/summerCache.test.ts';
|
|
245
|
+
import { type IDecoratorSummerCacheOptions } from 'vona-module-a-summer';
|
|
302
246
|
declare module 'vona-module-a-summer' {
|
|
303
247
|
interface ISummerCacheRecord {
|
|
304
248
|
'test-vona:test': IDecoratorSummerCacheOptions;
|
|
@@ -308,11 +252,19 @@ declare module 'vona-module-test-vona' {
|
|
|
308
252
|
interface SummerCacheTest {
|
|
309
253
|
}
|
|
310
254
|
}
|
|
255
|
+
/** summerCache: end */
|
|
256
|
+
/** summerCache: begin */
|
|
257
|
+
import type { SummerCacheTest } from '../bean/summerCache.test.ts';
|
|
311
258
|
export interface IModuleSummerCache {
|
|
312
|
-
test: SummerCacheTest;
|
|
259
|
+
'test': SummerCacheTest;
|
|
313
260
|
}
|
|
314
|
-
|
|
315
|
-
|
|
261
|
+
/** summerCache: end */
|
|
262
|
+
/** dto: begin */
|
|
263
|
+
export * from '../dto/profile.ts';
|
|
264
|
+
export * from '../dto/user.ts';
|
|
265
|
+
import type { IDtoOptionsProfile } from '../dto/profile.ts';
|
|
266
|
+
import type { IDtoOptionsUser } from '../dto/user.ts';
|
|
267
|
+
import 'vona';
|
|
316
268
|
declare module 'vona-module-a-web' {
|
|
317
269
|
interface IDtoRecord {
|
|
318
270
|
'test-vona:profile': Omit<IDtoOptionsProfile, '_fieldsMore_'>;
|
|
@@ -321,6 +273,10 @@ declare module 'vona-module-a-web' {
|
|
|
321
273
|
}
|
|
322
274
|
declare module 'vona-module-test-vona' {
|
|
323
275
|
}
|
|
276
|
+
/** dto: end */
|
|
277
|
+
/** dto: begin */
|
|
278
|
+
import type { DtoProfile } from '../dto/profile.ts';
|
|
279
|
+
import type { DtoUser } from '../dto/user.ts';
|
|
324
280
|
declare module 'vona-module-test-vona' {
|
|
325
281
|
interface IDtoOptionsProfile {
|
|
326
282
|
fields?: TypeEntityOptionsFields<DtoProfile, IDtoOptionsProfile['_fieldsMore_']>;
|
|
@@ -329,11 +285,14 @@ declare module 'vona-module-test-vona' {
|
|
|
329
285
|
fields?: TypeEntityOptionsFields<DtoUser, IDtoOptionsUser['_fieldsMore_']>;
|
|
330
286
|
}
|
|
331
287
|
}
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
export * from '../
|
|
335
|
-
export * from '../
|
|
336
|
-
export * from '../
|
|
288
|
+
/** dto: end */
|
|
289
|
+
/** service: begin */
|
|
290
|
+
export * from '../service/aopMethod.ts';
|
|
291
|
+
export * from '../service/test.ts';
|
|
292
|
+
export * from '../service/testApp.ts';
|
|
293
|
+
export * from '../service/testClass.ts';
|
|
294
|
+
export * from '../service/transaction.ts';
|
|
295
|
+
import 'vona';
|
|
337
296
|
declare module 'vona-module-a-web' {
|
|
338
297
|
interface IServiceRecord {
|
|
339
298
|
'test-vona:aopMethod': never;
|
|
@@ -355,13 +314,23 @@ declare module 'vona-module-test-vona' {
|
|
|
355
314
|
interface ServiceTransaction {
|
|
356
315
|
}
|
|
357
316
|
}
|
|
317
|
+
/** service: end */
|
|
318
|
+
/** service: begin */
|
|
319
|
+
import type { ServiceAopMethod } from '../service/aopMethod.ts';
|
|
320
|
+
import type { ServiceTest } from '../service/test.ts';
|
|
321
|
+
import type { ServiceTestApp } from '../service/testApp.ts';
|
|
322
|
+
import type { ServiceTestClass } from '../service/testClass.ts';
|
|
323
|
+
import type { ServiceTransaction } from '../service/transaction.ts';
|
|
358
324
|
export interface IModuleService {
|
|
359
|
-
aopMethod: ServiceAopMethod;
|
|
360
|
-
test: ServiceTest;
|
|
361
|
-
testApp: ServiceTestApp;
|
|
362
|
-
testClass: ServiceTestClass;
|
|
363
|
-
transaction: ServiceTransaction;
|
|
325
|
+
'aopMethod': ServiceAopMethod;
|
|
326
|
+
'test': ServiceTest;
|
|
327
|
+
'testApp': ServiceTestApp;
|
|
328
|
+
'testClass': ServiceTestClass;
|
|
329
|
+
'transaction': ServiceTransaction;
|
|
364
330
|
}
|
|
331
|
+
/** service: end */
|
|
332
|
+
/** service: begin */
|
|
333
|
+
import 'vona';
|
|
365
334
|
declare module 'vona' {
|
|
366
335
|
interface IBeanRecordGeneral {
|
|
367
336
|
'test-vona.service.aopMethod': ServiceAopMethod;
|
|
@@ -371,26 +340,33 @@ declare module 'vona' {
|
|
|
371
340
|
'test-vona.service.transaction': ServiceTransaction;
|
|
372
341
|
}
|
|
373
342
|
}
|
|
343
|
+
/** service: end */
|
|
344
|
+
/** controller: begin */
|
|
345
|
+
export * from '../controller/bean.ts';
|
|
346
|
+
export * from '../controller/cacheMem.ts';
|
|
347
|
+
export * from '../controller/cacheRedis.ts';
|
|
348
|
+
export * from '../controller/guardPassport.ts';
|
|
349
|
+
export * from '../controller/onion.ts';
|
|
350
|
+
export * from '../controller/passport.ts';
|
|
351
|
+
export * from '../controller/performAction.ts';
|
|
352
|
+
export * from '../controller/queue.ts';
|
|
374
353
|
export * from '../controller/summer.ts';
|
|
375
354
|
export * from '../controller/tail.ts';
|
|
376
355
|
export * from '../controller/transaction.ts';
|
|
377
356
|
export * from '../controller/upload.ts';
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
export * from '../service/test.ts';
|
|
392
|
-
export * from '../service/testApp.ts';
|
|
393
|
-
export * from '../service/testClass.ts';
|
|
357
|
+
import type { IControllerOptionsBean } from '../controller/bean.ts';
|
|
358
|
+
import type { IControllerOptionsCacheMem } from '../controller/cacheMem.ts';
|
|
359
|
+
import type { IControllerOptionsCacheRedis } from '../controller/cacheRedis.ts';
|
|
360
|
+
import type { IControllerOptionsGuardPassport } from '../controller/guardPassport.ts';
|
|
361
|
+
import type { IControllerOptionsOnion } from '../controller/onion.ts';
|
|
362
|
+
import type { IControllerOptionsPassport } from '../controller/passport.ts';
|
|
363
|
+
import type { IControllerOptionsPerformAction } from '../controller/performAction.ts';
|
|
364
|
+
import type { IControllerOptionsQueue } from '../controller/queue.ts';
|
|
365
|
+
import type { IControllerOptionsSummer } from '../controller/summer.ts';
|
|
366
|
+
import type { IControllerOptionsTail } from '../controller/tail.ts';
|
|
367
|
+
import type { IControllerOptionsTransaction } from '../controller/transaction.ts';
|
|
368
|
+
import type { IControllerOptionsUpload } from '../controller/upload.ts';
|
|
369
|
+
import 'vona';
|
|
394
370
|
declare module 'vona-module-a-web' {
|
|
395
371
|
interface IControllerRecord {
|
|
396
372
|
'test-vona:bean': IControllerOptionsBean;
|
|
@@ -433,6 +409,20 @@ declare module 'vona-module-test-vona' {
|
|
|
433
409
|
interface ControllerUpload {
|
|
434
410
|
}
|
|
435
411
|
}
|
|
412
|
+
/** controller: end */
|
|
413
|
+
/** controller: begin */
|
|
414
|
+
import '../controller/bean.ts';
|
|
415
|
+
import '../controller/cacheMem.ts';
|
|
416
|
+
import '../controller/cacheRedis.ts';
|
|
417
|
+
import '../controller/guardPassport.ts';
|
|
418
|
+
import '../controller/onion.ts';
|
|
419
|
+
import '../controller/passport.ts';
|
|
420
|
+
import '../controller/performAction.ts';
|
|
421
|
+
import '../controller/queue.ts';
|
|
422
|
+
import '../controller/summer.ts';
|
|
423
|
+
import '../controller/tail.ts';
|
|
424
|
+
import '../controller/transaction.ts';
|
|
425
|
+
import '../controller/upload.ts';
|
|
436
426
|
declare module 'vona-module-test-vona' {
|
|
437
427
|
interface IControllerOptionsBean {
|
|
438
428
|
actions?: TypeControllerOptionsActions<ControllerBean>;
|
|
@@ -507,7 +497,10 @@ declare module 'vona-module-a-web' {
|
|
|
507
497
|
'/test/vona/upload/files': undefined;
|
|
508
498
|
}
|
|
509
499
|
}
|
|
510
|
-
|
|
500
|
+
/** controller: end */
|
|
501
|
+
/** config: begin */
|
|
502
|
+
export * from '../config/config.ts';
|
|
503
|
+
import type { config } from '../config/config.ts';
|
|
511
504
|
export declare const locales: {
|
|
512
505
|
'en-us': {
|
|
513
506
|
User: string;
|
|
@@ -530,6 +523,9 @@ export declare const locales: {
|
|
|
530
523
|
TestNameApples_0_1: string;
|
|
531
524
|
};
|
|
532
525
|
};
|
|
526
|
+
/** locale: end */
|
|
527
|
+
/** scope: begin */
|
|
528
|
+
import { BeanScopeBase, type BeanScopeUtil, type TypeModuleConfig, type TypeModuleLocales, type TypeLocaleBase } from 'vona';
|
|
533
529
|
export declare class ScopeModuleTestVona extends BeanScopeBase {
|
|
534
530
|
}
|
|
535
531
|
export interface ScopeModuleTestVona {
|
|
@@ -546,6 +542,7 @@ export interface ScopeModuleTestVona {
|
|
|
546
542
|
summerCache: IModuleSummerCache;
|
|
547
543
|
service: IModuleService;
|
|
548
544
|
}
|
|
545
|
+
import 'vona';
|
|
549
546
|
declare module 'vona' {
|
|
550
547
|
interface IBeanScopeRecord {
|
|
551
548
|
'test-vona': ScopeModuleTestVona;
|