uvako-cli 0.4.0 → 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.
@@ -0,0 +1,452 @@
1
+ // Generated by scripts/generate-theme-rules.js. Edit backend/internal/theme/rules/rules.json.
2
+ export const rules = {
3
+ "version": 1,
4
+ "engines": [
5
+ "",
6
+ "sections"
7
+ ],
8
+ "templates": [
9
+ "index",
10
+ "product",
11
+ "collection",
12
+ "cart",
13
+ "search",
14
+ "page",
15
+ "account",
16
+ "login",
17
+ "thank_you"
18
+ ],
19
+ "functions": [
20
+ "money",
21
+ "image_url",
22
+ "asset_url",
23
+ "t",
24
+ "url_for",
25
+ "default",
26
+ "truncate",
27
+ "json",
28
+ "eq",
29
+ "ne",
30
+ "lt",
31
+ "le",
32
+ "gt",
33
+ "ge",
34
+ "and",
35
+ "or",
36
+ "not",
37
+ "len"
38
+ ],
39
+ "actions": [
40
+ "if",
41
+ "else",
42
+ "end",
43
+ "range",
44
+ "with",
45
+ "define",
46
+ "template"
47
+ ],
48
+ "platformSchemas": {
49
+ "product-main": {
50
+ "name": "Ürün (temanın ürün sayfası)",
51
+ "settings": []
52
+ },
53
+ "product-gallery": {
54
+ "name": "Ürün görselleri",
55
+ "settings": [
56
+ {
57
+ "id": "layout",
58
+ "type": "select",
59
+ "label": "Yerleşim",
60
+ "default": "slider",
61
+ "options": [
62
+ {
63
+ "value": "slider",
64
+ "label": "Kaydırmalı"
65
+ },
66
+ {
67
+ "value": "grid",
68
+ "label": "Izgara"
69
+ }
70
+ ]
71
+ },
72
+ {
73
+ "id": "show_thumbnails",
74
+ "type": "checkbox",
75
+ "label": "Küçük görseller",
76
+ "default": true
77
+ }
78
+ ]
79
+ },
80
+ "product-info": {
81
+ "name": "Ürün bilgileri",
82
+ "settings": [
83
+ {
84
+ "id": "show_sku",
85
+ "type": "checkbox",
86
+ "label": "Stok kodu",
87
+ "default": true
88
+ },
89
+ {
90
+ "id": "show_stock",
91
+ "type": "checkbox",
92
+ "label": "Stok durumu",
93
+ "default": true
94
+ },
95
+ {
96
+ "id": "show_unit_price",
97
+ "type": "checkbox",
98
+ "label": "Birim fiyat",
99
+ "default": true
100
+ },
101
+ {
102
+ "id": "shipping_note",
103
+ "type": "text",
104
+ "label": "Kargo notu",
105
+ "default": ""
106
+ }
107
+ ]
108
+ },
109
+ "product-details": {
110
+ "name": "Ürün ayrıntıları",
111
+ "settings": [
112
+ {
113
+ "id": "title",
114
+ "type": "text",
115
+ "label": "Başlık",
116
+ "default": "Ürün ayrıntıları"
117
+ },
118
+ {
119
+ "id": "show_specs",
120
+ "type": "checkbox",
121
+ "label": "Teknik bilgiler tablosu",
122
+ "default": true
123
+ },
124
+ {
125
+ "id": "collapsible",
126
+ "type": "checkbox",
127
+ "label": "Akordeon",
128
+ "default": false
129
+ }
130
+ ]
131
+ },
132
+ "product-related": {
133
+ "name": "İlgili ürünler",
134
+ "settings": [
135
+ {
136
+ "id": "title",
137
+ "type": "text",
138
+ "label": "Başlık",
139
+ "default": "Bununla iyi gider"
140
+ },
141
+ {
142
+ "id": "limit",
143
+ "type": "range",
144
+ "label": "Ürün sayısı",
145
+ "default": 4,
146
+ "min": 2,
147
+ "max": 12,
148
+ "step": 1
149
+ }
150
+ ]
151
+ },
152
+ "collection-main": {
153
+ "name": "Ürün listesi (temanın liste sayfası)",
154
+ "settings": []
155
+ },
156
+ "cart-main": {
157
+ "name": "Sepet (temanın sepet sayfası)",
158
+ "settings": []
159
+ },
160
+ "search-main": {
161
+ "name": "Arama",
162
+ "settings": []
163
+ },
164
+ "page-main": {
165
+ "name": "Sayfa",
166
+ "settings": []
167
+ },
168
+ "account-main": {
169
+ "name": "Hesabım",
170
+ "settings": []
171
+ },
172
+ "login-main": {
173
+ "name": "Giriş",
174
+ "settings": []
175
+ },
176
+ "thank-you-main": {
177
+ "name": "Sipariş onayı",
178
+ "settings": []
179
+ },
180
+ "plate-rack": {
181
+ "name": "Plaka rafı",
182
+ "settings": [
183
+ {
184
+ "id": "title",
185
+ "type": "text",
186
+ "label": "Başlık",
187
+ "default": "Öne çıkanlar"
188
+ },
189
+ {
190
+ "id": "source",
191
+ "type": "select",
192
+ "label": "Ürünler",
193
+ "default": "featured",
194
+ "options": [
195
+ {
196
+ "value": "featured",
197
+ "label": "Öne çıkanlar"
198
+ },
199
+ {
200
+ "value": "newest",
201
+ "label": "Yeni gelenler"
202
+ },
203
+ {
204
+ "value": "discounted",
205
+ "label": "İndirimdekiler"
206
+ },
207
+ {
208
+ "value": "popular",
209
+ "label": "Çok satanlar"
210
+ }
211
+ ]
212
+ },
213
+ {
214
+ "id": "limit",
215
+ "type": "range",
216
+ "label": "Ürün sayısı",
217
+ "default": 8,
218
+ "min": 2,
219
+ "max": 20,
220
+ "step": 1
221
+ }
222
+ ]
223
+ },
224
+ "portion-comparison": {
225
+ "name": "Porsiyon karşılaştırması",
226
+ "settings": [
227
+ {
228
+ "id": "title",
229
+ "type": "text",
230
+ "label": "Başlık",
231
+ "default": "Porsiyon karşılaştırması"
232
+ },
233
+ {
234
+ "id": "source",
235
+ "type": "select",
236
+ "label": "Ürünler",
237
+ "default": "featured",
238
+ "options": [
239
+ {
240
+ "value": "featured",
241
+ "label": "Öne çıkanlar"
242
+ },
243
+ {
244
+ "value": "newest",
245
+ "label": "Yeni gelenler"
246
+ },
247
+ {
248
+ "value": "discounted",
249
+ "label": "İndirimdekiler"
250
+ },
251
+ {
252
+ "value": "popular",
253
+ "label": "Çok satanlar"
254
+ }
255
+ ]
256
+ },
257
+ {
258
+ "id": "limit",
259
+ "type": "range",
260
+ "label": "Ürün sayısı",
261
+ "default": 4,
262
+ "min": 2,
263
+ "max": 8,
264
+ "step": 1
265
+ },
266
+ {
267
+ "id": "portion_label",
268
+ "type": "text",
269
+ "label": "Porsiyon özelliğinin adı",
270
+ "default": "Porsiyon"
271
+ },
272
+ {
273
+ "id": "protein_label",
274
+ "type": "text",
275
+ "label": "Protein özelliğinin adı",
276
+ "default": "Protein"
277
+ }
278
+ ]
279
+ },
280
+ "vehicle-finder": {
281
+ "name": "Araç bulucu",
282
+ "settings": [
283
+ {
284
+ "id": "title",
285
+ "type": "text",
286
+ "label": "Başlık",
287
+ "default": "Önce aracını seç"
288
+ },
289
+ {
290
+ "id": "text",
291
+ "type": "textarea",
292
+ "label": "Açıklama",
293
+ "default": "Sonra sadece aracına uyan parçaları gösterelim."
294
+ },
295
+ {
296
+ "id": "button_label",
297
+ "type": "text",
298
+ "label": "Düğme",
299
+ "default": "Parçaları göster"
300
+ },
301
+ {
302
+ "id": "image",
303
+ "type": "image",
304
+ "label": "Görsel",
305
+ "default": ""
306
+ }
307
+ ]
308
+ },
309
+ "side-cart": {
310
+ "name": "Yan sepet",
311
+ "settings": [
312
+ {
313
+ "id": "title",
314
+ "type": "text",
315
+ "label": "Başlık",
316
+ "default": "Sepetin"
317
+ },
318
+ {
319
+ "id": "free_shipping_threshold",
320
+ "type": "number",
321
+ "label": "Ücretsiz kargo sınırı (TL)",
322
+ "info": "0: kapalı",
323
+ "default": 0,
324
+ "min": 0
325
+ }
326
+ ]
327
+ },
328
+ "tab-menu": {
329
+ "name": "Sekmeli menü",
330
+ "settings": [
331
+ {
332
+ "id": "limit",
333
+ "type": "range",
334
+ "label": "Sekme sayısı",
335
+ "default": 6,
336
+ "min": 2,
337
+ "max": 12,
338
+ "step": 1
339
+ },
340
+ {
341
+ "id": "colored",
342
+ "type": "checkbox",
343
+ "label": "Kategori renkleri",
344
+ "default": true
345
+ }
346
+ ]
347
+ }
348
+ },
349
+ "deniedElements": [
350
+ "script",
351
+ "style",
352
+ "iframe",
353
+ "frame",
354
+ "frameset",
355
+ "object",
356
+ "embed",
357
+ "applet",
358
+ "base",
359
+ "meta",
360
+ "link",
361
+ "template",
362
+ "foreignobject",
363
+ "noembed",
364
+ "noframes",
365
+ "xmp",
366
+ "plaintext",
367
+ "portal",
368
+ "set",
369
+ "animate",
370
+ "handler"
371
+ ],
372
+ "deniedAttributes": [
373
+ "srcdoc",
374
+ "http-equiv"
375
+ ],
376
+ "urlAttributes": [
377
+ "href",
378
+ "src",
379
+ "action",
380
+ "formaction",
381
+ "poster",
382
+ "xlink:href",
383
+ "background",
384
+ "cite",
385
+ "data",
386
+ "ping",
387
+ "codebase",
388
+ "manifest",
389
+ "lowsrc",
390
+ "dynsrc",
391
+ "longdesc",
392
+ "usemap"
393
+ ],
394
+ "urlSchemes": [
395
+ "http",
396
+ "https",
397
+ "mailto",
398
+ "tel"
399
+ ],
400
+ "settingTypes": [
401
+ "text",
402
+ "textarea",
403
+ "number",
404
+ "range",
405
+ "checkbox",
406
+ "select",
407
+ "color",
408
+ "url",
409
+ "image"
410
+ ],
411
+ "roots": [
412
+ "shop",
413
+ "settings",
414
+ "section",
415
+ "product",
416
+ "collection",
417
+ "cart",
418
+ "request",
419
+ "customer",
420
+ "layout"
421
+ ],
422
+ "paths": [
423
+ "theme.json",
424
+ "config/settings_schema.json",
425
+ "config/settings_data.json",
426
+ "templates/{template}.json",
427
+ "locales/{locale}.json",
428
+ "styles/*.scss",
429
+ "assets/**",
430
+ "sections/*.html.tmpl",
431
+ "sections/*.schema.json",
432
+ "snippets/*.html.tmpl",
433
+ "layout/theme.html.tmpl"
434
+ ],
435
+ "limits": {
436
+ "archiveBytes": 41943040,
437
+ "fileBytes": 5242880,
438
+ "totalBytes": 62914560,
439
+ "files": 600,
440
+ "styleBytes": 524288,
441
+ "jsonBytes": 1048576,
442
+ "localeBytes": 262144,
443
+ "localeEntries": 2000,
444
+ "templateBytes": 65536,
445
+ "renderBytes": 262144,
446
+ "renderMilliseconds": 50,
447
+ "listItems": 100,
448
+ "includeDepth": 8,
449
+ "instructions": 10000,
450
+ "sectionSettings": 25
451
+ }
452
+ };