@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 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 { LogEntry } from "@alepha/logger";
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 typebox156 from "typebox";
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: 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>;
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: 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;
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: typebox156.TObject<{
44
- name: typebox156.TString;
45
- ttl: typebox156.TOptional<typebox156.TAny>;
46
- disabled: typebox156.TOptional<typebox156.TBoolean>;
47
- provider: typebox156.TString;
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: 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>;
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: typebox156.TArray<typebox156.TObject<{
72
- name: typebox156.TString;
73
- description: typebox156.TOptional<typebox156.TString>;
74
- schema: typebox156.TOptional<typebox156.TAny>;
75
- provider: typebox156.TString;
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: 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>;
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: typebox156.TArray<typebox156.TObject<{
85
- name: typebox156.TString;
86
- description: typebox156.TOptional<typebox156.TString>;
87
- schema: typebox156.TOptional<typebox156.TAny>;
88
- provider: typebox156.TString;
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: 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;
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: 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;
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: typebox156.TArray<typebox156.TObject<{
111
- name: typebox156.TString;
112
- ttl: typebox156.TOptional<typebox156.TAny>;
113
- disabled: typebox156.TOptional<typebox156.TBoolean>;
114
- provider: typebox156.TString;
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: 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>;
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: 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>>;
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: typebox156.TArray<typebox156.TObject<{
140
- name: typebox156.TString;
141
- providers: typebox156.TArray<typebox156.TString>;
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: typebox156.TObject<{
148
- name: typebox156.TString;
149
- providers: typebox156.TArray<typebox156.TString>;
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: 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>;
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: 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>>;
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: typebox156.TObject<{
184
- name: typebox156.TString;
185
- description: typebox156.TOptional<typebox156.TString>;
186
- schema: typebox156.TOptional<typebox156.TAny>;
187
- provider: typebox156.TString;
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: 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;
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: 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>;
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: typebox156.TObject<{
219
- name: typebox156.TString;
220
- description: typebox156.TOptional<typebox156.TString>;
221
- schema: typebox156.TOptional<typebox156.TAny>;
222
- provider: typebox156.TString;
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
- protected readonly logs: LogEntry[];
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: 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>;
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: typebox156.TArray<typebox156.TObject<{
257
- name: typebox156.TString;
258
- description: typebox156.TOptional<typebox156.TString>;
259
- schema: typebox156.TOptional<typebox156.TAny>;
260
- provider: typebox156.TString;
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: 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>;
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: typebox156.TArray<typebox156.TObject<{
270
- name: typebox156.TString;
271
- description: typebox156.TOptional<typebox156.TString>;
272
- schema: typebox156.TOptional<typebox156.TAny>;
273
- provider: typebox156.TString;
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: 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;
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: 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;
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: typebox156.TArray<typebox156.TObject<{
296
- name: typebox156.TString;
297
- ttl: typebox156.TOptional<typebox156.TAny>;
298
- disabled: typebox156.TOptional<typebox156.TBoolean>;
299
- provider: typebox156.TString;
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: 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>;
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: 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>>;
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: typebox156.TArray<typebox156.TObject<{
325
- name: typebox156.TString;
326
- providers: typebox156.TArray<typebox156.TString>;
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
- 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>;
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