@alepha/devtools 0.11.2 → 0.11.4
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.d.mts +370 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +360 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +26 -16
- package/src/DevCollectorProvider.ts +29 -29
- package/src/index.ts +4 -1
- package/src/ui/AppRouter.tsx +61 -0
- package/src/ui/DevLogs.tsx +143 -0
- package/src/ui/main.ts +4 -0
- package/src/ui/styles.css +7 -0
- package/src/ui/wotfardregular/stylesheet.css +12 -0
- package/src/ui/wotfardregular/wotfard-regular-webfont.eot +0 -0
- package/src/ui/wotfardregular/wotfard-regular-webfont.ttf +0 -0
- package/src/ui/wotfardregular/wotfard-regular-webfont.woff2 +0 -0
- package/dist/index.d.ts +0 -368
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -1678
- package/dist/index.js.map +0 -1
- package/src/constants/ui.ts +0 -1317
- package/src/schemas/DevLogEntry.ts +0 -11
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
import * as _alepha_core1 from "@alepha/core";
|
|
2
|
+
import { Alepha, Static } from "@alepha/core";
|
|
3
|
+
import * as _alepha_logger0 from "@alepha/logger";
|
|
4
|
+
import { LogEntry } from "@alepha/logger";
|
|
5
|
+
import * as _alepha_server0 from "@alepha/server";
|
|
6
|
+
import { ServerProvider } from "@alepha/server";
|
|
7
|
+
import * as _alepha_server_static0 from "@alepha/server-static";
|
|
8
|
+
import * as typebox156 from "typebox";
|
|
9
|
+
import * as dayjs0 from "dayjs";
|
|
10
|
+
|
|
11
|
+
//#region src/schemas/DevActionMetadata.d.ts
|
|
12
|
+
declare const devActionMetadataSchema: typebox156.TObject<{
|
|
13
|
+
name: typebox156.TString;
|
|
14
|
+
group: typebox156.TString;
|
|
15
|
+
method: typebox156.TString;
|
|
16
|
+
path: typebox156.TString;
|
|
17
|
+
prefix: typebox156.TString;
|
|
18
|
+
fullPath: typebox156.TString;
|
|
19
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
20
|
+
summary: typebox156.TOptional<typebox156.TString>;
|
|
21
|
+
disabled: typebox156.TOptional<typebox156.TBoolean>;
|
|
22
|
+
secure: typebox156.TOptional<typebox156.TBoolean>;
|
|
23
|
+
hide: typebox156.TOptional<typebox156.TBoolean>;
|
|
24
|
+
body: typebox156.TOptional<typebox156.TAny>;
|
|
25
|
+
params: typebox156.TOptional<typebox156.TAny>;
|
|
26
|
+
query: typebox156.TOptional<typebox156.TAny>;
|
|
27
|
+
response: typebox156.TOptional<typebox156.TAny>;
|
|
28
|
+
bodyContentType: typebox156.TOptional<typebox156.TString>;
|
|
29
|
+
}>;
|
|
30
|
+
type DevActionMetadata = Static<typeof devActionMetadataSchema>;
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/schemas/DevBucketMetadata.d.ts
|
|
33
|
+
declare const devBucketMetadataSchema: typebox156.TObject<{
|
|
34
|
+
name: typebox156.TString;
|
|
35
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
36
|
+
mimeTypes: typebox156.TOptional<typebox156.TArray<typebox156.TString>>;
|
|
37
|
+
maxSize: typebox156.TOptional<typebox156.TNumber>;
|
|
38
|
+
provider: typebox156.TString;
|
|
39
|
+
}>;
|
|
40
|
+
type DevBucketMetadata = Static<typeof devBucketMetadataSchema>;
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region src/schemas/DevCacheMetadata.d.ts
|
|
43
|
+
declare const devCacheMetadataSchema: typebox156.TObject<{
|
|
44
|
+
name: typebox156.TString;
|
|
45
|
+
ttl: typebox156.TOptional<typebox156.TAny>;
|
|
46
|
+
disabled: typebox156.TOptional<typebox156.TBoolean>;
|
|
47
|
+
provider: typebox156.TString;
|
|
48
|
+
}>;
|
|
49
|
+
type DevCacheMetadata = Static<typeof devCacheMetadataSchema>;
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region src/schemas/DevMetadata.d.ts
|
|
52
|
+
declare const devMetadataSchema: typebox156.TObject<{
|
|
53
|
+
actions: typebox156.TArray<typebox156.TObject<{
|
|
54
|
+
name: typebox156.TString;
|
|
55
|
+
group: typebox156.TString;
|
|
56
|
+
method: typebox156.TString;
|
|
57
|
+
path: typebox156.TString;
|
|
58
|
+
prefix: typebox156.TString;
|
|
59
|
+
fullPath: typebox156.TString;
|
|
60
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
61
|
+
summary: typebox156.TOptional<typebox156.TString>;
|
|
62
|
+
disabled: typebox156.TOptional<typebox156.TBoolean>;
|
|
63
|
+
secure: typebox156.TOptional<typebox156.TBoolean>;
|
|
64
|
+
hide: typebox156.TOptional<typebox156.TBoolean>;
|
|
65
|
+
body: typebox156.TOptional<typebox156.TAny>;
|
|
66
|
+
params: typebox156.TOptional<typebox156.TAny>;
|
|
67
|
+
query: typebox156.TOptional<typebox156.TAny>;
|
|
68
|
+
response: typebox156.TOptional<typebox156.TAny>;
|
|
69
|
+
bodyContentType: typebox156.TOptional<typebox156.TString>;
|
|
70
|
+
}>>;
|
|
71
|
+
queues: typebox156.TArray<typebox156.TObject<{
|
|
72
|
+
name: typebox156.TString;
|
|
73
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
74
|
+
schema: typebox156.TOptional<typebox156.TAny>;
|
|
75
|
+
provider: typebox156.TString;
|
|
76
|
+
}>>;
|
|
77
|
+
schedulers: typebox156.TArray<typebox156.TObject<{
|
|
78
|
+
name: typebox156.TString;
|
|
79
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
80
|
+
cron: typebox156.TOptional<typebox156.TString>;
|
|
81
|
+
interval: typebox156.TOptional<typebox156.TAny>;
|
|
82
|
+
lock: typebox156.TOptional<typebox156.TBoolean>;
|
|
83
|
+
}>>;
|
|
84
|
+
topics: typebox156.TArray<typebox156.TObject<{
|
|
85
|
+
name: typebox156.TString;
|
|
86
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
87
|
+
schema: typebox156.TOptional<typebox156.TAny>;
|
|
88
|
+
provider: typebox156.TString;
|
|
89
|
+
}>>;
|
|
90
|
+
buckets: typebox156.TArray<typebox156.TObject<{
|
|
91
|
+
name: typebox156.TString;
|
|
92
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
93
|
+
mimeTypes: typebox156.TOptional<typebox156.TArray<typebox156.TString>>;
|
|
94
|
+
maxSize: typebox156.TOptional<typebox156.TNumber>;
|
|
95
|
+
provider: typebox156.TString;
|
|
96
|
+
}>>;
|
|
97
|
+
realms: typebox156.TArray<typebox156.TObject<{
|
|
98
|
+
name: typebox156.TString;
|
|
99
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
100
|
+
roles: typebox156.TOptional<typebox156.TArray<typebox156.TAny>>;
|
|
101
|
+
type: typebox156.TUnsafe<"internal" | "external">;
|
|
102
|
+
settings: typebox156.TOptional<typebox156.TObject<{
|
|
103
|
+
accessTokenExpiration: typebox156.TOptional<typebox156.TAny>;
|
|
104
|
+
refreshTokenExpiration: typebox156.TOptional<typebox156.TAny>;
|
|
105
|
+
hasOnCreateSession: typebox156.TBoolean;
|
|
106
|
+
hasOnRefreshSession: typebox156.TBoolean;
|
|
107
|
+
hasOnDeleteSession: typebox156.TBoolean;
|
|
108
|
+
}>>;
|
|
109
|
+
}>>;
|
|
110
|
+
caches: typebox156.TArray<typebox156.TObject<{
|
|
111
|
+
name: typebox156.TString;
|
|
112
|
+
ttl: typebox156.TOptional<typebox156.TAny>;
|
|
113
|
+
disabled: typebox156.TOptional<typebox156.TBoolean>;
|
|
114
|
+
provider: typebox156.TString;
|
|
115
|
+
}>>;
|
|
116
|
+
pages: typebox156.TArray<typebox156.TObject<{
|
|
117
|
+
name: typebox156.TString;
|
|
118
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
119
|
+
path: typebox156.TOptional<typebox156.TString>;
|
|
120
|
+
params: typebox156.TOptional<typebox156.TAny>;
|
|
121
|
+
query: typebox156.TOptional<typebox156.TAny>;
|
|
122
|
+
hasComponent: typebox156.TBoolean;
|
|
123
|
+
hasLazy: typebox156.TBoolean;
|
|
124
|
+
hasResolve: typebox156.TBoolean;
|
|
125
|
+
hasChildren: typebox156.TBoolean;
|
|
126
|
+
hasParent: typebox156.TBoolean;
|
|
127
|
+
hasErrorHandler: typebox156.TBoolean;
|
|
128
|
+
static: typebox156.TOptional<typebox156.TBoolean>;
|
|
129
|
+
cache: typebox156.TOptional<typebox156.TAny>;
|
|
130
|
+
client: typebox156.TOptional<typebox156.TAny>;
|
|
131
|
+
animation: typebox156.TOptional<typebox156.TAny>;
|
|
132
|
+
}>>;
|
|
133
|
+
providers: typebox156.TArray<typebox156.TObject<{
|
|
134
|
+
name: typebox156.TString;
|
|
135
|
+
module: typebox156.TOptional<typebox156.TString>;
|
|
136
|
+
dependencies: typebox156.TArray<typebox156.TString>;
|
|
137
|
+
aliases: typebox156.TOptional<typebox156.TArray<typebox156.TString>>;
|
|
138
|
+
}>>;
|
|
139
|
+
modules: typebox156.TArray<typebox156.TObject<{
|
|
140
|
+
name: typebox156.TString;
|
|
141
|
+
providers: typebox156.TArray<typebox156.TString>;
|
|
142
|
+
}>>;
|
|
143
|
+
}>;
|
|
144
|
+
type DevMetadata = Static<typeof devMetadataSchema>;
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region src/schemas/DevModuleMetadata.d.ts
|
|
147
|
+
declare const devModuleMetadataSchema: typebox156.TObject<{
|
|
148
|
+
name: typebox156.TString;
|
|
149
|
+
providers: typebox156.TArray<typebox156.TString>;
|
|
150
|
+
}>;
|
|
151
|
+
type DevModuleMetadata = Static<typeof devModuleMetadataSchema>;
|
|
152
|
+
//#endregion
|
|
153
|
+
//#region src/schemas/DevPageMetadata.d.ts
|
|
154
|
+
declare const devPageMetadataSchema: typebox156.TObject<{
|
|
155
|
+
name: typebox156.TString;
|
|
156
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
157
|
+
path: typebox156.TOptional<typebox156.TString>;
|
|
158
|
+
params: typebox156.TOptional<typebox156.TAny>;
|
|
159
|
+
query: typebox156.TOptional<typebox156.TAny>;
|
|
160
|
+
hasComponent: typebox156.TBoolean;
|
|
161
|
+
hasLazy: typebox156.TBoolean;
|
|
162
|
+
hasResolve: typebox156.TBoolean;
|
|
163
|
+
hasChildren: typebox156.TBoolean;
|
|
164
|
+
hasParent: typebox156.TBoolean;
|
|
165
|
+
hasErrorHandler: typebox156.TBoolean;
|
|
166
|
+
static: typebox156.TOptional<typebox156.TBoolean>;
|
|
167
|
+
cache: typebox156.TOptional<typebox156.TAny>;
|
|
168
|
+
client: typebox156.TOptional<typebox156.TAny>;
|
|
169
|
+
animation: typebox156.TOptional<typebox156.TAny>;
|
|
170
|
+
}>;
|
|
171
|
+
type DevPageMetadata = Static<typeof devPageMetadataSchema>;
|
|
172
|
+
//#endregion
|
|
173
|
+
//#region src/schemas/DevProviderMetadata.d.ts
|
|
174
|
+
declare const devProviderMetadataSchema: typebox156.TObject<{
|
|
175
|
+
name: typebox156.TString;
|
|
176
|
+
module: typebox156.TOptional<typebox156.TString>;
|
|
177
|
+
dependencies: typebox156.TArray<typebox156.TString>;
|
|
178
|
+
aliases: typebox156.TOptional<typebox156.TArray<typebox156.TString>>;
|
|
179
|
+
}>;
|
|
180
|
+
type DevProviderMetadata = Static<typeof devProviderMetadataSchema>;
|
|
181
|
+
//#endregion
|
|
182
|
+
//#region src/schemas/DevQueueMetadata.d.ts
|
|
183
|
+
declare const devQueueMetadataSchema: typebox156.TObject<{
|
|
184
|
+
name: typebox156.TString;
|
|
185
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
186
|
+
schema: typebox156.TOptional<typebox156.TAny>;
|
|
187
|
+
provider: typebox156.TString;
|
|
188
|
+
}>;
|
|
189
|
+
type DevQueueMetadata = Static<typeof devQueueMetadataSchema>;
|
|
190
|
+
//#endregion
|
|
191
|
+
//#region src/schemas/DevRealmMetadata.d.ts
|
|
192
|
+
declare const devRealmMetadataSchema: typebox156.TObject<{
|
|
193
|
+
name: typebox156.TString;
|
|
194
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
195
|
+
roles: typebox156.TOptional<typebox156.TArray<typebox156.TAny>>;
|
|
196
|
+
type: typebox156.TUnsafe<"internal" | "external">;
|
|
197
|
+
settings: typebox156.TOptional<typebox156.TObject<{
|
|
198
|
+
accessTokenExpiration: typebox156.TOptional<typebox156.TAny>;
|
|
199
|
+
refreshTokenExpiration: typebox156.TOptional<typebox156.TAny>;
|
|
200
|
+
hasOnCreateSession: typebox156.TBoolean;
|
|
201
|
+
hasOnRefreshSession: typebox156.TBoolean;
|
|
202
|
+
hasOnDeleteSession: typebox156.TBoolean;
|
|
203
|
+
}>>;
|
|
204
|
+
}>;
|
|
205
|
+
type DevRealmMetadata = Static<typeof devRealmMetadataSchema>;
|
|
206
|
+
//#endregion
|
|
207
|
+
//#region src/schemas/DevSchedulerMetadata.d.ts
|
|
208
|
+
declare const devSchedulerMetadataSchema: typebox156.TObject<{
|
|
209
|
+
name: typebox156.TString;
|
|
210
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
211
|
+
cron: typebox156.TOptional<typebox156.TString>;
|
|
212
|
+
interval: typebox156.TOptional<typebox156.TAny>;
|
|
213
|
+
lock: typebox156.TOptional<typebox156.TBoolean>;
|
|
214
|
+
}>;
|
|
215
|
+
type DevSchedulerMetadata = Static<typeof devSchedulerMetadataSchema>;
|
|
216
|
+
//#endregion
|
|
217
|
+
//#region src/schemas/DevTopicMetadata.d.ts
|
|
218
|
+
declare const devTopicMetadataSchema: typebox156.TObject<{
|
|
219
|
+
name: typebox156.TString;
|
|
220
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
221
|
+
schema: typebox156.TOptional<typebox156.TAny>;
|
|
222
|
+
provider: typebox156.TString;
|
|
223
|
+
}>;
|
|
224
|
+
type DevTopicMetadata = Static<typeof devTopicMetadataSchema>;
|
|
225
|
+
//#endregion
|
|
226
|
+
//#region src/DevCollectorProvider.d.ts
|
|
227
|
+
declare class DevCollectorProvider {
|
|
228
|
+
protected readonly alepha: Alepha;
|
|
229
|
+
protected readonly serverProvider: ServerProvider;
|
|
230
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
231
|
+
protected readonly logs: LogEntry[];
|
|
232
|
+
protected readonly maxLogs = 10000;
|
|
233
|
+
protected readonly onStart: _alepha_core1.HookDescriptor<"start">;
|
|
234
|
+
protected readonly onLog: _alepha_core1.HookDescriptor<"log">;
|
|
235
|
+
protected readonly uiRoute: _alepha_server_static0.ServeDescriptor;
|
|
236
|
+
protected readonly metadataRoute: _alepha_server0.RouteDescriptor<{
|
|
237
|
+
response: typebox156.TObject<{
|
|
238
|
+
actions: typebox156.TArray<typebox156.TObject<{
|
|
239
|
+
name: typebox156.TString;
|
|
240
|
+
group: typebox156.TString;
|
|
241
|
+
method: typebox156.TString;
|
|
242
|
+
path: typebox156.TString;
|
|
243
|
+
prefix: typebox156.TString;
|
|
244
|
+
fullPath: typebox156.TString;
|
|
245
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
246
|
+
summary: typebox156.TOptional<typebox156.TString>;
|
|
247
|
+
disabled: typebox156.TOptional<typebox156.TBoolean>;
|
|
248
|
+
secure: typebox156.TOptional<typebox156.TBoolean>;
|
|
249
|
+
hide: typebox156.TOptional<typebox156.TBoolean>;
|
|
250
|
+
body: typebox156.TOptional<typebox156.TAny>;
|
|
251
|
+
params: typebox156.TOptional<typebox156.TAny>;
|
|
252
|
+
query: typebox156.TOptional<typebox156.TAny>;
|
|
253
|
+
response: typebox156.TOptional<typebox156.TAny>;
|
|
254
|
+
bodyContentType: typebox156.TOptional<typebox156.TString>;
|
|
255
|
+
}>>;
|
|
256
|
+
queues: typebox156.TArray<typebox156.TObject<{
|
|
257
|
+
name: typebox156.TString;
|
|
258
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
259
|
+
schema: typebox156.TOptional<typebox156.TAny>;
|
|
260
|
+
provider: typebox156.TString;
|
|
261
|
+
}>>;
|
|
262
|
+
schedulers: typebox156.TArray<typebox156.TObject<{
|
|
263
|
+
name: typebox156.TString;
|
|
264
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
265
|
+
cron: typebox156.TOptional<typebox156.TString>;
|
|
266
|
+
interval: typebox156.TOptional<typebox156.TAny>;
|
|
267
|
+
lock: typebox156.TOptional<typebox156.TBoolean>;
|
|
268
|
+
}>>;
|
|
269
|
+
topics: typebox156.TArray<typebox156.TObject<{
|
|
270
|
+
name: typebox156.TString;
|
|
271
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
272
|
+
schema: typebox156.TOptional<typebox156.TAny>;
|
|
273
|
+
provider: typebox156.TString;
|
|
274
|
+
}>>;
|
|
275
|
+
buckets: typebox156.TArray<typebox156.TObject<{
|
|
276
|
+
name: typebox156.TString;
|
|
277
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
278
|
+
mimeTypes: typebox156.TOptional<typebox156.TArray<typebox156.TString>>;
|
|
279
|
+
maxSize: typebox156.TOptional<typebox156.TNumber>;
|
|
280
|
+
provider: typebox156.TString;
|
|
281
|
+
}>>;
|
|
282
|
+
realms: typebox156.TArray<typebox156.TObject<{
|
|
283
|
+
name: typebox156.TString;
|
|
284
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
285
|
+
roles: typebox156.TOptional<typebox156.TArray<typebox156.TAny>>;
|
|
286
|
+
type: typebox156.TUnsafe<"internal" | "external">;
|
|
287
|
+
settings: typebox156.TOptional<typebox156.TObject<{
|
|
288
|
+
accessTokenExpiration: typebox156.TOptional<typebox156.TAny>;
|
|
289
|
+
refreshTokenExpiration: typebox156.TOptional<typebox156.TAny>;
|
|
290
|
+
hasOnCreateSession: typebox156.TBoolean;
|
|
291
|
+
hasOnRefreshSession: typebox156.TBoolean;
|
|
292
|
+
hasOnDeleteSession: typebox156.TBoolean;
|
|
293
|
+
}>>;
|
|
294
|
+
}>>;
|
|
295
|
+
caches: typebox156.TArray<typebox156.TObject<{
|
|
296
|
+
name: typebox156.TString;
|
|
297
|
+
ttl: typebox156.TOptional<typebox156.TAny>;
|
|
298
|
+
disabled: typebox156.TOptional<typebox156.TBoolean>;
|
|
299
|
+
provider: typebox156.TString;
|
|
300
|
+
}>>;
|
|
301
|
+
pages: typebox156.TArray<typebox156.TObject<{
|
|
302
|
+
name: typebox156.TString;
|
|
303
|
+
description: typebox156.TOptional<typebox156.TString>;
|
|
304
|
+
path: typebox156.TOptional<typebox156.TString>;
|
|
305
|
+
params: typebox156.TOptional<typebox156.TAny>;
|
|
306
|
+
query: typebox156.TOptional<typebox156.TAny>;
|
|
307
|
+
hasComponent: typebox156.TBoolean;
|
|
308
|
+
hasLazy: typebox156.TBoolean;
|
|
309
|
+
hasResolve: typebox156.TBoolean;
|
|
310
|
+
hasChildren: typebox156.TBoolean;
|
|
311
|
+
hasParent: typebox156.TBoolean;
|
|
312
|
+
hasErrorHandler: typebox156.TBoolean;
|
|
313
|
+
static: typebox156.TOptional<typebox156.TBoolean>;
|
|
314
|
+
cache: typebox156.TOptional<typebox156.TAny>;
|
|
315
|
+
client: typebox156.TOptional<typebox156.TAny>;
|
|
316
|
+
animation: typebox156.TOptional<typebox156.TAny>;
|
|
317
|
+
}>>;
|
|
318
|
+
providers: typebox156.TArray<typebox156.TObject<{
|
|
319
|
+
name: typebox156.TString;
|
|
320
|
+
module: typebox156.TOptional<typebox156.TString>;
|
|
321
|
+
dependencies: typebox156.TArray<typebox156.TString>;
|
|
322
|
+
aliases: typebox156.TOptional<typebox156.TArray<typebox156.TString>>;
|
|
323
|
+
}>>;
|
|
324
|
+
modules: typebox156.TArray<typebox156.TObject<{
|
|
325
|
+
name: typebox156.TString;
|
|
326
|
+
providers: typebox156.TArray<typebox156.TString>;
|
|
327
|
+
}>>;
|
|
328
|
+
}>;
|
|
329
|
+
}>;
|
|
330
|
+
protected readonly logsRoute: _alepha_server0.RouteDescriptor<{
|
|
331
|
+
response: typebox156.TArray<typebox156.TObject<{
|
|
332
|
+
level: typebox156.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
333
|
+
message: typebox156.TString;
|
|
334
|
+
service: typebox156.TString;
|
|
335
|
+
module: typebox156.TString;
|
|
336
|
+
context: typebox156.TOptional<typebox156.TString>;
|
|
337
|
+
app: typebox156.TOptional<typebox156.TString>;
|
|
338
|
+
data: typebox156.TOptional<typebox156.TAny>;
|
|
339
|
+
timestamp: typebox156.TCodec<typebox156.TString, dayjs0.Dayjs>;
|
|
340
|
+
}>>;
|
|
341
|
+
}>;
|
|
342
|
+
getLogs(): LogEntry[];
|
|
343
|
+
getActions(): DevActionMetadata[];
|
|
344
|
+
getQueues(): DevQueueMetadata[];
|
|
345
|
+
getSchedulers(): DevSchedulerMetadata[];
|
|
346
|
+
getTopics(): DevTopicMetadata[];
|
|
347
|
+
getBuckets(): DevBucketMetadata[];
|
|
348
|
+
getRealms(): DevRealmMetadata[];
|
|
349
|
+
getCaches(): DevCacheMetadata[];
|
|
350
|
+
getPages(): DevPageMetadata[];
|
|
351
|
+
getProviders(): DevProviderMetadata[];
|
|
352
|
+
getModules(): DevModuleMetadata[];
|
|
353
|
+
getMetadata(): DevMetadata;
|
|
354
|
+
protected getProviderName(provider?: "memory" | any): string;
|
|
355
|
+
}
|
|
356
|
+
//#endregion
|
|
357
|
+
//#region src/index.d.ts
|
|
358
|
+
/**
|
|
359
|
+
* Developer tools module for monitoring and debugging Alepha applications.
|
|
360
|
+
*
|
|
361
|
+
* This module provides comprehensive data collection capabilities for tracking application behavior,
|
|
362
|
+
* performance metrics, and debugging information in real-time.
|
|
363
|
+
*
|
|
364
|
+
* @see {@link DevCollectorProvider}
|
|
365
|
+
* @module alepha.devtools
|
|
366
|
+
*/
|
|
367
|
+
declare const AlephaDevtools: _alepha_core1.Service<_alepha_core1.Module<{}>>;
|
|
368
|
+
//#endregion
|
|
369
|
+
export { AlephaDevtools, DevActionMetadata, DevBucketMetadata, DevCacheMetadata, DevCollectorProvider, DevMetadata, DevModuleMetadata, DevPageMetadata, DevProviderMetadata, DevQueueMetadata, DevRealmMetadata, DevSchedulerMetadata, DevTopicMetadata, devActionMetadataSchema, devBucketMetadataSchema, devCacheMetadataSchema, devMetadataSchema, devModuleMetadataSchema, devPageMetadataSchema, devProviderMetadataSchema, devQueueMetadataSchema, devRealmMetadataSchema, devSchedulerMetadataSchema, devTopicMetadataSchema };
|
|
370
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","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/DevCollectorProvider.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;cAEa,oCAAuB;QAiBlC,UAAA,CAAA;;;;;;;;;EAjBW,MAAA,sBAiBX,qBAAA;EAAA,IAAA,sBAAA,qBAAA;;;;;;;KAEU,iBAAA,GAAoB,cAAc;;;cCnBjC,oCAAuB;QAMlC,UAAA,CAAA;;;;;;KAEU,iBAAA,GAAoB,cAAc;;;cCRjC,mCAAsB;QAKjC,UAAA,CAAA;;;;;KAEU,gBAAA,GAAmB,cAAc;;;cCGhC,8BAAiB;;UAY5B,UAAA,CAAA;;;;;;;;IHtBW,QAAA,sBAiBX,qBAAA;IAAA,MAAA,sBAAA,qBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;EAjBkC,OAAA,mBAAA,mBAAA,CAAA;IAmBxB,IAAA,oBAAkC;;;;ICnBjC,QAAA,oBAMX;EAAA,CAAA,CAAA,CAAA;;;;;;;;;MANkC,kBAAA,qBAAA;MAAA,mBAAA,qBAAA;M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