@alepha/devtools 0.13.8 → 0.14.0
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/assets/devtools/{chunk.Cw2RCl4F.js → chunk.4uk7i9-q.js} +1 -1
- package/assets/devtools/{chunk.17gtbQUO.js → chunk.69EpOqBb.js} +1 -1
- package/assets/devtools/{chunk.BULoWCgJ.js → chunk.Ahe7TOrT.js} +1 -1
- package/assets/devtools/{chunk.CyQeq1kA.js → chunk.BOmhpMQZ.js} +1 -1
- package/assets/devtools/{chunk.BmJ7-uBd.js → chunk.BPR3Fzfi.js} +1 -1
- package/assets/devtools/{chunk.Ct58VlQl.js → chunk.BY1cUJeA.js} +1 -1
- package/assets/devtools/{chunk.DooL4OcT.js → chunk.BiZFFFTD.js} +1 -1
- package/assets/devtools/{chunk.DJJIo7HU.js → chunk.Bmb3xtb6.js} +1 -1
- package/assets/devtools/{chunk.DHWcJNNS.js → chunk.BumKuBFW.js} +1 -1
- package/assets/devtools/{chunk.CHRbA_gU.js → chunk.BzgsKQoC.js} +1 -1
- package/assets/devtools/{chunk.1mem8WHh.js → chunk.C2hdXZn7.js} +1 -1
- package/assets/devtools/{chunk.OlMI8g2F.js → chunk.CKmrGczh.js} +1 -1
- package/assets/devtools/{chunk.DR0SHXXd.js → chunk.CLi65HO4.js} +1 -1
- package/assets/devtools/{chunk.DEUHUxKv.js → chunk.CUTV1O_R.js} +1 -1
- package/assets/devtools/{chunk.CBGZOsrp.js → chunk.CaPSIJzT.js} +1 -1
- package/assets/devtools/{chunk.DJOi4_So.js → chunk.ChHWktn9.js} +1 -1
- package/assets/devtools/{chunk.DGW-W4Kc.js → chunk.ChW-mtOy.js} +1 -1
- package/assets/devtools/{chunk.fpKvkQeU.js → chunk.CkWIENRP.js} +1 -1
- package/assets/devtools/{chunk.CzbujtK7.js → chunk.CvqDfxXu.js} +1 -1
- package/assets/devtools/{chunk.Pj_uCbSv.js → chunk.CyVfOtMH.js} +1 -1
- package/assets/devtools/{chunk.IVvrfXp1.js → chunk.D4LcKiGJ.js} +1 -1
- package/assets/devtools/{chunk.DinJSUfH.js → chunk.D4_B6m39.js} +1 -1
- package/assets/devtools/{chunk.B0aYes_4.js → chunk.D7T7GuJQ.js} +1 -1
- package/assets/devtools/{chunk.YXYL4YAO.js → chunk.DD8gLmva.js} +1 -1
- package/assets/devtools/{chunk.RTodzvo0.js → chunk.DFYPFYhv.js} +1 -1
- package/assets/devtools/{chunk.Dry2LXOT.js → chunk.DUAYORVN.js} +1 -1
- package/assets/devtools/{chunk.BYrPfJRg.js → chunk.DXpU07Gr.js} +1 -1
- package/assets/devtools/{chunk.DIfRZc20.js → chunk.DknkYaMA.js} +1 -1
- package/assets/devtools/{chunk.DA9XnVAa.js → chunk.K3IQQCLu.js} +1 -1
- package/assets/devtools/{chunk.qDx9cjbN.js → chunk.KBmIO7L9.js} +1 -1
- package/assets/devtools/{chunk.BzE7YYkj.js → chunk.RI-cVyH7.js} +1 -1
- package/assets/devtools/{chunk.rJToME5k.js → chunk.humlEV7p.js} +1 -1
- package/assets/devtools/{chunk.C49FcqzR.js → chunk.iXAb6asG.js} +1 -1
- package/assets/devtools/{chunk.rohGhT-A.js → chunk.qynByvMI.js} +1 -1
- package/assets/devtools/entry.Bkwg306k.js +75 -0
- package/assets/devtools/index.html +1 -1
- package/dist/index.d.ts +31 -28
- package/package.json +6 -6
- package/assets/devtools/entry.BY4L2Uc6.js +0 -75
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<title>App</title>
|
|
6
|
-
<script type="module" crossorigin src="/devtools/entry.
|
|
6
|
+
<script type="module" crossorigin src="/devtools/entry.Bkwg306k.js"></script>
|
|
7
7
|
<link rel="stylesheet" crossorigin href="/devtools/asset.Bhpm0ujk.css">
|
|
8
8
|
</head>
|
|
9
9
|
<body>
|
package/dist/index.d.ts
CHANGED
|
@@ -256,9 +256,38 @@ declare class JsonSchemaCodec extends SchemaCodec {
|
|
|
256
256
|
decode<T>(schema: TSchema, value: unknown): T;
|
|
257
257
|
}
|
|
258
258
|
//#endregion
|
|
259
|
+
//#region ../alepha/src/core/primitives/$hook.d.ts
|
|
260
|
+
interface HookOptions<T extends keyof Hooks> {
|
|
261
|
+
/**
|
|
262
|
+
* The name of the hook. "configure", "start", "ready", "stop", ...
|
|
263
|
+
*/
|
|
264
|
+
on: T;
|
|
265
|
+
/**
|
|
266
|
+
* The handler to run when the hook is triggered.
|
|
267
|
+
*/
|
|
268
|
+
handler: (args: Hooks[T]) => Async<any>;
|
|
269
|
+
/**
|
|
270
|
+
* Force the hook to run first or last on the list of hooks.
|
|
271
|
+
*/
|
|
272
|
+
priority?: "first" | "last";
|
|
273
|
+
/**
|
|
274
|
+
* Empty placeholder, not implemented yet. :-)
|
|
275
|
+
*/
|
|
276
|
+
before?: object | Array<object>;
|
|
277
|
+
/**
|
|
278
|
+
* Empty placeholder, not implemented yet. :-)
|
|
279
|
+
*/
|
|
280
|
+
after?: object | Array<object>;
|
|
281
|
+
}
|
|
282
|
+
declare class HookPrimitive<T extends keyof Hooks> extends Primitive<HookOptions<T>> {
|
|
283
|
+
called: number;
|
|
284
|
+
protected onInit(): void;
|
|
285
|
+
}
|
|
286
|
+
//#endregion
|
|
259
287
|
//#region ../alepha/src/core/providers/SchemaValidator.d.ts
|
|
260
288
|
declare class SchemaValidator {
|
|
261
289
|
protected cache: Map<TSchema, Validator<typebox3.TProperties, TSchema, unknown, unknown>>;
|
|
290
|
+
protected useEval: boolean;
|
|
262
291
|
/**
|
|
263
292
|
* Validate the value against the provided schema.
|
|
264
293
|
*
|
|
@@ -277,6 +306,8 @@ declare class SchemaValidator {
|
|
|
277
306
|
* Used by `beforeParse` to determine if a schema allows null values.
|
|
278
307
|
*/
|
|
279
308
|
protected isSchemaNullable: (schema: any) => boolean;
|
|
309
|
+
protected onConfigure: HookPrimitive<"configure">;
|
|
310
|
+
protected canEval(): boolean;
|
|
280
311
|
}
|
|
281
312
|
interface ValidateOptions {
|
|
282
313
|
trim?: boolean;
|
|
@@ -1011,34 +1042,6 @@ declare module "alepha" {
|
|
|
1011
1042
|
}
|
|
1012
1043
|
}
|
|
1013
1044
|
//#endregion
|
|
1014
|
-
//#region ../alepha/src/core/primitives/$hook.d.ts
|
|
1015
|
-
interface HookOptions<T extends keyof Hooks> {
|
|
1016
|
-
/**
|
|
1017
|
-
* The name of the hook. "configure", "start", "ready", "stop", ...
|
|
1018
|
-
*/
|
|
1019
|
-
on: T;
|
|
1020
|
-
/**
|
|
1021
|
-
* The handler to run when the hook is triggered.
|
|
1022
|
-
*/
|
|
1023
|
-
handler: (args: Hooks[T]) => Async<any>;
|
|
1024
|
-
/**
|
|
1025
|
-
* Force the hook to run first or last on the list of hooks.
|
|
1026
|
-
*/
|
|
1027
|
-
priority?: "first" | "last";
|
|
1028
|
-
/**
|
|
1029
|
-
* Empty placeholder, not implemented yet. :-)
|
|
1030
|
-
*/
|
|
1031
|
-
before?: object | Array<object>;
|
|
1032
|
-
/**
|
|
1033
|
-
* Empty placeholder, not implemented yet. :-)
|
|
1034
|
-
*/
|
|
1035
|
-
after?: object | Array<object>;
|
|
1036
|
-
}
|
|
1037
|
-
declare class HookPrimitive<T extends keyof Hooks> extends Primitive<HookOptions<T>> {
|
|
1038
|
-
called: number;
|
|
1039
|
-
protected onInit(): void;
|
|
1040
|
-
}
|
|
1041
|
-
//#endregion
|
|
1042
1045
|
//#region ../alepha/src/logger/schemas/logEntrySchema.d.ts
|
|
1043
1046
|
declare const logEntrySchema: TObject$1<{
|
|
1044
1047
|
level: TUnsafe<"TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR" | "SILENT">;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@alepha/devtools",
|
|
3
3
|
"description": "Developer tools for monitoring and debugging Alepha applications.",
|
|
4
4
|
"author": "Nicolas Foures",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.14.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=22.0.0"
|
|
@@ -16,22 +16,22 @@
|
|
|
16
16
|
"assets"
|
|
17
17
|
],
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@alepha/react": "0.
|
|
20
|
-
"@alepha/ui": "0.
|
|
19
|
+
"@alepha/react": "0.14.0",
|
|
20
|
+
"@alepha/ui": "0.14.0",
|
|
21
21
|
"@biomejs/biome": "^2.3.10",
|
|
22
22
|
"@mantine/core": "^8.3.10",
|
|
23
23
|
"@mantine/hooks": "^8.3.10",
|
|
24
24
|
"@tabler/icons-react": "^3.36.0",
|
|
25
25
|
"@xyflow/react": "^12.10.0",
|
|
26
|
-
"alepha": "0.
|
|
26
|
+
"alepha": "0.14.0",
|
|
27
27
|
"react": "^19.2.3",
|
|
28
|
-
"tsdown": "^0.18.
|
|
28
|
+
"tsdown": "^0.18.3",
|
|
29
29
|
"typescript": "^5.9.3",
|
|
30
30
|
"vite": "^7.3.0",
|
|
31
31
|
"vitest": "^4.0.16"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"alepha": "0.
|
|
34
|
+
"alepha": "0.14.0"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"lint": "alepha lint",
|