@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.
Files changed (73) hide show
  1. package/CHANGELOG.md +22 -4
  2. package/README.md +40 -40
  3. package/es/Clothing/Colors.ts +14 -0
  4. package/es/Clothing/Fit.ts +3 -1
  5. package/es/Clothing/Garment.ts +43 -7
  6. package/es/Clothing/materials.ts +10 -0
  7. package/es/Clothing/use_cases.ts +4 -0
  8. package/es/Clothing/variants.ts +25 -2
  9. package/json-schemas/CatalogClothingSchema.json +288 -0
  10. package/json-schemas/ClothingSchema.json +384 -0
  11. package/json-schemas/DetailedClothingSchema.json +75 -0
  12. package/json-schemas/MetaClothingSchema.json +41 -0
  13. package/json-schemas/es/CatalogClothingSchema.json +288 -0
  14. package/json-schemas/es/Clothing/Accessories.json +18 -0
  15. package/json-schemas/es/Clothing/AdditionalFeatures.json +9 -0
  16. package/json-schemas/es/Clothing/BaseColor.json +19 -0
  17. package/json-schemas/es/Clothing/Bottom.json +12 -0
  18. package/json-schemas/es/Clothing/Care.json +13 -0
  19. package/json-schemas/es/Clothing/Cares.json +17 -0
  20. package/json-schemas/es/Clothing/CatalogClothingSchema.json +288 -0
  21. package/json-schemas/es/Clothing/Closures.json +11 -0
  22. package/json-schemas/es/Clothing/ClothingSchema.json +384 -0
  23. package/json-schemas/es/Clothing/Color.json +26 -0
  24. package/json-schemas/es/Clothing/CommonFabric.json +15 -0
  25. package/json-schemas/es/Clothing/DetailedClothingSchema.json +75 -0
  26. package/json-schemas/es/Clothing/Dress.json +9 -0
  27. package/json-schemas/es/Clothing/Fit.json +13 -0
  28. package/json-schemas/es/Clothing/Formality.json +12 -0
  29. package/json-schemas/es/Clothing/Garment.json +57 -0
  30. package/json-schemas/es/Clothing/Home.json +9 -0
  31. package/json-schemas/es/Clothing/Ironing.json +8 -0
  32. package/json-schemas/es/Clothing/Layer.json +10 -0
  33. package/json-schemas/es/Clothing/Material.json +28 -0
  34. package/json-schemas/es/Clothing/Materials.json +32 -0
  35. package/json-schemas/es/Clothing/Measurements.json +8 -0
  36. package/json-schemas/es/Clothing/MetaClothingSchema.json +41 -0
  37. package/json-schemas/es/Clothing/MetallicColor.json +9 -0
  38. package/json-schemas/es/Clothing/NaturalMaterial.json +13 -0
  39. package/json-schemas/es/Clothing/Necks.json +15 -0
  40. package/json-schemas/es/Clothing/Outerwear.json +9 -0
  41. package/json-schemas/es/Clothing/Pants.json +11 -0
  42. package/json-schemas/es/Clothing/PantsSize.json +17 -0
  43. package/json-schemas/es/Clothing/Pattern.json +17 -0
  44. package/json-schemas/es/Clothing/PrimaryColor.json +27 -0
  45. package/json-schemas/es/Clothing/Season.json +11 -0
  46. package/json-schemas/es/Clothing/SecondaryColor.json +27 -0
  47. package/json-schemas/es/Clothing/Shoes.json +11 -0
  48. package/json-schemas/es/Clothing/ShoesSize.json +16 -0
  49. package/json-schemas/es/Clothing/Size.json +29 -0
  50. package/json-schemas/es/Clothing/Sleeves.json +9 -0
  51. package/json-schemas/es/Clothing/Slot.json +13 -0
  52. package/json-schemas/es/Clothing/SpecialColor.json +10 -0
  53. package/json-schemas/es/Clothing/SpecialCuts.json +9 -0
  54. package/json-schemas/es/Clothing/Sportswear.json +11 -0
  55. package/json-schemas/es/Clothing/Status.json +13 -0
  56. package/json-schemas/es/Clothing/Swimsuits.json +9 -0
  57. package/json-schemas/es/Clothing/SyntheticMaterial.json +12 -0
  58. package/json-schemas/es/Clothing/Temperature.json +8 -0
  59. package/json-schemas/es/Clothing/Top.json +16 -0
  60. package/json-schemas/es/Clothing/TopsSize.json +13 -0
  61. package/json-schemas/es/Clothing/Underwear.json +12 -0
  62. package/json-schemas/es/Clothing/UseCase.json +18 -0
  63. package/json-schemas/es/Clothing/UseCases.json +22 -0
  64. package/json-schemas/es/Clothing/Variant.json +37 -0
  65. package/json-schemas/es/Clothing/Variants.json +41 -0
  66. package/json-schemas/es/Clothing/WashType.json +9 -0
  67. package/json-schemas/es/Clothing/index.json +1595 -0
  68. package/json-schemas/es/ClothingSchema.json +384 -0
  69. package/json-schemas/es/DetailedClothingSchema.json +75 -0
  70. package/json-schemas/es/MetaClothingSchema.json +41 -0
  71. package/json-schemas/es/index.json +795 -0
  72. package/json-schemas/index.json +795 -0
  73. package/package.json +54 -30
package/package.json CHANGED
@@ -1,40 +1,58 @@
1
1
  {
2
2
  "name": "@segha/catalog",
3
- "version": "0.0.1",
3
+ "version": "1.0.0",
4
4
  "main": "index.ts",
5
5
  "description": "Schemas for Petroglyph Catalog",
6
- "scripts": {
7
- "docs": "pnpx tsx ../../utils/generate-docs.ts --entry ./index.ts --cwd .",
8
- "test": "echo \"Error: no test specified\" && exit 1"
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
- "type": "module",
24
- "exports": {
25
- ".": "./index.ts",
26
- "./es": "./es/index.ts",
27
- "./es/clothing": "./es/Clothing/index.ts",
28
- "./es/clothing/types": "./es/Clothing/types.ts",
29
- "./types": "./types.ts"
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": "catalog:"
50
+ "zod": "^4.0.14"
33
51
  },
34
52
  "devDependencies": {
35
- "zod": "catalog:",
36
- "zod2md": "catalog:",
37
- "tsx": "catalog:"
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
+ }