@alepha/devtools 0.11.5 → 0.11.6
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.ts +292 -254
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +62 -32
- package/dist/index.js.map +1 -1
- package/package.json +21 -19
- package/src/DevCollectorProvider.ts +107 -38
- package/src/index.ts +1 -1
- package/src/ui/AppRouter.tsx +33 -3
- package/src/ui/DevLogs.tsx +28 -26
- package/src/ui/main.server.ts +10 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,345 +1,383 @@
|
|
|
1
1
|
import * as _alepha_core1 from "@alepha/core";
|
|
2
2
|
import { Alepha, Static } from "@alepha/core";
|
|
3
|
+
import * as _alepha_batch0 from "@alepha/batch";
|
|
3
4
|
import * as _alepha_logger0 from "@alepha/logger";
|
|
4
|
-
import
|
|
5
|
+
import * as _alepha_postgres0 from "@alepha/postgres";
|
|
6
|
+
import { NodeSqliteProvider } from "@alepha/postgres";
|
|
7
|
+
import { Repository } from "@alepha/postgres/src/services/Repository.ts";
|
|
5
8
|
import * as _alepha_server0 from "@alepha/server";
|
|
6
9
|
import { ServerProvider } from "@alepha/server";
|
|
7
10
|
import * as _alepha_server_static0 from "@alepha/server-static";
|
|
8
|
-
import * as
|
|
11
|
+
import * as typebox192 from "typebox";
|
|
9
12
|
import * as dayjs0 from "dayjs";
|
|
10
13
|
|
|
11
14
|
//#region src/schemas/DevActionMetadata.d.ts
|
|
12
|
-
declare const devActionMetadataSchema:
|
|
13
|
-
name:
|
|
14
|
-
group:
|
|
15
|
-
method:
|
|
16
|
-
path:
|
|
17
|
-
prefix:
|
|
18
|
-
fullPath:
|
|
19
|
-
description:
|
|
20
|
-
summary:
|
|
21
|
-
disabled:
|
|
22
|
-
secure:
|
|
23
|
-
hide:
|
|
24
|
-
body:
|
|
25
|
-
params:
|
|
26
|
-
query:
|
|
27
|
-
response:
|
|
28
|
-
bodyContentType:
|
|
15
|
+
declare const devActionMetadataSchema: typebox192.TObject<{
|
|
16
|
+
name: typebox192.TString;
|
|
17
|
+
group: typebox192.TString;
|
|
18
|
+
method: typebox192.TString;
|
|
19
|
+
path: typebox192.TString;
|
|
20
|
+
prefix: typebox192.TString;
|
|
21
|
+
fullPath: typebox192.TString;
|
|
22
|
+
description: typebox192.TOptional<typebox192.TString>;
|
|
23
|
+
summary: typebox192.TOptional<typebox192.TString>;
|
|
24
|
+
disabled: typebox192.TOptional<typebox192.TBoolean>;
|
|
25
|
+
secure: typebox192.TOptional<typebox192.TBoolean>;
|
|
26
|
+
hide: typebox192.TOptional<typebox192.TBoolean>;
|
|
27
|
+
body: typebox192.TOptional<typebox192.TAny>;
|
|
28
|
+
params: typebox192.TOptional<typebox192.TAny>;
|
|
29
|
+
query: typebox192.TOptional<typebox192.TAny>;
|
|
30
|
+
response: typebox192.TOptional<typebox192.TAny>;
|
|
31
|
+
bodyContentType: typebox192.TOptional<typebox192.TString>;
|
|
29
32
|
}>;
|
|
30
33
|
type DevActionMetadata = Static<typeof devActionMetadataSchema>;
|
|
31
34
|
//#endregion
|
|
32
35
|
//#region src/schemas/DevBucketMetadata.d.ts
|
|
33
|
-
declare const devBucketMetadataSchema:
|
|
34
|
-
name:
|
|
35
|
-
description:
|
|
36
|
-
mimeTypes:
|
|
37
|
-
maxSize:
|
|
38
|
-
provider:
|
|
36
|
+
declare const devBucketMetadataSchema: typebox192.TObject<{
|
|
37
|
+
name: typebox192.TString;
|
|
38
|
+
description: typebox192.TOptional<typebox192.TString>;
|
|
39
|
+
mimeTypes: typebox192.TOptional<typebox192.TArray<typebox192.TString>>;
|
|
40
|
+
maxSize: typebox192.TOptional<typebox192.TNumber>;
|
|
41
|
+
provider: typebox192.TString;
|
|
39
42
|
}>;
|
|
40
43
|
type DevBucketMetadata = Static<typeof devBucketMetadataSchema>;
|
|
41
44
|
//#endregion
|
|
42
45
|
//#region src/schemas/DevCacheMetadata.d.ts
|
|
43
|
-
declare const devCacheMetadataSchema:
|
|
44
|
-
name:
|
|
45
|
-
ttl:
|
|
46
|
-
disabled:
|
|
47
|
-
provider:
|
|
46
|
+
declare const devCacheMetadataSchema: typebox192.TObject<{
|
|
47
|
+
name: typebox192.TString;
|
|
48
|
+
ttl: typebox192.TOptional<typebox192.TAny>;
|
|
49
|
+
disabled: typebox192.TOptional<typebox192.TBoolean>;
|
|
50
|
+
provider: typebox192.TString;
|
|
48
51
|
}>;
|
|
49
52
|
type DevCacheMetadata = Static<typeof devCacheMetadataSchema>;
|
|
50
53
|
//#endregion
|
|
51
54
|
//#region src/schemas/DevMetadata.d.ts
|
|
52
|
-
declare const devMetadataSchema:
|
|
53
|
-
actions:
|
|
54
|
-
name:
|
|
55
|
-
group:
|
|
56
|
-
method:
|
|
57
|
-
path:
|
|
58
|
-
prefix:
|
|
59
|
-
fullPath:
|
|
60
|
-
description:
|
|
61
|
-
summary:
|
|
62
|
-
disabled:
|
|
63
|
-
secure:
|
|
64
|
-
hide:
|
|
65
|
-
body:
|
|
66
|
-
params:
|
|
67
|
-
query:
|
|
68
|
-
response:
|
|
69
|
-
bodyContentType:
|
|
55
|
+
declare const devMetadataSchema: typebox192.TObject<{
|
|
56
|
+
actions: typebox192.TArray<typebox192.TObject<{
|
|
57
|
+
name: typebox192.TString;
|
|
58
|
+
group: typebox192.TString;
|
|
59
|
+
method: typebox192.TString;
|
|
60
|
+
path: typebox192.TString;
|
|
61
|
+
prefix: typebox192.TString;
|
|
62
|
+
fullPath: typebox192.TString;
|
|
63
|
+
description: typebox192.TOptional<typebox192.TString>;
|
|
64
|
+
summary: typebox192.TOptional<typebox192.TString>;
|
|
65
|
+
disabled: typebox192.TOptional<typebox192.TBoolean>;
|
|
66
|
+
secure: typebox192.TOptional<typebox192.TBoolean>;
|
|
67
|
+
hide: typebox192.TOptional<typebox192.TBoolean>;
|
|
68
|
+
body: typebox192.TOptional<typebox192.TAny>;
|
|
69
|
+
params: typebox192.TOptional<typebox192.TAny>;
|
|
70
|
+
query: typebox192.TOptional<typebox192.TAny>;
|
|
71
|
+
response: typebox192.TOptional<typebox192.TAny>;
|
|
72
|
+
bodyContentType: typebox192.TOptional<typebox192.TString>;
|
|
70
73
|
}>>;
|
|
71
|
-
queues:
|
|
72
|
-
name:
|
|
73
|
-
description:
|
|
74
|
-
schema:
|
|
75
|
-
provider:
|
|
74
|
+
queues: typebox192.TArray<typebox192.TObject<{
|
|
75
|
+
name: typebox192.TString;
|
|
76
|
+
description: typebox192.TOptional<typebox192.TString>;
|
|
77
|
+
schema: typebox192.TOptional<typebox192.TAny>;
|
|
78
|
+
provider: typebox192.TString;
|
|
76
79
|
}>>;
|
|
77
|
-
schedulers:
|
|
78
|
-
name:
|
|
79
|
-
description:
|
|
80
|
-
cron:
|
|
81
|
-
interval:
|
|
82
|
-
lock:
|
|
80
|
+
schedulers: typebox192.TArray<typebox192.TObject<{
|
|
81
|
+
name: typebox192.TString;
|
|
82
|
+
description: typebox192.TOptional<typebox192.TString>;
|
|
83
|
+
cron: typebox192.TOptional<typebox192.TString>;
|
|
84
|
+
interval: typebox192.TOptional<typebox192.TAny>;
|
|
85
|
+
lock: typebox192.TOptional<typebox192.TBoolean>;
|
|
83
86
|
}>>;
|
|
84
|
-
topics:
|
|
85
|
-
name:
|
|
86
|
-
description:
|
|
87
|
-
schema:
|
|
88
|
-
provider:
|
|
87
|
+
topics: typebox192.TArray<typebox192.TObject<{
|
|
88
|
+
name: typebox192.TString;
|
|
89
|
+
description: typebox192.TOptional<typebox192.TString>;
|
|
90
|
+
schema: typebox192.TOptional<typebox192.TAny>;
|
|
91
|
+
provider: typebox192.TString;
|
|
89
92
|
}>>;
|
|
90
|
-
buckets:
|
|
91
|
-
name:
|
|
92
|
-
description:
|
|
93
|
-
mimeTypes:
|
|
94
|
-
maxSize:
|
|
95
|
-
provider:
|
|
93
|
+
buckets: typebox192.TArray<typebox192.TObject<{
|
|
94
|
+
name: typebox192.TString;
|
|
95
|
+
description: typebox192.TOptional<typebox192.TString>;
|
|
96
|
+
mimeTypes: typebox192.TOptional<typebox192.TArray<typebox192.TString>>;
|
|
97
|
+
maxSize: typebox192.TOptional<typebox192.TNumber>;
|
|
98
|
+
provider: typebox192.TString;
|
|
96
99
|
}>>;
|
|
97
|
-
realms:
|
|
98
|
-
name:
|
|
99
|
-
description:
|
|
100
|
-
roles:
|
|
101
|
-
type:
|
|
102
|
-
settings:
|
|
103
|
-
accessTokenExpiration:
|
|
104
|
-
refreshTokenExpiration:
|
|
105
|
-
hasOnCreateSession:
|
|
106
|
-
hasOnRefreshSession:
|
|
107
|
-
hasOnDeleteSession:
|
|
100
|
+
realms: typebox192.TArray<typebox192.TObject<{
|
|
101
|
+
name: typebox192.TString;
|
|
102
|
+
description: typebox192.TOptional<typebox192.TString>;
|
|
103
|
+
roles: typebox192.TOptional<typebox192.TArray<typebox192.TAny>>;
|
|
104
|
+
type: typebox192.TUnsafe<"internal" | "external">;
|
|
105
|
+
settings: typebox192.TOptional<typebox192.TObject<{
|
|
106
|
+
accessTokenExpiration: typebox192.TOptional<typebox192.TAny>;
|
|
107
|
+
refreshTokenExpiration: typebox192.TOptional<typebox192.TAny>;
|
|
108
|
+
hasOnCreateSession: typebox192.TBoolean;
|
|
109
|
+
hasOnRefreshSession: typebox192.TBoolean;
|
|
110
|
+
hasOnDeleteSession: typebox192.TBoolean;
|
|
108
111
|
}>>;
|
|
109
112
|
}>>;
|
|
110
|
-
caches:
|
|
111
|
-
name:
|
|
112
|
-
ttl:
|
|
113
|
-
disabled:
|
|
114
|
-
provider:
|
|
113
|
+
caches: typebox192.TArray<typebox192.TObject<{
|
|
114
|
+
name: typebox192.TString;
|
|
115
|
+
ttl: typebox192.TOptional<typebox192.TAny>;
|
|
116
|
+
disabled: typebox192.TOptional<typebox192.TBoolean>;
|
|
117
|
+
provider: typebox192.TString;
|
|
115
118
|
}>>;
|
|
116
|
-
pages:
|
|
117
|
-
name:
|
|
118
|
-
description:
|
|
119
|
-
path:
|
|
120
|
-
params:
|
|
121
|
-
query:
|
|
122
|
-
hasComponent:
|
|
123
|
-
hasLazy:
|
|
124
|
-
hasResolve:
|
|
125
|
-
hasChildren:
|
|
126
|
-
hasParent:
|
|
127
|
-
hasErrorHandler:
|
|
128
|
-
static:
|
|
129
|
-
cache:
|
|
130
|
-
client:
|
|
131
|
-
animation:
|
|
119
|
+
pages: typebox192.TArray<typebox192.TObject<{
|
|
120
|
+
name: typebox192.TString;
|
|
121
|
+
description: typebox192.TOptional<typebox192.TString>;
|
|
122
|
+
path: typebox192.TOptional<typebox192.TString>;
|
|
123
|
+
params: typebox192.TOptional<typebox192.TAny>;
|
|
124
|
+
query: typebox192.TOptional<typebox192.TAny>;
|
|
125
|
+
hasComponent: typebox192.TBoolean;
|
|
126
|
+
hasLazy: typebox192.TBoolean;
|
|
127
|
+
hasResolve: typebox192.TBoolean;
|
|
128
|
+
hasChildren: typebox192.TBoolean;
|
|
129
|
+
hasParent: typebox192.TBoolean;
|
|
130
|
+
hasErrorHandler: typebox192.TBoolean;
|
|
131
|
+
static: typebox192.TOptional<typebox192.TBoolean>;
|
|
132
|
+
cache: typebox192.TOptional<typebox192.TAny>;
|
|
133
|
+
client: typebox192.TOptional<typebox192.TAny>;
|
|
134
|
+
animation: typebox192.TOptional<typebox192.TAny>;
|
|
132
135
|
}>>;
|
|
133
|
-
providers:
|
|
134
|
-
name:
|
|
135
|
-
module:
|
|
136
|
-
dependencies:
|
|
137
|
-
aliases:
|
|
136
|
+
providers: typebox192.TArray<typebox192.TObject<{
|
|
137
|
+
name: typebox192.TString;
|
|
138
|
+
module: typebox192.TOptional<typebox192.TString>;
|
|
139
|
+
dependencies: typebox192.TArray<typebox192.TString>;
|
|
140
|
+
aliases: typebox192.TOptional<typebox192.TArray<typebox192.TString>>;
|
|
138
141
|
}>>;
|
|
139
|
-
modules:
|
|
140
|
-
name:
|
|
141
|
-
providers:
|
|
142
|
+
modules: typebox192.TArray<typebox192.TObject<{
|
|
143
|
+
name: typebox192.TString;
|
|
144
|
+
providers: typebox192.TArray<typebox192.TString>;
|
|
142
145
|
}>>;
|
|
143
146
|
}>;
|
|
144
147
|
type DevMetadata = Static<typeof devMetadataSchema>;
|
|
145
148
|
//#endregion
|
|
146
149
|
//#region src/schemas/DevModuleMetadata.d.ts
|
|
147
|
-
declare const devModuleMetadataSchema:
|
|
148
|
-
name:
|
|
149
|
-
providers:
|
|
150
|
+
declare const devModuleMetadataSchema: typebox192.TObject<{
|
|
151
|
+
name: typebox192.TString;
|
|
152
|
+
providers: typebox192.TArray<typebox192.TString>;
|
|
150
153
|
}>;
|
|
151
154
|
type DevModuleMetadata = Static<typeof devModuleMetadataSchema>;
|
|
152
155
|
//#endregion
|
|
153
156
|
//#region src/schemas/DevPageMetadata.d.ts
|
|
154
|
-
declare const devPageMetadataSchema:
|
|
155
|
-
name:
|
|
156
|
-
description:
|
|
157
|
-
path:
|
|
158
|
-
params:
|
|
159
|
-
query:
|
|
160
|
-
hasComponent:
|
|
161
|
-
hasLazy:
|
|
162
|
-
hasResolve:
|
|
163
|
-
hasChildren:
|
|
164
|
-
hasParent:
|
|
165
|
-
hasErrorHandler:
|
|
166
|
-
static:
|
|
167
|
-
cache:
|
|
168
|
-
client:
|
|
169
|
-
animation:
|
|
157
|
+
declare const devPageMetadataSchema: typebox192.TObject<{
|
|
158
|
+
name: typebox192.TString;
|
|
159
|
+
description: typebox192.TOptional<typebox192.TString>;
|
|
160
|
+
path: typebox192.TOptional<typebox192.TString>;
|
|
161
|
+
params: typebox192.TOptional<typebox192.TAny>;
|
|
162
|
+
query: typebox192.TOptional<typebox192.TAny>;
|
|
163
|
+
hasComponent: typebox192.TBoolean;
|
|
164
|
+
hasLazy: typebox192.TBoolean;
|
|
165
|
+
hasResolve: typebox192.TBoolean;
|
|
166
|
+
hasChildren: typebox192.TBoolean;
|
|
167
|
+
hasParent: typebox192.TBoolean;
|
|
168
|
+
hasErrorHandler: typebox192.TBoolean;
|
|
169
|
+
static: typebox192.TOptional<typebox192.TBoolean>;
|
|
170
|
+
cache: typebox192.TOptional<typebox192.TAny>;
|
|
171
|
+
client: typebox192.TOptional<typebox192.TAny>;
|
|
172
|
+
animation: typebox192.TOptional<typebox192.TAny>;
|
|
170
173
|
}>;
|
|
171
174
|
type DevPageMetadata = Static<typeof devPageMetadataSchema>;
|
|
172
175
|
//#endregion
|
|
173
176
|
//#region src/schemas/DevProviderMetadata.d.ts
|
|
174
|
-
declare const devProviderMetadataSchema:
|
|
175
|
-
name:
|
|
176
|
-
module:
|
|
177
|
-
dependencies:
|
|
178
|
-
aliases:
|
|
177
|
+
declare const devProviderMetadataSchema: typebox192.TObject<{
|
|
178
|
+
name: typebox192.TString;
|
|
179
|
+
module: typebox192.TOptional<typebox192.TString>;
|
|
180
|
+
dependencies: typebox192.TArray<typebox192.TString>;
|
|
181
|
+
aliases: typebox192.TOptional<typebox192.TArray<typebox192.TString>>;
|
|
179
182
|
}>;
|
|
180
183
|
type DevProviderMetadata = Static<typeof devProviderMetadataSchema>;
|
|
181
184
|
//#endregion
|
|
182
185
|
//#region src/schemas/DevQueueMetadata.d.ts
|
|
183
|
-
declare const devQueueMetadataSchema:
|
|
184
|
-
name:
|
|
185
|
-
description:
|
|
186
|
-
schema:
|
|
187
|
-
provider:
|
|
186
|
+
declare const devQueueMetadataSchema: typebox192.TObject<{
|
|
187
|
+
name: typebox192.TString;
|
|
188
|
+
description: typebox192.TOptional<typebox192.TString>;
|
|
189
|
+
schema: typebox192.TOptional<typebox192.TAny>;
|
|
190
|
+
provider: typebox192.TString;
|
|
188
191
|
}>;
|
|
189
192
|
type DevQueueMetadata = Static<typeof devQueueMetadataSchema>;
|
|
190
193
|
//#endregion
|
|
191
194
|
//#region src/schemas/DevRealmMetadata.d.ts
|
|
192
|
-
declare const devRealmMetadataSchema:
|
|
193
|
-
name:
|
|
194
|
-
description:
|
|
195
|
-
roles:
|
|
196
|
-
type:
|
|
197
|
-
settings:
|
|
198
|
-
accessTokenExpiration:
|
|
199
|
-
refreshTokenExpiration:
|
|
200
|
-
hasOnCreateSession:
|
|
201
|
-
hasOnRefreshSession:
|
|
202
|
-
hasOnDeleteSession:
|
|
195
|
+
declare const devRealmMetadataSchema: typebox192.TObject<{
|
|
196
|
+
name: typebox192.TString;
|
|
197
|
+
description: typebox192.TOptional<typebox192.TString>;
|
|
198
|
+
roles: typebox192.TOptional<typebox192.TArray<typebox192.TAny>>;
|
|
199
|
+
type: typebox192.TUnsafe<"internal" | "external">;
|
|
200
|
+
settings: typebox192.TOptional<typebox192.TObject<{
|
|
201
|
+
accessTokenExpiration: typebox192.TOptional<typebox192.TAny>;
|
|
202
|
+
refreshTokenExpiration: typebox192.TOptional<typebox192.TAny>;
|
|
203
|
+
hasOnCreateSession: typebox192.TBoolean;
|
|
204
|
+
hasOnRefreshSession: typebox192.TBoolean;
|
|
205
|
+
hasOnDeleteSession: typebox192.TBoolean;
|
|
203
206
|
}>>;
|
|
204
207
|
}>;
|
|
205
208
|
type DevRealmMetadata = Static<typeof devRealmMetadataSchema>;
|
|
206
209
|
//#endregion
|
|
207
210
|
//#region src/schemas/DevSchedulerMetadata.d.ts
|
|
208
|
-
declare const devSchedulerMetadataSchema:
|
|
209
|
-
name:
|
|
210
|
-
description:
|
|
211
|
-
cron:
|
|
212
|
-
interval:
|
|
213
|
-
lock:
|
|
211
|
+
declare const devSchedulerMetadataSchema: typebox192.TObject<{
|
|
212
|
+
name: typebox192.TString;
|
|
213
|
+
description: typebox192.TOptional<typebox192.TString>;
|
|
214
|
+
cron: typebox192.TOptional<typebox192.TString>;
|
|
215
|
+
interval: typebox192.TOptional<typebox192.TAny>;
|
|
216
|
+
lock: typebox192.TOptional<typebox192.TBoolean>;
|
|
214
217
|
}>;
|
|
215
218
|
type DevSchedulerMetadata = Static<typeof devSchedulerMetadataSchema>;
|
|
216
219
|
//#endregion
|
|
217
220
|
//#region src/schemas/DevTopicMetadata.d.ts
|
|
218
|
-
declare const devTopicMetadataSchema:
|
|
219
|
-
name:
|
|
220
|
-
description:
|
|
221
|
-
schema:
|
|
222
|
-
provider:
|
|
221
|
+
declare const devTopicMetadataSchema: typebox192.TObject<{
|
|
222
|
+
name: typebox192.TString;
|
|
223
|
+
description: typebox192.TOptional<typebox192.TString>;
|
|
224
|
+
schema: typebox192.TOptional<typebox192.TAny>;
|
|
225
|
+
provider: typebox192.TString;
|
|
223
226
|
}>;
|
|
224
227
|
type DevTopicMetadata = Static<typeof devTopicMetadataSchema>;
|
|
225
228
|
//#endregion
|
|
226
229
|
//#region src/DevCollectorProvider.d.ts
|
|
230
|
+
declare class DevToolsDatabaseProvider extends NodeSqliteProvider {
|
|
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
|
+
}
|
|
227
250
|
declare class DevCollectorProvider {
|
|
228
251
|
protected readonly alepha: Alepha;
|
|
229
252
|
protected readonly serverProvider: ServerProvider;
|
|
253
|
+
protected readonly sqliteProvider: DevToolsDatabaseProvider;
|
|
230
254
|
protected readonly log: _alepha_logger0.Logger;
|
|
231
|
-
|
|
232
|
-
protected readonly maxLogs = 10000;
|
|
255
|
+
logs: LogRepository;
|
|
233
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>>;
|
|
234
267
|
protected readonly onLog: _alepha_core1.HookDescriptor<"log">;
|
|
235
268
|
protected readonly uiRoute: _alepha_server_static0.ServeDescriptor;
|
|
236
269
|
protected readonly metadataRoute: _alepha_server0.RouteDescriptor<{
|
|
237
|
-
response:
|
|
238
|
-
actions:
|
|
239
|
-
name:
|
|
240
|
-
group:
|
|
241
|
-
method:
|
|
242
|
-
path:
|
|
243
|
-
prefix:
|
|
244
|
-
fullPath:
|
|
245
|
-
description:
|
|
246
|
-
summary:
|
|
247
|
-
disabled:
|
|
248
|
-
secure:
|
|
249
|
-
hide:
|
|
250
|
-
body:
|
|
251
|
-
params:
|
|
252
|
-
query:
|
|
253
|
-
response:
|
|
254
|
-
bodyContentType:
|
|
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>;
|
|
255
288
|
}>>;
|
|
256
|
-
queues:
|
|
257
|
-
name:
|
|
258
|
-
description:
|
|
259
|
-
schema:
|
|
260
|
-
provider:
|
|
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;
|
|
261
294
|
}>>;
|
|
262
|
-
schedulers:
|
|
263
|
-
name:
|
|
264
|
-
description:
|
|
265
|
-
cron:
|
|
266
|
-
interval:
|
|
267
|
-
lock:
|
|
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>;
|
|
268
301
|
}>>;
|
|
269
|
-
topics:
|
|
270
|
-
name:
|
|
271
|
-
description:
|
|
272
|
-
schema:
|
|
273
|
-
provider:
|
|
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;
|
|
274
307
|
}>>;
|
|
275
|
-
buckets:
|
|
276
|
-
name:
|
|
277
|
-
description:
|
|
278
|
-
mimeTypes:
|
|
279
|
-
maxSize:
|
|
280
|
-
provider:
|
|
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;
|
|
281
314
|
}>>;
|
|
282
|
-
realms:
|
|
283
|
-
name:
|
|
284
|
-
description:
|
|
285
|
-
roles:
|
|
286
|
-
type:
|
|
287
|
-
settings:
|
|
288
|
-
accessTokenExpiration:
|
|
289
|
-
refreshTokenExpiration:
|
|
290
|
-
hasOnCreateSession:
|
|
291
|
-
hasOnRefreshSession:
|
|
292
|
-
hasOnDeleteSession:
|
|
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;
|
|
293
326
|
}>>;
|
|
294
327
|
}>>;
|
|
295
|
-
caches:
|
|
296
|
-
name:
|
|
297
|
-
ttl:
|
|
298
|
-
disabled:
|
|
299
|
-
provider:
|
|
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;
|
|
300
333
|
}>>;
|
|
301
|
-
pages:
|
|
302
|
-
name:
|
|
303
|
-
description:
|
|
304
|
-
path:
|
|
305
|
-
params:
|
|
306
|
-
query:
|
|
307
|
-
hasComponent:
|
|
308
|
-
hasLazy:
|
|
309
|
-
hasResolve:
|
|
310
|
-
hasChildren:
|
|
311
|
-
hasParent:
|
|
312
|
-
hasErrorHandler:
|
|
313
|
-
static:
|
|
314
|
-
cache:
|
|
315
|
-
client:
|
|
316
|
-
animation:
|
|
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>;
|
|
317
350
|
}>>;
|
|
318
|
-
providers:
|
|
319
|
-
name:
|
|
320
|
-
module:
|
|
321
|
-
dependencies:
|
|
322
|
-
aliases:
|
|
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>>;
|
|
323
356
|
}>>;
|
|
324
|
-
modules:
|
|
325
|
-
name:
|
|
326
|
-
providers:
|
|
357
|
+
modules: typebox192.TArray<typebox192.TObject<{
|
|
358
|
+
name: typebox192.TString;
|
|
359
|
+
providers: typebox192.TArray<typebox192.TString>;
|
|
327
360
|
}>>;
|
|
328
361
|
}>;
|
|
329
362
|
}>;
|
|
330
363
|
protected readonly logsRoute: _alepha_server0.RouteDescriptor<{
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
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>;
|
|
340
379
|
}>>;
|
|
341
380
|
}>;
|
|
342
|
-
getLogs(): LogEntry[];
|
|
343
381
|
getActions(): DevActionMetadata[];
|
|
344
382
|
getQueues(): DevQueueMetadata[];
|
|
345
383
|
getSchedulers(): DevSchedulerMetadata[];
|
|
@@ -364,7 +402,7 @@ declare class DevCollectorProvider {
|
|
|
364
402
|
* @see {@link DevCollectorProvider}
|
|
365
403
|
* @module alepha.devtools
|
|
366
404
|
*/
|
|
367
|
-
declare const AlephaDevtools: _alepha_core1.Service<_alepha_core1.Module
|
|
405
|
+
declare const AlephaDevtools: _alepha_core1.Service<_alepha_core1.Module>;
|
|
368
406
|
//#endregion
|
|
369
407
|
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
408
|
//# sourceMappingURL=index.d.ts.map
|