@segha/catalog 0.0.1 → 1.0.0
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/CHANGELOG.md +22 -4
- package/README.md +40 -40
- package/es/Clothing/Colors.ts +14 -0
- package/es/Clothing/Fit.ts +3 -1
- package/es/Clothing/Garment.ts +43 -7
- package/es/Clothing/materials.ts +10 -0
- package/es/Clothing/use_cases.ts +4 -0
- package/es/Clothing/variants.ts +25 -2
- package/json-schemas/CatalogClothingSchema.json +288 -0
- package/json-schemas/ClothingSchema.json +384 -0
- package/json-schemas/DetailedClothingSchema.json +75 -0
- package/json-schemas/MetaClothingSchema.json +41 -0
- package/json-schemas/es/CatalogClothingSchema.json +288 -0
- package/json-schemas/es/Clothing/Accessories.json +18 -0
- package/json-schemas/es/Clothing/AdditionalFeatures.json +9 -0
- package/json-schemas/es/Clothing/BaseColor.json +19 -0
- package/json-schemas/es/Clothing/Bottom.json +12 -0
- package/json-schemas/es/Clothing/Care.json +13 -0
- package/json-schemas/es/Clothing/Cares.json +17 -0
- package/json-schemas/es/Clothing/CatalogClothingSchema.json +288 -0
- package/json-schemas/es/Clothing/Closures.json +11 -0
- package/json-schemas/es/Clothing/ClothingSchema.json +384 -0
- package/json-schemas/es/Clothing/Color.json +26 -0
- package/json-schemas/es/Clothing/CommonFabric.json +15 -0
- package/json-schemas/es/Clothing/DetailedClothingSchema.json +75 -0
- package/json-schemas/es/Clothing/Dress.json +9 -0
- package/json-schemas/es/Clothing/Fit.json +13 -0
- package/json-schemas/es/Clothing/Formality.json +12 -0
- package/json-schemas/es/Clothing/Garment.json +57 -0
- package/json-schemas/es/Clothing/Home.json +9 -0
- package/json-schemas/es/Clothing/Ironing.json +8 -0
- package/json-schemas/es/Clothing/Layer.json +10 -0
- package/json-schemas/es/Clothing/Material.json +28 -0
- package/json-schemas/es/Clothing/Materials.json +32 -0
- package/json-schemas/es/Clothing/Measurements.json +8 -0
- package/json-schemas/es/Clothing/MetaClothingSchema.json +41 -0
- package/json-schemas/es/Clothing/MetallicColor.json +9 -0
- package/json-schemas/es/Clothing/NaturalMaterial.json +13 -0
- package/json-schemas/es/Clothing/Necks.json +15 -0
- package/json-schemas/es/Clothing/Outerwear.json +9 -0
- package/json-schemas/es/Clothing/Pants.json +11 -0
- package/json-schemas/es/Clothing/PantsSize.json +17 -0
- package/json-schemas/es/Clothing/Pattern.json +17 -0
- package/json-schemas/es/Clothing/PrimaryColor.json +27 -0
- package/json-schemas/es/Clothing/Season.json +11 -0
- package/json-schemas/es/Clothing/SecondaryColor.json +27 -0
- package/json-schemas/es/Clothing/Shoes.json +11 -0
- package/json-schemas/es/Clothing/ShoesSize.json +16 -0
- package/json-schemas/es/Clothing/Size.json +29 -0
- package/json-schemas/es/Clothing/Sleeves.json +9 -0
- package/json-schemas/es/Clothing/Slot.json +13 -0
- package/json-schemas/es/Clothing/SpecialColor.json +10 -0
- package/json-schemas/es/Clothing/SpecialCuts.json +9 -0
- package/json-schemas/es/Clothing/Sportswear.json +11 -0
- package/json-schemas/es/Clothing/Status.json +13 -0
- package/json-schemas/es/Clothing/Swimsuits.json +9 -0
- package/json-schemas/es/Clothing/SyntheticMaterial.json +12 -0
- package/json-schemas/es/Clothing/Temperature.json +8 -0
- package/json-schemas/es/Clothing/Top.json +16 -0
- package/json-schemas/es/Clothing/TopsSize.json +13 -0
- package/json-schemas/es/Clothing/Underwear.json +12 -0
- package/json-schemas/es/Clothing/UseCase.json +18 -0
- package/json-schemas/es/Clothing/UseCases.json +22 -0
- package/json-schemas/es/Clothing/Variant.json +37 -0
- package/json-schemas/es/Clothing/Variants.json +41 -0
- package/json-schemas/es/Clothing/WashType.json +9 -0
- package/json-schemas/es/Clothing/index.json +1595 -0
- package/json-schemas/es/ClothingSchema.json +384 -0
- package/json-schemas/es/DetailedClothingSchema.json +75 -0
- package/json-schemas/es/MetaClothingSchema.json +41 -0
- package/json-schemas/es/index.json +795 -0
- package/json-schemas/index.json +795 -0
- package/package.json +54 -30
package/package.json
CHANGED
|
@@ -1,40 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@segha/catalog",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"description": "Schemas for Petroglyph Catalog",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
6
|
+
"keywords": [
|
|
7
|
+
"schemas",
|
|
8
|
+
"zod",
|
|
9
|
+
"obsidianmd"
|
|
10
|
+
],
|
|
11
|
+
"author": "Aitor Llamas Jiménez <aitorllj93@gmail.com>",
|
|
12
|
+
"homepage": "https://github.com/aitorllj93/segha",
|
|
13
|
+
"funding": [
|
|
14
|
+
{
|
|
15
|
+
"type": "github",
|
|
16
|
+
"url": "https://github.com/sponsors/aitorllj93"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"type": "ko_fi",
|
|
20
|
+
"url": "https://ko-fi.com/aitorllj93"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "buy_me_a_coffee",
|
|
24
|
+
"url": "https://buymeacoffee.com/aitorllj93"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "individual",
|
|
28
|
+
"url": "https://www.paypal.com/paypalme/aitorllj93"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "git+https://github.com/aitorllj93/segha.git",
|
|
34
|
+
"directory": "schemas/catalog"
|
|
9
35
|
},
|
|
10
|
-
"keywords": [
|
|
11
|
-
"schemas",
|
|
12
|
-
"zod",
|
|
13
|
-
"obsidianmd"
|
|
14
|
-
],
|
|
15
|
-
"author": "Aitor Llamas Jiménez <aitorllj93@gmail.com>",
|
|
16
|
-
"homepage": "https://github.com/aitorllj93/segha",
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "git+https://github.com/aitorllj93/segha.git",
|
|
20
|
-
"directory": "schemas/catalog"
|
|
21
|
-
},
|
|
22
36
|
"license": "ISC",
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
37
|
+
"type": "module",
|
|
38
|
+
"exports": {
|
|
39
|
+
".": "./index.ts",
|
|
40
|
+
"./es": "./es/index.ts",
|
|
41
|
+
"./es/clothing": "./es/Clothing/index.ts",
|
|
42
|
+
"./es/clothing/types": "./es/Clothing/types.ts",
|
|
43
|
+
"./types": "./types.ts",
|
|
44
|
+
"./es/json-schema": "./json-schemas/es/index.json",
|
|
45
|
+
"./es/json-schemas/*": "./json-schemas/es/*.json",
|
|
46
|
+
"./es/clothing/json-schema": "./json-schemas/es/Clothing/index.json",
|
|
47
|
+
"./es/clothing/json-schemas/*": "./json-schemas/es/Clothing/*.json"
|
|
48
|
+
},
|
|
31
49
|
"peerDependencies": {
|
|
32
|
-
"zod": "
|
|
50
|
+
"zod": "^4.0.14"
|
|
33
51
|
},
|
|
34
52
|
"devDependencies": {
|
|
35
|
-
"zod": "
|
|
36
|
-
"zod2md": "
|
|
37
|
-
"tsx": "
|
|
53
|
+
"zod": "^4.0.14",
|
|
54
|
+
"zod2md": "^0.2.4",
|
|
55
|
+
"tsx": "^4.21.0"
|
|
38
56
|
},
|
|
39
57
|
"publishConfig": {
|
|
40
58
|
"access": "public"
|
|
@@ -42,7 +60,13 @@
|
|
|
42
60
|
"files": [
|
|
43
61
|
"*.ts",
|
|
44
62
|
"es/**/*.ts",
|
|
63
|
+
"json-schemas/**/*.json",
|
|
45
64
|
"README.md",
|
|
46
65
|
"CHANGELOG.md"
|
|
47
|
-
]
|
|
48
|
-
|
|
66
|
+
],
|
|
67
|
+
"scripts": {
|
|
68
|
+
"docs": "pnpx tsx ../../utils/generate-docs.ts --entry ./index.ts --cwd .",
|
|
69
|
+
"json-schema": "pnpx tsx ../../utils/generate-json-schema.ts --entry ./",
|
|
70
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
71
|
+
}
|
|
72
|
+
}
|