@hed-hog/catalog 0.0.299 → 0.0.301

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.
@@ -28,50 +28,33 @@
28
28
  - where:
29
29
  slug: admin-catalog
30
30
 
31
- - menu_id:
32
- where:
33
- slug: /catalog
34
- icon: folders
35
- url: /catalog/categories
36
- name:
37
- en: Categories
38
- pt: Categorias
39
- slug: /catalog/categories
40
- order: 72
41
- relations:
42
- role:
43
- - where:
44
- slug: admin
45
- - where:
46
- slug: admin-catalog
47
-
48
- - menu_id:
49
- where:
50
- slug: /catalog
51
- icon: factory
52
- url: /catalog/brands
53
- name:
54
- en: Brands
55
- pt: Marcas
56
- slug: /catalog/brands
57
- order: 73
58
- relations:
59
- role:
60
- - where:
61
- slug: admin
31
+ - menu_id:
32
+ where:
33
+ slug: /catalog
34
+ icon: folders
35
+ url: /catalog/categories
36
+ name:
37
+ en: Categories
38
+ pt: Categorias
39
+ slug: /catalog/categories
40
+ order: 72
41
+ relations:
42
+ role:
43
+ - where:
44
+ slug: admin
62
45
  - where:
63
46
  slug: admin-catalog
64
47
 
65
48
  - menu_id:
66
49
  where:
67
50
  slug: /catalog
68
- icon: globe
69
- url: /catalog/sites
70
- name:
71
- en: Sites
72
- pt: Sites
73
- slug: /catalog/sites
74
- order: 74
51
+ icon: factory
52
+ url: /catalog/brands
53
+ name:
54
+ en: Brands
55
+ pt: Marcas
56
+ slug: /catalog/brands
57
+ order: 73
75
58
  relations:
76
59
  role:
77
60
  - where:
@@ -82,13 +65,13 @@
82
65
  - menu_id:
83
66
  where:
84
67
  slug: /catalog
85
- icon: package-search
86
- url: /catalog/products
87
- name:
88
- en: Products
89
- pt: Produtos
90
- slug: /catalog/products
91
- order: 75
68
+ icon: globe
69
+ url: /catalog/sites
70
+ name:
71
+ en: Sites
72
+ pt: Sites
73
+ slug: /catalog/sites
74
+ order: 74
92
75
  relations:
93
76
  role:
94
77
  - where:
@@ -99,13 +82,13 @@
99
82
  - menu_id:
100
83
  where:
101
84
  slug: /catalog
102
- icon: layers-3
103
- url: /catalog/attribute-groups
104
- name:
105
- en: Attribute Groups
106
- pt: Grupos de atributos
107
- slug: /catalog/attribute-groups
108
- order: 76
85
+ icon: package-search
86
+ url: /catalog/products
87
+ name:
88
+ en: Products
89
+ pt: Produtos
90
+ slug: /catalog/products
91
+ order: 75
109
92
  relations:
110
93
  role:
111
94
  - where:
@@ -116,47 +99,30 @@
116
99
  - menu_id:
117
100
  where:
118
101
  slug: /catalog
119
- icon: tags
120
- url: /catalog/attributes
121
- name:
122
- en: Attributes
123
- pt: Atributos
124
- slug: /catalog/attributes
125
- order: 77
126
- relations:
127
- role:
128
- - where:
129
- slug: admin
130
- - where:
131
- slug: admin-catalog
132
-
133
- - menu_id:
134
- where:
135
- slug: /catalog
136
- icon: list-filter
137
- url: /catalog/attribute-options
138
- name:
139
- en: Attribute Options
140
- pt: Opcoes de atributos
141
- slug: /catalog/attribute-options
142
- order: 78
143
- relations:
144
- role:
145
- - where:
146
- slug: admin
102
+ icon: layers-3
103
+ url: /catalog/attribute-groups
104
+ name:
105
+ en: Attribute Groups
106
+ pt: Grupos de atributos
107
+ slug: /catalog/attribute-groups
108
+ order: 76
109
+ relations:
110
+ role:
111
+ - where:
112
+ slug: admin
147
113
  - where:
148
114
  slug: admin-catalog
149
115
 
150
116
  - menu_id:
151
117
  where:
152
118
  slug: /catalog
153
- icon: badge-percent
154
- url: /catalog/category-attributes
155
- name:
156
- en: Category Attributes
157
- pt: Atributos por categoria
158
- slug: /catalog/category-attributes
159
- order: 79
119
+ icon: tags
120
+ url: /catalog/attributes
121
+ name:
122
+ en: Attributes
123
+ pt: Atributos
124
+ slug: /catalog/attributes
125
+ order: 77
160
126
  relations:
161
127
  role:
162
128
  - where:
@@ -167,13 +133,13 @@
167
133
  - menu_id:
168
134
  where:
169
135
  slug: /catalog
170
- icon: scale
171
- url: /catalog/comparisons
172
- name:
173
- en: Comparisons
174
- pt: Comparacoes
175
- slug: /catalog/comparisons
176
- order: 80
136
+ icon: list-filter
137
+ url: /catalog/attribute-options
138
+ name:
139
+ en: Attribute Options
140
+ pt: Opcoes de atributos
141
+ slug: /catalog/attribute-options
142
+ order: 78
177
143
  relations:
178
144
  role:
179
145
  - where:
@@ -184,13 +150,13 @@
184
150
  - menu_id:
185
151
  where:
186
152
  slug: /catalog
187
- icon: shopping-cart
188
- url: /catalog/offers
189
- name:
190
- en: Offers
191
- pt: Ofertas
192
- slug: /catalog/offers
193
- order: 81
153
+ icon: badge-percent
154
+ url: /catalog/category-attributes
155
+ name:
156
+ en: Category Attributes
157
+ pt: Atributos por categoria
158
+ slug: /catalog/category-attributes
159
+ order: 79
194
160
  relations:
195
161
  role:
196
162
  - where:
@@ -201,13 +167,13 @@
201
167
  - menu_id:
202
168
  where:
203
169
  slug: /catalog
204
- icon: store
205
- url: /catalog/merchants
206
- name:
207
- en: Merchants
208
- pt: Lojistas
209
- slug: /catalog/merchants
210
- order: 82
170
+ icon: scale
171
+ url: /catalog/comparisons
172
+ name:
173
+ en: Comparisons
174
+ pt: Comparacoes
175
+ slug: /catalog/comparisons
176
+ order: 80
211
177
  relations:
212
178
  role:
213
179
  - where:
@@ -218,13 +184,13 @@
218
184
  - menu_id:
219
185
  where:
220
186
  slug: /catalog
221
- icon: building-2
222
- url: /catalog/affiliate-programs
223
- name:
224
- en: Affiliate Programs
225
- pt: Programas de afiliacao
226
- slug: /catalog/affiliate-programs
227
- order: 83
187
+ icon: shopping-cart
188
+ url: /catalog/offers
189
+ name:
190
+ en: Offers
191
+ pt: Ofertas
192
+ slug: /catalog/offers
193
+ order: 81
228
194
  relations:
229
195
  role:
230
196
  - where:
@@ -235,13 +201,13 @@
235
201
  - menu_id:
236
202
  where:
237
203
  slug: /catalog
238
- icon: search-code
239
- url: /catalog/seo-rules
240
- name:
241
- en: SEO Rules
242
- pt: Regras de SEO
243
- slug: /catalog/seo-rules
244
- order: 84
204
+ icon: store
205
+ url: /catalog/merchants
206
+ name:
207
+ en: Merchants
208
+ pt: Lojistas
209
+ slug: /catalog/merchants
210
+ order: 82
245
211
  relations:
246
212
  role:
247
213
  - where:
@@ -252,16 +218,50 @@
252
218
  - menu_id:
253
219
  where:
254
220
  slug: /catalog
255
- icon: package-plus
256
- url: /catalog/import-sources
257
- name:
258
- en: Import Sources
259
- pt: Fontes de importacao
260
- slug: /catalog/import-sources
261
- order: 85
262
- relations:
263
- role:
264
- - where:
265
- slug: admin
221
+ icon: building-2
222
+ url: /catalog/affiliate-programs
223
+ name:
224
+ en: Affiliate Programs
225
+ pt: Programas de afiliacao
226
+ slug: /catalog/affiliate-programs
227
+ order: 83
228
+ relations:
229
+ role:
230
+ - where:
231
+ slug: admin
232
+ - where:
233
+ slug: admin-catalog
234
+
235
+ - menu_id:
236
+ where:
237
+ slug: /catalog
238
+ icon: search-code
239
+ url: /catalog/seo-rules
240
+ name:
241
+ en: SEO Rules
242
+ pt: Regras de SEO
243
+ slug: /catalog/seo-rules
244
+ order: 84
245
+ relations:
246
+ role:
247
+ - where:
248
+ slug: admin
249
+ - where:
250
+ slug: admin-catalog
251
+
252
+ - menu_id:
253
+ where:
254
+ slug: /catalog
255
+ icon: package-plus
256
+ url: /catalog/import-sources
257
+ name:
258
+ en: Import Sources
259
+ pt: Fontes de importacao
260
+ slug: /catalog/import-sources
261
+ order: 85
262
+ relations:
263
+ role:
264
+ - where:
265
+ slug: admin
266
266
  - where:
267
267
  slug: admin-catalog
@@ -46,75 +46,75 @@
46
46
  slug: admin
47
47
  - where:
48
48
  slug: admin-catalog
49
- - url: /catalog/products/:id/images
50
- method: GET
51
- relations:
52
- role:
53
- - where:
54
- slug: admin
55
- - where:
56
- slug: admin-catalog
57
- - url: /catalog/categories/tree
58
- method: GET
59
- relations:
60
- role:
61
- - where:
62
- slug: admin
63
- - where:
64
- slug: admin-catalog
65
- - url: /catalog/categories/:id/attributes
66
- method: GET
67
- relations:
68
- role:
69
- - where:
70
- slug: admin
71
- - where:
72
- slug: admin-catalog
73
- - url: /catalog/products/:id/attributes
74
- method: GET
75
- relations:
76
- role:
77
- - where:
78
- slug: admin
79
- - where:
80
- slug: admin-catalog
81
- - url: /catalog/products/:id/structured
82
- method: GET
83
- relations:
84
- role:
85
- - where:
86
- slug: admin
87
- - where:
88
- slug: admin-catalog
89
- - url: /catalog/products/:id/comparison-payload
90
- method: GET
91
- relations:
92
- role:
93
- - where:
94
- slug: admin
95
- - where:
96
- slug: admin-catalog
97
- - url: /catalog/forms/:resource/ai-assist
98
- method: POST
99
- relations:
100
- role:
101
- - where:
102
- slug: admin
103
- - where:
104
- slug: admin-catalog
105
- - url: /catalog/products/:id/attributes
106
- method: PUT
107
- relations:
108
- role:
109
- - where:
110
- slug: admin
111
- - where:
112
- slug: admin-catalog
113
- - url: /catalog/products/:id/materialize-snapshots
114
- method: POST
115
- relations:
116
- role:
117
- - where:
118
- slug: admin
119
- - where:
120
- slug: admin-catalog
49
+ - url: /catalog/products/:id/images
50
+ method: GET
51
+ relations:
52
+ role:
53
+ - where:
54
+ slug: admin
55
+ - where:
56
+ slug: admin-catalog
57
+ - url: /catalog/categories/tree
58
+ method: GET
59
+ relations:
60
+ role:
61
+ - where:
62
+ slug: admin
63
+ - where:
64
+ slug: admin-catalog
65
+ - url: /catalog/categories/:id/attributes
66
+ method: GET
67
+ relations:
68
+ role:
69
+ - where:
70
+ slug: admin
71
+ - where:
72
+ slug: admin-catalog
73
+ - url: /catalog/products/:id/attributes
74
+ method: GET
75
+ relations:
76
+ role:
77
+ - where:
78
+ slug: admin
79
+ - where:
80
+ slug: admin-catalog
81
+ - url: /catalog/products/:id/structured
82
+ method: GET
83
+ relations:
84
+ role:
85
+ - where:
86
+ slug: admin
87
+ - where:
88
+ slug: admin-catalog
89
+ - url: /catalog/products/:id/comparison-payload
90
+ method: GET
91
+ relations:
92
+ role:
93
+ - where:
94
+ slug: admin
95
+ - where:
96
+ slug: admin-catalog
97
+ - url: /catalog/forms/:resource/ai-assist
98
+ method: POST
99
+ relations:
100
+ role:
101
+ - where:
102
+ slug: admin
103
+ - where:
104
+ slug: admin-catalog
105
+ - url: /catalog/products/:id/attributes
106
+ method: PUT
107
+ relations:
108
+ role:
109
+ - where:
110
+ slug: admin
111
+ - where:
112
+ slug: admin-catalog
113
+ - url: /catalog/products/:id/materialize-snapshots
114
+ method: POST
115
+ relations:
116
+ role:
117
+ - where:
118
+ slug: admin
119
+ - where:
120
+ slug: admin-catalog
@@ -1,68 +1,68 @@
1
- columns:
2
- - type: pk
3
- - name: code
4
- type: varchar
5
- length: 120
6
- - name: group_id
7
- type: fk
8
- isNullable: true
9
- references:
10
- table: catalog_attribute_group
11
- column: id
12
- onDelete: SET NULL
13
- - name: group_name
14
- type: varchar
15
- length: 255
16
- isNullable: true
17
- - name: slug
18
- type: varchar
19
- length: 255
20
- - name: name
21
- type: varchar
22
- length: 255
23
- - name: description
24
- type: text
25
- isNullable: true
26
- - name: data_type
27
- type: enum
28
- values: [text, long_text, number, boolean, option]
29
- default: text
30
- - name: unit
31
- type: varchar
32
- length: 63
33
- isNullable: true
34
- - name: comparison_mode
35
- type: enum
36
- values: [neutral, higher_better, lower_better, boolean_true_better, exact_match]
37
- default: neutral
38
- - name: is_filterable
39
- type: boolean
1
+ columns:
2
+ - type: pk
3
+ - name: code
4
+ type: varchar
5
+ length: 120
6
+ - name: group_id
7
+ type: fk
8
+ isNullable: true
9
+ references:
10
+ table: catalog_attribute_group
11
+ column: id
12
+ onDelete: SET NULL
13
+ - name: group_name
14
+ type: varchar
15
+ length: 255
16
+ isNullable: true
17
+ - name: slug
18
+ type: varchar
19
+ length: 255
20
+ - name: name
21
+ type: varchar
22
+ length: 255
23
+ - name: description
24
+ type: text
25
+ isNullable: true
26
+ - name: data_type
27
+ type: enum
28
+ values: [text, long_text, number, boolean, option]
29
+ default: text
30
+ - name: unit
31
+ type: varchar
32
+ length: 63
33
+ isNullable: true
34
+ - name: comparison_mode
35
+ type: enum
36
+ values: [neutral, higher_better, lower_better, boolean_true_better, exact_match]
37
+ default: neutral
38
+ - name: is_filterable
39
+ type: boolean
40
40
  default: false
41
- - name: is_sortable
42
- type: boolean
43
- default: false
44
- - name: is_comparable
45
- type: boolean
46
- default: true
47
- - name: is_required_default
48
- type: boolean
49
- default: false
50
- - name: status
51
- type: enum
52
- values: [active, inactive]
53
- default: active
54
- - name: display_order
55
- type: int
56
- default: 0
57
- - type: created_at
58
- - type: updated_at
59
- indices:
60
- - columns: [code]
61
- isUnique: true
62
- - columns: [slug]
63
- isUnique: true
64
- - columns: [group_id, display_order]
65
- - columns: [group_name, display_order]
66
- - columns: [data_type]
67
- - columns: [is_filterable]
68
- - columns: [status]
41
+ - name: is_sortable
42
+ type: boolean
43
+ default: false
44
+ - name: is_comparable
45
+ type: boolean
46
+ default: true
47
+ - name: is_required_default
48
+ type: boolean
49
+ default: false
50
+ - name: status
51
+ type: enum
52
+ values: [active, inactive]
53
+ default: active
54
+ - name: display_order
55
+ type: int
56
+ default: 0
57
+ - type: created_at
58
+ - type: updated_at
59
+ indices:
60
+ - columns: [code]
61
+ isUnique: true
62
+ - columns: [slug]
63
+ isUnique: true
64
+ - columns: [group_id, display_order]
65
+ - columns: [group_name, display_order]
66
+ - columns: [data_type]
67
+ - columns: [is_filterable]
68
+ - columns: [status]