@skmtc/core 0.0.321 → 0.0.322
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/esm/types/Results.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export type SuccessWarningError = 'success' | 'warning' | 'error';
|
|
|
4
4
|
export type WarningError = 'warning' | 'error';
|
|
5
5
|
export declare const successWarningError: z.ZodEnum<["success", "warning", "error"]>;
|
|
6
6
|
export interface ResultsItem {
|
|
7
|
-
[key: string]: SuccessWarningError | ResultsItem
|
|
7
|
+
[key: string]: SuccessWarningError | ResultsItem | Array<ResultsItem | null>;
|
|
8
8
|
}
|
|
9
9
|
export declare const resultsItem: z.ZodType<ResultsItem>;
|
|
10
10
|
//# sourceMappingURL=Results.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Results.d.ts","sourceRoot":"","sources":["../../src/types/Results.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;AAEjE,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,OAAO,CAAA;AAE9C,eAAO,MAAM,mBAAmB,4CAA0C,CAAA;AAE1E,MAAM,WAAW,WAAW;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,GAAG,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"Results.d.ts","sourceRoot":"","sources":["../../src/types/Results.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;AAEjE,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,OAAO,CAAA;AAE9C,eAAO,MAAM,mBAAmB,4CAA0C,CAAA;AAE1E,MAAM,WAAW,WAAW;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,GAAG,WAAW,GAAG,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;CAC7E;AAED,eAAO,MAAM,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAI9C,CAAA"}
|
package/esm/types/Results.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../_dnt.polyfills.js";
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export const successWarningError = z.enum(['success', 'warning', 'error']);
|
|
4
|
-
export const resultsItem = z.record(z.lazy(() => z.union([resultsItem, successWarningError])));
|
|
4
|
+
export const resultsItem = z.record(z.lazy(() => z.union([resultsItem, successWarningError, z.array(resultsItem.nullable())])));
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ export type SuccessWarningError = 'success' | 'warning' | 'error';
|
|
|
4
4
|
export type WarningError = 'warning' | 'error';
|
|
5
5
|
export declare const successWarningError: z.ZodEnum<["success", "warning", "error"]>;
|
|
6
6
|
export interface ResultsItem {
|
|
7
|
-
[key: string]: SuccessWarningError | ResultsItem
|
|
7
|
+
[key: string]: SuccessWarningError | ResultsItem | Array<ResultsItem | null>;
|
|
8
8
|
}
|
|
9
9
|
export declare const resultsItem: z.ZodType<ResultsItem>;
|
|
10
10
|
//# sourceMappingURL=Results.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Results.d.ts","sourceRoot":"","sources":["../../src/types/Results.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;AAEjE,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,OAAO,CAAA;AAE9C,eAAO,MAAM,mBAAmB,4CAA0C,CAAA;AAE1E,MAAM,WAAW,WAAW;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,GAAG,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"Results.d.ts","sourceRoot":"","sources":["../../src/types/Results.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;AAEjE,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,OAAO,CAAA;AAE9C,eAAO,MAAM,mBAAmB,4CAA0C,CAAA;AAE1E,MAAM,WAAW,WAAW;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,GAAG,WAAW,GAAG,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;CAC7E;AAED,eAAO,MAAM,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAI9C,CAAA"}
|
package/script/types/Results.js
CHANGED
|
@@ -4,4 +4,4 @@ exports.resultsItem = exports.successWarningError = void 0;
|
|
|
4
4
|
require("../_dnt.polyfills.js");
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
exports.successWarningError = zod_1.z.enum(['success', 'warning', 'error']);
|
|
7
|
-
exports.resultsItem = zod_1.z.record(zod_1.z.lazy(() => zod_1.z.union([exports.resultsItem, exports.successWarningError])));
|
|
7
|
+
exports.resultsItem = zod_1.z.record(zod_1.z.lazy(() => zod_1.z.union([exports.resultsItem, exports.successWarningError, zod_1.z.array(exports.resultsItem.nullable())])));
|