@alepha/devtools 0.10.2
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/LICENSE +21 -0
- package/README.md +30 -0
- package/dist/index.d.ts +367 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +350 -0
- package/dist/index.js.map +1 -0
- package/package.json +58 -0
- package/src/DevCollectorProvider.ts +244 -0
- package/src/index.ts +35 -0
- package/src/schemas/DevActionMetadata.ts +22 -0
- package/src/schemas/DevBucketMetadata.ts +11 -0
- package/src/schemas/DevCacheMetadata.ts +10 -0
- package/src/schemas/DevLogEntry.ts +11 -0
- package/src/schemas/DevMetadata.ts +29 -0
- package/src/schemas/DevModuleMetadata.ts +8 -0
- package/src/schemas/DevPageMetadata.ts +21 -0
- package/src/schemas/DevProviderMetadata.ts +10 -0
- package/src/schemas/DevQueueMetadata.ts +10 -0
- package/src/schemas/DevRealmMetadata.ts +19 -0
- package/src/schemas/DevSchedulerMetadata.ts +11 -0
- package/src/schemas/DevTopicMetadata.ts +10 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Feunard
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Alepha Devtools
|
|
2
|
+
|
|
3
|
+
Developer tools for monitoring and debugging Alepha applications.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
This package is part of the Alepha framework and can be installed via the all-in-one package:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install alepha
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Module
|
|
14
|
+
|
|
15
|
+
Developer tools module for monitoring and debugging Alepha applications.
|
|
16
|
+
|
|
17
|
+
This module provides comprehensive data collection capabilities for tracking application behavior,
|
|
18
|
+
performance metrics, and debugging information in real-time.
|
|
19
|
+
|
|
20
|
+
This module can be imported and used as follows:
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { Alepha, run } from "alepha";
|
|
24
|
+
import { AlephaDevtools } from "alepha/devtools";
|
|
25
|
+
|
|
26
|
+
const alepha = Alepha.create()
|
|
27
|
+
.with(AlephaDevtools);
|
|
28
|
+
|
|
29
|
+
run(alepha);
|
|
30
|
+
```
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
import * as _alepha_core1 from "@alepha/core";
|
|
2
|
+
import { Alepha, Static } from "@alepha/core";
|
|
3
|
+
import * as _alepha_server0 from "@alepha/server";
|
|
4
|
+
import * as typebox0 from "typebox";
|
|
5
|
+
import { LogEntry } from "@alepha/logger";
|
|
6
|
+
|
|
7
|
+
//#region src/schemas/DevActionMetadata.d.ts
|
|
8
|
+
declare const devActionMetadataSchema: typebox0.TObject<{
|
|
9
|
+
name: typebox0.TString;
|
|
10
|
+
group: typebox0.TString;
|
|
11
|
+
method: typebox0.TString;
|
|
12
|
+
path: typebox0.TString;
|
|
13
|
+
prefix: typebox0.TString;
|
|
14
|
+
fullPath: typebox0.TString;
|
|
15
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
16
|
+
summary: typebox0.TOptional<typebox0.TString>;
|
|
17
|
+
disabled: typebox0.TOptional<typebox0.TBoolean>;
|
|
18
|
+
secure: typebox0.TOptional<typebox0.TBoolean>;
|
|
19
|
+
hide: typebox0.TOptional<typebox0.TBoolean>;
|
|
20
|
+
body: typebox0.TOptional<typebox0.TAny>;
|
|
21
|
+
params: typebox0.TOptional<typebox0.TAny>;
|
|
22
|
+
query: typebox0.TOptional<typebox0.TAny>;
|
|
23
|
+
response: typebox0.TOptional<typebox0.TAny>;
|
|
24
|
+
bodyContentType: typebox0.TOptional<typebox0.TString>;
|
|
25
|
+
}>;
|
|
26
|
+
type DevActionMetadata = Static<typeof devActionMetadataSchema>;
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/schemas/DevBucketMetadata.d.ts
|
|
29
|
+
declare const devBucketMetadataSchema: typebox0.TObject<{
|
|
30
|
+
name: typebox0.TString;
|
|
31
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
32
|
+
mimeTypes: typebox0.TOptional<typebox0.TArray<typebox0.TString>>;
|
|
33
|
+
maxSize: typebox0.TOptional<typebox0.TNumber>;
|
|
34
|
+
provider: typebox0.TString;
|
|
35
|
+
}>;
|
|
36
|
+
type DevBucketMetadata = Static<typeof devBucketMetadataSchema>;
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/schemas/DevCacheMetadata.d.ts
|
|
39
|
+
declare const devCacheMetadataSchema: typebox0.TObject<{
|
|
40
|
+
name: typebox0.TString;
|
|
41
|
+
ttl: typebox0.TOptional<typebox0.TAny>;
|
|
42
|
+
disabled: typebox0.TOptional<typebox0.TBoolean>;
|
|
43
|
+
provider: typebox0.TString;
|
|
44
|
+
}>;
|
|
45
|
+
type DevCacheMetadata = Static<typeof devCacheMetadataSchema>;
|
|
46
|
+
//#endregion
|
|
47
|
+
//#region src/schemas/DevLogEntry.d.ts
|
|
48
|
+
declare const devLogEntrySchema: typebox0.TObject<{
|
|
49
|
+
formatted: typebox0.TString;
|
|
50
|
+
entry: typebox0.TAny;
|
|
51
|
+
}>;
|
|
52
|
+
type DevLogEntry = Static<typeof devLogEntrySchema> & {
|
|
53
|
+
entry: LogEntry;
|
|
54
|
+
};
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region src/schemas/DevMetadata.d.ts
|
|
57
|
+
declare const devMetadataSchema: typebox0.TObject<{
|
|
58
|
+
logs: typebox0.TArray<typebox0.TObject<{
|
|
59
|
+
formatted: typebox0.TString;
|
|
60
|
+
entry: typebox0.TAny;
|
|
61
|
+
}>>;
|
|
62
|
+
actions: typebox0.TArray<typebox0.TObject<{
|
|
63
|
+
name: typebox0.TString;
|
|
64
|
+
group: typebox0.TString;
|
|
65
|
+
method: typebox0.TString;
|
|
66
|
+
path: typebox0.TString;
|
|
67
|
+
prefix: typebox0.TString;
|
|
68
|
+
fullPath: typebox0.TString;
|
|
69
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
70
|
+
summary: typebox0.TOptional<typebox0.TString>;
|
|
71
|
+
disabled: typebox0.TOptional<typebox0.TBoolean>;
|
|
72
|
+
secure: typebox0.TOptional<typebox0.TBoolean>;
|
|
73
|
+
hide: typebox0.TOptional<typebox0.TBoolean>;
|
|
74
|
+
body: typebox0.TOptional<typebox0.TAny>;
|
|
75
|
+
params: typebox0.TOptional<typebox0.TAny>;
|
|
76
|
+
query: typebox0.TOptional<typebox0.TAny>;
|
|
77
|
+
response: typebox0.TOptional<typebox0.TAny>;
|
|
78
|
+
bodyContentType: typebox0.TOptional<typebox0.TString>;
|
|
79
|
+
}>>;
|
|
80
|
+
queues: typebox0.TArray<typebox0.TObject<{
|
|
81
|
+
name: typebox0.TString;
|
|
82
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
83
|
+
schema: typebox0.TOptional<typebox0.TAny>;
|
|
84
|
+
provider: typebox0.TString;
|
|
85
|
+
}>>;
|
|
86
|
+
schedulers: typebox0.TArray<typebox0.TObject<{
|
|
87
|
+
name: typebox0.TString;
|
|
88
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
89
|
+
cron: typebox0.TOptional<typebox0.TString>;
|
|
90
|
+
interval: typebox0.TOptional<typebox0.TAny>;
|
|
91
|
+
lock: typebox0.TOptional<typebox0.TBoolean>;
|
|
92
|
+
}>>;
|
|
93
|
+
topics: typebox0.TArray<typebox0.TObject<{
|
|
94
|
+
name: typebox0.TString;
|
|
95
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
96
|
+
schema: typebox0.TOptional<typebox0.TAny>;
|
|
97
|
+
provider: typebox0.TString;
|
|
98
|
+
}>>;
|
|
99
|
+
buckets: typebox0.TArray<typebox0.TObject<{
|
|
100
|
+
name: typebox0.TString;
|
|
101
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
102
|
+
mimeTypes: typebox0.TOptional<typebox0.TArray<typebox0.TString>>;
|
|
103
|
+
maxSize: typebox0.TOptional<typebox0.TNumber>;
|
|
104
|
+
provider: typebox0.TString;
|
|
105
|
+
}>>;
|
|
106
|
+
realms: typebox0.TArray<typebox0.TObject<{
|
|
107
|
+
name: typebox0.TString;
|
|
108
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
109
|
+
roles: typebox0.TOptional<typebox0.TArray<typebox0.TAny>>;
|
|
110
|
+
type: typebox0.TUnsafe<"internal" | "external">;
|
|
111
|
+
settings: typebox0.TOptional<typebox0.TObject<{
|
|
112
|
+
accessTokenExpiration: typebox0.TOptional<typebox0.TAny>;
|
|
113
|
+
refreshTokenExpiration: typebox0.TOptional<typebox0.TAny>;
|
|
114
|
+
hasOnCreateSession: typebox0.TBoolean;
|
|
115
|
+
hasOnRefreshSession: typebox0.TBoolean;
|
|
116
|
+
hasOnDeleteSession: typebox0.TBoolean;
|
|
117
|
+
}>>;
|
|
118
|
+
}>>;
|
|
119
|
+
caches: typebox0.TArray<typebox0.TObject<{
|
|
120
|
+
name: typebox0.TString;
|
|
121
|
+
ttl: typebox0.TOptional<typebox0.TAny>;
|
|
122
|
+
disabled: typebox0.TOptional<typebox0.TBoolean>;
|
|
123
|
+
provider: typebox0.TString;
|
|
124
|
+
}>>;
|
|
125
|
+
pages: typebox0.TArray<typebox0.TObject<{
|
|
126
|
+
name: typebox0.TString;
|
|
127
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
128
|
+
path: typebox0.TOptional<typebox0.TString>;
|
|
129
|
+
params: typebox0.TOptional<typebox0.TAny>;
|
|
130
|
+
query: typebox0.TOptional<typebox0.TAny>;
|
|
131
|
+
hasComponent: typebox0.TBoolean;
|
|
132
|
+
hasLazy: typebox0.TBoolean;
|
|
133
|
+
hasResolve: typebox0.TBoolean;
|
|
134
|
+
hasChildren: typebox0.TBoolean;
|
|
135
|
+
hasParent: typebox0.TBoolean;
|
|
136
|
+
hasErrorHandler: typebox0.TBoolean;
|
|
137
|
+
static: typebox0.TOptional<typebox0.TBoolean>;
|
|
138
|
+
cache: typebox0.TOptional<typebox0.TAny>;
|
|
139
|
+
client: typebox0.TOptional<typebox0.TAny>;
|
|
140
|
+
animation: typebox0.TOptional<typebox0.TAny>;
|
|
141
|
+
}>>;
|
|
142
|
+
providers: typebox0.TArray<typebox0.TObject<{
|
|
143
|
+
name: typebox0.TString;
|
|
144
|
+
module: typebox0.TOptional<typebox0.TString>;
|
|
145
|
+
dependencies: typebox0.TArray<typebox0.TString>;
|
|
146
|
+
aliases: typebox0.TOptional<typebox0.TArray<typebox0.TString>>;
|
|
147
|
+
}>>;
|
|
148
|
+
modules: typebox0.TArray<typebox0.TObject<{
|
|
149
|
+
name: typebox0.TString;
|
|
150
|
+
providers: typebox0.TArray<typebox0.TString>;
|
|
151
|
+
}>>;
|
|
152
|
+
}>;
|
|
153
|
+
type DevMetadata = Static<typeof devMetadataSchema>;
|
|
154
|
+
//#endregion
|
|
155
|
+
//#region src/schemas/DevModuleMetadata.d.ts
|
|
156
|
+
declare const devModuleMetadataSchema: typebox0.TObject<{
|
|
157
|
+
name: typebox0.TString;
|
|
158
|
+
providers: typebox0.TArray<typebox0.TString>;
|
|
159
|
+
}>;
|
|
160
|
+
type DevModuleMetadata = Static<typeof devModuleMetadataSchema>;
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region src/schemas/DevPageMetadata.d.ts
|
|
163
|
+
declare const devPageMetadataSchema: typebox0.TObject<{
|
|
164
|
+
name: typebox0.TString;
|
|
165
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
166
|
+
path: typebox0.TOptional<typebox0.TString>;
|
|
167
|
+
params: typebox0.TOptional<typebox0.TAny>;
|
|
168
|
+
query: typebox0.TOptional<typebox0.TAny>;
|
|
169
|
+
hasComponent: typebox0.TBoolean;
|
|
170
|
+
hasLazy: typebox0.TBoolean;
|
|
171
|
+
hasResolve: typebox0.TBoolean;
|
|
172
|
+
hasChildren: typebox0.TBoolean;
|
|
173
|
+
hasParent: typebox0.TBoolean;
|
|
174
|
+
hasErrorHandler: typebox0.TBoolean;
|
|
175
|
+
static: typebox0.TOptional<typebox0.TBoolean>;
|
|
176
|
+
cache: typebox0.TOptional<typebox0.TAny>;
|
|
177
|
+
client: typebox0.TOptional<typebox0.TAny>;
|
|
178
|
+
animation: typebox0.TOptional<typebox0.TAny>;
|
|
179
|
+
}>;
|
|
180
|
+
type DevPageMetadata = Static<typeof devPageMetadataSchema>;
|
|
181
|
+
//#endregion
|
|
182
|
+
//#region src/schemas/DevProviderMetadata.d.ts
|
|
183
|
+
declare const devProviderMetadataSchema: typebox0.TObject<{
|
|
184
|
+
name: typebox0.TString;
|
|
185
|
+
module: typebox0.TOptional<typebox0.TString>;
|
|
186
|
+
dependencies: typebox0.TArray<typebox0.TString>;
|
|
187
|
+
aliases: typebox0.TOptional<typebox0.TArray<typebox0.TString>>;
|
|
188
|
+
}>;
|
|
189
|
+
type DevProviderMetadata = Static<typeof devProviderMetadataSchema>;
|
|
190
|
+
//#endregion
|
|
191
|
+
//#region src/schemas/DevQueueMetadata.d.ts
|
|
192
|
+
declare const devQueueMetadataSchema: typebox0.TObject<{
|
|
193
|
+
name: typebox0.TString;
|
|
194
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
195
|
+
schema: typebox0.TOptional<typebox0.TAny>;
|
|
196
|
+
provider: typebox0.TString;
|
|
197
|
+
}>;
|
|
198
|
+
type DevQueueMetadata = Static<typeof devQueueMetadataSchema>;
|
|
199
|
+
//#endregion
|
|
200
|
+
//#region src/schemas/DevRealmMetadata.d.ts
|
|
201
|
+
declare const devRealmMetadataSchema: typebox0.TObject<{
|
|
202
|
+
name: typebox0.TString;
|
|
203
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
204
|
+
roles: typebox0.TOptional<typebox0.TArray<typebox0.TAny>>;
|
|
205
|
+
type: typebox0.TUnsafe<"internal" | "external">;
|
|
206
|
+
settings: typebox0.TOptional<typebox0.TObject<{
|
|
207
|
+
accessTokenExpiration: typebox0.TOptional<typebox0.TAny>;
|
|
208
|
+
refreshTokenExpiration: typebox0.TOptional<typebox0.TAny>;
|
|
209
|
+
hasOnCreateSession: typebox0.TBoolean;
|
|
210
|
+
hasOnRefreshSession: typebox0.TBoolean;
|
|
211
|
+
hasOnDeleteSession: typebox0.TBoolean;
|
|
212
|
+
}>>;
|
|
213
|
+
}>;
|
|
214
|
+
type DevRealmMetadata = Static<typeof devRealmMetadataSchema>;
|
|
215
|
+
//#endregion
|
|
216
|
+
//#region src/schemas/DevSchedulerMetadata.d.ts
|
|
217
|
+
declare const devSchedulerMetadataSchema: typebox0.TObject<{
|
|
218
|
+
name: typebox0.TString;
|
|
219
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
220
|
+
cron: typebox0.TOptional<typebox0.TString>;
|
|
221
|
+
interval: typebox0.TOptional<typebox0.TAny>;
|
|
222
|
+
lock: typebox0.TOptional<typebox0.TBoolean>;
|
|
223
|
+
}>;
|
|
224
|
+
type DevSchedulerMetadata = Static<typeof devSchedulerMetadataSchema>;
|
|
225
|
+
//#endregion
|
|
226
|
+
//#region src/schemas/DevTopicMetadata.d.ts
|
|
227
|
+
declare const devTopicMetadataSchema: typebox0.TObject<{
|
|
228
|
+
name: typebox0.TString;
|
|
229
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
230
|
+
schema: typebox0.TOptional<typebox0.TAny>;
|
|
231
|
+
provider: typebox0.TString;
|
|
232
|
+
}>;
|
|
233
|
+
type DevTopicMetadata = Static<typeof devTopicMetadataSchema>;
|
|
234
|
+
//#endregion
|
|
235
|
+
//#region src/DevCollectorProvider.d.ts
|
|
236
|
+
declare class DevCollectorProvider {
|
|
237
|
+
protected readonly alepha: Alepha;
|
|
238
|
+
protected readonly logs: DevLogEntry[];
|
|
239
|
+
protected readonly maxLogs = 1000;
|
|
240
|
+
protected readonly onLog: _alepha_core1.HookDescriptor<"log">;
|
|
241
|
+
getLogs(): DevLogEntry[];
|
|
242
|
+
getActions(): DevActionMetadata[];
|
|
243
|
+
getQueues(): DevQueueMetadata[];
|
|
244
|
+
getSchedulers(): DevSchedulerMetadata[];
|
|
245
|
+
getTopics(): DevTopicMetadata[];
|
|
246
|
+
getBuckets(): DevBucketMetadata[];
|
|
247
|
+
getRealms(): DevRealmMetadata[];
|
|
248
|
+
getCaches(): DevCacheMetadata[];
|
|
249
|
+
getPages(): DevPageMetadata[];
|
|
250
|
+
getProviders(): DevProviderMetadata[];
|
|
251
|
+
getModules(): DevModuleMetadata[];
|
|
252
|
+
getMetadata(): DevMetadata;
|
|
253
|
+
protected readonly metadataRoute: _alepha_server0.RouteDescriptor<{
|
|
254
|
+
response: typebox0.TObject<{
|
|
255
|
+
logs: typebox0.TArray<typebox0.TObject<{
|
|
256
|
+
formatted: typebox0.TString;
|
|
257
|
+
entry: typebox0.TAny;
|
|
258
|
+
}>>;
|
|
259
|
+
actions: typebox0.TArray<typebox0.TObject<{
|
|
260
|
+
name: typebox0.TString;
|
|
261
|
+
group: typebox0.TString;
|
|
262
|
+
method: typebox0.TString;
|
|
263
|
+
path: typebox0.TString;
|
|
264
|
+
prefix: typebox0.TString;
|
|
265
|
+
fullPath: typebox0.TString;
|
|
266
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
267
|
+
summary: typebox0.TOptional<typebox0.TString>;
|
|
268
|
+
disabled: typebox0.TOptional<typebox0.TBoolean>;
|
|
269
|
+
secure: typebox0.TOptional<typebox0.TBoolean>;
|
|
270
|
+
hide: typebox0.TOptional<typebox0.TBoolean>;
|
|
271
|
+
body: typebox0.TOptional<typebox0.TAny>;
|
|
272
|
+
params: typebox0.TOptional<typebox0.TAny>;
|
|
273
|
+
query: typebox0.TOptional<typebox0.TAny>;
|
|
274
|
+
response: typebox0.TOptional<typebox0.TAny>;
|
|
275
|
+
bodyContentType: typebox0.TOptional<typebox0.TString>;
|
|
276
|
+
}>>;
|
|
277
|
+
queues: typebox0.TArray<typebox0.TObject<{
|
|
278
|
+
name: typebox0.TString;
|
|
279
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
280
|
+
schema: typebox0.TOptional<typebox0.TAny>;
|
|
281
|
+
provider: typebox0.TString;
|
|
282
|
+
}>>;
|
|
283
|
+
schedulers: typebox0.TArray<typebox0.TObject<{
|
|
284
|
+
name: typebox0.TString;
|
|
285
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
286
|
+
cron: typebox0.TOptional<typebox0.TString>;
|
|
287
|
+
interval: typebox0.TOptional<typebox0.TAny>;
|
|
288
|
+
lock: typebox0.TOptional<typebox0.TBoolean>;
|
|
289
|
+
}>>;
|
|
290
|
+
topics: typebox0.TArray<typebox0.TObject<{
|
|
291
|
+
name: typebox0.TString;
|
|
292
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
293
|
+
schema: typebox0.TOptional<typebox0.TAny>;
|
|
294
|
+
provider: typebox0.TString;
|
|
295
|
+
}>>;
|
|
296
|
+
buckets: typebox0.TArray<typebox0.TObject<{
|
|
297
|
+
name: typebox0.TString;
|
|
298
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
299
|
+
mimeTypes: typebox0.TOptional<typebox0.TArray<typebox0.TString>>;
|
|
300
|
+
maxSize: typebox0.TOptional<typebox0.TNumber>;
|
|
301
|
+
provider: typebox0.TString;
|
|
302
|
+
}>>;
|
|
303
|
+
realms: typebox0.TArray<typebox0.TObject<{
|
|
304
|
+
name: typebox0.TString;
|
|
305
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
306
|
+
roles: typebox0.TOptional<typebox0.TArray<typebox0.TAny>>;
|
|
307
|
+
type: typebox0.TUnsafe<"internal" | "external">;
|
|
308
|
+
settings: typebox0.TOptional<typebox0.TObject<{
|
|
309
|
+
accessTokenExpiration: typebox0.TOptional<typebox0.TAny>;
|
|
310
|
+
refreshTokenExpiration: typebox0.TOptional<typebox0.TAny>;
|
|
311
|
+
hasOnCreateSession: typebox0.TBoolean;
|
|
312
|
+
hasOnRefreshSession: typebox0.TBoolean;
|
|
313
|
+
hasOnDeleteSession: typebox0.TBoolean;
|
|
314
|
+
}>>;
|
|
315
|
+
}>>;
|
|
316
|
+
caches: typebox0.TArray<typebox0.TObject<{
|
|
317
|
+
name: typebox0.TString;
|
|
318
|
+
ttl: typebox0.TOptional<typebox0.TAny>;
|
|
319
|
+
disabled: typebox0.TOptional<typebox0.TBoolean>;
|
|
320
|
+
provider: typebox0.TString;
|
|
321
|
+
}>>;
|
|
322
|
+
pages: typebox0.TArray<typebox0.TObject<{
|
|
323
|
+
name: typebox0.TString;
|
|
324
|
+
description: typebox0.TOptional<typebox0.TString>;
|
|
325
|
+
path: typebox0.TOptional<typebox0.TString>;
|
|
326
|
+
params: typebox0.TOptional<typebox0.TAny>;
|
|
327
|
+
query: typebox0.TOptional<typebox0.TAny>;
|
|
328
|
+
hasComponent: typebox0.TBoolean;
|
|
329
|
+
hasLazy: typebox0.TBoolean;
|
|
330
|
+
hasResolve: typebox0.TBoolean;
|
|
331
|
+
hasChildren: typebox0.TBoolean;
|
|
332
|
+
hasParent: typebox0.TBoolean;
|
|
333
|
+
hasErrorHandler: typebox0.TBoolean;
|
|
334
|
+
static: typebox0.TOptional<typebox0.TBoolean>;
|
|
335
|
+
cache: typebox0.TOptional<typebox0.TAny>;
|
|
336
|
+
client: typebox0.TOptional<typebox0.TAny>;
|
|
337
|
+
animation: typebox0.TOptional<typebox0.TAny>;
|
|
338
|
+
}>>;
|
|
339
|
+
providers: typebox0.TArray<typebox0.TObject<{
|
|
340
|
+
name: typebox0.TString;
|
|
341
|
+
module: typebox0.TOptional<typebox0.TString>;
|
|
342
|
+
dependencies: typebox0.TArray<typebox0.TString>;
|
|
343
|
+
aliases: typebox0.TOptional<typebox0.TArray<typebox0.TString>>;
|
|
344
|
+
}>>;
|
|
345
|
+
modules: typebox0.TArray<typebox0.TObject<{
|
|
346
|
+
name: typebox0.TString;
|
|
347
|
+
providers: typebox0.TArray<typebox0.TString>;
|
|
348
|
+
}>>;
|
|
349
|
+
}>;
|
|
350
|
+
}>;
|
|
351
|
+
protected getProviderName(provider?: "memory" | any): string;
|
|
352
|
+
}
|
|
353
|
+
//#endregion
|
|
354
|
+
//#region src/index.d.ts
|
|
355
|
+
/**
|
|
356
|
+
* Developer tools module for monitoring and debugging Alepha applications.
|
|
357
|
+
*
|
|
358
|
+
* This module provides comprehensive data collection capabilities for tracking application behavior,
|
|
359
|
+
* performance metrics, and debugging information in real-time.
|
|
360
|
+
*
|
|
361
|
+
* @see {@link DevCollectorProvider}
|
|
362
|
+
* @module alepha.devtools
|
|
363
|
+
*/
|
|
364
|
+
declare const AlephaDevtools: _alepha_core1.Service<_alepha_core1.Module<{}>>;
|
|
365
|
+
//#endregion
|
|
366
|
+
export { AlephaDevtools, DevActionMetadata, DevBucketMetadata, DevCacheMetadata, DevCollectorProvider, DevLogEntry, DevMetadata, DevModuleMetadata, DevPageMetadata, DevProviderMetadata, DevQueueMetadata, DevRealmMetadata, DevSchedulerMetadata, DevTopicMetadata, devActionMetadataSchema, devBucketMetadataSchema, devCacheMetadataSchema, devLogEntrySchema, devMetadataSchema, devModuleMetadataSchema, devPageMetadataSchema, devProviderMetadataSchema, devQueueMetadataSchema, devRealmMetadataSchema, devSchedulerMetadataSchema, devTopicMetadataSchema };
|
|
367
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/schemas/DevActionMetadata.ts","../src/schemas/DevBucketMetadata.ts","../src/schemas/DevCacheMetadata.ts","../src/schemas/DevLogEntry.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,kCAAuB;QAiBlC,QAAA,CAAA;;;;;EAjBW,QAAA,kBAiBX;EAAA,WAAA,oBAAA,kBAAA;SAAA,oBAAA,kBAAA;;;;;;;;;;KAEU,iBAAA,GAAoB,cAAc;;;cCnBjC,kCAAuB;QAMlC,QAAA,CAAA;;;;;ADNF,CAAA,CAAA;AAiBE,KCTU,iBAAA,GAAoB,MDS9B,CAAA,OCT4C,uBDS5C,CAAA;;;cEjBW,iCAAsB;QAKjC,QAAA,CAAA;;;;;AFLW,KEOD,gBAAA,GAAmB,MFU7B,CAAA,OEV2C,sBFU3C,CAAA;;;cGhBW,4BAAiB;aAG5B,QAAA,CAAA;;;KAEU,WAAA,GAAc,cAAc;EHN3B,KAAA,EGO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