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