@promakeai/cli 0.5.7 → 0.6.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/README.md +71 -71
- package/dist/index.js +259 -254
- package/dist/registry/about-page.json +3 -3
- package/dist/registry/about-section.json +4 -4
- package/dist/registry/animations.json +2 -2
- package/dist/registry/announcement-bar.json +4 -4
- package/dist/registry/api.json +1 -1
- package/dist/registry/auth-core.json +3 -3
- package/dist/registry/bento-grid-section.json +4 -4
- package/dist/registry/blog-core.json +5 -5
- package/dist/registry/blog-list-page.json +4 -4
- package/dist/registry/blog-section.json +4 -4
- package/dist/registry/cards-carousel-section.json +4 -4
- package/dist/registry/cart-drawer.json +4 -4
- package/dist/registry/cart-page.json +4 -4
- package/dist/registry/case-study-page.json +3 -3
- package/dist/registry/category-section.json +4 -4
- package/dist/registry/checkout-page.json +4 -4
- package/dist/registry/coming-soon-page-minimal.json +4 -4
- package/dist/registry/coming-soon-page.json +4 -4
- package/dist/registry/contact-info-grid.json +4 -4
- package/dist/registry/contact-page-centered.json +4 -4
- package/dist/registry/contact-page-map-overlay.json +3 -3
- package/dist/registry/contact-page-map-split.json +3 -3
- package/dist/registry/contact-page-split.json +4 -4
- package/dist/registry/contact-page.json +4 -4
- package/dist/registry/content-section.json +4 -4
- package/dist/registry/cookie-consent.json +4 -4
- package/dist/registry/cookies-page.json +3 -3
- package/dist/registry/cta-section.json +3 -3
- package/dist/registry/ecommerce-core.json +8 -8
- package/dist/registry/empty-page.json +3 -3
- package/dist/registry/faq-categorized.json +4 -4
- package/dist/registry/faq-simple.json +4 -4
- package/dist/registry/favorites-blog-block.json +1 -1
- package/dist/registry/favorites-blog-page.json +4 -4
- package/dist/registry/favorites-ecommerce-block.json +1 -1
- package/dist/registry/favorites-ecommerce-page.json +4 -4
- package/dist/registry/feature-section.json +3 -3
- package/dist/registry/featured-products.json +4 -4
- package/dist/registry/footer-detailed.json +4 -4
- package/dist/registry/footer-minimal.json +3 -3
- package/dist/registry/footer.json +3 -3
- package/dist/registry/forgot-password-page-split.json +4 -4
- package/dist/registry/forgot-password-page.json +4 -4
- package/dist/registry/google-adsense.json +4 -4
- package/dist/registry/google-map.json +2 -2
- package/dist/registry/header-centered-pill.json +4 -4
- package/dist/registry/header-ecommerce.json +4 -4
- package/dist/registry/header-mega.json +4 -4
- package/dist/registry/header-minimal.json +4 -4
- package/dist/registry/header-simple.json +3 -3
- package/dist/registry/hero-carousel.json +3 -3
- package/dist/registry/hero-cta.json +4 -4
- package/dist/registry/hero-gradient.json +4 -4
- package/dist/registry/hero-grid.json +4 -4
- package/dist/registry/hero-profile.json +3 -3
- package/dist/registry/hero.json +3 -3
- package/dist/registry/index.json +103 -103
- package/dist/registry/landing-page-app.json +3 -3
- package/dist/registry/landing-page-saas.json +3 -3
- package/dist/registry/login-page-split.json +4 -4
- package/dist/registry/login-page.json +4 -4
- package/dist/registry/logo-cloud.json +4 -4
- package/dist/registry/masonry-grid.json +3 -3
- package/dist/registry/my-orders-page.json +4 -4
- package/dist/registry/newsletter-section.json +4 -4
- package/dist/registry/order-card-compact.json +1 -1
- package/dist/registry/order-confirmation-page.json +4 -4
- package/dist/registry/order-detail-block.json +1 -1
- package/dist/registry/orders-list-block.json +1 -1
- package/dist/registry/payment-success-block.json +2 -2
- package/dist/registry/portfolio-page.json +4 -4
- package/dist/registry/post-card.json +4 -4
- package/dist/registry/post-detail-block.json +2 -2
- package/dist/registry/post-detail-page.json +4 -4
- package/dist/registry/pricing-card.json +3 -3
- package/dist/registry/pricing-page.json +4 -4
- package/dist/registry/pricing-section.json +4 -4
- package/dist/registry/privacy-page.json +3 -3
- package/dist/registry/product-card-detailed.json +4 -4
- package/dist/registry/product-card-hover.json +4 -4
- package/dist/registry/product-card.json +4 -4
- package/dist/registry/product-detail-block.json +2 -2
- package/dist/registry/product-detail-page.json +4 -4
- package/dist/registry/product-detail-section.json +4 -4
- package/dist/registry/product-quick-view.json +4 -4
- package/dist/registry/products-page.json +4 -4
- package/dist/registry/reading-progress.json +4 -4
- package/dist/registry/register-page-split.json +4 -4
- package/dist/registry/register-page.json +4 -4
- package/dist/registry/related-posts-block.json +1 -1
- package/dist/registry/related-products-block.json +2 -2
- package/dist/registry/reset-password-page-split.json +4 -4
- package/dist/registry/reset-password-page.json +4 -4
- package/dist/registry/service-card.json +1 -1
- package/dist/registry/share-buttons.json +4 -4
- package/dist/registry/skill-card.json +1 -1
- package/dist/registry/team-page.json +4 -4
- package/dist/registry/terms-page.json +3 -3
- package/dist/registry/testimonials-carousel.json +4 -4
- package/dist/registry/testimonials-grid.json +4 -4
- package/dist/registry/timeline-section.json +4 -4
- package/dist/registry/video-hero.json +4 -4
- package/dist/registry/youtube-embed.json +4 -4
- package/package.json +59 -56
- package/template/.env +6 -6
- package/template/README.md +54 -54
- package/template/eslint.config.js +41 -41
- package/template/package.json +95 -95
- package/template/public/_redirects +1 -1
- package/template/public/robots.txt +14 -14
- package/template/scripts/init-db.ts +18 -18
- package/template/src/App.tsx +19 -19
- package/template/src/components/FormField.tsx +48 -48
- package/template/src/components/FormFileInput.tsx +75 -75
- package/template/src/components/GoogleAnalytics.tsx +34 -34
- package/template/src/components/LanguageSwitcher.tsx +53 -53
- package/template/src/components/PasswordInput.tsx +60 -60
- package/template/src/components/ScriptInjector.tsx +62 -62
- package/template/src/components/Stack.tsx +39 -39
- package/template/src/constants/constants.json +67 -67
- package/template/src/db/index.ts +20 -20
- package/template/src/db/provider.tsx +78 -78
- package/template/src/db/schema.json +258 -258
- package/template/src/db/types.ts +195 -195
- package/template/src/hooks/use-debounced-value.ts +12 -12
- package/template/src/lang/index.ts +90 -90
- package/template/src/lib/api.ts +345 -345
- package/template/src/lib/env.ts +19 -19
- package/template/src/router.tsx +14 -14
- package/template/src/vite-env.d.ts +1 -1
- package/template/vite.config.ts +68 -64
- package/template/public/data/database.db-shm +0 -0
- package/template/public/data/database.db-wal +0 -0
|
@@ -1,259 +1,259 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "promake",
|
|
3
|
-
"languages": [
|
|
4
|
-
"en",
|
|
5
|
-
"tr"
|
|
6
|
-
],
|
|
7
|
-
"defaultLanguage": "en",
|
|
8
|
-
"tables": {
|
|
9
|
-
"blog_categories": {
|
|
10
|
-
"id": {
|
|
11
|
-
"type": "id"
|
|
12
|
-
},
|
|
13
|
-
"name": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"nullable": false,
|
|
16
|
-
"translatable": true
|
|
17
|
-
},
|
|
18
|
-
"slug": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"nullable": false,
|
|
21
|
-
"unique": true
|
|
22
|
-
},
|
|
23
|
-
"description": {
|
|
24
|
-
"type": "text",
|
|
25
|
-
"translatable": true
|
|
26
|
-
},
|
|
27
|
-
"image": {
|
|
28
|
-
"type": "text"
|
|
29
|
-
},
|
|
30
|
-
"created_at": {
|
|
31
|
-
"type": "timestamp"
|
|
32
|
-
},
|
|
33
|
-
"updated_at": {
|
|
34
|
-
"type": "timestamp"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"posts": {
|
|
38
|
-
"id": {
|
|
39
|
-
"type": "id"
|
|
40
|
-
},
|
|
41
|
-
"title": {
|
|
42
|
-
"type": "string",
|
|
43
|
-
"nullable": false,
|
|
44
|
-
"translatable": true
|
|
45
|
-
},
|
|
46
|
-
"slug": {
|
|
47
|
-
"type": "string",
|
|
48
|
-
"nullable": false,
|
|
49
|
-
"unique": true
|
|
50
|
-
},
|
|
51
|
-
"content": {
|
|
52
|
-
"type": "text",
|
|
53
|
-
"nullable": false,
|
|
54
|
-
"translatable": true
|
|
55
|
-
},
|
|
56
|
-
"excerpt": {
|
|
57
|
-
"type": "text",
|
|
58
|
-
"translatable": true
|
|
59
|
-
},
|
|
60
|
-
"featured_image": {
|
|
61
|
-
"type": "text"
|
|
62
|
-
},
|
|
63
|
-
"images": {
|
|
64
|
-
"type": [
|
|
65
|
-
"string"
|
|
66
|
-
]
|
|
67
|
-
},
|
|
68
|
-
"author": {
|
|
69
|
-
"type": "string",
|
|
70
|
-
"translatable": true
|
|
71
|
-
},
|
|
72
|
-
"author_avatar": {
|
|
73
|
-
"type": "text"
|
|
74
|
-
},
|
|
75
|
-
"created_at": {
|
|
76
|
-
"type": "timestamp"
|
|
77
|
-
},
|
|
78
|
-
"published_at": {
|
|
79
|
-
"type": "timestamp"
|
|
80
|
-
},
|
|
81
|
-
"updated_at": {
|
|
82
|
-
"type": "timestamp"
|
|
83
|
-
},
|
|
84
|
-
"tags": {
|
|
85
|
-
"type": [
|
|
86
|
-
"string"
|
|
87
|
-
]
|
|
88
|
-
},
|
|
89
|
-
"categories": {
|
|
90
|
-
"type": [
|
|
91
|
-
"number"
|
|
92
|
-
],
|
|
93
|
-
"ref": "blog_categories"
|
|
94
|
-
},
|
|
95
|
-
"read_time": {
|
|
96
|
-
"type": "int",
|
|
97
|
-
"default": 0
|
|
98
|
-
},
|
|
99
|
-
"view_count": {
|
|
100
|
-
"type": "int",
|
|
101
|
-
"default": 0
|
|
102
|
-
},
|
|
103
|
-
"featured": {
|
|
104
|
-
"type": "bool",
|
|
105
|
-
"default": false
|
|
106
|
-
},
|
|
107
|
-
"published": {
|
|
108
|
-
"type": "bool",
|
|
109
|
-
"default": true
|
|
110
|
-
},
|
|
111
|
-
"meta_description": {
|
|
112
|
-
"type": "text",
|
|
113
|
-
"translatable": true
|
|
114
|
-
},
|
|
115
|
-
"meta_keywords": {
|
|
116
|
-
"type": "text",
|
|
117
|
-
"translatable": true
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
"product_categories": {
|
|
121
|
-
"id": {
|
|
122
|
-
"type": "id"
|
|
123
|
-
},
|
|
124
|
-
"name": {
|
|
125
|
-
"type": "string",
|
|
126
|
-
"nullable": false,
|
|
127
|
-
"translatable": true
|
|
128
|
-
},
|
|
129
|
-
"slug": {
|
|
130
|
-
"type": "string",
|
|
131
|
-
"nullable": false,
|
|
132
|
-
"unique": true
|
|
133
|
-
},
|
|
134
|
-
"description": {
|
|
135
|
-
"type": "text",
|
|
136
|
-
"translatable": true
|
|
137
|
-
},
|
|
138
|
-
"image": {
|
|
139
|
-
"type": "text"
|
|
140
|
-
},
|
|
141
|
-
"parent_id": {
|
|
142
|
-
"type": "int",
|
|
143
|
-
"ref": "product_categories"
|
|
144
|
-
},
|
|
145
|
-
"created_at": {
|
|
146
|
-
"type": "timestamp"
|
|
147
|
-
},
|
|
148
|
-
"updated_at": {
|
|
149
|
-
"type": "timestamp"
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
"products": {
|
|
153
|
-
"id": {
|
|
154
|
-
"type": "id"
|
|
155
|
-
},
|
|
156
|
-
"name": {
|
|
157
|
-
"type": "string",
|
|
158
|
-
"nullable": false,
|
|
159
|
-
"translatable": true
|
|
160
|
-
},
|
|
161
|
-
"slug": {
|
|
162
|
-
"type": "string",
|
|
163
|
-
"nullable": false,
|
|
164
|
-
"unique": true
|
|
165
|
-
},
|
|
166
|
-
"description": {
|
|
167
|
-
"type": "text",
|
|
168
|
-
"translatable": true
|
|
169
|
-
},
|
|
170
|
-
"price": {
|
|
171
|
-
"type": "decimal",
|
|
172
|
-
"nullable": false
|
|
173
|
-
},
|
|
174
|
-
"sale_price": {
|
|
175
|
-
"type": "decimal"
|
|
176
|
-
},
|
|
177
|
-
"on_sale": {
|
|
178
|
-
"type": "bool",
|
|
179
|
-
"default": false
|
|
180
|
-
},
|
|
181
|
-
"images": {
|
|
182
|
-
"type": [
|
|
183
|
-
"string"
|
|
184
|
-
]
|
|
185
|
-
},
|
|
186
|
-
"brand": {
|
|
187
|
-
"type": "string",
|
|
188
|
-
"translatable": true
|
|
189
|
-
},
|
|
190
|
-
"sku": {
|
|
191
|
-
"type": "string"
|
|
192
|
-
},
|
|
193
|
-
"stock": {
|
|
194
|
-
"type": "int",
|
|
195
|
-
"default": 0
|
|
196
|
-
},
|
|
197
|
-
"tags": {
|
|
198
|
-
"type": [
|
|
199
|
-
"string"
|
|
200
|
-
]
|
|
201
|
-
},
|
|
202
|
-
"categories": {
|
|
203
|
-
"type": [
|
|
204
|
-
"number"
|
|
205
|
-
],
|
|
206
|
-
"ref": "product_categories"
|
|
207
|
-
},
|
|
208
|
-
"rating": {
|
|
209
|
-
"type": "decimal",
|
|
210
|
-
"default": 0
|
|
211
|
-
},
|
|
212
|
-
"review_count": {
|
|
213
|
-
"type": "int",
|
|
214
|
-
"default": 0
|
|
215
|
-
},
|
|
216
|
-
"featured": {
|
|
217
|
-
"type": "bool",
|
|
218
|
-
"default": false
|
|
219
|
-
},
|
|
220
|
-
"is_new": {
|
|
221
|
-
"type": "bool",
|
|
222
|
-
"default": false
|
|
223
|
-
},
|
|
224
|
-
"published": {
|
|
225
|
-
"type": "bool",
|
|
226
|
-
"default": true
|
|
227
|
-
},
|
|
228
|
-
"specifications": {
|
|
229
|
-
"type": "json"
|
|
230
|
-
},
|
|
231
|
-
"variants": {
|
|
232
|
-
"type": [
|
|
233
|
-
{
|
|
234
|
-
"id": "string",
|
|
235
|
-
"name": "string",
|
|
236
|
-
"value": "string",
|
|
237
|
-
"price?": "number",
|
|
238
|
-
"image?": "string",
|
|
239
|
-
"stockQuantity": "number"
|
|
240
|
-
}
|
|
241
|
-
]
|
|
242
|
-
},
|
|
243
|
-
"created_at": {
|
|
244
|
-
"type": "timestamp"
|
|
245
|
-
},
|
|
246
|
-
"updated_at": {
|
|
247
|
-
"type": "timestamp"
|
|
248
|
-
},
|
|
249
|
-
"meta_description": {
|
|
250
|
-
"type": "text",
|
|
251
|
-
"translatable": true
|
|
252
|
-
},
|
|
253
|
-
"meta_keywords": {
|
|
254
|
-
"type": "text",
|
|
255
|
-
"translatable": true
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "promake",
|
|
3
|
+
"languages": [
|
|
4
|
+
"en",
|
|
5
|
+
"tr"
|
|
6
|
+
],
|
|
7
|
+
"defaultLanguage": "en",
|
|
8
|
+
"tables": {
|
|
9
|
+
"blog_categories": {
|
|
10
|
+
"id": {
|
|
11
|
+
"type": "id"
|
|
12
|
+
},
|
|
13
|
+
"name": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"nullable": false,
|
|
16
|
+
"translatable": true
|
|
17
|
+
},
|
|
18
|
+
"slug": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"nullable": false,
|
|
21
|
+
"unique": true
|
|
22
|
+
},
|
|
23
|
+
"description": {
|
|
24
|
+
"type": "text",
|
|
25
|
+
"translatable": true
|
|
26
|
+
},
|
|
27
|
+
"image": {
|
|
28
|
+
"type": "text"
|
|
29
|
+
},
|
|
30
|
+
"created_at": {
|
|
31
|
+
"type": "timestamp"
|
|
32
|
+
},
|
|
33
|
+
"updated_at": {
|
|
34
|
+
"type": "timestamp"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"posts": {
|
|
38
|
+
"id": {
|
|
39
|
+
"type": "id"
|
|
40
|
+
},
|
|
41
|
+
"title": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"nullable": false,
|
|
44
|
+
"translatable": true
|
|
45
|
+
},
|
|
46
|
+
"slug": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"nullable": false,
|
|
49
|
+
"unique": true
|
|
50
|
+
},
|
|
51
|
+
"content": {
|
|
52
|
+
"type": "text",
|
|
53
|
+
"nullable": false,
|
|
54
|
+
"translatable": true
|
|
55
|
+
},
|
|
56
|
+
"excerpt": {
|
|
57
|
+
"type": "text",
|
|
58
|
+
"translatable": true
|
|
59
|
+
},
|
|
60
|
+
"featured_image": {
|
|
61
|
+
"type": "text"
|
|
62
|
+
},
|
|
63
|
+
"images": {
|
|
64
|
+
"type": [
|
|
65
|
+
"string"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"author": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"translatable": true
|
|
71
|
+
},
|
|
72
|
+
"author_avatar": {
|
|
73
|
+
"type": "text"
|
|
74
|
+
},
|
|
75
|
+
"created_at": {
|
|
76
|
+
"type": "timestamp"
|
|
77
|
+
},
|
|
78
|
+
"published_at": {
|
|
79
|
+
"type": "timestamp"
|
|
80
|
+
},
|
|
81
|
+
"updated_at": {
|
|
82
|
+
"type": "timestamp"
|
|
83
|
+
},
|
|
84
|
+
"tags": {
|
|
85
|
+
"type": [
|
|
86
|
+
"string"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
"categories": {
|
|
90
|
+
"type": [
|
|
91
|
+
"number"
|
|
92
|
+
],
|
|
93
|
+
"ref": "blog_categories"
|
|
94
|
+
},
|
|
95
|
+
"read_time": {
|
|
96
|
+
"type": "int",
|
|
97
|
+
"default": 0
|
|
98
|
+
},
|
|
99
|
+
"view_count": {
|
|
100
|
+
"type": "int",
|
|
101
|
+
"default": 0
|
|
102
|
+
},
|
|
103
|
+
"featured": {
|
|
104
|
+
"type": "bool",
|
|
105
|
+
"default": false
|
|
106
|
+
},
|
|
107
|
+
"published": {
|
|
108
|
+
"type": "bool",
|
|
109
|
+
"default": true
|
|
110
|
+
},
|
|
111
|
+
"meta_description": {
|
|
112
|
+
"type": "text",
|
|
113
|
+
"translatable": true
|
|
114
|
+
},
|
|
115
|
+
"meta_keywords": {
|
|
116
|
+
"type": "text",
|
|
117
|
+
"translatable": true
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"product_categories": {
|
|
121
|
+
"id": {
|
|
122
|
+
"type": "id"
|
|
123
|
+
},
|
|
124
|
+
"name": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"nullable": false,
|
|
127
|
+
"translatable": true
|
|
128
|
+
},
|
|
129
|
+
"slug": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"nullable": false,
|
|
132
|
+
"unique": true
|
|
133
|
+
},
|
|
134
|
+
"description": {
|
|
135
|
+
"type": "text",
|
|
136
|
+
"translatable": true
|
|
137
|
+
},
|
|
138
|
+
"image": {
|
|
139
|
+
"type": "text"
|
|
140
|
+
},
|
|
141
|
+
"parent_id": {
|
|
142
|
+
"type": "int",
|
|
143
|
+
"ref": "product_categories"
|
|
144
|
+
},
|
|
145
|
+
"created_at": {
|
|
146
|
+
"type": "timestamp"
|
|
147
|
+
},
|
|
148
|
+
"updated_at": {
|
|
149
|
+
"type": "timestamp"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"products": {
|
|
153
|
+
"id": {
|
|
154
|
+
"type": "id"
|
|
155
|
+
},
|
|
156
|
+
"name": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"nullable": false,
|
|
159
|
+
"translatable": true
|
|
160
|
+
},
|
|
161
|
+
"slug": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"nullable": false,
|
|
164
|
+
"unique": true
|
|
165
|
+
},
|
|
166
|
+
"description": {
|
|
167
|
+
"type": "text",
|
|
168
|
+
"translatable": true
|
|
169
|
+
},
|
|
170
|
+
"price": {
|
|
171
|
+
"type": "decimal",
|
|
172
|
+
"nullable": false
|
|
173
|
+
},
|
|
174
|
+
"sale_price": {
|
|
175
|
+
"type": "decimal"
|
|
176
|
+
},
|
|
177
|
+
"on_sale": {
|
|
178
|
+
"type": "bool",
|
|
179
|
+
"default": false
|
|
180
|
+
},
|
|
181
|
+
"images": {
|
|
182
|
+
"type": [
|
|
183
|
+
"string"
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
"brand": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"translatable": true
|
|
189
|
+
},
|
|
190
|
+
"sku": {
|
|
191
|
+
"type": "string"
|
|
192
|
+
},
|
|
193
|
+
"stock": {
|
|
194
|
+
"type": "int",
|
|
195
|
+
"default": 0
|
|
196
|
+
},
|
|
197
|
+
"tags": {
|
|
198
|
+
"type": [
|
|
199
|
+
"string"
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
"categories": {
|
|
203
|
+
"type": [
|
|
204
|
+
"number"
|
|
205
|
+
],
|
|
206
|
+
"ref": "product_categories"
|
|
207
|
+
},
|
|
208
|
+
"rating": {
|
|
209
|
+
"type": "decimal",
|
|
210
|
+
"default": 0
|
|
211
|
+
},
|
|
212
|
+
"review_count": {
|
|
213
|
+
"type": "int",
|
|
214
|
+
"default": 0
|
|
215
|
+
},
|
|
216
|
+
"featured": {
|
|
217
|
+
"type": "bool",
|
|
218
|
+
"default": false
|
|
219
|
+
},
|
|
220
|
+
"is_new": {
|
|
221
|
+
"type": "bool",
|
|
222
|
+
"default": false
|
|
223
|
+
},
|
|
224
|
+
"published": {
|
|
225
|
+
"type": "bool",
|
|
226
|
+
"default": true
|
|
227
|
+
},
|
|
228
|
+
"specifications": {
|
|
229
|
+
"type": "json"
|
|
230
|
+
},
|
|
231
|
+
"variants": {
|
|
232
|
+
"type": [
|
|
233
|
+
{
|
|
234
|
+
"id": "string",
|
|
235
|
+
"name": "string",
|
|
236
|
+
"value": "string",
|
|
237
|
+
"price?": "number",
|
|
238
|
+
"image?": "string",
|
|
239
|
+
"stockQuantity": "number"
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
"created_at": {
|
|
244
|
+
"type": "timestamp"
|
|
245
|
+
},
|
|
246
|
+
"updated_at": {
|
|
247
|
+
"type": "timestamp"
|
|
248
|
+
},
|
|
249
|
+
"meta_description": {
|
|
250
|
+
"type": "text",
|
|
251
|
+
"translatable": true
|
|
252
|
+
},
|
|
253
|
+
"meta_keywords": {
|
|
254
|
+
"type": "text",
|
|
255
|
+
"translatable": true
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
259
|
}
|