controlresell 0.0.9 → 0.0.10
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.
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ItemFieldValueSchema: z.ZodObject<{
|
|
3
|
-
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
4
3
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
5
4
|
fieldId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
6
5
|
value: z.ZodString;
|
|
7
6
|
}, "strip", z.ZodTypeAny, {
|
|
8
7
|
value: string;
|
|
9
|
-
id: string | number;
|
|
10
8
|
itemId: string | number;
|
|
11
9
|
fieldId: string | number;
|
|
12
10
|
}, {
|
|
13
11
|
value: string;
|
|
14
|
-
id: string | number;
|
|
15
12
|
itemId: string | number;
|
|
16
13
|
fieldId: string | number;
|
|
17
14
|
}>;
|
|
@@ -5,7 +5,6 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const legacy_1 = require("../../helpers/legacy");
|
|
6
6
|
const primitives_1 = require("../primitives");
|
|
7
7
|
exports.ItemFieldValueSchema = (0, legacy_1.legacy)(zod_1.z.object({
|
|
8
|
-
id: primitives_1.IdSchema,
|
|
9
8
|
itemId: primitives_1.IdSchema,
|
|
10
9
|
fieldId: primitives_1.IdSchema,
|
|
11
10
|
value: zod_1.z.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "controlresell",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"scripts": {
|
|
11
11
|
"generate-index": "barrelsby --delete --directory src",
|
|
12
12
|
"build": "npm run generate-index && tsc",
|
|
13
|
-
"publish": "npm run build && npm publish",
|
|
13
|
+
"build-and-publish": "npm run build && npm publish",
|
|
14
14
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
15
15
|
"lint": "eslint ."
|
|
16
16
|
},
|