@alepha/devtools 0.11.6 → 0.11.9
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 +1 -1
- package/dist/index.d.ts +166 -322
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +207 -176
- package/dist/index.js.map +1 -1
- package/package.json +21 -21
- package/src/DevToolsProvider.ts +134 -0
- package/src/entities/logs.ts +21 -0
- package/src/index.ts +15 -5
- package/src/providers/DevToolsDatabaseProvider.ts +11 -0
- package/src/{DevCollectorProvider.ts → providers/DevToolsMetadataProvider.ts} +16 -146
- package/src/repositories/LogRepository.ts +9 -0
- package/src/ui/AppRouter.tsx +3 -66
- package/src/ui/components/DevLayout.tsx +80 -0
- package/src/ui/components/DevLogViewer.tsx +254 -0
- package/src/ui/styles.css +1 -1
- package/src/ui/DevLogs.tsx +0 -145
- package/src/ui/main.server.ts +0 -10
- /package/src/ui/{wotfardregular → resources/wotfardregular}/stylesheet.css +0 -0
- /package/src/ui/{wotfardregular → resources/wotfardregular}/wotfard-regular-webfont.eot +0 -0
- /package/src/ui/{wotfardregular → resources/wotfardregular}/wotfard-regular-webfont.ttf +0 -0
- /package/src/ui/{wotfardregular → resources/wotfardregular}/wotfard-regular-webfont.woff2 +0 -0
package/LICENSE
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,383 +1,227 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alepha_core0 from "@alepha/core";
|
|
2
2
|
import { Alepha, Static } from "@alepha/core";
|
|
3
|
-
import * as _alepha_batch0 from "@alepha/batch";
|
|
4
3
|
import * as _alepha_logger0 from "@alepha/logger";
|
|
5
|
-
import * as
|
|
6
|
-
import { NodeSqliteProvider } from "@alepha/postgres";
|
|
7
|
-
import { Repository } from "@alepha/postgres/src/services/Repository.ts";
|
|
8
|
-
import * as _alepha_server0 from "@alepha/server";
|
|
9
|
-
import { ServerProvider } from "@alepha/server";
|
|
10
|
-
import * as _alepha_server_static0 from "@alepha/server-static";
|
|
11
|
-
import * as typebox192 from "typebox";
|
|
12
|
-
import * as dayjs0 from "dayjs";
|
|
4
|
+
import * as typebox6 from "typebox";
|
|
13
5
|
|
|
14
6
|
//#region src/schemas/DevActionMetadata.d.ts
|
|
15
|
-
declare const devActionMetadataSchema:
|
|
16
|
-
name:
|
|
17
|
-
group:
|
|
18
|
-
method:
|
|
19
|
-
path:
|
|
20
|
-
prefix:
|
|
21
|
-
fullPath:
|
|
22
|
-
description:
|
|
23
|
-
summary:
|
|
24
|
-
disabled:
|
|
25
|
-
secure:
|
|
26
|
-
hide:
|
|
27
|
-
body:
|
|
28
|
-
params:
|
|
29
|
-
query:
|
|
30
|
-
response:
|
|
31
|
-
bodyContentType:
|
|
7
|
+
declare const devActionMetadataSchema: typebox6.TObject<{
|
|
8
|
+
name: typebox6.TString;
|
|
9
|
+
group: typebox6.TString;
|
|
10
|
+
method: typebox6.TString;
|
|
11
|
+
path: typebox6.TString;
|
|
12
|
+
prefix: typebox6.TString;
|
|
13
|
+
fullPath: typebox6.TString;
|
|
14
|
+
description: typebox6.TOptional<typebox6.TString>;
|
|
15
|
+
summary: typebox6.TOptional<typebox6.TString>;
|
|
16
|
+
disabled: typebox6.TOptional<typebox6.TBoolean>;
|
|
17
|
+
secure: typebox6.TOptional<typebox6.TBoolean>;
|
|
18
|
+
hide: typebox6.TOptional<typebox6.TBoolean>;
|
|
19
|
+
body: typebox6.TOptional<typebox6.TAny>;
|
|
20
|
+
params: typebox6.TOptional<typebox6.TAny>;
|
|
21
|
+
query: typebox6.TOptional<typebox6.TAny>;
|
|
22
|
+
response: typebox6.TOptional<typebox6.TAny>;
|
|
23
|
+
bodyContentType: typebox6.TOptional<typebox6.TString>;
|
|
32
24
|
}>;
|
|
33
25
|
type DevActionMetadata = Static<typeof devActionMetadataSchema>;
|
|
34
26
|
//#endregion
|
|
35
27
|
//#region src/schemas/DevBucketMetadata.d.ts
|
|
36
|
-
declare const devBucketMetadataSchema:
|
|
37
|
-
name:
|
|
38
|
-
description:
|
|
39
|
-
mimeTypes:
|
|
40
|
-
maxSize:
|
|
41
|
-
provider:
|
|
28
|
+
declare const devBucketMetadataSchema: typebox6.TObject<{
|
|
29
|
+
name: typebox6.TString;
|
|
30
|
+
description: typebox6.TOptional<typebox6.TString>;
|
|
31
|
+
mimeTypes: typebox6.TOptional<typebox6.TArray<typebox6.TString>>;
|
|
32
|
+
maxSize: typebox6.TOptional<typebox6.TNumber>;
|
|
33
|
+
provider: typebox6.TString;
|
|
42
34
|
}>;
|
|
43
35
|
type DevBucketMetadata = Static<typeof devBucketMetadataSchema>;
|
|
44
36
|
//#endregion
|
|
45
37
|
//#region src/schemas/DevCacheMetadata.d.ts
|
|
46
|
-
declare const devCacheMetadataSchema:
|
|
47
|
-
name:
|
|
48
|
-
ttl:
|
|
49
|
-
disabled:
|
|
50
|
-
provider:
|
|
38
|
+
declare const devCacheMetadataSchema: typebox6.TObject<{
|
|
39
|
+
name: typebox6.TString;
|
|
40
|
+
ttl: typebox6.TOptional<typebox6.TAny>;
|
|
41
|
+
disabled: typebox6.TOptional<typebox6.TBoolean>;
|
|
42
|
+
provider: typebox6.TString;
|
|
51
43
|
}>;
|
|
52
44
|
type DevCacheMetadata = Static<typeof devCacheMetadataSchema>;
|
|
53
45
|
//#endregion
|
|
54
46
|
//#region src/schemas/DevMetadata.d.ts
|
|
55
|
-
declare const devMetadataSchema:
|
|
56
|
-
actions:
|
|
57
|
-
name:
|
|
58
|
-
group:
|
|
59
|
-
method:
|
|
60
|
-
path:
|
|
61
|
-
prefix:
|
|
62
|
-
fullPath:
|
|
63
|
-
description:
|
|
64
|
-
summary:
|
|
65
|
-
disabled:
|
|
66
|
-
secure:
|
|
67
|
-
hide:
|
|
68
|
-
body:
|
|
69
|
-
params:
|
|
70
|
-
query:
|
|
71
|
-
response:
|
|
72
|
-
bodyContentType:
|
|
47
|
+
declare const devMetadataSchema: typebox6.TObject<{
|
|
48
|
+
actions: typebox6.TArray<typebox6.TObject<{
|
|
49
|
+
name: typebox6.TString;
|
|
50
|
+
group: typebox6.TString;
|
|
51
|
+
method: typebox6.TString;
|
|
52
|
+
path: typebox6.TString;
|
|
53
|
+
prefix: typebox6.TString;
|
|
54
|
+
fullPath: typebox6.TString;
|
|
55
|
+
description: typebox6.TOptional<typebox6.TString>;
|
|
56
|
+
summary: typebox6.TOptional<typebox6.TString>;
|
|
57
|
+
disabled: typebox6.TOptional<typebox6.TBoolean>;
|
|
58
|
+
secure: typebox6.TOptional<typebox6.TBoolean>;
|
|
59
|
+
hide: typebox6.TOptional<typebox6.TBoolean>;
|
|
60
|
+
body: typebox6.TOptional<typebox6.TAny>;
|
|
61
|
+
params: typebox6.TOptional<typebox6.TAny>;
|
|
62
|
+
query: typebox6.TOptional<typebox6.TAny>;
|
|
63
|
+
response: typebox6.TOptional<typebox6.TAny>;
|
|
64
|
+
bodyContentType: typebox6.TOptional<typebox6.TString>;
|
|
73
65
|
}>>;
|
|
74
|
-
queues:
|
|
75
|
-
name:
|
|
76
|
-
description:
|
|
77
|
-
schema:
|
|
78
|
-
provider:
|
|
66
|
+
queues: typebox6.TArray<typebox6.TObject<{
|
|
67
|
+
name: typebox6.TString;
|
|
68
|
+
description: typebox6.TOptional<typebox6.TString>;
|
|
69
|
+
schema: typebox6.TOptional<typebox6.TAny>;
|
|
70
|
+
provider: typebox6.TString;
|
|
79
71
|
}>>;
|
|
80
|
-
schedulers:
|
|
81
|
-
name:
|
|
82
|
-
description:
|
|
83
|
-
cron:
|
|
84
|
-
interval:
|
|
85
|
-
lock:
|
|
72
|
+
schedulers: typebox6.TArray<typebox6.TObject<{
|
|
73
|
+
name: typebox6.TString;
|
|
74
|
+
description: typebox6.TOptional<typebox6.TString>;
|
|
75
|
+
cron: typebox6.TOptional<typebox6.TString>;
|
|
76
|
+
interval: typebox6.TOptional<typebox6.TAny>;
|
|
77
|
+
lock: typebox6.TOptional<typebox6.TBoolean>;
|
|
86
78
|
}>>;
|
|
87
|
-
topics:
|
|
88
|
-
name:
|
|
89
|
-
description:
|
|
90
|
-
schema:
|
|
91
|
-
provider:
|
|
79
|
+
topics: typebox6.TArray<typebox6.TObject<{
|
|
80
|
+
name: typebox6.TString;
|
|
81
|
+
description: typebox6.TOptional<typebox6.TString>;
|
|
82
|
+
schema: typebox6.TOptional<typebox6.TAny>;
|
|
83
|
+
provider: typebox6.TString;
|
|
92
84
|
}>>;
|
|
93
|
-
buckets:
|
|
94
|
-
name:
|
|
95
|
-
description:
|
|
96
|
-
mimeTypes:
|
|
97
|
-
maxSize:
|
|
98
|
-
provider:
|
|
85
|
+
buckets: typebox6.TArray<typebox6.TObject<{
|
|
86
|
+
name: typebox6.TString;
|
|
87
|
+
description: typebox6.TOptional<typebox6.TString>;
|
|
88
|
+
mimeTypes: typebox6.TOptional<typebox6.TArray<typebox6.TString>>;
|
|
89
|
+
maxSize: typebox6.TOptional<typebox6.TNumber>;
|
|
90
|
+
provider: typebox6.TString;
|
|
99
91
|
}>>;
|
|
100
|
-
realms:
|
|
101
|
-
name:
|
|
102
|
-
description:
|
|
103
|
-
roles:
|
|
104
|
-
type:
|
|
105
|
-
settings:
|
|
106
|
-
accessTokenExpiration:
|
|
107
|
-
refreshTokenExpiration:
|
|
108
|
-
hasOnCreateSession:
|
|
109
|
-
hasOnRefreshSession:
|
|
110
|
-
hasOnDeleteSession:
|
|
92
|
+
realms: typebox6.TArray<typebox6.TObject<{
|
|
93
|
+
name: typebox6.TString;
|
|
94
|
+
description: typebox6.TOptional<typebox6.TString>;
|
|
95
|
+
roles: typebox6.TOptional<typebox6.TArray<typebox6.TAny>>;
|
|
96
|
+
type: typebox6.TUnsafe<"internal" | "external">;
|
|
97
|
+
settings: typebox6.TOptional<typebox6.TObject<{
|
|
98
|
+
accessTokenExpiration: typebox6.TOptional<typebox6.TAny>;
|
|
99
|
+
refreshTokenExpiration: typebox6.TOptional<typebox6.TAny>;
|
|
100
|
+
hasOnCreateSession: typebox6.TBoolean;
|
|
101
|
+
hasOnRefreshSession: typebox6.TBoolean;
|
|
102
|
+
hasOnDeleteSession: typebox6.TBoolean;
|
|
111
103
|
}>>;
|
|
112
104
|
}>>;
|
|
113
|
-
caches:
|
|
114
|
-
name:
|
|
115
|
-
ttl:
|
|
116
|
-
disabled:
|
|
117
|
-
provider:
|
|
105
|
+
caches: typebox6.TArray<typebox6.TObject<{
|
|
106
|
+
name: typebox6.TString;
|
|
107
|
+
ttl: typebox6.TOptional<typebox6.TAny>;
|
|
108
|
+
disabled: typebox6.TOptional<typebox6.TBoolean>;
|
|
109
|
+
provider: typebox6.TString;
|
|
118
110
|
}>>;
|
|
119
|
-
pages:
|
|
120
|
-
name:
|
|
121
|
-
description:
|
|
122
|
-
path:
|
|
123
|
-
params:
|
|
124
|
-
query:
|
|
125
|
-
hasComponent:
|
|
126
|
-
hasLazy:
|
|
127
|
-
hasResolve:
|
|
128
|
-
hasChildren:
|
|
129
|
-
hasParent:
|
|
130
|
-
hasErrorHandler:
|
|
131
|
-
static:
|
|
132
|
-
cache:
|
|
133
|
-
client:
|
|
134
|
-
animation:
|
|
111
|
+
pages: typebox6.TArray<typebox6.TObject<{
|
|
112
|
+
name: typebox6.TString;
|
|
113
|
+
description: typebox6.TOptional<typebox6.TString>;
|
|
114
|
+
path: typebox6.TOptional<typebox6.TString>;
|
|
115
|
+
params: typebox6.TOptional<typebox6.TAny>;
|
|
116
|
+
query: typebox6.TOptional<typebox6.TAny>;
|
|
117
|
+
hasComponent: typebox6.TBoolean;
|
|
118
|
+
hasLazy: typebox6.TBoolean;
|
|
119
|
+
hasResolve: typebox6.TBoolean;
|
|
120
|
+
hasChildren: typebox6.TBoolean;
|
|
121
|
+
hasParent: typebox6.TBoolean;
|
|
122
|
+
hasErrorHandler: typebox6.TBoolean;
|
|
123
|
+
static: typebox6.TOptional<typebox6.TBoolean>;
|
|
124
|
+
cache: typebox6.TOptional<typebox6.TAny>;
|
|
125
|
+
client: typebox6.TOptional<typebox6.TAny>;
|
|
126
|
+
animation: typebox6.TOptional<typebox6.TAny>;
|
|
135
127
|
}>>;
|
|
136
|
-
providers:
|
|
137
|
-
name:
|
|
138
|
-
module:
|
|
139
|
-
dependencies:
|
|
140
|
-
aliases:
|
|
128
|
+
providers: typebox6.TArray<typebox6.TObject<{
|
|
129
|
+
name: typebox6.TString;
|
|
130
|
+
module: typebox6.TOptional<typebox6.TString>;
|
|
131
|
+
dependencies: typebox6.TArray<typebox6.TString>;
|
|
132
|
+
aliases: typebox6.TOptional<typebox6.TArray<typebox6.TString>>;
|
|
141
133
|
}>>;
|
|
142
|
-
modules:
|
|
143
|
-
name:
|
|
144
|
-
providers:
|
|
134
|
+
modules: typebox6.TArray<typebox6.TObject<{
|
|
135
|
+
name: typebox6.TString;
|
|
136
|
+
providers: typebox6.TArray<typebox6.TString>;
|
|
145
137
|
}>>;
|
|
146
138
|
}>;
|
|
147
139
|
type DevMetadata = Static<typeof devMetadataSchema>;
|
|
148
140
|
//#endregion
|
|
149
141
|
//#region src/schemas/DevModuleMetadata.d.ts
|
|
150
|
-
declare const devModuleMetadataSchema:
|
|
151
|
-
name:
|
|
152
|
-
providers:
|
|
142
|
+
declare const devModuleMetadataSchema: typebox6.TObject<{
|
|
143
|
+
name: typebox6.TString;
|
|
144
|
+
providers: typebox6.TArray<typebox6.TString>;
|
|
153
145
|
}>;
|
|
154
146
|
type DevModuleMetadata = Static<typeof devModuleMetadataSchema>;
|
|
155
147
|
//#endregion
|
|
156
148
|
//#region src/schemas/DevPageMetadata.d.ts
|
|
157
|
-
declare const devPageMetadataSchema:
|
|
158
|
-
name:
|
|
159
|
-
description:
|
|
160
|
-
path:
|
|
161
|
-
params:
|
|
162
|
-
query:
|
|
163
|
-
hasComponent:
|
|
164
|
-
hasLazy:
|
|
165
|
-
hasResolve:
|
|
166
|
-
hasChildren:
|
|
167
|
-
hasParent:
|
|
168
|
-
hasErrorHandler:
|
|
169
|
-
static:
|
|
170
|
-
cache:
|
|
171
|
-
client:
|
|
172
|
-
animation:
|
|
149
|
+
declare const devPageMetadataSchema: typebox6.TObject<{
|
|
150
|
+
name: typebox6.TString;
|
|
151
|
+
description: typebox6.TOptional<typebox6.TString>;
|
|
152
|
+
path: typebox6.TOptional<typebox6.TString>;
|
|
153
|
+
params: typebox6.TOptional<typebox6.TAny>;
|
|
154
|
+
query: typebox6.TOptional<typebox6.TAny>;
|
|
155
|
+
hasComponent: typebox6.TBoolean;
|
|
156
|
+
hasLazy: typebox6.TBoolean;
|
|
157
|
+
hasResolve: typebox6.TBoolean;
|
|
158
|
+
hasChildren: typebox6.TBoolean;
|
|
159
|
+
hasParent: typebox6.TBoolean;
|
|
160
|
+
hasErrorHandler: typebox6.TBoolean;
|
|
161
|
+
static: typebox6.TOptional<typebox6.TBoolean>;
|
|
162
|
+
cache: typebox6.TOptional<typebox6.TAny>;
|
|
163
|
+
client: typebox6.TOptional<typebox6.TAny>;
|
|
164
|
+
animation: typebox6.TOptional<typebox6.TAny>;
|
|
173
165
|
}>;
|
|
174
166
|
type DevPageMetadata = Static<typeof devPageMetadataSchema>;
|
|
175
167
|
//#endregion
|
|
176
168
|
//#region src/schemas/DevProviderMetadata.d.ts
|
|
177
|
-
declare const devProviderMetadataSchema:
|
|
178
|
-
name:
|
|
179
|
-
module:
|
|
180
|
-
dependencies:
|
|
181
|
-
aliases:
|
|
169
|
+
declare const devProviderMetadataSchema: typebox6.TObject<{
|
|
170
|
+
name: typebox6.TString;
|
|
171
|
+
module: typebox6.TOptional<typebox6.TString>;
|
|
172
|
+
dependencies: typebox6.TArray<typebox6.TString>;
|
|
173
|
+
aliases: typebox6.TOptional<typebox6.TArray<typebox6.TString>>;
|
|
182
174
|
}>;
|
|
183
175
|
type DevProviderMetadata = Static<typeof devProviderMetadataSchema>;
|
|
184
176
|
//#endregion
|
|
185
177
|
//#region src/schemas/DevQueueMetadata.d.ts
|
|
186
|
-
declare const devQueueMetadataSchema:
|
|
187
|
-
name:
|
|
188
|
-
description:
|
|
189
|
-
schema:
|
|
190
|
-
provider:
|
|
178
|
+
declare const devQueueMetadataSchema: typebox6.TObject<{
|
|
179
|
+
name: typebox6.TString;
|
|
180
|
+
description: typebox6.TOptional<typebox6.TString>;
|
|
181
|
+
schema: typebox6.TOptional<typebox6.TAny>;
|
|
182
|
+
provider: typebox6.TString;
|
|
191
183
|
}>;
|
|
192
184
|
type DevQueueMetadata = Static<typeof devQueueMetadataSchema>;
|
|
193
185
|
//#endregion
|
|
194
186
|
//#region src/schemas/DevRealmMetadata.d.ts
|
|
195
|
-
declare const devRealmMetadataSchema:
|
|
196
|
-
name:
|
|
197
|
-
description:
|
|
198
|
-
roles:
|
|
199
|
-
type:
|
|
200
|
-
settings:
|
|
201
|
-
accessTokenExpiration:
|
|
202
|
-
refreshTokenExpiration:
|
|
203
|
-
hasOnCreateSession:
|
|
204
|
-
hasOnRefreshSession:
|
|
205
|
-
hasOnDeleteSession:
|
|
187
|
+
declare const devRealmMetadataSchema: typebox6.TObject<{
|
|
188
|
+
name: typebox6.TString;
|
|
189
|
+
description: typebox6.TOptional<typebox6.TString>;
|
|
190
|
+
roles: typebox6.TOptional<typebox6.TArray<typebox6.TAny>>;
|
|
191
|
+
type: typebox6.TUnsafe<"internal" | "external">;
|
|
192
|
+
settings: typebox6.TOptional<typebox6.TObject<{
|
|
193
|
+
accessTokenExpiration: typebox6.TOptional<typebox6.TAny>;
|
|
194
|
+
refreshTokenExpiration: typebox6.TOptional<typebox6.TAny>;
|
|
195
|
+
hasOnCreateSession: typebox6.TBoolean;
|
|
196
|
+
hasOnRefreshSession: typebox6.TBoolean;
|
|
197
|
+
hasOnDeleteSession: typebox6.TBoolean;
|
|
206
198
|
}>>;
|
|
207
199
|
}>;
|
|
208
200
|
type DevRealmMetadata = Static<typeof devRealmMetadataSchema>;
|
|
209
201
|
//#endregion
|
|
210
202
|
//#region src/schemas/DevSchedulerMetadata.d.ts
|
|
211
|
-
declare const devSchedulerMetadataSchema:
|
|
212
|
-
name:
|
|
213
|
-
description:
|
|
214
|
-
cron:
|
|
215
|
-
interval:
|
|
216
|
-
lock:
|
|
203
|
+
declare const devSchedulerMetadataSchema: typebox6.TObject<{
|
|
204
|
+
name: typebox6.TString;
|
|
205
|
+
description: typebox6.TOptional<typebox6.TString>;
|
|
206
|
+
cron: typebox6.TOptional<typebox6.TString>;
|
|
207
|
+
interval: typebox6.TOptional<typebox6.TAny>;
|
|
208
|
+
lock: typebox6.TOptional<typebox6.TBoolean>;
|
|
217
209
|
}>;
|
|
218
210
|
type DevSchedulerMetadata = Static<typeof devSchedulerMetadataSchema>;
|
|
219
211
|
//#endregion
|
|
220
212
|
//#region src/schemas/DevTopicMetadata.d.ts
|
|
221
|
-
declare const devTopicMetadataSchema:
|
|
222
|
-
name:
|
|
223
|
-
description:
|
|
224
|
-
schema:
|
|
225
|
-
provider:
|
|
213
|
+
declare const devTopicMetadataSchema: typebox6.TObject<{
|
|
214
|
+
name: typebox6.TString;
|
|
215
|
+
description: typebox6.TOptional<typebox6.TString>;
|
|
216
|
+
schema: typebox6.TOptional<typebox6.TAny>;
|
|
217
|
+
provider: typebox6.TString;
|
|
226
218
|
}>;
|
|
227
219
|
type DevTopicMetadata = Static<typeof devTopicMetadataSchema>;
|
|
228
220
|
//#endregion
|
|
229
|
-
//#region src/
|
|
230
|
-
declare class
|
|
231
|
-
get name(): string;
|
|
232
|
-
options: {
|
|
233
|
-
path: string;
|
|
234
|
-
};
|
|
235
|
-
}
|
|
236
|
-
declare const logs: _alepha_postgres0.EntityDescriptor<typebox192.TObject<{
|
|
237
|
-
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox192.TInteger, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
238
|
-
level: typebox192.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
239
|
-
message: typebox192.TString;
|
|
240
|
-
service: typebox192.TString;
|
|
241
|
-
module: typebox192.TString;
|
|
242
|
-
context: typebox192.TOptional<typebox192.TString>;
|
|
243
|
-
app: typebox192.TOptional<typebox192.TString>;
|
|
244
|
-
data: typebox192.TOptional<typebox192.TRecord<string, typebox192.TAny>>;
|
|
245
|
-
timestamp: typebox192.TCodec<typebox192.TString, dayjs0.Dayjs>;
|
|
246
|
-
}>>;
|
|
247
|
-
declare class LogRepository extends Repository<typeof logs.schema> {
|
|
248
|
-
constructor();
|
|
249
|
-
}
|
|
250
|
-
declare class DevCollectorProvider {
|
|
221
|
+
//#region src/providers/DevToolsMetadataProvider.d.ts
|
|
222
|
+
declare class DevToolsMetadataProvider {
|
|
251
223
|
protected readonly alepha: Alepha;
|
|
252
|
-
protected readonly serverProvider: ServerProvider;
|
|
253
|
-
protected readonly sqliteProvider: DevToolsDatabaseProvider;
|
|
254
224
|
protected readonly log: _alepha_logger0.Logger;
|
|
255
|
-
logs: LogRepository;
|
|
256
|
-
protected readonly onStart: _alepha_core1.HookDescriptor<"start">;
|
|
257
|
-
protected batchLogs: _alepha_batch0.BatchDescriptor<typebox192.TObject<{
|
|
258
|
-
level: typebox192.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
259
|
-
message: typebox192.TString;
|
|
260
|
-
service: typebox192.TString;
|
|
261
|
-
module: typebox192.TString;
|
|
262
|
-
context: typebox192.TOptional<typebox192.TString>;
|
|
263
|
-
app: typebox192.TOptional<typebox192.TString>;
|
|
264
|
-
data: typebox192.TOptional<typebox192.TAny>;
|
|
265
|
-
timestamp: typebox192.TCodec<typebox192.TString, dayjs0.Dayjs>;
|
|
266
|
-
}>, Promise<void>>;
|
|
267
|
-
protected readonly onLog: _alepha_core1.HookDescriptor<"log">;
|
|
268
|
-
protected readonly uiRoute: _alepha_server_static0.ServeDescriptor;
|
|
269
|
-
protected readonly metadataRoute: _alepha_server0.RouteDescriptor<{
|
|
270
|
-
response: typebox192.TObject<{
|
|
271
|
-
actions: typebox192.TArray<typebox192.TObject<{
|
|
272
|
-
name: typebox192.TString;
|
|
273
|
-
group: typebox192.TString;
|
|
274
|
-
method: typebox192.TString;
|
|
275
|
-
path: typebox192.TString;
|
|
276
|
-
prefix: typebox192.TString;
|
|
277
|
-
fullPath: typebox192.TString;
|
|
278
|
-
description: typebox192.TOptional<typebox192.TString>;
|
|
279
|
-
summary: typebox192.TOptional<typebox192.TString>;
|
|
280
|
-
disabled: typebox192.TOptional<typebox192.TBoolean>;
|
|
281
|
-
secure: typebox192.TOptional<typebox192.TBoolean>;
|
|
282
|
-
hide: typebox192.TOptional<typebox192.TBoolean>;
|
|
283
|
-
body: typebox192.TOptional<typebox192.TAny>;
|
|
284
|
-
params: typebox192.TOptional<typebox192.TAny>;
|
|
285
|
-
query: typebox192.TOptional<typebox192.TAny>;
|
|
286
|
-
response: typebox192.TOptional<typebox192.TAny>;
|
|
287
|
-
bodyContentType: typebox192.TOptional<typebox192.TString>;
|
|
288
|
-
}>>;
|
|
289
|
-
queues: typebox192.TArray<typebox192.TObject<{
|
|
290
|
-
name: typebox192.TString;
|
|
291
|
-
description: typebox192.TOptional<typebox192.TString>;
|
|
292
|
-
schema: typebox192.TOptional<typebox192.TAny>;
|
|
293
|
-
provider: typebox192.TString;
|
|
294
|
-
}>>;
|
|
295
|
-
schedulers: typebox192.TArray<typebox192.TObject<{
|
|
296
|
-
name: typebox192.TString;
|
|
297
|
-
description: typebox192.TOptional<typebox192.TString>;
|
|
298
|
-
cron: typebox192.TOptional<typebox192.TString>;
|
|
299
|
-
interval: typebox192.TOptional<typebox192.TAny>;
|
|
300
|
-
lock: typebox192.TOptional<typebox192.TBoolean>;
|
|
301
|
-
}>>;
|
|
302
|
-
topics: typebox192.TArray<typebox192.TObject<{
|
|
303
|
-
name: typebox192.TString;
|
|
304
|
-
description: typebox192.TOptional<typebox192.TString>;
|
|
305
|
-
schema: typebox192.TOptional<typebox192.TAny>;
|
|
306
|
-
provider: typebox192.TString;
|
|
307
|
-
}>>;
|
|
308
|
-
buckets: typebox192.TArray<typebox192.TObject<{
|
|
309
|
-
name: typebox192.TString;
|
|
310
|
-
description: typebox192.TOptional<typebox192.TString>;
|
|
311
|
-
mimeTypes: typebox192.TOptional<typebox192.TArray<typebox192.TString>>;
|
|
312
|
-
maxSize: typebox192.TOptional<typebox192.TNumber>;
|
|
313
|
-
provider: typebox192.TString;
|
|
314
|
-
}>>;
|
|
315
|
-
realms: typebox192.TArray<typebox192.TObject<{
|
|
316
|
-
name: typebox192.TString;
|
|
317
|
-
description: typebox192.TOptional<typebox192.TString>;
|
|
318
|
-
roles: typebox192.TOptional<typebox192.TArray<typebox192.TAny>>;
|
|
319
|
-
type: typebox192.TUnsafe<"internal" | "external">;
|
|
320
|
-
settings: typebox192.TOptional<typebox192.TObject<{
|
|
321
|
-
accessTokenExpiration: typebox192.TOptional<typebox192.TAny>;
|
|
322
|
-
refreshTokenExpiration: typebox192.TOptional<typebox192.TAny>;
|
|
323
|
-
hasOnCreateSession: typebox192.TBoolean;
|
|
324
|
-
hasOnRefreshSession: typebox192.TBoolean;
|
|
325
|
-
hasOnDeleteSession: typebox192.TBoolean;
|
|
326
|
-
}>>;
|
|
327
|
-
}>>;
|
|
328
|
-
caches: typebox192.TArray<typebox192.TObject<{
|
|
329
|
-
name: typebox192.TString;
|
|
330
|
-
ttl: typebox192.TOptional<typebox192.TAny>;
|
|
331
|
-
disabled: typebox192.TOptional<typebox192.TBoolean>;
|
|
332
|
-
provider: typebox192.TString;
|
|
333
|
-
}>>;
|
|
334
|
-
pages: typebox192.TArray<typebox192.TObject<{
|
|
335
|
-
name: typebox192.TString;
|
|
336
|
-
description: typebox192.TOptional<typebox192.TString>;
|
|
337
|
-
path: typebox192.TOptional<typebox192.TString>;
|
|
338
|
-
params: typebox192.TOptional<typebox192.TAny>;
|
|
339
|
-
query: typebox192.TOptional<typebox192.TAny>;
|
|
340
|
-
hasComponent: typebox192.TBoolean;
|
|
341
|
-
hasLazy: typebox192.TBoolean;
|
|
342
|
-
hasResolve: typebox192.TBoolean;
|
|
343
|
-
hasChildren: typebox192.TBoolean;
|
|
344
|
-
hasParent: typebox192.TBoolean;
|
|
345
|
-
hasErrorHandler: typebox192.TBoolean;
|
|
346
|
-
static: typebox192.TOptional<typebox192.TBoolean>;
|
|
347
|
-
cache: typebox192.TOptional<typebox192.TAny>;
|
|
348
|
-
client: typebox192.TOptional<typebox192.TAny>;
|
|
349
|
-
animation: typebox192.TOptional<typebox192.TAny>;
|
|
350
|
-
}>>;
|
|
351
|
-
providers: typebox192.TArray<typebox192.TObject<{
|
|
352
|
-
name: typebox192.TString;
|
|
353
|
-
module: typebox192.TOptional<typebox192.TString>;
|
|
354
|
-
dependencies: typebox192.TArray<typebox192.TString>;
|
|
355
|
-
aliases: typebox192.TOptional<typebox192.TArray<typebox192.TString>>;
|
|
356
|
-
}>>;
|
|
357
|
-
modules: typebox192.TArray<typebox192.TObject<{
|
|
358
|
-
name: typebox192.TString;
|
|
359
|
-
providers: typebox192.TArray<typebox192.TString>;
|
|
360
|
-
}>>;
|
|
361
|
-
}>;
|
|
362
|
-
}>;
|
|
363
|
-
protected readonly logsRoute: _alepha_server0.RouteDescriptor<{
|
|
364
|
-
query: typebox192.TObject<{
|
|
365
|
-
page: typebox192.TOptional<typebox192.TInteger>;
|
|
366
|
-
size: typebox192.TOptional<typebox192.TInteger>;
|
|
367
|
-
sort: typebox192.TOptional<typebox192.TString>;
|
|
368
|
-
search: typebox192.TOptional<typebox192.TString>;
|
|
369
|
-
}>;
|
|
370
|
-
response: _alepha_core1.TPage<typebox192.TObject<{
|
|
371
|
-
level: typebox192.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
372
|
-
message: typebox192.TString;
|
|
373
|
-
service: typebox192.TString;
|
|
374
|
-
module: typebox192.TString;
|
|
375
|
-
context: typebox192.TOptional<typebox192.TString>;
|
|
376
|
-
app: typebox192.TOptional<typebox192.TString>;
|
|
377
|
-
data: typebox192.TOptional<typebox192.TAny>;
|
|
378
|
-
timestamp: typebox192.TCodec<typebox192.TString, dayjs0.Dayjs>;
|
|
379
|
-
}>>;
|
|
380
|
-
}>;
|
|
381
225
|
getActions(): DevActionMetadata[];
|
|
382
226
|
getQueues(): DevQueueMetadata[];
|
|
383
227
|
getSchedulers(): DevSchedulerMetadata[];
|
|
@@ -399,10 +243,10 @@ declare class DevCollectorProvider {
|
|
|
399
243
|
* This module provides comprehensive data collection capabilities for tracking application behavior,
|
|
400
244
|
* performance metrics, and debugging information in real-time.
|
|
401
245
|
*
|
|
402
|
-
* @see {@link
|
|
246
|
+
* @see {@link DevToolsMetadataProvider}
|
|
403
247
|
* @module alepha.devtools
|
|
404
248
|
*/
|
|
405
|
-
declare const AlephaDevtools:
|
|
249
|
+
declare const AlephaDevtools: _alepha_core0.Service<_alepha_core0.Module>;
|
|
406
250
|
//#endregion
|
|
407
|
-
export { AlephaDevtools, DevActionMetadata, DevBucketMetadata, DevCacheMetadata,
|
|
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 };
|
|
408
252
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","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/
|
|
1
|
+
{"version":3,"file":"index.d.ts","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,kCAAuB;QAiBlC,QAAA,CAAA;;;;EAjBW,MAAA,kBAiBX;EAAA,QAAA,kBAAA;;;;;;;;;;;;KAEU,iBAAA,GAAoB,cAAc;;;cCnBjC,kCAAuB;QAMlC,QAAA,CAAA;;;;EDNW,QAAA,kBAiBX;CAAA,CAAA;KCTU,iBAAA,GAAoB,cAAc;;;cCRjC,iCAAsB;QAKjC,QAAA,CAAA;;;;AFLF,CAAA,CAAA;AAiBE,KEVU,gBAAA,GAAmB,MFU7B,CAAA,OEV2C,sBFU3C,CAAA;;;cGPW,4BAAiB;;UAY5B,QAAA,CAAA;;;IHtBW,IAAA,kBAiBX;IAAA,MAAA,kBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;QAjBkC,iBAAA,iBAAA,CAAA;IAAA,IAAA,kBAAA;IAmBxB,WAAA,oBAAkC,kBAAR;;;;ECnBzB,OAAA,iBAMX,iBAAA,CAAA;IAAA,IAAA,kBAAA;;;;;;;;;SANkC,oBAAA,gBAAA,eAAA,CAAA;IAAA,IAAA,kBAAA,CAAA,UAAA,GAAA,UAAA,CAAA;IAQxB,QAAA,oBAAkC,iBAAR,CAAA;;;;MCRzB,mBAKX,mBAAA;MAAA,kBAAA,mBAAA;;;;;;YALiC,oBAAA,mBAAA;IAAA,QAAA,kBAAA;EAOvB,CAAA,CAAA,CAAA;;;;ICGC,IAAA,oBAYX,kBAAA;IAAA,MAAA,oBAAA,eAAA;;;;;;;;;;;;;;;;;;;;;;;;KAEU,WAAA,GAAc,cAAc;;;cCxB3B,kCAAuB;QAGlC,QAAA,CAAA;;;KAEU,iBAAA,GAAoB,cAAc;;;cCLjC,gCAAqB;QAgBhC,QAAA,CAAA;;;;ELhBW,KAAA,oBAiBX,eAAA;EAAA,YAAA,mBAAA;;;;;;;;;;;KKCU,eAAA,GAAkB,cAAc;;;cClB/B,oCAAyB;QAKpC,QAAA,CAAA;;;;ANLF,CAAA,CAAA;AAiBE,KMVU,mBAAA,GAAsB,MNUhC,CAAA,OMV8C,yBNU9C,CAAA;;;cOjBW,iCAAsB;QAKjC,QAAA,CAAA;;;;APLF,CAAA,CAAA;AAiBE,KOVU,gBAAA,GAAmB,MPU7B,CAAA,OOV2C,sBPU3C,CAAA;;;cQjBW,iCAAsB;QAcjC,QAAA,CAAA;;;;ERdW,QAAA,oBAiBX,iBAAA,CAAA;IAAA,qBAAA,oBAAA,eAAA;;;;;;;KQDU,gBAAA,GAAmB,cAAc;;;cChBhC,qCAA0B;QAMrC,QAAA,CAAA;;;;ETNW,IAAA,oBAiBX,mBAAA;CAAA,CAAA;KSTU,oBAAA,GAAuB,cAAc;;;cCRpC,iCAAsB;QAKjC,QAAA,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"}
|