@alepha/devtools 0.11.9 → 0.11.11
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/index.cjs +433 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +252 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.ts +160 -160
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +22 -21
- package/src/DevToolsProvider.ts +1 -1
- package/src/entities/logs.ts +1 -1
- package/src/providers/DevToolsDatabaseProvider.ts +1 -1
- package/src/repositories/LogRepository.ts +1 -1
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import * as _alepha_core0 from "@alepha/core";
|
|
2
|
+
import { Alepha, Static } from "@alepha/core";
|
|
3
|
+
import * as _alepha_logger0 from "@alepha/logger";
|
|
4
|
+
import * as typebox153 from "typebox";
|
|
5
|
+
|
|
6
|
+
//#region src/schemas/DevActionMetadata.d.ts
|
|
7
|
+
declare const devActionMetadataSchema: typebox153.TObject<{
|
|
8
|
+
name: typebox153.TString;
|
|
9
|
+
group: typebox153.TString;
|
|
10
|
+
method: typebox153.TString;
|
|
11
|
+
path: typebox153.TString;
|
|
12
|
+
prefix: typebox153.TString;
|
|
13
|
+
fullPath: typebox153.TString;
|
|
14
|
+
description: typebox153.TOptional<typebox153.TString>;
|
|
15
|
+
summary: typebox153.TOptional<typebox153.TString>;
|
|
16
|
+
disabled: typebox153.TOptional<typebox153.TBoolean>;
|
|
17
|
+
secure: typebox153.TOptional<typebox153.TBoolean>;
|
|
18
|
+
hide: typebox153.TOptional<typebox153.TBoolean>;
|
|
19
|
+
body: typebox153.TOptional<typebox153.TAny>;
|
|
20
|
+
params: typebox153.TOptional<typebox153.TAny>;
|
|
21
|
+
query: typebox153.TOptional<typebox153.TAny>;
|
|
22
|
+
response: typebox153.TOptional<typebox153.TAny>;
|
|
23
|
+
bodyContentType: typebox153.TOptional<typebox153.TString>;
|
|
24
|
+
}>;
|
|
25
|
+
type DevActionMetadata = Static<typeof devActionMetadataSchema>;
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/schemas/DevBucketMetadata.d.ts
|
|
28
|
+
declare const devBucketMetadataSchema: typebox153.TObject<{
|
|
29
|
+
name: typebox153.TString;
|
|
30
|
+
description: typebox153.TOptional<typebox153.TString>;
|
|
31
|
+
mimeTypes: typebox153.TOptional<typebox153.TArray<typebox153.TString>>;
|
|
32
|
+
maxSize: typebox153.TOptional<typebox153.TNumber>;
|
|
33
|
+
provider: typebox153.TString;
|
|
34
|
+
}>;
|
|
35
|
+
type DevBucketMetadata = Static<typeof devBucketMetadataSchema>;
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/schemas/DevCacheMetadata.d.ts
|
|
38
|
+
declare const devCacheMetadataSchema: typebox153.TObject<{
|
|
39
|
+
name: typebox153.TString;
|
|
40
|
+
ttl: typebox153.TOptional<typebox153.TAny>;
|
|
41
|
+
disabled: typebox153.TOptional<typebox153.TBoolean>;
|
|
42
|
+
provider: typebox153.TString;
|
|
43
|
+
}>;
|
|
44
|
+
type DevCacheMetadata = Static<typeof devCacheMetadataSchema>;
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/schemas/DevMetadata.d.ts
|
|
47
|
+
declare const devMetadataSchema: typebox153.TObject<{
|
|
48
|
+
actions: typebox153.TArray<typebox153.TObject<{
|
|
49
|
+
name: typebox153.TString;
|
|
50
|
+
group: typebox153.TString;
|
|
51
|
+
method: typebox153.TString;
|
|
52
|
+
path: typebox153.TString;
|
|
53
|
+
prefix: typebox153.TString;
|
|
54
|
+
fullPath: typebox153.TString;
|
|
55
|
+
description: typebox153.TOptional<typebox153.TString>;
|
|
56
|
+
summary: typebox153.TOptional<typebox153.TString>;
|
|
57
|
+
disabled: typebox153.TOptional<typebox153.TBoolean>;
|
|
58
|
+
secure: typebox153.TOptional<typebox153.TBoolean>;
|
|
59
|
+
hide: typebox153.TOptional<typebox153.TBoolean>;
|
|
60
|
+
body: typebox153.TOptional<typebox153.TAny>;
|
|
61
|
+
params: typebox153.TOptional<typebox153.TAny>;
|
|
62
|
+
query: typebox153.TOptional<typebox153.TAny>;
|
|
63
|
+
response: typebox153.TOptional<typebox153.TAny>;
|
|
64
|
+
bodyContentType: typebox153.TOptional<typebox153.TString>;
|
|
65
|
+
}>>;
|
|
66
|
+
queues: typebox153.TArray<typebox153.TObject<{
|
|
67
|
+
name: typebox153.TString;
|
|
68
|
+
description: typebox153.TOptional<typebox153.TString>;
|
|
69
|
+
schema: typebox153.TOptional<typebox153.TAny>;
|
|
70
|
+
provider: typebox153.TString;
|
|
71
|
+
}>>;
|
|
72
|
+
schedulers: typebox153.TArray<typebox153.TObject<{
|
|
73
|
+
name: typebox153.TString;
|
|
74
|
+
description: typebox153.TOptional<typebox153.TString>;
|
|
75
|
+
cron: typebox153.TOptional<typebox153.TString>;
|
|
76
|
+
interval: typebox153.TOptional<typebox153.TAny>;
|
|
77
|
+
lock: typebox153.TOptional<typebox153.TBoolean>;
|
|
78
|
+
}>>;
|
|
79
|
+
topics: typebox153.TArray<typebox153.TObject<{
|
|
80
|
+
name: typebox153.TString;
|
|
81
|
+
description: typebox153.TOptional<typebox153.TString>;
|
|
82
|
+
schema: typebox153.TOptional<typebox153.TAny>;
|
|
83
|
+
provider: typebox153.TString;
|
|
84
|
+
}>>;
|
|
85
|
+
buckets: typebox153.TArray<typebox153.TObject<{
|
|
86
|
+
name: typebox153.TString;
|
|
87
|
+
description: typebox153.TOptional<typebox153.TString>;
|
|
88
|
+
mimeTypes: typebox153.TOptional<typebox153.TArray<typebox153.TString>>;
|
|
89
|
+
maxSize: typebox153.TOptional<typebox153.TNumber>;
|
|
90
|
+
provider: typebox153.TString;
|
|
91
|
+
}>>;
|
|
92
|
+
realms: typebox153.TArray<typebox153.TObject<{
|
|
93
|
+
name: typebox153.TString;
|
|
94
|
+
description: typebox153.TOptional<typebox153.TString>;
|
|
95
|
+
roles: typebox153.TOptional<typebox153.TArray<typebox153.TAny>>;
|
|
96
|
+
type: typebox153.TUnsafe<"internal" | "external">;
|
|
97
|
+
settings: typebox153.TOptional<typebox153.TObject<{
|
|
98
|
+
accessTokenExpiration: typebox153.TOptional<typebox153.TAny>;
|
|
99
|
+
refreshTokenExpiration: typebox153.TOptional<typebox153.TAny>;
|
|
100
|
+
hasOnCreateSession: typebox153.TBoolean;
|
|
101
|
+
hasOnRefreshSession: typebox153.TBoolean;
|
|
102
|
+
hasOnDeleteSession: typebox153.TBoolean;
|
|
103
|
+
}>>;
|
|
104
|
+
}>>;
|
|
105
|
+
caches: typebox153.TArray<typebox153.TObject<{
|
|
106
|
+
name: typebox153.TString;
|
|
107
|
+
ttl: typebox153.TOptional<typebox153.TAny>;
|
|
108
|
+
disabled: typebox153.TOptional<typebox153.TBoolean>;
|
|
109
|
+
provider: typebox153.TString;
|
|
110
|
+
}>>;
|
|
111
|
+
pages: typebox153.TArray<typebox153.TObject<{
|
|
112
|
+
name: typebox153.TString;
|
|
113
|
+
description: typebox153.TOptional<typebox153.TString>;
|
|
114
|
+
path: typebox153.TOptional<typebox153.TString>;
|
|
115
|
+
params: typebox153.TOptional<typebox153.TAny>;
|
|
116
|
+
query: typebox153.TOptional<typebox153.TAny>;
|
|
117
|
+
hasComponent: typebox153.TBoolean;
|
|
118
|
+
hasLazy: typebox153.TBoolean;
|
|
119
|
+
hasResolve: typebox153.TBoolean;
|
|
120
|
+
hasChildren: typebox153.TBoolean;
|
|
121
|
+
hasParent: typebox153.TBoolean;
|
|
122
|
+
hasErrorHandler: typebox153.TBoolean;
|
|
123
|
+
static: typebox153.TOptional<typebox153.TBoolean>;
|
|
124
|
+
cache: typebox153.TOptional<typebox153.TAny>;
|
|
125
|
+
client: typebox153.TOptional<typebox153.TAny>;
|
|
126
|
+
animation: typebox153.TOptional<typebox153.TAny>;
|
|
127
|
+
}>>;
|
|
128
|
+
providers: typebox153.TArray<typebox153.TObject<{
|
|
129
|
+
name: typebox153.TString;
|
|
130
|
+
module: typebox153.TOptional<typebox153.TString>;
|
|
131
|
+
dependencies: typebox153.TArray<typebox153.TString>;
|
|
132
|
+
aliases: typebox153.TOptional<typebox153.TArray<typebox153.TString>>;
|
|
133
|
+
}>>;
|
|
134
|
+
modules: typebox153.TArray<typebox153.TObject<{
|
|
135
|
+
name: typebox153.TString;
|
|
136
|
+
providers: typebox153.TArray<typebox153.TString>;
|
|
137
|
+
}>>;
|
|
138
|
+
}>;
|
|
139
|
+
type DevMetadata = Static<typeof devMetadataSchema>;
|
|
140
|
+
//#endregion
|
|
141
|
+
//#region src/schemas/DevModuleMetadata.d.ts
|
|
142
|
+
declare const devModuleMetadataSchema: typebox153.TObject<{
|
|
143
|
+
name: typebox153.TString;
|
|
144
|
+
providers: typebox153.TArray<typebox153.TString>;
|
|
145
|
+
}>;
|
|
146
|
+
type DevModuleMetadata = Static<typeof devModuleMetadataSchema>;
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region src/schemas/DevPageMetadata.d.ts
|
|
149
|
+
declare const devPageMetadataSchema: typebox153.TObject<{
|
|
150
|
+
name: typebox153.TString;
|
|
151
|
+
description: typebox153.TOptional<typebox153.TString>;
|
|
152
|
+
path: typebox153.TOptional<typebox153.TString>;
|
|
153
|
+
params: typebox153.TOptional<typebox153.TAny>;
|
|
154
|
+
query: typebox153.TOptional<typebox153.TAny>;
|
|
155
|
+
hasComponent: typebox153.TBoolean;
|
|
156
|
+
hasLazy: typebox153.TBoolean;
|
|
157
|
+
hasResolve: typebox153.TBoolean;
|
|
158
|
+
hasChildren: typebox153.TBoolean;
|
|
159
|
+
hasParent: typebox153.TBoolean;
|
|
160
|
+
hasErrorHandler: typebox153.TBoolean;
|
|
161
|
+
static: typebox153.TOptional<typebox153.TBoolean>;
|
|
162
|
+
cache: typebox153.TOptional<typebox153.TAny>;
|
|
163
|
+
client: typebox153.TOptional<typebox153.TAny>;
|
|
164
|
+
animation: typebox153.TOptional<typebox153.TAny>;
|
|
165
|
+
}>;
|
|
166
|
+
type DevPageMetadata = Static<typeof devPageMetadataSchema>;
|
|
167
|
+
//#endregion
|
|
168
|
+
//#region src/schemas/DevProviderMetadata.d.ts
|
|
169
|
+
declare const devProviderMetadataSchema: typebox153.TObject<{
|
|
170
|
+
name: typebox153.TString;
|
|
171
|
+
module: typebox153.TOptional<typebox153.TString>;
|
|
172
|
+
dependencies: typebox153.TArray<typebox153.TString>;
|
|
173
|
+
aliases: typebox153.TOptional<typebox153.TArray<typebox153.TString>>;
|
|
174
|
+
}>;
|
|
175
|
+
type DevProviderMetadata = Static<typeof devProviderMetadataSchema>;
|
|
176
|
+
//#endregion
|
|
177
|
+
//#region src/schemas/DevQueueMetadata.d.ts
|
|
178
|
+
declare const devQueueMetadataSchema: typebox153.TObject<{
|
|
179
|
+
name: typebox153.TString;
|
|
180
|
+
description: typebox153.TOptional<typebox153.TString>;
|
|
181
|
+
schema: typebox153.TOptional<typebox153.TAny>;
|
|
182
|
+
provider: typebox153.TString;
|
|
183
|
+
}>;
|
|
184
|
+
type DevQueueMetadata = Static<typeof devQueueMetadataSchema>;
|
|
185
|
+
//#endregion
|
|
186
|
+
//#region src/schemas/DevRealmMetadata.d.ts
|
|
187
|
+
declare const devRealmMetadataSchema: typebox153.TObject<{
|
|
188
|
+
name: typebox153.TString;
|
|
189
|
+
description: typebox153.TOptional<typebox153.TString>;
|
|
190
|
+
roles: typebox153.TOptional<typebox153.TArray<typebox153.TAny>>;
|
|
191
|
+
type: typebox153.TUnsafe<"internal" | "external">;
|
|
192
|
+
settings: typebox153.TOptional<typebox153.TObject<{
|
|
193
|
+
accessTokenExpiration: typebox153.TOptional<typebox153.TAny>;
|
|
194
|
+
refreshTokenExpiration: typebox153.TOptional<typebox153.TAny>;
|
|
195
|
+
hasOnCreateSession: typebox153.TBoolean;
|
|
196
|
+
hasOnRefreshSession: typebox153.TBoolean;
|
|
197
|
+
hasOnDeleteSession: typebox153.TBoolean;
|
|
198
|
+
}>>;
|
|
199
|
+
}>;
|
|
200
|
+
type DevRealmMetadata = Static<typeof devRealmMetadataSchema>;
|
|
201
|
+
//#endregion
|
|
202
|
+
//#region src/schemas/DevSchedulerMetadata.d.ts
|
|
203
|
+
declare const devSchedulerMetadataSchema: typebox153.TObject<{
|
|
204
|
+
name: typebox153.TString;
|
|
205
|
+
description: typebox153.TOptional<typebox153.TString>;
|
|
206
|
+
cron: typebox153.TOptional<typebox153.TString>;
|
|
207
|
+
interval: typebox153.TOptional<typebox153.TAny>;
|
|
208
|
+
lock: typebox153.TOptional<typebox153.TBoolean>;
|
|
209
|
+
}>;
|
|
210
|
+
type DevSchedulerMetadata = Static<typeof devSchedulerMetadataSchema>;
|
|
211
|
+
//#endregion
|
|
212
|
+
//#region src/schemas/DevTopicMetadata.d.ts
|
|
213
|
+
declare const devTopicMetadataSchema: typebox153.TObject<{
|
|
214
|
+
name: typebox153.TString;
|
|
215
|
+
description: typebox153.TOptional<typebox153.TString>;
|
|
216
|
+
schema: typebox153.TOptional<typebox153.TAny>;
|
|
217
|
+
provider: typebox153.TString;
|
|
218
|
+
}>;
|
|
219
|
+
type DevTopicMetadata = Static<typeof devTopicMetadataSchema>;
|
|
220
|
+
//#endregion
|
|
221
|
+
//#region src/providers/DevToolsMetadataProvider.d.ts
|
|
222
|
+
declare class DevToolsMetadataProvider {
|
|
223
|
+
protected readonly alepha: Alepha;
|
|
224
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
225
|
+
getActions(): DevActionMetadata[];
|
|
226
|
+
getQueues(): DevQueueMetadata[];
|
|
227
|
+
getSchedulers(): DevSchedulerMetadata[];
|
|
228
|
+
getTopics(): DevTopicMetadata[];
|
|
229
|
+
getBuckets(): DevBucketMetadata[];
|
|
230
|
+
getRealms(): DevRealmMetadata[];
|
|
231
|
+
getCaches(): DevCacheMetadata[];
|
|
232
|
+
getPages(): DevPageMetadata[];
|
|
233
|
+
getProviders(): DevProviderMetadata[];
|
|
234
|
+
getModules(): DevModuleMetadata[];
|
|
235
|
+
getMetadata(): DevMetadata;
|
|
236
|
+
protected getProviderName(provider?: "memory" | any): string;
|
|
237
|
+
}
|
|
238
|
+
//#endregion
|
|
239
|
+
//#region src/index.d.ts
|
|
240
|
+
/**
|
|
241
|
+
* Developer tools module for monitoring and debugging Alepha applications.
|
|
242
|
+
*
|
|
243
|
+
* This module provides comprehensive data collection capabilities for tracking application behavior,
|
|
244
|
+
* performance metrics, and debugging information in real-time.
|
|
245
|
+
*
|
|
246
|
+
* @see {@link DevToolsMetadataProvider}
|
|
247
|
+
* @module alepha.devtools
|
|
248
|
+
*/
|
|
249
|
+
declare const AlephaDevtools: _alepha_core0.Service<_alepha_core0.Module>;
|
|
250
|
+
//#endregion
|
|
251
|
+
export { AlephaDevtools, DevActionMetadata, DevBucketMetadata, DevCacheMetadata, DevMetadata, DevModuleMetadata, DevPageMetadata, DevProviderMetadata, DevQueueMetadata, DevRealmMetadata, DevSchedulerMetadata, DevToolsMetadataProvider, DevTopicMetadata, devActionMetadataSchema, devBucketMetadataSchema, devCacheMetadataSchema, devMetadataSchema, devModuleMetadataSchema, devPageMetadataSchema, devProviderMetadataSchema, devQueueMetadataSchema, devRealmMetadataSchema, devSchedulerMetadataSchema, devTopicMetadataSchema };
|
|
252
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/schemas/DevActionMetadata.ts","../src/schemas/DevBucketMetadata.ts","../src/schemas/DevCacheMetadata.ts","../src/schemas/DevMetadata.ts","../src/schemas/DevModuleMetadata.ts","../src/schemas/DevPageMetadata.ts","../src/schemas/DevProviderMetadata.ts","../src/schemas/DevQueueMetadata.ts","../src/schemas/DevRealmMetadata.ts","../src/schemas/DevSchedulerMetadata.ts","../src/schemas/DevTopicMetadata.ts","../src/providers/DevToolsMetadataProvider.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;cAEa,oCAAuB;QAiBlC,UAAA,CAAA;;;;EAjBW,MAAA,oBAiBX;EAAA,QAAA,oBAAA;;;;;;;;;;;;KAEU,iBAAA,GAAoB,cAAc;;;cCnBjC,oCAAuB;QAMlC,UAAA,CAAA;;;;EDNW,QAAA,oBAiBX;CAAA,CAAA;KCTU,iBAAA,GAAoB,cAAc;;;cCRjC,mCAAsB;QAKjC,UAAA,CAAA;;;;AFLF,CAAA,CAAA;AAiBE,KEVU,gBAAA,GAAmB,MFU7B,CAAA,OEV2C,sBFU3C,CAAA;;;cGPW,8BAAiB;;UAY5B,UAAA,CAAA;;;IHtBW,IAAA,oBAiBX;IAAA,MAAA,oBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;2BAjBkC,mBAAA,CAAA;IAAA,IAAA,oBAAA;IAmBxB,WAAA,sBAAkC,oBAAR;;;;ECnBzB,OAAA,mBAMX,mBAAA,CAAA;IAAA,IAAA,oBAAA;;;;;;;;;SANkC,sBAAA,kBAAA,iBAAA,CAAA;IAAA,IAAA,oBAAA,CAAA,UAAA,GAAA,UAAA,CAAA;IAQxB,QAAA,sBAAkC,mBAAR,CAAA;;;;MCRzB,mBAKX,qBAAA;MAAA,kBAAA,qBAAA;;;;;;YALiC,sBAAA,qBAAA;IAAA,QAAA,oBAAA;EAOvB,CAAA,CAAA,CAAA;;;;ICGC,IAAA,sBAYX,oBAAA;IAAA,MAAA,sBAAA,iBAAA;;;;;;;;;;;;;;;;;;;;;;;;KAEU,WAAA,GAAc,cAAc;;;cCxB3B,oCAAuB;QAGlC,UAAA,CAAA;;;KAEU,iBAAA,GAAoB,cAAc;;;cCLjC,kCAAqB;QAgBhC,UAAA,CAAA;;;;ELhBW,KAAA,sBAiBX,iBAAA;EAAA,YAAA,qBAAA;;;;;;;;;;;KKCU,eAAA,GAAkB,cAAc;;;cClB/B,sCAAyB;QAKpC,UAAA,CAAA;;;;ANLF,CAAA,CAAA;AAiBE,KMVU,mBAAA,GAAsB,MNUhC,CAAA,OMV8C,yBNU9C,CAAA;;;cOjBW,mCAAsB;QAKjC,UAAA,CAAA;;;;APLF,CAAA,CAAA;AAiBE,KOVU,gBAAA,GAAmB,MPU7B,CAAA,OOV2C,sBPU3C,CAAA;;;cQjBW,mCAAsB;QAcjC,UAAA,CAAA;;;;ERdW,QAAA,sBAiBX,mBAAA,CAAA;IAAA,qBAAA,sBAAA,iBAAA;;;;;;;KQDU,gBAAA,GAAmB,cAAc;;;cChBhC,uCAA0B;QAMrC,UAAA,CAAA;;;;ETNW,IAAA,sBAiBX,qBAAA;CAAA,CAAA;KSTU,oBAAA,GAAuB,cAAc;;;cCRpC,mCAAsB;QAKjC,UAAA,CAAA;;;;AVLF,CAAA,CAAA;AAiBE,KUVU,gBAAA,GAAmB,MVU7B,CAAA,OUV2C,sBVU3C,CAAA;;;cWEW,wBAAA;6BACc;0BAAA,eAAA,CACH;gBAED;eA4BD;mBAWI;eAYJ;gBAWC;eAYD;eAmBA;cAWD;kBA2BI;gBAWF;iBAoBC;;;;;;;;;;;;;;cC3JX,gBAAc,aAAA,CAAA,QAezB,aAAA,CAfyB,MAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,220 +1,220 @@
|
|
|
1
1
|
import * as _alepha_core0 from "@alepha/core";
|
|
2
2
|
import { Alepha, Static } from "@alepha/core";
|
|
3
3
|
import * as _alepha_logger0 from "@alepha/logger";
|
|
4
|
-
import * as
|
|
4
|
+
import * as typebox0 from "typebox";
|
|
5
5
|
|
|
6
6
|
//#region src/schemas/DevActionMetadata.d.ts
|
|
7
|
-
declare const devActionMetadataSchema:
|
|
8
|
-
name:
|
|
9
|
-
group:
|
|
10
|
-
method:
|
|
11
|
-
path:
|
|
12
|
-
prefix:
|
|
13
|
-
fullPath:
|
|
14
|
-
description:
|
|
15
|
-
summary:
|
|
16
|
-
disabled:
|
|
17
|
-
secure:
|
|
18
|
-
hide:
|
|
19
|
-
body:
|
|
20
|
-
params:
|
|
21
|
-
query:
|
|
22
|
-
response:
|
|
23
|
-
bodyContentType:
|
|
7
|
+
declare const devActionMetadataSchema: typebox0.TObject<{
|
|
8
|
+
name: typebox0.TString;
|
|
9
|
+
group: typebox0.TString;
|
|
10
|
+
method: typebox0.TString;
|
|
11
|
+
path: typebox0.TString;
|
|
12
|
+
prefix: typebox0.TString;
|
|
13
|
+
fullPath: typebox0.TString;
|
|
14
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
15
|
+
summary: typebox0.TOptional<typebox0.TString>;
|
|
16
|
+
disabled: typebox0.TOptional<typebox0.TBoolean>;
|
|
17
|
+
secure: typebox0.TOptional<typebox0.TBoolean>;
|
|
18
|
+
hide: typebox0.TOptional<typebox0.TBoolean>;
|
|
19
|
+
body: typebox0.TOptional<typebox0.TAny>;
|
|
20
|
+
params: typebox0.TOptional<typebox0.TAny>;
|
|
21
|
+
query: typebox0.TOptional<typebox0.TAny>;
|
|
22
|
+
response: typebox0.TOptional<typebox0.TAny>;
|
|
23
|
+
bodyContentType: typebox0.TOptional<typebox0.TString>;
|
|
24
24
|
}>;
|
|
25
25
|
type DevActionMetadata = Static<typeof devActionMetadataSchema>;
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/schemas/DevBucketMetadata.d.ts
|
|
28
|
-
declare const devBucketMetadataSchema:
|
|
29
|
-
name:
|
|
30
|
-
description:
|
|
31
|
-
mimeTypes:
|
|
32
|
-
maxSize:
|
|
33
|
-
provider:
|
|
28
|
+
declare const devBucketMetadataSchema: typebox0.TObject<{
|
|
29
|
+
name: typebox0.TString;
|
|
30
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
31
|
+
mimeTypes: typebox0.TOptional<typebox0.TArray<typebox0.TString>>;
|
|
32
|
+
maxSize: typebox0.TOptional<typebox0.TNumber>;
|
|
33
|
+
provider: typebox0.TString;
|
|
34
34
|
}>;
|
|
35
35
|
type DevBucketMetadata = Static<typeof devBucketMetadataSchema>;
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/schemas/DevCacheMetadata.d.ts
|
|
38
|
-
declare const devCacheMetadataSchema:
|
|
39
|
-
name:
|
|
40
|
-
ttl:
|
|
41
|
-
disabled:
|
|
42
|
-
provider:
|
|
38
|
+
declare const devCacheMetadataSchema: typebox0.TObject<{
|
|
39
|
+
name: typebox0.TString;
|
|
40
|
+
ttl: typebox0.TOptional<typebox0.TAny>;
|
|
41
|
+
disabled: typebox0.TOptional<typebox0.TBoolean>;
|
|
42
|
+
provider: typebox0.TString;
|
|
43
43
|
}>;
|
|
44
44
|
type DevCacheMetadata = Static<typeof devCacheMetadataSchema>;
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/schemas/DevMetadata.d.ts
|
|
47
|
-
declare const devMetadataSchema:
|
|
48
|
-
actions:
|
|
49
|
-
name:
|
|
50
|
-
group:
|
|
51
|
-
method:
|
|
52
|
-
path:
|
|
53
|
-
prefix:
|
|
54
|
-
fullPath:
|
|
55
|
-
description:
|
|
56
|
-
summary:
|
|
57
|
-
disabled:
|
|
58
|
-
secure:
|
|
59
|
-
hide:
|
|
60
|
-
body:
|
|
61
|
-
params:
|
|
62
|
-
query:
|
|
63
|
-
response:
|
|
64
|
-
bodyContentType:
|
|
47
|
+
declare const devMetadataSchema: typebox0.TObject<{
|
|
48
|
+
actions: typebox0.TArray<typebox0.TObject<{
|
|
49
|
+
name: typebox0.TString;
|
|
50
|
+
group: typebox0.TString;
|
|
51
|
+
method: typebox0.TString;
|
|
52
|
+
path: typebox0.TString;
|
|
53
|
+
prefix: typebox0.TString;
|
|
54
|
+
fullPath: typebox0.TString;
|
|
55
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
56
|
+
summary: typebox0.TOptional<typebox0.TString>;
|
|
57
|
+
disabled: typebox0.TOptional<typebox0.TBoolean>;
|
|
58
|
+
secure: typebox0.TOptional<typebox0.TBoolean>;
|
|
59
|
+
hide: typebox0.TOptional<typebox0.TBoolean>;
|
|
60
|
+
body: typebox0.TOptional<typebox0.TAny>;
|
|
61
|
+
params: typebox0.TOptional<typebox0.TAny>;
|
|
62
|
+
query: typebox0.TOptional<typebox0.TAny>;
|
|
63
|
+
response: typebox0.TOptional<typebox0.TAny>;
|
|
64
|
+
bodyContentType: typebox0.TOptional<typebox0.TString>;
|
|
65
65
|
}>>;
|
|
66
|
-
queues:
|
|
67
|
-
name:
|
|
68
|
-
description:
|
|
69
|
-
schema:
|
|
70
|
-
provider:
|
|
66
|
+
queues: typebox0.TArray<typebox0.TObject<{
|
|
67
|
+
name: typebox0.TString;
|
|
68
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
69
|
+
schema: typebox0.TOptional<typebox0.TAny>;
|
|
70
|
+
provider: typebox0.TString;
|
|
71
71
|
}>>;
|
|
72
|
-
schedulers:
|
|
73
|
-
name:
|
|
74
|
-
description:
|
|
75
|
-
cron:
|
|
76
|
-
interval:
|
|
77
|
-
lock:
|
|
72
|
+
schedulers: typebox0.TArray<typebox0.TObject<{
|
|
73
|
+
name: typebox0.TString;
|
|
74
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
75
|
+
cron: typebox0.TOptional<typebox0.TString>;
|
|
76
|
+
interval: typebox0.TOptional<typebox0.TAny>;
|
|
77
|
+
lock: typebox0.TOptional<typebox0.TBoolean>;
|
|
78
78
|
}>>;
|
|
79
|
-
topics:
|
|
80
|
-
name:
|
|
81
|
-
description:
|
|
82
|
-
schema:
|
|
83
|
-
provider:
|
|
79
|
+
topics: typebox0.TArray<typebox0.TObject<{
|
|
80
|
+
name: typebox0.TString;
|
|
81
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
82
|
+
schema: typebox0.TOptional<typebox0.TAny>;
|
|
83
|
+
provider: typebox0.TString;
|
|
84
84
|
}>>;
|
|
85
|
-
buckets:
|
|
86
|
-
name:
|
|
87
|
-
description:
|
|
88
|
-
mimeTypes:
|
|
89
|
-
maxSize:
|
|
90
|
-
provider:
|
|
85
|
+
buckets: typebox0.TArray<typebox0.TObject<{
|
|
86
|
+
name: typebox0.TString;
|
|
87
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
88
|
+
mimeTypes: typebox0.TOptional<typebox0.TArray<typebox0.TString>>;
|
|
89
|
+
maxSize: typebox0.TOptional<typebox0.TNumber>;
|
|
90
|
+
provider: typebox0.TString;
|
|
91
91
|
}>>;
|
|
92
|
-
realms:
|
|
93
|
-
name:
|
|
94
|
-
description:
|
|
95
|
-
roles:
|
|
96
|
-
type:
|
|
97
|
-
settings:
|
|
98
|
-
accessTokenExpiration:
|
|
99
|
-
refreshTokenExpiration:
|
|
100
|
-
hasOnCreateSession:
|
|
101
|
-
hasOnRefreshSession:
|
|
102
|
-
hasOnDeleteSession:
|
|
92
|
+
realms: typebox0.TArray<typebox0.TObject<{
|
|
93
|
+
name: typebox0.TString;
|
|
94
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
95
|
+
roles: typebox0.TOptional<typebox0.TArray<typebox0.TAny>>;
|
|
96
|
+
type: typebox0.TUnsafe<"internal" | "external">;
|
|
97
|
+
settings: typebox0.TOptional<typebox0.TObject<{
|
|
98
|
+
accessTokenExpiration: typebox0.TOptional<typebox0.TAny>;
|
|
99
|
+
refreshTokenExpiration: typebox0.TOptional<typebox0.TAny>;
|
|
100
|
+
hasOnCreateSession: typebox0.TBoolean;
|
|
101
|
+
hasOnRefreshSession: typebox0.TBoolean;
|
|
102
|
+
hasOnDeleteSession: typebox0.TBoolean;
|
|
103
103
|
}>>;
|
|
104
104
|
}>>;
|
|
105
|
-
caches:
|
|
106
|
-
name:
|
|
107
|
-
ttl:
|
|
108
|
-
disabled:
|
|
109
|
-
provider:
|
|
105
|
+
caches: typebox0.TArray<typebox0.TObject<{
|
|
106
|
+
name: typebox0.TString;
|
|
107
|
+
ttl: typebox0.TOptional<typebox0.TAny>;
|
|
108
|
+
disabled: typebox0.TOptional<typebox0.TBoolean>;
|
|
109
|
+
provider: typebox0.TString;
|
|
110
110
|
}>>;
|
|
111
|
-
pages:
|
|
112
|
-
name:
|
|
113
|
-
description:
|
|
114
|
-
path:
|
|
115
|
-
params:
|
|
116
|
-
query:
|
|
117
|
-
hasComponent:
|
|
118
|
-
hasLazy:
|
|
119
|
-
hasResolve:
|
|
120
|
-
hasChildren:
|
|
121
|
-
hasParent:
|
|
122
|
-
hasErrorHandler:
|
|
123
|
-
static:
|
|
124
|
-
cache:
|
|
125
|
-
client:
|
|
126
|
-
animation:
|
|
111
|
+
pages: typebox0.TArray<typebox0.TObject<{
|
|
112
|
+
name: typebox0.TString;
|
|
113
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
114
|
+
path: typebox0.TOptional<typebox0.TString>;
|
|
115
|
+
params: typebox0.TOptional<typebox0.TAny>;
|
|
116
|
+
query: typebox0.TOptional<typebox0.TAny>;
|
|
117
|
+
hasComponent: typebox0.TBoolean;
|
|
118
|
+
hasLazy: typebox0.TBoolean;
|
|
119
|
+
hasResolve: typebox0.TBoolean;
|
|
120
|
+
hasChildren: typebox0.TBoolean;
|
|
121
|
+
hasParent: typebox0.TBoolean;
|
|
122
|
+
hasErrorHandler: typebox0.TBoolean;
|
|
123
|
+
static: typebox0.TOptional<typebox0.TBoolean>;
|
|
124
|
+
cache: typebox0.TOptional<typebox0.TAny>;
|
|
125
|
+
client: typebox0.TOptional<typebox0.TAny>;
|
|
126
|
+
animation: typebox0.TOptional<typebox0.TAny>;
|
|
127
127
|
}>>;
|
|
128
|
-
providers:
|
|
129
|
-
name:
|
|
130
|
-
module:
|
|
131
|
-
dependencies:
|
|
132
|
-
aliases:
|
|
128
|
+
providers: typebox0.TArray<typebox0.TObject<{
|
|
129
|
+
name: typebox0.TString;
|
|
130
|
+
module: typebox0.TOptional<typebox0.TString>;
|
|
131
|
+
dependencies: typebox0.TArray<typebox0.TString>;
|
|
132
|
+
aliases: typebox0.TOptional<typebox0.TArray<typebox0.TString>>;
|
|
133
133
|
}>>;
|
|
134
|
-
modules:
|
|
135
|
-
name:
|
|
136
|
-
providers:
|
|
134
|
+
modules: typebox0.TArray<typebox0.TObject<{
|
|
135
|
+
name: typebox0.TString;
|
|
136
|
+
providers: typebox0.TArray<typebox0.TString>;
|
|
137
137
|
}>>;
|
|
138
138
|
}>;
|
|
139
139
|
type DevMetadata = Static<typeof devMetadataSchema>;
|
|
140
140
|
//#endregion
|
|
141
141
|
//#region src/schemas/DevModuleMetadata.d.ts
|
|
142
|
-
declare const devModuleMetadataSchema:
|
|
143
|
-
name:
|
|
144
|
-
providers:
|
|
142
|
+
declare const devModuleMetadataSchema: typebox0.TObject<{
|
|
143
|
+
name: typebox0.TString;
|
|
144
|
+
providers: typebox0.TArray<typebox0.TString>;
|
|
145
145
|
}>;
|
|
146
146
|
type DevModuleMetadata = Static<typeof devModuleMetadataSchema>;
|
|
147
147
|
//#endregion
|
|
148
148
|
//#region src/schemas/DevPageMetadata.d.ts
|
|
149
|
-
declare const devPageMetadataSchema:
|
|
150
|
-
name:
|
|
151
|
-
description:
|
|
152
|
-
path:
|
|
153
|
-
params:
|
|
154
|
-
query:
|
|
155
|
-
hasComponent:
|
|
156
|
-
hasLazy:
|
|
157
|
-
hasResolve:
|
|
158
|
-
hasChildren:
|
|
159
|
-
hasParent:
|
|
160
|
-
hasErrorHandler:
|
|
161
|
-
static:
|
|
162
|
-
cache:
|
|
163
|
-
client:
|
|
164
|
-
animation:
|
|
149
|
+
declare const devPageMetadataSchema: typebox0.TObject<{
|
|
150
|
+
name: typebox0.TString;
|
|
151
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
152
|
+
path: typebox0.TOptional<typebox0.TString>;
|
|
153
|
+
params: typebox0.TOptional<typebox0.TAny>;
|
|
154
|
+
query: typebox0.TOptional<typebox0.TAny>;
|
|
155
|
+
hasComponent: typebox0.TBoolean;
|
|
156
|
+
hasLazy: typebox0.TBoolean;
|
|
157
|
+
hasResolve: typebox0.TBoolean;
|
|
158
|
+
hasChildren: typebox0.TBoolean;
|
|
159
|
+
hasParent: typebox0.TBoolean;
|
|
160
|
+
hasErrorHandler: typebox0.TBoolean;
|
|
161
|
+
static: typebox0.TOptional<typebox0.TBoolean>;
|
|
162
|
+
cache: typebox0.TOptional<typebox0.TAny>;
|
|
163
|
+
client: typebox0.TOptional<typebox0.TAny>;
|
|
164
|
+
animation: typebox0.TOptional<typebox0.TAny>;
|
|
165
165
|
}>;
|
|
166
166
|
type DevPageMetadata = Static<typeof devPageMetadataSchema>;
|
|
167
167
|
//#endregion
|
|
168
168
|
//#region src/schemas/DevProviderMetadata.d.ts
|
|
169
|
-
declare const devProviderMetadataSchema:
|
|
170
|
-
name:
|
|
171
|
-
module:
|
|
172
|
-
dependencies:
|
|
173
|
-
aliases:
|
|
169
|
+
declare const devProviderMetadataSchema: typebox0.TObject<{
|
|
170
|
+
name: typebox0.TString;
|
|
171
|
+
module: typebox0.TOptional<typebox0.TString>;
|
|
172
|
+
dependencies: typebox0.TArray<typebox0.TString>;
|
|
173
|
+
aliases: typebox0.TOptional<typebox0.TArray<typebox0.TString>>;
|
|
174
174
|
}>;
|
|
175
175
|
type DevProviderMetadata = Static<typeof devProviderMetadataSchema>;
|
|
176
176
|
//#endregion
|
|
177
177
|
//#region src/schemas/DevQueueMetadata.d.ts
|
|
178
|
-
declare const devQueueMetadataSchema:
|
|
179
|
-
name:
|
|
180
|
-
description:
|
|
181
|
-
schema:
|
|
182
|
-
provider:
|
|
178
|
+
declare const devQueueMetadataSchema: typebox0.TObject<{
|
|
179
|
+
name: typebox0.TString;
|
|
180
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
181
|
+
schema: typebox0.TOptional<typebox0.TAny>;
|
|
182
|
+
provider: typebox0.TString;
|
|
183
183
|
}>;
|
|
184
184
|
type DevQueueMetadata = Static<typeof devQueueMetadataSchema>;
|
|
185
185
|
//#endregion
|
|
186
186
|
//#region src/schemas/DevRealmMetadata.d.ts
|
|
187
|
-
declare const devRealmMetadataSchema:
|
|
188
|
-
name:
|
|
189
|
-
description:
|
|
190
|
-
roles:
|
|
191
|
-
type:
|
|
192
|
-
settings:
|
|
193
|
-
accessTokenExpiration:
|
|
194
|
-
refreshTokenExpiration:
|
|
195
|
-
hasOnCreateSession:
|
|
196
|
-
hasOnRefreshSession:
|
|
197
|
-
hasOnDeleteSession:
|
|
187
|
+
declare const devRealmMetadataSchema: typebox0.TObject<{
|
|
188
|
+
name: typebox0.TString;
|
|
189
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
190
|
+
roles: typebox0.TOptional<typebox0.TArray<typebox0.TAny>>;
|
|
191
|
+
type: typebox0.TUnsafe<"internal" | "external">;
|
|
192
|
+
settings: typebox0.TOptional<typebox0.TObject<{
|
|
193
|
+
accessTokenExpiration: typebox0.TOptional<typebox0.TAny>;
|
|
194
|
+
refreshTokenExpiration: typebox0.TOptional<typebox0.TAny>;
|
|
195
|
+
hasOnCreateSession: typebox0.TBoolean;
|
|
196
|
+
hasOnRefreshSession: typebox0.TBoolean;
|
|
197
|
+
hasOnDeleteSession: typebox0.TBoolean;
|
|
198
198
|
}>>;
|
|
199
199
|
}>;
|
|
200
200
|
type DevRealmMetadata = Static<typeof devRealmMetadataSchema>;
|
|
201
201
|
//#endregion
|
|
202
202
|
//#region src/schemas/DevSchedulerMetadata.d.ts
|
|
203
|
-
declare const devSchedulerMetadataSchema:
|
|
204
|
-
name:
|
|
205
|
-
description:
|
|
206
|
-
cron:
|
|
207
|
-
interval:
|
|
208
|
-
lock:
|
|
203
|
+
declare const devSchedulerMetadataSchema: typebox0.TObject<{
|
|
204
|
+
name: typebox0.TString;
|
|
205
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
206
|
+
cron: typebox0.TOptional<typebox0.TString>;
|
|
207
|
+
interval: typebox0.TOptional<typebox0.TAny>;
|
|
208
|
+
lock: typebox0.TOptional<typebox0.TBoolean>;
|
|
209
209
|
}>;
|
|
210
210
|
type DevSchedulerMetadata = Static<typeof devSchedulerMetadataSchema>;
|
|
211
211
|
//#endregion
|
|
212
212
|
//#region src/schemas/DevTopicMetadata.d.ts
|
|
213
|
-
declare const devTopicMetadataSchema:
|
|
214
|
-
name:
|
|
215
|
-
description:
|
|
216
|
-
schema:
|
|
217
|
-
provider:
|
|
213
|
+
declare const devTopicMetadataSchema: typebox0.TObject<{
|
|
214
|
+
name: typebox0.TString;
|
|
215
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
216
|
+
schema: typebox0.TOptional<typebox0.TAny>;
|
|
217
|
+
provider: typebox0.TString;
|
|
218
218
|
}>;
|
|
219
219
|
type DevTopicMetadata = Static<typeof devTopicMetadataSchema>;
|
|
220
220
|
//#endregion
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { join } from "node:path";
|
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
4
|
import { $batch } from "@alepha/batch";
|
|
5
5
|
import { $logger, JsonFormatterProvider, logEntrySchema } from "@alepha/logger";
|
|
6
|
-
import { $entity, NodeSqliteProvider, Repository, parseQueryString, pg } from "@alepha/
|
|
6
|
+
import { $entity, NodeSqliteProvider, Repository, parseQueryString, pg } from "@alepha/orm";
|
|
7
7
|
import { $action, $route, ServerProvider } from "@alepha/server";
|
|
8
8
|
import { $serve } from "@alepha/server-static";
|
|
9
9
|
import { $bucket } from "@alepha/bucket";
|