@123ishatest/louter 0.5.0 → 0.5.2
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/core/references.d.ts +1 -1
- package/dist/index.cjs.js +65 -65
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +1312 -1318
- package/dist/validator/LouterValidator.d.ts +12 -0
- package/dist/validator/LouterValidator.d.ts.map +1 -1
- package/package.json +7 -5
|
@@ -7,6 +7,18 @@ import { LouterContext } from '../core/LouterContext';
|
|
|
7
7
|
export declare class LouterValidator implements LouterStage {
|
|
8
8
|
run<Kinds extends KindDefinitions>(ctx: LouterContext<Kinds>): void;
|
|
9
9
|
parse<Kinds extends KindDefinitions>(ctx: LouterContext<Kinds>): void;
|
|
10
|
+
/**
|
|
11
|
+
* Add an error to the context if the reference can not be found
|
|
12
|
+
* @param ctx
|
|
13
|
+
* @param reference
|
|
14
|
+
* @private
|
|
15
|
+
*/
|
|
16
|
+
private validateReference;
|
|
17
|
+
private validateRecursive;
|
|
18
|
+
/**
|
|
19
|
+
* Recursively validate all objects and replace reference markers
|
|
20
|
+
* @param ctx
|
|
21
|
+
*/
|
|
10
22
|
validateReferences<Kinds extends KindDefinitions>(ctx: LouterContext<Kinds>): void;
|
|
11
23
|
}
|
|
12
24
|
//# sourceMappingURL=LouterValidator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LouterValidator.d.ts","sourceRoot":"","sources":["../../src/validator/LouterValidator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"LouterValidator.d.ts","sourceRoot":"","sources":["../../src/validator/LouterValidator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAIhE;;GAEG;AACH,qBAAa,eAAgB,YAAW,WAAW;IACjD,GAAG,CAAC,KAAK,SAAS,eAAe,EAAE,GAAG,EAAE,aAAa,CAAC,KAAK,CAAC,GAAG,IAAI;IAKnE,KAAK,CAAC,KAAK,SAAS,eAAe,EAAE,GAAG,EAAE,aAAa,CAAC,KAAK,CAAC,GAAG,IAAI;IA4CrE;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;IA+BzB,OAAO,CAAC,iBAAiB;IAuBzB;;;OAGG;IACH,kBAAkB,CAAC,KAAK,SAAS,eAAe,EAAE,GAAG,EAAE,aAAa,CAAC,KAAK,CAAC,GAAG,IAAI;CAOnF"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@123ishatest/louter",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
7
7
|
"provenance": true
|
|
@@ -51,11 +51,13 @@
|
|
|
51
51
|
"vite": "^7.0.5",
|
|
52
52
|
"vite-plugin-dts": "^4.5.4",
|
|
53
53
|
"vite-tsconfig-paths": "^5.1.4",
|
|
54
|
-
"vitest": "^4.0.6"
|
|
54
|
+
"vitest": "^4.0.6",
|
|
55
|
+
"zod": "^4.0.0"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"zod": "^4.0.0"
|
|
55
59
|
},
|
|
56
60
|
"dependencies": {
|
|
57
|
-
"
|
|
58
|
-
"yaml": "^2.8.2",
|
|
59
|
-
"zod": "^4.3.6"
|
|
61
|
+
"yaml": "^2.8.2"
|
|
60
62
|
}
|
|
61
63
|
}
|