alepha 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/devtools.d.ts CHANGED
@@ -1,383 +1,227 @@
1
- import * as _alepha_core1 from "alepha";
1
+ import * as _alepha_core0 from "alepha";
2
2
  import { Alepha, Static } from "alepha";
3
- import * as _alepha_batch0 from "alepha/batch";
4
3
  import * as _alepha_logger0 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";
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: 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>;
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: 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;
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: typebox192.TObject<{
47
- name: typebox192.TString;
48
- ttl: typebox192.TOptional<typebox192.TAny>;
49
- disabled: typebox192.TOptional<typebox192.TBoolean>;
50
- provider: typebox192.TString;
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: 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>;
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: typebox192.TArray<typebox192.TObject<{
75
- name: typebox192.TString;
76
- description: typebox192.TOptional<typebox192.TString>;
77
- schema: typebox192.TOptional<typebox192.TAny>;
78
- provider: typebox192.TString;
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: 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>;
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: typebox192.TArray<typebox192.TObject<{
88
- name: typebox192.TString;
89
- description: typebox192.TOptional<typebox192.TString>;
90
- schema: typebox192.TOptional<typebox192.TAny>;
91
- provider: typebox192.TString;
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: 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;
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: 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;
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: typebox192.TArray<typebox192.TObject<{
114
- name: typebox192.TString;
115
- ttl: typebox192.TOptional<typebox192.TAny>;
116
- disabled: typebox192.TOptional<typebox192.TBoolean>;
117
- provider: typebox192.TString;
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: 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>;
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: 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>>;
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: typebox192.TArray<typebox192.TObject<{
143
- name: typebox192.TString;
144
- providers: typebox192.TArray<typebox192.TString>;
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: typebox192.TObject<{
151
- name: typebox192.TString;
152
- providers: typebox192.TArray<typebox192.TString>;
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: 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>;
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: 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>>;
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: typebox192.TObject<{
187
- name: typebox192.TString;
188
- description: typebox192.TOptional<typebox192.TString>;
189
- schema: typebox192.TOptional<typebox192.TAny>;
190
- provider: typebox192.TString;
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: 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;
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: 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>;
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: typebox192.TObject<{
222
- name: typebox192.TString;
223
- description: typebox192.TOptional<typebox192.TString>;
224
- schema: typebox192.TOptional<typebox192.TAny>;
225
- provider: typebox192.TString;
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/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
- }
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 DevCollectorProvider}
246
+ * @see {@link DevToolsMetadataProvider}
403
247
  * @module alepha.devtools
404
248
  */
405
- declare const AlephaDevtools: _alepha_core1.Service<_alepha_core1.Module>;
249
+ declare const AlephaDevtools: _alepha_core0.Service<_alepha_core0.Module>;
406
250
  //#endregion
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 };
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/email.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _alepha_core1 from "alepha";
2
2
  import { Descriptor, InstantiableClass, KIND } from "alepha";
3
- import * as _alepha_logger0 from "alepha/logger";
3
+ import * as _alepha_logger1 from "alepha/logger";
4
4
  import { Transporter } from "nodemailer";
5
5
 
6
6
  //#region src/providers/EmailProvider.d.ts
@@ -74,7 +74,7 @@ interface LocalEmailProviderOptions {
74
74
  directory?: string;
75
75
  }
76
76
  declare class LocalEmailProvider implements EmailProvider {
77
- protected readonly log: _alepha_logger0.Logger;
77
+ protected readonly log: _alepha_logger1.Logger;
78
78
  protected readonly directory: string;
79
79
  constructor(options?: LocalEmailProviderOptions);
80
80
  send(options: EmailSendOptions): Promise<void>;
@@ -94,7 +94,7 @@ interface EmailRecord {
94
94
  sentAt: Date;
95
95
  }
96
96
  declare class MemoryEmailProvider implements EmailProvider {
97
- protected readonly log: _alepha_logger0.Logger;
97
+ protected readonly log: _alepha_logger1.Logger;
98
98
  records: EmailRecord[];
99
99
  send(options: EmailSendOptions): Promise<void>;
100
100
  /**
@@ -135,7 +135,7 @@ declare class NodemailerEmailProvider implements EmailProvider {
135
135
  EMAIL_FROM: string;
136
136
  EMAIL_SECURE: boolean;
137
137
  };
138
- protected readonly log: _alepha_logger0.Logger;
138
+ protected readonly log: _alepha_logger1.Logger;
139
139
  protected transporter: Transporter;
140
140
  protected fromAddress: string;
141
141
  readonly options: NodemailerEmailProviderOptions;
package/logger.d.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  import * as _alepha_core0 from "alepha";
2
2
  import { Alepha, KIND, LogLevel, LoggerInterface, Static } from "alepha";
3
- import { DateTime, DateTimeProvider } from "alepha/datetime";
3
+ import { DateTimeProvider } from "alepha/datetime";
4
4
  import * as typebox0 from "typebox";
5
- import * as dayjs0 from "dayjs";
6
5
 
7
6
  //#region src/schemas/logEntrySchema.d.ts
8
7
  declare const logEntrySchema: typebox0.TObject<{
@@ -13,7 +12,7 @@ declare const logEntrySchema: typebox0.TObject<{
13
12
  context: typebox0.TOptional<typebox0.TString>;
14
13
  app: typebox0.TOptional<typebox0.TString>;
15
14
  data: typebox0.TOptional<typebox0.TAny>;
16
- timestamp: typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>;
15
+ timestamp: typebox0.TString;
17
16
  }>;
18
17
  type LogEntry = Static<typeof logEntrySchema>;
19
18
  //#endregion
@@ -125,7 +124,7 @@ declare class ConsoleDestinationProvider extends LogDestinationProvider {
125
124
  //#region src/providers/JsonFormatterProvider.d.ts
126
125
  declare class JsonFormatterProvider extends LogFormatterProvider {
127
126
  format(entry: LogEntry): string;
128
- protected formatJsonError(error: Error): object;
127
+ formatJsonError(error: Error): object;
129
128
  }
130
129
  //#endregion
131
130
  //#region src/providers/MemoryDestinationProvider.d.ts
@@ -145,7 +144,7 @@ declare class MemoryDestinationProvider extends LogDestinationProvider {
145
144
  message: string;
146
145
  service: string;
147
146
  module: string;
148
- timestamp: dayjs0.Dayjs;
147
+ timestamp: string;
149
148
  } & {
150
149
  formatted: string;
151
150
  })[];
@@ -157,7 +156,7 @@ declare class SimpleFormatterProvider extends LogFormatterProvider {
157
156
  protected color: ConsoleColorProvider;
158
157
  protected alepha: Alepha;
159
158
  format(entry: LogEntry): string;
160
- formatTimestamp(iso: DateTime): string;
159
+ formatTimestamp(iso: string): string;
161
160
  protected pad2: (n: number) => string;
162
161
  protected pad3: (n: number) => string;
163
162
  /**