@promakeai/cli 0.9.3 → 0.9.4
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/dist/index.js +25 -25
- package/package.json +1 -1
- package/template/src/db/schema.json +5 -162
package/package.json
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "promake",
|
|
3
|
-
"languages": [
|
|
4
|
-
"en",
|
|
5
|
-
"tr"
|
|
6
|
-
],
|
|
3
|
+
"languages": ["en", "tr"],
|
|
7
4
|
"defaultLanguage": "en",
|
|
8
5
|
"tables": {
|
|
9
6
|
"blog_categories": {
|
|
@@ -71,9 +68,7 @@
|
|
|
71
68
|
"type": "text"
|
|
72
69
|
},
|
|
73
70
|
"images": {
|
|
74
|
-
"type": [
|
|
75
|
-
"string"
|
|
76
|
-
]
|
|
71
|
+
"type": ["string"]
|
|
77
72
|
},
|
|
78
73
|
"author": {
|
|
79
74
|
"type": "string",
|
|
@@ -92,14 +87,10 @@
|
|
|
92
87
|
"type": "timestamp"
|
|
93
88
|
},
|
|
94
89
|
"tags": {
|
|
95
|
-
"type": [
|
|
96
|
-
"string"
|
|
97
|
-
]
|
|
90
|
+
"type": ["string"]
|
|
98
91
|
},
|
|
99
92
|
"categories": {
|
|
100
|
-
"type": [
|
|
101
|
-
"number"
|
|
102
|
-
],
|
|
93
|
+
"type": ["number"],
|
|
103
94
|
"ref": "blog_categories"
|
|
104
95
|
},
|
|
105
96
|
"read_time": {
|
|
@@ -126,154 +117,6 @@
|
|
|
126
117
|
"type": "text",
|
|
127
118
|
"translatable": true
|
|
128
119
|
}
|
|
129
|
-
},
|
|
130
|
-
"product_categories": {
|
|
131
|
-
"$permissions": {
|
|
132
|
-
"anon": ["read"],
|
|
133
|
-
"user": ["read"],
|
|
134
|
-
"admin": ["read", "create", "update", "delete"]
|
|
135
|
-
},
|
|
136
|
-
"id": {
|
|
137
|
-
"type": "id"
|
|
138
|
-
},
|
|
139
|
-
"name": {
|
|
140
|
-
"type": "string",
|
|
141
|
-
"nullable": false,
|
|
142
|
-
"translatable": true
|
|
143
|
-
},
|
|
144
|
-
"slug": {
|
|
145
|
-
"type": "string",
|
|
146
|
-
"nullable": false,
|
|
147
|
-
"unique": true
|
|
148
|
-
},
|
|
149
|
-
"description": {
|
|
150
|
-
"type": "text",
|
|
151
|
-
"translatable": true
|
|
152
|
-
},
|
|
153
|
-
"image": {
|
|
154
|
-
"type": "text"
|
|
155
|
-
},
|
|
156
|
-
"parent_id": {
|
|
157
|
-
"type": "int",
|
|
158
|
-
"ref": "product_categories"
|
|
159
|
-
},
|
|
160
|
-
"created_at": {
|
|
161
|
-
"type": "timestamp"
|
|
162
|
-
},
|
|
163
|
-
"updated_at": {
|
|
164
|
-
"type": "timestamp"
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
"products": {
|
|
168
|
-
"$permissions": {
|
|
169
|
-
"anon": ["read"],
|
|
170
|
-
"user": ["read"],
|
|
171
|
-
"admin": ["read", "create", "update", "delete"]
|
|
172
|
-
},
|
|
173
|
-
"id": {
|
|
174
|
-
"type": "id"
|
|
175
|
-
},
|
|
176
|
-
"name": {
|
|
177
|
-
"type": "string",
|
|
178
|
-
"nullable": false,
|
|
179
|
-
"translatable": true
|
|
180
|
-
},
|
|
181
|
-
"slug": {
|
|
182
|
-
"type": "string",
|
|
183
|
-
"nullable": false,
|
|
184
|
-
"unique": true
|
|
185
|
-
},
|
|
186
|
-
"description": {
|
|
187
|
-
"type": "text",
|
|
188
|
-
"translatable": true
|
|
189
|
-
},
|
|
190
|
-
"price": {
|
|
191
|
-
"type": "decimal",
|
|
192
|
-
"nullable": false
|
|
193
|
-
},
|
|
194
|
-
"sale_price": {
|
|
195
|
-
"type": "decimal"
|
|
196
|
-
},
|
|
197
|
-
"on_sale": {
|
|
198
|
-
"type": "bool",
|
|
199
|
-
"default": false
|
|
200
|
-
},
|
|
201
|
-
"images": {
|
|
202
|
-
"type": [
|
|
203
|
-
"string"
|
|
204
|
-
]
|
|
205
|
-
},
|
|
206
|
-
"brand": {
|
|
207
|
-
"type": "string",
|
|
208
|
-
"translatable": true
|
|
209
|
-
},
|
|
210
|
-
"sku": {
|
|
211
|
-
"type": "string"
|
|
212
|
-
},
|
|
213
|
-
"stock": {
|
|
214
|
-
"type": "int",
|
|
215
|
-
"default": 0
|
|
216
|
-
},
|
|
217
|
-
"tags": {
|
|
218
|
-
"type": [
|
|
219
|
-
"string"
|
|
220
|
-
]
|
|
221
|
-
},
|
|
222
|
-
"categories": {
|
|
223
|
-
"type": [
|
|
224
|
-
"number"
|
|
225
|
-
],
|
|
226
|
-
"ref": "product_categories"
|
|
227
|
-
},
|
|
228
|
-
"rating": {
|
|
229
|
-
"type": "decimal",
|
|
230
|
-
"default": 0
|
|
231
|
-
},
|
|
232
|
-
"review_count": {
|
|
233
|
-
"type": "int",
|
|
234
|
-
"default": 0
|
|
235
|
-
},
|
|
236
|
-
"featured": {
|
|
237
|
-
"type": "bool",
|
|
238
|
-
"default": false
|
|
239
|
-
},
|
|
240
|
-
"is_new": {
|
|
241
|
-
"type": "bool",
|
|
242
|
-
"default": false
|
|
243
|
-
},
|
|
244
|
-
"published": {
|
|
245
|
-
"type": "bool",
|
|
246
|
-
"default": true
|
|
247
|
-
},
|
|
248
|
-
"specifications": {
|
|
249
|
-
"type": "json"
|
|
250
|
-
},
|
|
251
|
-
"variants": {
|
|
252
|
-
"type": [
|
|
253
|
-
{
|
|
254
|
-
"id": "string",
|
|
255
|
-
"name": "string",
|
|
256
|
-
"value": "string",
|
|
257
|
-
"price?": "number",
|
|
258
|
-
"image?": "string",
|
|
259
|
-
"stockQuantity": "number"
|
|
260
|
-
}
|
|
261
|
-
]
|
|
262
|
-
},
|
|
263
|
-
"created_at": {
|
|
264
|
-
"type": "timestamp"
|
|
265
|
-
},
|
|
266
|
-
"updated_at": {
|
|
267
|
-
"type": "timestamp"
|
|
268
|
-
},
|
|
269
|
-
"meta_description": {
|
|
270
|
-
"type": "text",
|
|
271
|
-
"translatable": true
|
|
272
|
-
},
|
|
273
|
-
"meta_keywords": {
|
|
274
|
-
"type": "text",
|
|
275
|
-
"translatable": true
|
|
276
|
-
}
|
|
277
120
|
}
|
|
278
121
|
}
|
|
279
|
-
}
|
|
122
|
+
}
|