@zauru-sdk/types 1.0.33 → 1.0.49
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/cjs/Custom.types.js +24 -0
- package/dist/cjs/GraphQL.types.js +2 -0
- package/dist/cjs/index.js +18 -0
- package/dist/esm/Custom.types.js +24 -0
- package/dist/esm/GraphQL.types.js +2 -0
- package/dist/esm/index.js +18 -0
- package/package.json +11 -9
- package/CHANGELOG.md +0 -72
- package/src/Custom.types.ts +0 -720
- package/src/GraphQL.types.ts +0 -696
- package/src/index.ts +0 -2
- package/tsconfig.json +0 -23
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UNIDADES_DE_MEDIDA = exports.MONTHS = void 0;
|
|
4
|
+
exports.MONTHS = {
|
|
5
|
+
ene: 0,
|
|
6
|
+
feb: 1,
|
|
7
|
+
mar: 2,
|
|
8
|
+
abr: 3,
|
|
9
|
+
may: 4,
|
|
10
|
+
jun: 5,
|
|
11
|
+
jul: 6,
|
|
12
|
+
ago: 7,
|
|
13
|
+
sep: 8,
|
|
14
|
+
oct: 9,
|
|
15
|
+
nov: 10,
|
|
16
|
+
dic: 11,
|
|
17
|
+
};
|
|
18
|
+
exports.UNIDADES_DE_MEDIDA = [
|
|
19
|
+
{ label: "Frasco", value: "frasco", stocks_only_integer: false },
|
|
20
|
+
{ label: "Bolsa", value: "bolsa", stocks_only_integer: false },
|
|
21
|
+
{ label: "Paquete", value: "paquete", stocks_only_integer: false },
|
|
22
|
+
{ label: "Caja", value: "caja", stocks_only_integer: false },
|
|
23
|
+
{ label: "Unidades", value: "unidades", stocks_only_integer: true },
|
|
24
|
+
];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./GraphQL.types.js"), exports);
|
|
18
|
+
__exportStar(require("./Custom.types.js"), exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UNIDADES_DE_MEDIDA = exports.MONTHS = void 0;
|
|
4
|
+
exports.MONTHS = {
|
|
5
|
+
ene: 0,
|
|
6
|
+
feb: 1,
|
|
7
|
+
mar: 2,
|
|
8
|
+
abr: 3,
|
|
9
|
+
may: 4,
|
|
10
|
+
jun: 5,
|
|
11
|
+
jul: 6,
|
|
12
|
+
ago: 7,
|
|
13
|
+
sep: 8,
|
|
14
|
+
oct: 9,
|
|
15
|
+
nov: 10,
|
|
16
|
+
dic: 11,
|
|
17
|
+
};
|
|
18
|
+
exports.UNIDADES_DE_MEDIDA = [
|
|
19
|
+
{ label: "Frasco", value: "frasco", stocks_only_integer: false },
|
|
20
|
+
{ label: "Bolsa", value: "bolsa", stocks_only_integer: false },
|
|
21
|
+
{ label: "Paquete", value: "paquete", stocks_only_integer: false },
|
|
22
|
+
{ label: "Caja", value: "caja", stocks_only_integer: false },
|
|
23
|
+
{ label: "Unidades", value: "unidades", stocks_only_integer: true },
|
|
24
|
+
];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./GraphQL.types.js"), exports);
|
|
18
|
+
__exportStar(require("./Custom.types.js"), exports);
|
package/package.json
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.49",
|
|
4
4
|
"description": "Estructuras de Zauru, tipado de modelos y modelos personalizados.",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
5
|
+
"main": "./dist/cjs/index.js",
|
|
6
|
+
"module": "./dist/esm/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
|
-
"build": "
|
|
12
|
+
"build": "npm run build:cjs && npm run build:esm",
|
|
13
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
14
|
+
"build:esm": "tsc -p tsconfig.esm.json",
|
|
13
15
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
14
16
|
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
15
20
|
"author": "Oscar Cuéllar",
|
|
16
21
|
"license": "MIT",
|
|
17
22
|
"devDependencies": {
|
|
18
23
|
"typescript": "^5.1.6"
|
|
19
24
|
},
|
|
20
|
-
"
|
|
21
|
-
"node": ">=18.0.0"
|
|
22
|
-
},
|
|
23
|
-
"gitHead": "6f74ce89d7da3e948fac00ef04d244ddc4777b12"
|
|
25
|
+
"gitHead": "0d1f62f58f5f2e5283f03d7c2a39c6c85f8f6850"
|
|
24
26
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## [1.0.33](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.32...v1.0.33) (2024-03-25)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @zauru-sdk/types
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## [1.0.31](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.30...v1.0.31) (2024-03-25)
|
|
15
|
-
|
|
16
|
-
**Note:** Version bump only for package @zauru-sdk/types
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## [1.0.26](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.25...v1.0.26) (2024-03-25)
|
|
23
|
-
|
|
24
|
-
**Note:** Version bump only for package @zauru-sdk/types
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
## [1.0.13](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.12...v1.0.13) (2024-03-21)
|
|
31
|
-
|
|
32
|
-
**Note:** Version bump only for package @zauru-sdk/types
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
## [1.0.10](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.9...v1.0.10) (2024-03-17)
|
|
39
|
-
|
|
40
|
-
**Note:** Version bump only for package @zauru-sdk/types
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
## [1.0.8](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.7...v1.0.8) (2024-03-16)
|
|
47
|
-
|
|
48
|
-
**Note:** Version bump only for package @zauru-sdk/types
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
## [1.0.7](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.6...v1.0.7) (2024-03-16)
|
|
55
|
-
|
|
56
|
-
**Note:** Version bump only for package @zauru-sdk/types
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
## [1.0.6](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.5...v1.0.6) (2024-03-16)
|
|
63
|
-
|
|
64
|
-
**Note:** Version bump only for package @zauru-sdk/types
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
## [1.0.5](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.4...v1.0.5) (2024-03-16)
|
|
71
|
-
|
|
72
|
-
**Note:** Version bump only for package @zauru-sdk/types
|