@segha/catalog 0.1.0 → 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 +8 -0
- 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 +69 -8
- package/json-schemas/ClothingSchema.json +69 -8
- package/json-schemas/es/CatalogClothingSchema.json +69 -8
- package/json-schemas/es/Clothing/Accessories.json +7 -2
- package/json-schemas/es/Clothing/AdditionalFeatures.json +9 -0
- package/json-schemas/es/Clothing/Bottom.json +2 -1
- package/json-schemas/es/Clothing/CatalogClothingSchema.json +69 -8
- package/json-schemas/es/Clothing/Closures.json +11 -0
- package/json-schemas/es/Clothing/ClothingSchema.json +69 -8
- package/json-schemas/es/Clothing/Color.json +4 -1
- package/json-schemas/es/Clothing/CommonFabric.json +7 -1
- package/json-schemas/es/Clothing/Dress.json +2 -1
- package/json-schemas/es/Clothing/Fit.json +3 -1
- package/json-schemas/es/Clothing/Garment.json +19 -1
- package/json-schemas/es/Clothing/Home.json +9 -0
- package/json-schemas/es/Clothing/Material.json +11 -1
- package/json-schemas/es/Clothing/Materials.json +11 -1
- package/json-schemas/es/Clothing/MetallicColor.json +9 -0
- package/json-schemas/es/Clothing/NaturalMaterial.json +3 -1
- package/json-schemas/es/Clothing/Necks.json +6 -1
- package/json-schemas/es/Clothing/Pants.json +2 -1
- package/json-schemas/es/Clothing/Pattern.json +8 -1
- package/json-schemas/es/Clothing/PrimaryColor.json +4 -1
- package/json-schemas/es/Clothing/SecondaryColor.json +4 -1
- package/json-schemas/es/Clothing/Shoes.json +2 -1
- package/json-schemas/es/Clothing/Sportswear.json +11 -0
- package/json-schemas/es/Clothing/Swimsuits.json +9 -0
- package/json-schemas/es/Clothing/SyntheticMaterial.json +3 -1
- package/json-schemas/es/Clothing/Top.json +2 -1
- package/json-schemas/es/Clothing/Underwear.json +12 -0
- package/json-schemas/es/Clothing/UseCase.json +5 -1
- package/json-schemas/es/Clothing/UseCases.json +5 -1
- package/json-schemas/es/Clothing/Variant.json +15 -1
- package/json-schemas/es/Clothing/Variants.json +15 -1
- package/json-schemas/es/Clothing/index.json +348 -39
- package/json-schemas/es/ClothingSchema.json +69 -8
- package/json-schemas/es/index.json +138 -16
- package/json-schemas/index.json +138 -16
- package/package.json +19 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -48,21 +48,21 @@ Prenda de ropa: Datos obtenibles de catalogación
|
|
|
48
48
|
|
|
49
49
|
_Object containing the following properties:_
|
|
50
50
|
|
|
51
|
-
| Property | Description | Type
|
|
52
|
-
| :----------------------- | :------------------------ |
|
|
53
|
-
| **`garment`** (\*) | Tipo de Prenda | `'Camisetas' \| '
|
|
54
|
-
| **`slot`** (\*) | Parte del outfit | `'Superior' \| 'Inferior' \| 'Cuerpo Completo' \| 'Exterior' \| 'Calzado' \| 'Accesorios'`
|
|
55
|
-
| `variants` | Detalles Estructurales | `Array<'Sin Mangas' \| 'Mangas Cortas' \| 'Mangas Largas' \| 'Cuello Redondo' \| 'Cuello Pico' \| 'Cuello Alto' \| 'Cuello Camisa' \| 'Overshirt' \| 'Cropped' \| 'Larga' \| 'Pierna Recta' \| 'Pitillo' \| 'Ancha' \| 'Cargo' \| '
|
|
56
|
-
| `fit` | Ajuste | `'Entallado' \| 'Regular' \| 'Relajado' \| '
|
|
57
|
-
| **`primary_color`** (\*) | Color principal | `'Blanco' \| 'Negro' \| 'Gris' \| 'Beige' \| 'Marrón' \| 'Azul' \| 'Verde' \| 'Rojo' \| 'Burdeos' \| 'Rosa' \| 'Amarillo' \| 'Naranja' \| 'Morado' \| 'Camel' \| 'Caqui' \| 'Marino' \| 'Crema'`
|
|
58
|
-
| `secondary_color` | Color secundario | `'Blanco' \| 'Negro' \| 'Gris' \| 'Beige' \| 'Marrón' \| 'Azul' \| 'Verde' \| 'Rojo' \| 'Burdeos' \| 'Rosa' \| 'Amarillo' \| 'Naranja' \| 'Morado' \| 'Camel' \| 'Caqui' \| 'Marino' \| 'Crema'`
|
|
59
|
-
| `pattern` | Estampado | `'Liso' \| 'Rayas' \| 'Cuadros'`
|
|
60
|
-
| `materials` | Materiales | `Array<'Algodón' \| 'Lino' \| 'Lana' \| 'Seda' \| 'Cuero' \| 'Poliéster' \| 'Nylon' \| 'Elastano' \| 'Viscosa' \| 'Denim' \| 'Punto' \| 'Felpa'
|
|
61
|
-
| **`layer`** (\*) | Capa Térmica | `'Base' \| 'Intermedia' \| 'Exterior'`
|
|
62
|
-
| `season` | Estaciones | `'Invierno' \| 'Verano' \| 'Entretiempo' \| 'Todo el año'`
|
|
63
|
-
| `use_case` | Casos de uso | `Array<'Capsula' \| 'Favorita' \| 'Básico' \| 'Deporte' \| 'Trabajo' \| 'Evento' \| 'Viaje' \| 'Casa'>`
|
|
64
|
-
| `formality` | Formalidad | `'Muy Informal' \| 'Casual' \| 'Arreglado' \| 'Formal' \| 'Etiqueta'`
|
|
65
|
-
| `brand` | The brand of the clothing | `string`
|
|
51
|
+
| Property | Description | Type |
|
|
52
|
+
| :----------------------- | :------------------------ | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
53
|
+
| **`garment`** (\*) | Tipo de Prenda | `'Camisetas Interiores' \| 'Calzoncillos' \| 'Bragas' \| 'Sujetadores' \| 'Calcetines' \| 'Camisetas' \| 'Polos' \| 'Camisas' \| 'Blusas' \| 'Tops' \| 'Jerseys' \| 'Sudaderas' \| 'Cárdigans' \| 'Chaquetas' \| 'Pantalones' \| 'Vaqueros' \| 'Chinos' \| 'Faldas' \| 'Shorts' \| 'Americanas' \| ...` |
|
|
54
|
+
| **`slot`** (\*) | Parte del outfit | `'Superior' \| 'Inferior' \| 'Cuerpo Completo' \| 'Exterior' \| 'Calzado' \| 'Accesorios'` |
|
|
55
|
+
| `variants` | Detalles Estructurales | `Array<'Sin Mangas' \| 'Mangas Cortas' \| 'Mangas Largas' \| 'Cuello Redondo' \| 'Cuello Pico' \| 'Cuello Alto' \| 'Cuello Camisa' \| 'Cuello Polo' \| 'Cuello Panadero' \| 'Cuello Mao' \| 'Cuello Chimenea' \| 'Capucha' \| 'Overshirt' \| 'Cropped' \| 'Larga' \| 'Pierna Recta' \| 'Pitillo' \| 'Ancha' \| 'Cargo' \| 'Acampanado' \| ...>` |
|
|
56
|
+
| `fit` | Ajuste | `'Entallado' \| 'Ajustado' \| 'Regular' \| 'Relajado' \| 'Holgado' \| 'Extragrande'` |
|
|
57
|
+
| **`primary_color`** (\*) | Color principal | `'Blanco' \| 'Negro' \| 'Gris' \| 'Beige' \| 'Marrón' \| 'Azul' \| 'Verde' \| 'Rojo' \| 'Burdeos' \| 'Rosa' \| 'Amarillo' \| 'Naranja' \| 'Morado' \| 'Camel' \| 'Caqui' \| 'Marino' \| 'Crema' \| 'Oro' \| 'Plata' \| 'Bronce'` |
|
|
58
|
+
| `secondary_color` | Color secundario | `'Blanco' \| 'Negro' \| 'Gris' \| 'Beige' \| 'Marrón' \| 'Azul' \| 'Verde' \| 'Rojo' \| 'Burdeos' \| 'Rosa' \| 'Amarillo' \| 'Naranja' \| 'Morado' \| 'Camel' \| 'Caqui' \| 'Marino' \| 'Crema' \| 'Oro' \| 'Plata' \| 'Bronce'` |
|
|
59
|
+
| `pattern` | Estampado | `'Liso' \| 'Rayas' \| 'Cuadros' \| 'Lunares' \| 'Animal Print' \| 'Floral' \| 'Geométrico' \| 'Camuflaje' \| 'EstampadoGráfico' \| 'Degradado'` |
|
|
60
|
+
| `materials` | Materiales | `Array<'Algodón' \| 'Lino' \| 'Lana' \| 'Seda' \| 'Cuero' \| 'Cachemir' \| 'Ante' \| 'Poliéster' \| 'Nylon' \| 'Elastano' \| 'Viscosa' \| 'Piel Sintética' \| 'Gore-Tex' \| 'Denim' \| 'Punto' \| 'Felpa' \| 'Tweed' \| 'Satén' \| 'Terciopelo' \| 'Jacquard' \| ...>` |
|
|
61
|
+
| **`layer`** (\*) | Capa Térmica | `'Base' \| 'Intermedia' \| 'Exterior'` |
|
|
62
|
+
| `season` | Estaciones | `'Invierno' \| 'Verano' \| 'Entretiempo' \| 'Todo el año'` |
|
|
63
|
+
| `use_case` | Casos de uso | `Array<'Capsula' \| 'Favorita' \| 'Básico' \| 'Deporte' \| 'Trabajo' \| 'Evento' \| 'Viaje' \| 'Casa' \| 'Fiesta' \| 'Playa' \| 'Lluvia' \| 'Frío Extremo'>` |
|
|
64
|
+
| `formality` | Formalidad | `'Muy Informal' \| 'Casual' \| 'Arreglado' \| 'Formal' \| 'Etiqueta'` |
|
|
65
|
+
| `brand` | The brand of the clothing | `string` |
|
|
66
66
|
|
|
67
67
|
_(\*) Required._
|
|
68
68
|
|
|
@@ -72,31 +72,31 @@ Prenda de ropa
|
|
|
72
72
|
|
|
73
73
|
_Object containing the following properties:_
|
|
74
74
|
|
|
75
|
-
| Property | Description | Type
|
|
76
|
-
| :----------------------- | :------------------------ |
|
|
77
|
-
| **`garment`** (\*) | Tipo de Prenda | `'Camisetas' \| '
|
|
78
|
-
| **`slot`** (\*) | Parte del outfit | `'Superior' \| 'Inferior' \| 'Cuerpo Completo' \| 'Exterior' \| 'Calzado' \| 'Accesorios'`
|
|
79
|
-
| `variants` | Detalles Estructurales | `Array<'Sin Mangas' \| 'Mangas Cortas' \| 'Mangas Largas' \| 'Cuello Redondo' \| 'Cuello Pico' \| 'Cuello Alto' \| 'Cuello Camisa' \| 'Overshirt' \| 'Cropped' \| 'Larga' \| 'Pierna Recta' \| 'Pitillo' \| 'Ancha' \| 'Cargo' \| '
|
|
80
|
-
| `fit` | Ajuste | `'Entallado' \| 'Regular' \| 'Relajado' \| '
|
|
81
|
-
| **`primary_color`** (\*) | Color principal | `'Blanco' \| 'Negro' \| 'Gris' \| 'Beige' \| 'Marrón' \| 'Azul' \| 'Verde' \| 'Rojo' \| 'Burdeos' \| 'Rosa' \| 'Amarillo' \| 'Naranja' \| 'Morado' \| 'Camel' \| 'Caqui' \| 'Marino' \| 'Crema'`
|
|
82
|
-
| `secondary_color` | Color secundario | `'Blanco' \| 'Negro' \| 'Gris' \| 'Beige' \| 'Marrón' \| 'Azul' \| 'Verde' \| 'Rojo' \| 'Burdeos' \| 'Rosa' \| 'Amarillo' \| 'Naranja' \| 'Morado' \| 'Camel' \| 'Caqui' \| 'Marino' \| 'Crema'`
|
|
83
|
-
| `pattern` | Estampado | `'Liso' \| 'Rayas' \| 'Cuadros'`
|
|
84
|
-
| `materials` | Materiales | `Array<'Algodón' \| 'Lino' \| 'Lana' \| 'Seda' \| 'Cuero' \| 'Poliéster' \| 'Nylon' \| 'Elastano' \| 'Viscosa' \| 'Denim' \| 'Punto' \| 'Felpa'
|
|
85
|
-
| **`layer`** (\*) | Capa Térmica | `'Base' \| 'Intermedia' \| 'Exterior'`
|
|
86
|
-
| `season` | Estaciones | `'Invierno' \| 'Verano' \| 'Entretiempo' \| 'Todo el año'`
|
|
87
|
-
| `use_case` | Casos de uso | `Array<'Capsula' \| 'Favorita' \| 'Básico' \| 'Deporte' \| 'Trabajo' \| 'Evento' \| 'Viaje' \| 'Casa'>`
|
|
88
|
-
| `formality` | Formalidad | `'Muy Informal' \| 'Casual' \| 'Arreglado' \| 'Formal' \| 'Etiqueta'`
|
|
89
|
-
| `brand` | The brand of the clothing | `string`
|
|
90
|
-
| `cares` | Cuidados | `Array<'Lavado a mano' \| 'Lavado a máquina' \| 'Lavado en seco' \| 'Frio' \| 'Caliente' \| 'Planchado' \| 'Planchado a vapor'>`
|
|
91
|
-
| `status` | Estado | `'Nuevo' \| 'Bien' \| 'Gastado' \| 'Dañado' \| 'Retirar'`
|
|
92
|
-
| **`size`** (\*) | | `'28' \| '30' \| '32' \| '34' \| '36' \| '37' \| '38' \| '39' \| '40' \| '41' \| '42' \| '43' \| '44' \| '45' \| '46' \| '48' \| 'XS' \| 'S' \| 'M' \| 'L' \| ...`
|
|
93
|
-
| `measurements` | Medidas | `Array<number>`
|
|
94
|
-
| **`type`** (\*) | | `'[[Recursos]]'`
|
|
95
|
-
| **`subtype`** (\*) | | `'[[Prendas]]'`
|
|
96
|
-
| **`areas`** (\*) | | `Array<'[[Hogar]]'>`
|
|
97
|
-
| **`color`** (\*) | | `'#CB6120'`
|
|
98
|
-
| **`icon`** (\*) | | `'shirt'`
|
|
99
|
-
| `cover` | | `string`
|
|
75
|
+
| Property | Description | Type | Default |
|
|
76
|
+
| :----------------------- | :------------------------ | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------- |
|
|
77
|
+
| **`garment`** (\*) | Tipo de Prenda | `'Camisetas Interiores' \| 'Calzoncillos' \| 'Bragas' \| 'Sujetadores' \| 'Calcetines' \| 'Camisetas' \| 'Polos' \| 'Camisas' \| 'Blusas' \| 'Tops' \| 'Jerseys' \| 'Sudaderas' \| 'Cárdigans' \| 'Chaquetas' \| 'Pantalones' \| 'Vaqueros' \| 'Chinos' \| 'Faldas' \| 'Shorts' \| 'Americanas' \| ...` | |
|
|
78
|
+
| **`slot`** (\*) | Parte del outfit | `'Superior' \| 'Inferior' \| 'Cuerpo Completo' \| 'Exterior' \| 'Calzado' \| 'Accesorios'` | |
|
|
79
|
+
| `variants` | Detalles Estructurales | `Array<'Sin Mangas' \| 'Mangas Cortas' \| 'Mangas Largas' \| 'Cuello Redondo' \| 'Cuello Pico' \| 'Cuello Alto' \| 'Cuello Camisa' \| 'Cuello Polo' \| 'Cuello Panadero' \| 'Cuello Mao' \| 'Cuello Chimenea' \| 'Capucha' \| 'Overshirt' \| 'Cropped' \| 'Larga' \| 'Pierna Recta' \| 'Pitillo' \| 'Ancha' \| 'Cargo' \| 'Acampanado' \| ...>` | |
|
|
80
|
+
| `fit` | Ajuste | `'Entallado' \| 'Ajustado' \| 'Regular' \| 'Relajado' \| 'Holgado' \| 'Extragrande'` | |
|
|
81
|
+
| **`primary_color`** (\*) | Color principal | `'Blanco' \| 'Negro' \| 'Gris' \| 'Beige' \| 'Marrón' \| 'Azul' \| 'Verde' \| 'Rojo' \| 'Burdeos' \| 'Rosa' \| 'Amarillo' \| 'Naranja' \| 'Morado' \| 'Camel' \| 'Caqui' \| 'Marino' \| 'Crema' \| 'Oro' \| 'Plata' \| 'Bronce'` | |
|
|
82
|
+
| `secondary_color` | Color secundario | `'Blanco' \| 'Negro' \| 'Gris' \| 'Beige' \| 'Marrón' \| 'Azul' \| 'Verde' \| 'Rojo' \| 'Burdeos' \| 'Rosa' \| 'Amarillo' \| 'Naranja' \| 'Morado' \| 'Camel' \| 'Caqui' \| 'Marino' \| 'Crema' \| 'Oro' \| 'Plata' \| 'Bronce'` | |
|
|
83
|
+
| `pattern` | Estampado | `'Liso' \| 'Rayas' \| 'Cuadros' \| 'Lunares' \| 'Animal Print' \| 'Floral' \| 'Geométrico' \| 'Camuflaje' \| 'EstampadoGráfico' \| 'Degradado'` | |
|
|
84
|
+
| `materials` | Materiales | `Array<'Algodón' \| 'Lino' \| 'Lana' \| 'Seda' \| 'Cuero' \| 'Cachemir' \| 'Ante' \| 'Poliéster' \| 'Nylon' \| 'Elastano' \| 'Viscosa' \| 'Piel Sintética' \| 'Gore-Tex' \| 'Denim' \| 'Punto' \| 'Felpa' \| 'Tweed' \| 'Satén' \| 'Terciopelo' \| 'Jacquard' \| ...>` | |
|
|
85
|
+
| **`layer`** (\*) | Capa Térmica | `'Base' \| 'Intermedia' \| 'Exterior'` | |
|
|
86
|
+
| `season` | Estaciones | `'Invierno' \| 'Verano' \| 'Entretiempo' \| 'Todo el año'` | |
|
|
87
|
+
| `use_case` | Casos de uso | `Array<'Capsula' \| 'Favorita' \| 'Básico' \| 'Deporte' \| 'Trabajo' \| 'Evento' \| 'Viaje' \| 'Casa' \| 'Fiesta' \| 'Playa' \| 'Lluvia' \| 'Frío Extremo'>` | |
|
|
88
|
+
| `formality` | Formalidad | `'Muy Informal' \| 'Casual' \| 'Arreglado' \| 'Formal' \| 'Etiqueta'` | |
|
|
89
|
+
| `brand` | The brand of the clothing | `string` | |
|
|
90
|
+
| `cares` | Cuidados | `Array<'Lavado a mano' \| 'Lavado a máquina' \| 'Lavado en seco' \| 'Frio' \| 'Caliente' \| 'Planchado' \| 'Planchado a vapor'>` | |
|
|
91
|
+
| `status` | Estado | `'Nuevo' \| 'Bien' \| 'Gastado' \| 'Dañado' \| 'Retirar'` | `'Bien'` |
|
|
92
|
+
| **`size`** (\*) | | `'28' \| '30' \| '32' \| '34' \| '36' \| '37' \| '38' \| '39' \| '40' \| '41' \| '42' \| '43' \| '44' \| '45' \| '46' \| '48' \| 'XS' \| 'S' \| 'M' \| 'L' \| ...` | |
|
|
93
|
+
| `measurements` | Medidas | `Array<number>` | |
|
|
94
|
+
| **`type`** (\*) | | `'[[Recursos]]'` | |
|
|
95
|
+
| **`subtype`** (\*) | | `'[[Prendas]]'` | |
|
|
96
|
+
| **`areas`** (\*) | | `Array<'[[Hogar]]'>` | |
|
|
97
|
+
| **`color`** (\*) | | `'#CB6120'` | |
|
|
98
|
+
| **`icon`** (\*) | | `'shirt'` | |
|
|
99
|
+
| `cover` | | `string` | |
|
|
100
100
|
|
|
101
101
|
_(\*) Required._
|
|
102
102
|
|
package/es/Clothing/Colors.ts
CHANGED
|
@@ -25,9 +25,16 @@ export const SpecialColor = z.enum([
|
|
|
25
25
|
'Crema'
|
|
26
26
|
]);
|
|
27
27
|
|
|
28
|
+
export const MetallicColor = z.enum([
|
|
29
|
+
'Oro',
|
|
30
|
+
'Plata',
|
|
31
|
+
'Bronce',
|
|
32
|
+
]);
|
|
33
|
+
|
|
28
34
|
export const Color = z.enum([
|
|
29
35
|
...BaseColor.options,
|
|
30
36
|
...SpecialColor.options,
|
|
37
|
+
...MetallicColor.options,
|
|
31
38
|
]);
|
|
32
39
|
|
|
33
40
|
export const PrimaryColor = Color.describe('Color principal');
|
|
@@ -37,4 +44,11 @@ export const Pattern = z.enum([
|
|
|
37
44
|
'Liso',
|
|
38
45
|
'Rayas',
|
|
39
46
|
'Cuadros',
|
|
47
|
+
'Lunares',
|
|
48
|
+
'Animal Print',
|
|
49
|
+
'Floral',
|
|
50
|
+
'Geométrico',
|
|
51
|
+
'Camuflaje',
|
|
52
|
+
'EstampadoGráfico',
|
|
53
|
+
'Degradado'
|
|
40
54
|
]).optional().describe('Estampado');
|
package/es/Clothing/Fit.ts
CHANGED
package/es/Clothing/Garment.ts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import z from "zod";
|
|
2
2
|
|
|
3
|
+
// Ropa Interior
|
|
4
|
+
export const Underwear = z.enum([
|
|
5
|
+
'Camisetas Interiores',
|
|
6
|
+
'Calzoncillos',
|
|
7
|
+
'Bragas',
|
|
8
|
+
'Sujetadores',
|
|
9
|
+
'Calcetines',
|
|
10
|
+
]).describe('Ropa Interior');
|
|
11
|
+
|
|
3
12
|
// Superiores
|
|
4
13
|
export const Top = z.enum([
|
|
5
14
|
'Camisetas',
|
|
@@ -11,7 +20,7 @@ export const Top = z.enum([
|
|
|
11
20
|
'Sudaderas',
|
|
12
21
|
'Cárdigans',
|
|
13
22
|
'Chaquetas',
|
|
14
|
-
]);
|
|
23
|
+
]).describe('Ropa Superior');
|
|
15
24
|
|
|
16
25
|
export const Bottom = z.enum([
|
|
17
26
|
'Pantalones',
|
|
@@ -19,27 +28,41 @@ export const Bottom = z.enum([
|
|
|
19
28
|
'Chinos',
|
|
20
29
|
'Faldas',
|
|
21
30
|
'Shorts',
|
|
22
|
-
]);
|
|
31
|
+
]).describe('Ropa Inferior');
|
|
23
32
|
|
|
24
33
|
export const Outerwear = z.enum([
|
|
34
|
+
'Americanas',
|
|
25
35
|
'Abrigos',
|
|
26
36
|
'Gabardinas',
|
|
27
37
|
'Parkas',
|
|
28
38
|
'Cazadoras',
|
|
29
39
|
'Chalecos',
|
|
30
|
-
]);
|
|
40
|
+
]).describe('Ropa Exterior');
|
|
41
|
+
|
|
42
|
+
// Deportivas
|
|
43
|
+
export const Sportswear = z.enum([
|
|
44
|
+
'Mallas',
|
|
45
|
+
'Ropa Técnica',
|
|
46
|
+
'Shorts Deportivos',
|
|
47
|
+
'Camisetas Técnicas',
|
|
48
|
+
]).describe('Ropa Deportiva');
|
|
31
49
|
|
|
32
50
|
export const Dress = z.enum([
|
|
33
51
|
'Vestidos',
|
|
34
52
|
'Monos',
|
|
35
|
-
]);
|
|
53
|
+
]).describe('Pieza única');
|
|
36
54
|
|
|
37
55
|
export const Shoes = z.enum([
|
|
38
56
|
'Zapatillas',
|
|
39
57
|
'Zapatos',
|
|
40
58
|
'Botas',
|
|
41
59
|
'Sandalias',
|
|
42
|
-
]);
|
|
60
|
+
]).describe('Calzado');
|
|
61
|
+
|
|
62
|
+
export const Home = z.enum([
|
|
63
|
+
'Pijamas',
|
|
64
|
+
'Batas'
|
|
65
|
+
]).describe('Ropa de Casa');
|
|
43
66
|
|
|
44
67
|
export const Accessories = z.enum([
|
|
45
68
|
'Cinturones',
|
|
@@ -48,14 +71,27 @@ export const Accessories = z.enum([
|
|
|
48
71
|
'Bufandas',
|
|
49
72
|
'Guantes',
|
|
50
73
|
'Bolsos',
|
|
51
|
-
'Mochilas'
|
|
52
|
-
|
|
74
|
+
'Mochilas',
|
|
75
|
+
'Gafas de Sol',
|
|
76
|
+
'Pañuelos',
|
|
77
|
+
'Relojes',
|
|
78
|
+
'Joyas',
|
|
79
|
+
]).describe('Accesorios');
|
|
80
|
+
|
|
81
|
+
export const Swimsuits = z.enum([
|
|
82
|
+
'Bañadores',
|
|
83
|
+
'Bikinis',
|
|
84
|
+
]).describe('Trajes de baño');
|
|
53
85
|
|
|
54
86
|
export const Garment = z.enum([
|
|
87
|
+
...Underwear.options,
|
|
55
88
|
...Top.options,
|
|
56
89
|
...Bottom.options,
|
|
57
90
|
...Outerwear.options,
|
|
91
|
+
...Sportswear.options,
|
|
58
92
|
...Dress.options,
|
|
59
93
|
...Shoes.options,
|
|
60
94
|
...Accessories.options,
|
|
95
|
+
...Home.options,
|
|
96
|
+
...Swimsuits.options,
|
|
61
97
|
]).describe('Tipo de Prenda');
|
package/es/Clothing/materials.ts
CHANGED
|
@@ -7,6 +7,8 @@ export const NaturalMaterial = z.enum([
|
|
|
7
7
|
'Lana',
|
|
8
8
|
'Seda',
|
|
9
9
|
'Cuero',
|
|
10
|
+
'Cachemir',
|
|
11
|
+
'Ante',
|
|
10
12
|
]);
|
|
11
13
|
|
|
12
14
|
// Sintéticos
|
|
@@ -15,6 +17,8 @@ export const SyntheticMaterial = z.enum([
|
|
|
15
17
|
'Nylon',
|
|
16
18
|
'Elastano',
|
|
17
19
|
'Viscosa',
|
|
20
|
+
'Piel Sintética',
|
|
21
|
+
'Gore-Tex',
|
|
18
22
|
]);
|
|
19
23
|
|
|
20
24
|
// Tejidos Comunes
|
|
@@ -22,6 +26,12 @@ export const CommonFabric = z.enum([
|
|
|
22
26
|
'Denim',
|
|
23
27
|
'Punto',
|
|
24
28
|
'Felpa',
|
|
29
|
+
'Tweed',
|
|
30
|
+
'Satén',
|
|
31
|
+
'Terciopelo',
|
|
32
|
+
'Jacquard',
|
|
33
|
+
'Franela',
|
|
34
|
+
'Gabardina',
|
|
25
35
|
]);
|
|
26
36
|
|
|
27
37
|
export const Material = z.enum([
|
package/es/Clothing/use_cases.ts
CHANGED
package/es/Clothing/variants.ts
CHANGED
|
@@ -12,7 +12,21 @@ export const Necks = z.enum([
|
|
|
12
12
|
'Cuello Redondo',
|
|
13
13
|
'Cuello Pico',
|
|
14
14
|
'Cuello Alto',
|
|
15
|
-
'Cuello Camisa'
|
|
15
|
+
'Cuello Camisa',
|
|
16
|
+
'Cuello Polo',
|
|
17
|
+
'Cuello Panadero',
|
|
18
|
+
'Cuello Mao',
|
|
19
|
+
'Cuello Chimenea',
|
|
20
|
+
'Capucha',
|
|
21
|
+
]);
|
|
22
|
+
|
|
23
|
+
// Cierres
|
|
24
|
+
export const Closures = z.enum([
|
|
25
|
+
'Botones',
|
|
26
|
+
'Cremallera',
|
|
27
|
+
'Velcro',
|
|
28
|
+
'Cordones',
|
|
29
|
+
'Broches',
|
|
16
30
|
]);
|
|
17
31
|
|
|
18
32
|
// Cortes especiales
|
|
@@ -27,7 +41,8 @@ export const Pants = z.enum([
|
|
|
27
41
|
'Pierna Recta',
|
|
28
42
|
'Pitillo',
|
|
29
43
|
'Ancha',
|
|
30
|
-
'Cargo'
|
|
44
|
+
'Cargo',
|
|
45
|
+
'Acampanado',
|
|
31
46
|
]);
|
|
32
47
|
|
|
33
48
|
// Abrigos
|
|
@@ -37,12 +52,20 @@ export const Outerwear = z.enum([
|
|
|
37
52
|
'Doble botonadura'
|
|
38
53
|
]);
|
|
39
54
|
|
|
55
|
+
export const AdditionalFeatures = z.enum([
|
|
56
|
+
'Bolsillos',
|
|
57
|
+
'Sin Bolsillos',
|
|
58
|
+
'Reversible',
|
|
59
|
+
]);
|
|
60
|
+
|
|
40
61
|
export const Variant = z.enum([
|
|
41
62
|
...Sleeves.options,
|
|
42
63
|
...Necks.options,
|
|
43
64
|
...SpecialCuts.options,
|
|
44
65
|
...Pants.options,
|
|
45
66
|
...Outerwear.options,
|
|
67
|
+
...Closures.options,
|
|
68
|
+
...AdditionalFeatures.options,
|
|
46
69
|
]);
|
|
47
70
|
|
|
48
71
|
export const Variants = z.array(Variant)
|
|
@@ -5,6 +5,11 @@
|
|
|
5
5
|
"garment": {
|
|
6
6
|
"type": "string",
|
|
7
7
|
"enum": [
|
|
8
|
+
"Camisetas Interiores",
|
|
9
|
+
"Calzoncillos",
|
|
10
|
+
"Bragas",
|
|
11
|
+
"Sujetadores",
|
|
12
|
+
"Calcetines",
|
|
8
13
|
"Camisetas",
|
|
9
14
|
"Polos",
|
|
10
15
|
"Camisas",
|
|
@@ -19,11 +24,16 @@
|
|
|
19
24
|
"Chinos",
|
|
20
25
|
"Faldas",
|
|
21
26
|
"Shorts",
|
|
27
|
+
"Americanas",
|
|
22
28
|
"Abrigos",
|
|
23
29
|
"Gabardinas",
|
|
24
30
|
"Parkas",
|
|
25
31
|
"Cazadoras",
|
|
26
32
|
"Chalecos",
|
|
33
|
+
"Mallas",
|
|
34
|
+
"Ropa Técnica",
|
|
35
|
+
"Shorts Deportivos",
|
|
36
|
+
"Camisetas Técnicas",
|
|
27
37
|
"Vestidos",
|
|
28
38
|
"Monos",
|
|
29
39
|
"Zapatillas",
|
|
@@ -36,7 +46,15 @@
|
|
|
36
46
|
"Bufandas",
|
|
37
47
|
"Guantes",
|
|
38
48
|
"Bolsos",
|
|
39
|
-
"Mochilas"
|
|
49
|
+
"Mochilas",
|
|
50
|
+
"Gafas de Sol",
|
|
51
|
+
"Pañuelos",
|
|
52
|
+
"Relojes",
|
|
53
|
+
"Joyas",
|
|
54
|
+
"Pijamas",
|
|
55
|
+
"Batas",
|
|
56
|
+
"Bañadores",
|
|
57
|
+
"Bikinis"
|
|
40
58
|
],
|
|
41
59
|
"description": "Tipo de Prenda"
|
|
42
60
|
},
|
|
@@ -65,6 +83,11 @@
|
|
|
65
83
|
"Cuello Pico",
|
|
66
84
|
"Cuello Alto",
|
|
67
85
|
"Cuello Camisa",
|
|
86
|
+
"Cuello Polo",
|
|
87
|
+
"Cuello Panadero",
|
|
88
|
+
"Cuello Mao",
|
|
89
|
+
"Cuello Chimenea",
|
|
90
|
+
"Capucha",
|
|
68
91
|
"Overshirt",
|
|
69
92
|
"Cropped",
|
|
70
93
|
"Larga",
|
|
@@ -72,9 +95,18 @@
|
|
|
72
95
|
"Pitillo",
|
|
73
96
|
"Ancha",
|
|
74
97
|
"Cargo",
|
|
98
|
+
"Acampanado",
|
|
75
99
|
"Trench",
|
|
76
100
|
"Plumífero",
|
|
77
|
-
"Doble botonadura"
|
|
101
|
+
"Doble botonadura",
|
|
102
|
+
"Botones",
|
|
103
|
+
"Cremallera",
|
|
104
|
+
"Velcro",
|
|
105
|
+
"Cordones",
|
|
106
|
+
"Broches",
|
|
107
|
+
"Bolsillos",
|
|
108
|
+
"Sin Bolsillos",
|
|
109
|
+
"Reversible"
|
|
78
110
|
]
|
|
79
111
|
}
|
|
80
112
|
},
|
|
@@ -83,9 +115,11 @@
|
|
|
83
115
|
"type": "string",
|
|
84
116
|
"enum": [
|
|
85
117
|
"Entallado",
|
|
118
|
+
"Ajustado",
|
|
86
119
|
"Regular",
|
|
87
120
|
"Relajado",
|
|
88
|
-
"
|
|
121
|
+
"Holgado",
|
|
122
|
+
"Extragrande"
|
|
89
123
|
]
|
|
90
124
|
},
|
|
91
125
|
"primary_color": {
|
|
@@ -107,7 +141,10 @@
|
|
|
107
141
|
"Camel",
|
|
108
142
|
"Caqui",
|
|
109
143
|
"Marino",
|
|
110
|
-
"Crema"
|
|
144
|
+
"Crema",
|
|
145
|
+
"Oro",
|
|
146
|
+
"Plata",
|
|
147
|
+
"Bronce"
|
|
111
148
|
],
|
|
112
149
|
"description": "Color principal"
|
|
113
150
|
},
|
|
@@ -131,7 +168,10 @@
|
|
|
131
168
|
"Camel",
|
|
132
169
|
"Caqui",
|
|
133
170
|
"Marino",
|
|
134
|
-
"Crema"
|
|
171
|
+
"Crema",
|
|
172
|
+
"Oro",
|
|
173
|
+
"Plata",
|
|
174
|
+
"Bronce"
|
|
135
175
|
]
|
|
136
176
|
},
|
|
137
177
|
"pattern": {
|
|
@@ -140,7 +180,14 @@
|
|
|
140
180
|
"enum": [
|
|
141
181
|
"Liso",
|
|
142
182
|
"Rayas",
|
|
143
|
-
"Cuadros"
|
|
183
|
+
"Cuadros",
|
|
184
|
+
"Lunares",
|
|
185
|
+
"Animal Print",
|
|
186
|
+
"Floral",
|
|
187
|
+
"Geométrico",
|
|
188
|
+
"Camuflaje",
|
|
189
|
+
"EstampadoGráfico",
|
|
190
|
+
"Degradado"
|
|
144
191
|
]
|
|
145
192
|
},
|
|
146
193
|
"materials": {
|
|
@@ -154,13 +201,23 @@
|
|
|
154
201
|
"Lana",
|
|
155
202
|
"Seda",
|
|
156
203
|
"Cuero",
|
|
204
|
+
"Cachemir",
|
|
205
|
+
"Ante",
|
|
157
206
|
"Poliéster",
|
|
158
207
|
"Nylon",
|
|
159
208
|
"Elastano",
|
|
160
209
|
"Viscosa",
|
|
210
|
+
"Piel Sintética",
|
|
211
|
+
"Gore-Tex",
|
|
161
212
|
"Denim",
|
|
162
213
|
"Punto",
|
|
163
|
-
"Felpa"
|
|
214
|
+
"Felpa",
|
|
215
|
+
"Tweed",
|
|
216
|
+
"Satén",
|
|
217
|
+
"Terciopelo",
|
|
218
|
+
"Jacquard",
|
|
219
|
+
"Franela",
|
|
220
|
+
"Gabardina"
|
|
164
221
|
]
|
|
165
222
|
}
|
|
166
223
|
},
|
|
@@ -196,7 +253,11 @@
|
|
|
196
253
|
"Trabajo",
|
|
197
254
|
"Evento",
|
|
198
255
|
"Viaje",
|
|
199
|
-
"Casa"
|
|
256
|
+
"Casa",
|
|
257
|
+
"Fiesta",
|
|
258
|
+
"Playa",
|
|
259
|
+
"Lluvia",
|
|
260
|
+
"Frío Extremo"
|
|
200
261
|
]
|
|
201
262
|
}
|
|
202
263
|
},
|