controlresell 0.0.1

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.
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @file Automatically generated by barrelsby.
3
+ */
4
+ export * from "./models/items/item";
5
+ export * from "./models/items/itemField";
6
+ export * from "./models/users/user";
package/dist/index.js ADDED
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ /**
3
+ * @file Automatically generated by barrelsby.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
+ };
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ __exportStar(require("./models/items/item"), exports);
21
+ __exportStar(require("./models/items/itemField"), exports);
22
+ __exportStar(require("./models/users/user"), exports);
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,40 @@
1
+ import { z } from "zod";
2
+ export declare const SpotConfigSchema: z.ZodArray<z.ZodObject<{
3
+ name: z.ZodString;
4
+ start: z.ZodNumber;
5
+ end: z.ZodNumber;
6
+ }, "strip", z.ZodTypeAny, {
7
+ name: string;
8
+ start: number;
9
+ end: number;
10
+ }, {
11
+ name: string;
12
+ start: number;
13
+ end: number;
14
+ }>, "many">;
15
+ export type SpotConfig = z.infer<typeof SpotConfigSchema>;
16
+ export declare const SpotValueSchema: z.ZodObject<{
17
+ name: z.ZodOptional<z.ZodString>;
18
+ index: z.ZodOptional<z.ZodNumber>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ name?: string | undefined;
21
+ index?: number | undefined;
22
+ }, {
23
+ name?: string | undefined;
24
+ index?: number | undefined;
25
+ }>;
26
+ export type SpotValue = z.infer<typeof SpotValueSchema>;
27
+ export declare const SpotDefaultValueSchema: z.ZodObject<{
28
+ name: z.ZodOptional<z.ZodString>;
29
+ index: z.ZodOptional<z.ZodNumber>;
30
+ fill: z.ZodDefault<z.ZodBoolean>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ fill: boolean;
33
+ name?: string | undefined;
34
+ index?: number | undefined;
35
+ }, {
36
+ fill?: boolean | undefined;
37
+ name?: string | undefined;
38
+ index?: number | undefined;
39
+ }>;
40
+ export type SpotDefaultValue = z.infer<typeof SpotDefaultValueSchema>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpotDefaultValueSchema = exports.SpotValueSchema = exports.SpotConfigSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.SpotConfigSchema = zod_1.z.array(zod_1.z.object({
6
+ name: zod_1.z.string(),
7
+ start: zod_1.z.number(),
8
+ end: zod_1.z.number(),
9
+ }));
10
+ exports.SpotValueSchema = zod_1.z.object({
11
+ name: zod_1.z.string().optional(),
12
+ index: zod_1.z.number().optional(),
13
+ });
14
+ exports.SpotDefaultValueSchema = zod_1.z.object({
15
+ name: zod_1.z.string().optional(),
16
+ index: zod_1.z.number().optional(),
17
+ fill: zod_1.z.boolean().default(false),
18
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,40 @@
1
+ import { z } from "zod";
2
+ export declare const SpotConfigSchema: z.ZodArray<z.ZodObject<{
3
+ name: z.ZodString;
4
+ start: z.ZodNumber;
5
+ end: z.ZodNumber;
6
+ }, "strip", z.ZodTypeAny, {
7
+ name: string;
8
+ start: number;
9
+ end: number;
10
+ }, {
11
+ name: string;
12
+ start: number;
13
+ end: number;
14
+ }>, "many">;
15
+ export type SpotConfig = z.infer<typeof SpotConfigSchema>;
16
+ export declare const SpotValueSchema: z.ZodObject<{
17
+ name: z.ZodOptional<z.ZodString>;
18
+ index: z.ZodOptional<z.ZodNumber>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ name?: string | undefined;
21
+ index?: number | undefined;
22
+ }, {
23
+ name?: string | undefined;
24
+ index?: number | undefined;
25
+ }>;
26
+ export type SpotValue = z.infer<typeof SpotValueSchema>;
27
+ export declare const SpotDefaultValueSchema: z.ZodObject<{
28
+ name: z.ZodOptional<z.ZodString>;
29
+ index: z.ZodOptional<z.ZodNumber>;
30
+ fill: z.ZodDefault<z.ZodBoolean>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ fill: boolean;
33
+ name?: string | undefined;
34
+ index?: number | undefined;
35
+ }, {
36
+ fill?: boolean | undefined;
37
+ name?: string | undefined;
38
+ index?: number | undefined;
39
+ }>;
40
+ export type SpotDefaultValue = z.infer<typeof SpotDefaultValueSchema>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpotDefaultValueSchema = exports.SpotValueSchema = exports.SpotConfigSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.SpotConfigSchema = zod_1.z.array(zod_1.z.object({
6
+ name: zod_1.z.string(),
7
+ start: zod_1.z.number(),
8
+ end: zod_1.z.number(),
9
+ }));
10
+ exports.SpotValueSchema = zod_1.z.object({
11
+ name: zod_1.z.string().optional(),
12
+ index: zod_1.z.number().optional(),
13
+ });
14
+ exports.SpotDefaultValueSchema = zod_1.z.object({
15
+ name: zod_1.z.string().optional(),
16
+ index: zod_1.z.number().optional(),
17
+ fill: zod_1.z.boolean().default(false),
18
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "controlresell",
3
+ "version": "0.0.1",
4
+ "main": "dist/index.js",
5
+ "types": "dist/index.d.ts",
6
+ "module": "dist/index.js",
7
+ "files": [
8
+ "dist/**/*"
9
+ ],
10
+ "scripts": {
11
+ "generate-index": "barrelsby --delete --directory src",
12
+ "build": "npm run generate-index && tsc",
13
+ "test": "echo \"Error: no test specified\" && exit 1"
14
+ },
15
+ "keywords": [],
16
+ "author": "",
17
+ "license": "ISC",
18
+ "description": "",
19
+ "devDependencies": {
20
+ "@eslint/js": "^9.21.0",
21
+ "@guimauvedigital/eslint-plugin-safety": "^1.0.8",
22
+ "barrelsby": "^2.8.1",
23
+ "eslint": "^9.21.0",
24
+ "globals": "^16.0.0",
25
+ "typescript": "^5.7.1",
26
+ "typescript-eslint": "^8.25.0"
27
+ },
28
+ "dependencies": {
29
+ "zod": "^3.24.2"
30
+ }
31
+ }