@brightsideoy/kama 0.1.0-alpha.113 → 0.1.0-alpha.115

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.
Files changed (60) hide show
  1. package/bin/cli.js +172 -379
  2. package/content/definitions/blocks/button.yaml +7 -8
  3. package/content/definitions/blocks/header.yaml +7 -9
  4. package/content/definitions/blocks/header_image.yaml +14 -15
  5. package/content/definitions/blocks/hero.yaml +22 -21
  6. package/content/definitions/blocks/image_card.yaml +46 -47
  7. package/content/definitions/blocks/single_image.yaml +19 -20
  8. package/content/definitions/blocks/text.yaml +8 -9
  9. package/content/definitions/channels/ecommerce.yaml +14 -16
  10. package/content/definitions/channels/website.yaml +20 -21
  11. package/content/definitions/field-sets/access.yaml +3 -5
  12. package/content/definitions/field-sets/channel-base.yaml +25 -25
  13. package/content/definitions/field-sets/content-block.yaml +36 -41
  14. package/content/definitions/field-sets/page-base.yaml +40 -45
  15. package/content/definitions/field-sets/page-meta.yaml +1 -4
  16. package/content/definitions/field-sets/page-social.yaml +6 -8
  17. package/content/definitions/field-sets/tree-base.yaml +25 -25
  18. package/content/definitions/nodes/address.yaml +29 -21
  19. package/content/definitions/nodes/article.yaml +24 -19
  20. package/content/definitions/nodes/event.yaml +32 -26
  21. package/content/definitions/nodes/external-link.yaml +20 -17
  22. package/content/definitions/nodes/page.yaml +38 -35
  23. package/content/definitions/nodes/person.yaml +29 -27
  24. package/content/definitions/nodes/product.yaml +52 -49
  25. package/content/definitions/trees/navigation.yaml +26 -21
  26. package/content/definitions/trees/social-links.yaml +5 -2
  27. package/dist/assets/index-8T39DEP3.js +162 -0
  28. package/dist/assets/index-B9oh2_TL.css +1 -0
  29. package/dist/index.html +2 -2
  30. package/dist/index.js +6492 -4249
  31. package/package.json +5 -6
  32. package/schema.sql +5 -13
  33. package/templates/astro-starter/astro.config.mjs +40 -0
  34. package/templates/astro-starter/package.json.template +20 -0
  35. package/templates/astro-starter/src/components/blocks/BlockRenderer.astro +125 -0
  36. package/templates/astro-starter/src/components/blocks/ColumnLayout.astro +66 -0
  37. package/templates/astro-starter/src/components/blocks/HeaderImage.astro +131 -0
  38. package/templates/astro-starter/src/components/blocks/Hero.astro +218 -0
  39. package/templates/astro-starter/src/components/blocks/ImageBlock.astro +160 -0
  40. package/templates/astro-starter/src/components/blocks/TextBlock.astro +13 -0
  41. package/templates/astro-starter/src/components/global/Breadcrumb.astro +62 -0
  42. package/templates/astro-starter/src/components/global/Footer.astro +48 -0
  43. package/templates/astro-starter/src/components/global/Header.astro +92 -0
  44. package/templates/astro-starter/src/components/global/NavigationMenu.astro +450 -0
  45. package/templates/astro-starter/src/components/ui/KamaImage.astro +148 -0
  46. package/templates/astro-starter/src/kama-image-service.ts +41 -0
  47. package/templates/astro-starter/src/layouts/Layout.astro +280 -0
  48. package/templates/astro-starter/src/lib/cms.ts +149 -0
  49. package/templates/astro-starter/src/lib/media-url.ts +34 -0
  50. package/templates/astro-starter/src/middleware.ts +306 -0
  51. package/templates/astro-starter/src/pages/404.astro +46 -0
  52. package/templates/astro-starter/src/pages/[...slug].astro +234 -0
  53. package/templates/astro-starter/src/pages/media/[...path].ts +113 -0
  54. package/templates/astro-starter/tsconfig.json +0 -0
  55. package/test-local.sh +76 -0
  56. package/dist/assets/index-10GEw0KY.css +0 -1
  57. package/dist/assets/index-THJ6BqPP.js +0 -1394
  58. package/kama-worker/bundled-definitions.js +0 -2394
  59. package/kama-worker/bundled-definitions.ts +0 -2395
  60. package/scripts/bundle-definitions.js +0 -224
@@ -1,2394 +0,0 @@
1
- export const BUNDLED_DEFINITIONS = {
2
- "rawNodes": {
3
- "address": {
4
- "id": "address",
5
- "label": "Address",
6
- "inTree": false,
7
- "tabs": {
8
- "settings": {
9
- "label": "Address",
10
- "fields": [
11
- {
12
- "title": {
13
- "label": "Address Title",
14
- "required": true
15
- }
16
- },
17
- {
18
- "street": {
19
- "label": "Street"
20
- }
21
- },
22
- {
23
- "city": {
24
- "label": "City"
25
- }
26
- },
27
- {
28
- "area": {
29
- "label": "County / Area"
30
- }
31
- },
32
- {
33
- "zip": {
34
- "label": "ZIP"
35
- }
36
- },
37
- {
38
- "country": {
39
- "label": "Country"
40
- }
41
- }
42
- ]
43
- },
44
- "geolocation": {
45
- "label": "Geolocation",
46
- "fields": [
47
- {
48
- "lat": {
49
- "label": "Latitude"
50
- }
51
- },
52
- {
53
- "lng": {
54
- "label": "Longitude"
55
- }
56
- },
57
- {
58
- "timezone": {
59
- "label": "Timezone"
60
- }
61
- },
62
- {
63
- "fieldSet": "access"
64
- }
65
- ]
66
- }
67
- },
68
- "inVault": true,
69
- "hasCanvas": false,
70
- "fields": {
71
- "title": {
72
- "label": "Address Title",
73
- "required": true
74
- },
75
- "street": {
76
- "label": "Street"
77
- },
78
- "city": {
79
- "label": "City"
80
- },
81
- "area": {
82
- "label": "County / Area"
83
- },
84
- "zip": {
85
- "label": "ZIP"
86
- },
87
- "country": {
88
- "label": "Country"
89
- },
90
- "lat": {
91
- "label": "Latitude"
92
- },
93
- "lng": {
94
- "label": "Longitude"
95
- },
96
- "timezone": {
97
- "label": "Timezone"
98
- },
99
- "fieldSet": "access"
100
- }
101
- },
102
- "article": {
103
- "id": "article",
104
- "label": "Article",
105
- "inTree": false,
106
- "hasCanvas": true,
107
- "directLinking": true,
108
- "regions": {
109
- "content": {
110
- "label": "Content"
111
- }
112
- },
113
- "allowedBlocks": [
114
- "header",
115
- "hero",
116
- "text",
117
- "image_card",
118
- "header_image",
119
- "two-column",
120
- "three-column",
121
- "single_image"
122
- ],
123
- "tabs": {
124
- "settings": {
125
- "label": "Article",
126
- "fields": [
127
- {
128
- "fieldSet": "page-base"
129
- },
130
- {
131
- "title": {
132
- "label": "Article title",
133
- "required": true
134
- }
135
- },
136
- {
137
- "slug": {
138
- "linkedTo": "title"
139
- }
140
- },
141
- {
142
- "articleDate": {
143
- "type": "date",
144
- "label": "Article Date",
145
- "public": true,
146
- "default": "now",
147
- "index": true
148
- }
149
- },
150
- {
151
- "abstract": {
152
- "label": "Abstract",
153
- "type": "textarea",
154
- "public": true
155
- }
156
- },
157
- {
158
- "fieldSet": "page-meta"
159
- },
160
- {
161
- "fieldSet": "page-social"
162
- },
163
- {
164
- "fieldSet": "access"
165
- }
166
- ]
167
- }
168
- },
169
- "inVault": true,
170
- "fields": {
171
- "fieldSet": "access",
172
- "title": {
173
- "label": "Article title",
174
- "required": true
175
- },
176
- "slug": {
177
- "linkedTo": "title"
178
- },
179
- "articleDate": {
180
- "type": "date",
181
- "label": "Article Date",
182
- "public": true,
183
- "default": "now",
184
- "index": true
185
- },
186
- "abstract": {
187
- "label": "Abstract",
188
- "type": "textarea",
189
- "public": true
190
- }
191
- }
192
- },
193
- "event": {
194
- "id": "event",
195
- "label": "Event",
196
- "inTree": false,
197
- "hasCanvas": true,
198
- "directLinking": true,
199
- "regions": {
200
- "main": {
201
- "label": "Content"
202
- }
203
- },
204
- "allowedBlocks": [
205
- "header",
206
- "hero",
207
- "text",
208
- "image_card",
209
- "header_image",
210
- "two-column",
211
- "three-column",
212
- "single_image"
213
- ],
214
- "tabs": {
215
- "settings": {
216
- "label": "Event",
217
- "fields": [
218
- {
219
- "fieldSet": "page-base"
220
- },
221
- {
222
- "title": {
223
- "label": "Event Title",
224
- "required": true,
225
- "showAsEditorTitle": true
226
- }
227
- },
228
- {
229
- "slug": {
230
- "linkedTo": "title"
231
- }
232
- },
233
- {
234
- "startTime": {
235
- "type": "datetime",
236
- "label": "Starts",
237
- "public": true,
238
- "index": true,
239
- "showAsEditorTitle": true
240
- }
241
- },
242
- {
243
- "endTime": {
244
- "type": "datetime",
245
- "label": "Finishes",
246
- "public": true,
247
- "index": true
248
- }
249
- },
250
- {
251
- "abstract": {
252
- "label": "Abstract",
253
- "type": "textarea",
254
- "public": true
255
- }
256
- },
257
- {
258
- "fieldSet": "page-meta"
259
- },
260
- {
261
- "fieldSet": "page-social"
262
- },
263
- {
264
- "fieldSet": "access"
265
- }
266
- ]
267
- }
268
- },
269
- "inVault": true,
270
- "fields": {
271
- "fieldSet": "access",
272
- "title": {
273
- "label": "Event Title",
274
- "required": true,
275
- "showAsEditorTitle": true
276
- },
277
- "slug": {
278
- "linkedTo": "title"
279
- },
280
- "startTime": {
281
- "type": "datetime",
282
- "label": "Starts",
283
- "public": true,
284
- "index": true,
285
- "showAsEditorTitle": true
286
- },
287
- "endTime": {
288
- "type": "datetime",
289
- "label": "Finishes",
290
- "public": true,
291
- "index": true
292
- },
293
- "abstract": {
294
- "label": "Abstract",
295
- "type": "textarea",
296
- "public": true
297
- }
298
- }
299
- },
300
- "external-link": {
301
- "id": "external-link",
302
- "label": "External Link",
303
- "inTree": true,
304
- "tabs": {
305
- "settings": {
306
- "label": "Link",
307
- "fields": [
308
- {
309
- "fieldSet": "page-base"
310
- },
311
- "nodeType",
312
- {
313
- "title": {
314
- "label": "Link Text"
315
- }
316
- },
317
- {
318
- "iconName": {
319
- "label": "Icon",
320
- "type": "icon",
321
- "dbType": "text",
322
- "packages": [
323
- "heroicons",
324
- "lucide",
325
- "mdi"
326
- ]
327
- }
328
- },
329
- {
330
- "slug": {
331
- "label": "Slug",
332
- "linkedTo": "menuTitle, title"
333
- }
334
- },
335
- {
336
- "url": {
337
- "label": "URL",
338
- "type": "text",
339
- "public": true
340
- }
341
- },
342
- {
343
- "fieldSet": "access"
344
- }
345
- ]
346
- }
347
- },
348
- "inVault": true,
349
- "hasCanvas": false,
350
- "fields": {
351
- "fieldSet": "access",
352
- "title": {
353
- "label": "Link Text"
354
- },
355
- "iconName": {
356
- "label": "Icon",
357
- "type": "icon",
358
- "dbType": "text",
359
- "packages": [
360
- "heroicons",
361
- "lucide",
362
- "mdi"
363
- ]
364
- },
365
- "slug": {
366
- "label": "Slug",
367
- "linkedTo": "menuTitle, title"
368
- },
369
- "url": {
370
- "label": "URL",
371
- "type": "text",
372
- "public": true
373
- }
374
- }
375
- },
376
- "page": {
377
- "id": "page",
378
- "label": "Page",
379
- "inTree": true,
380
- "inVault": true,
381
- "hasCanvas": true,
382
- "directLinking": true,
383
- "defaultLayout": "single-column",
384
- "allowedBlocks": [
385
- "header",
386
- "hero",
387
- "text",
388
- "image_card",
389
- "header_image",
390
- "two-column",
391
- "three-column",
392
- "single_image"
393
- ],
394
- "tabs": {
395
- "settings": {
396
- "label": "Page",
397
- "fields": [
398
- {
399
- "fieldSet": "page-base"
400
- },
401
- {
402
- "layoutId": {
403
- "label": "Page Layout",
404
- "type": "layout-select",
405
- "dbType": "text",
406
- "default": "inherit",
407
- "inheritsFromParent": true,
408
- "allowedLayouts": [
409
- "two-column",
410
- "single-column",
411
- "three-column",
412
- "landing-page"
413
- ],
414
- "options": [
415
- {
416
- "label": "Inherit Layout",
417
- "value": "inherit"
418
- }
419
- ]
420
- }
421
- },
422
- {
423
- "subpageLayoutId": {
424
- "label": "Subpages Layout Rule",
425
- "type": "layout-select",
426
- "dbType": "text",
427
- "default": "inherit",
428
- "inheritsFromParent": true,
429
- "allowedLayouts": [
430
- "two-column",
431
- "three-column",
432
- "single-column",
433
- "landing-page"
434
- ],
435
- "options": [
436
- {
437
- "label": "Inherit Layout",
438
- "value": "inherit"
439
- }
440
- ]
441
- }
442
- },
443
- {
444
- "menuTitle": {
445
- "label": "Menu Title",
446
- "type": "text",
447
- "dbType": "text",
448
- "public": true
449
- }
450
- },
451
- {
452
- "fieldSet": "page-meta"
453
- },
454
- {
455
- "fieldSet": "page-social"
456
- },
457
- {
458
- "fieldSet": "access"
459
- }
460
- ]
461
- }
462
- },
463
- "fields": {
464
- "fieldSet": "access",
465
- "layoutId": {
466
- "label": "Page Layout",
467
- "type": "layout-select",
468
- "dbType": "text",
469
- "default": "inherit",
470
- "inheritsFromParent": true,
471
- "allowedLayouts": [
472
- "two-column",
473
- "single-column",
474
- "three-column",
475
- "landing-page"
476
- ],
477
- "options": [
478
- {
479
- "label": "Inherit Layout",
480
- "value": "inherit"
481
- }
482
- ]
483
- },
484
- "subpageLayoutId": {
485
- "label": "Subpages Layout Rule",
486
- "type": "layout-select",
487
- "dbType": "text",
488
- "default": "inherit",
489
- "inheritsFromParent": true,
490
- "allowedLayouts": [
491
- "two-column",
492
- "three-column",
493
- "single-column",
494
- "landing-page"
495
- ],
496
- "options": [
497
- {
498
- "label": "Inherit Layout",
499
- "value": "inherit"
500
- }
501
- ]
502
- },
503
- "menuTitle": {
504
- "label": "Menu Title",
505
- "type": "text",
506
- "dbType": "text",
507
- "public": true
508
- }
509
- }
510
- },
511
- "person": {
512
- "id": "person",
513
- "label": "Person",
514
- "inTree": false,
515
- "inVault": true,
516
- "hasCanvas": false,
517
- "tabs": {
518
- "settings": {
519
- "label": "Person",
520
- "fields": [
521
- {
522
- "image": {
523
- "label": "Image",
524
- "type": "asset",
525
- "multiple": false,
526
- "maxSizeMB": 15,
527
- "allowedTypes": [
528
- "image/*"
529
- ],
530
- "maxPreviewWidth": 300,
531
- "crops": {
532
- "list_thumb": {
533
- "label": "List View",
534
- "aspectRatio": 1,
535
- "shape": "circle"
536
- }
537
- },
538
- "public": true
539
- }
540
- },
541
- {
542
- "title": {
543
- "label": "Title",
544
- "required": false
545
- }
546
- },
547
- {
548
- "firstName": {
549
- "label": "First Name",
550
- "showAsEditorTitle": true
551
- }
552
- },
553
- {
554
- "lastName": {
555
- "label": "Last Name",
556
- "showAsEditorTitle": true
557
- }
558
- },
559
- {
560
- "position": {
561
- "label": "Position",
562
- "required": false
563
- }
564
- },
565
- {
566
- "fieldSet": "access"
567
- }
568
- ]
569
- }
570
- },
571
- "fields": {
572
- "image": {
573
- "label": "Image",
574
- "type": "asset",
575
- "multiple": false,
576
- "maxSizeMB": 15,
577
- "allowedTypes": [
578
- "image/*"
579
- ],
580
- "maxPreviewWidth": 300,
581
- "crops": {
582
- "list_thumb": {
583
- "label": "List View",
584
- "aspectRatio": 1,
585
- "shape": "circle"
586
- }
587
- },
588
- "public": true
589
- },
590
- "title": {
591
- "label": "Title",
592
- "required": false
593
- },
594
- "firstName": {
595
- "label": "First Name",
596
- "showAsEditorTitle": true
597
- },
598
- "lastName": {
599
- "label": "Last Name",
600
- "showAsEditorTitle": true
601
- },
602
- "position": {
603
- "label": "Position",
604
- "required": false
605
- },
606
- "fieldSet": "access"
607
- }
608
- },
609
- "product": {
610
- "id": "product",
611
- "label": "Product",
612
- "inTree": false,
613
- "inVault": true,
614
- "hasCanvas": false,
615
- "directLinking": true,
616
- "layout": {
617
- "columns": "3fr 1fr",
618
- "areas": [
619
- [
620
- "main",
621
- "sidebar"
622
- ]
623
- ]
624
- },
625
- "regions": {
626
- "main": {
627
- "label": "Product Content"
628
- },
629
- "sidebar": {
630
- "label": "Sidebar"
631
- }
632
- },
633
- "allowedBlocks": [
634
- "header",
635
- "hero",
636
- "text",
637
- "image_card",
638
- "header_image",
639
- "two-column",
640
- "three-column",
641
- "single_image"
642
- ],
643
- "tabs": {
644
- "settings": {
645
- "label": "Product",
646
- "fields": [
647
- {
648
- "fieldSet": "page-base"
649
- },
650
- {
651
- "title": {
652
- "label": "Product Name",
653
- "required": true,
654
- "public": true
655
- }
656
- },
657
- {
658
- "slug": {
659
- "linkedTo": "title"
660
- }
661
- },
662
- {
663
- "price": {
664
- "label": "Price (€)",
665
- "type": "number",
666
- "public": true
667
- }
668
- },
669
- {
670
- "description": {
671
- "label": "Short Abstract",
672
- "type": "textarea",
673
- "public": true
674
- }
675
- },
676
- {
677
- "fieldSet": "meta"
678
- },
679
- {
680
- "fieldSet": "access"
681
- }
682
- ]
683
- },
684
- "media": {
685
- "label": "Media",
686
- "fields": [
687
- {
688
- "featuredImage": {
689
- "label": "Main Product Image",
690
- "description": "This is the primary image used in product grids, search results, and catalogs.",
691
- "type": "asset",
692
- "multiple": false,
693
- "maxSizeMB": 15,
694
- "allowedTypes": [
695
- "image/jpeg",
696
- "image/png",
697
- "image/webp"
698
- ],
699
- "crops": {
700
- "list_thumb": {
701
- "label": "List View (4:3)",
702
- "aspectRatio": 1.333
703
- },
704
- "catalog_card": {
705
- "label": "Portrait Card (3:4)",
706
- "aspectRatio": 0.75
707
- }
708
- },
709
- "public": true
710
- }
711
- },
712
- {
713
- "gallery": {
714
- "label": "Product Gallery",
715
- "description": "Drag up to 10 images here for the product detail carousel.",
716
- "type": "asset",
717
- "multiple": true,
718
- "maxItems": 10,
719
- "allowedTypes": [
720
- "image/jpeg",
721
- "image/png",
722
- "image/webp"
723
- ],
724
- "crops": {
725
- "carousel": {
726
- "label": "Carousel Hero (16:9)",
727
- "aspectRatio": 1.777
728
- },
729
- "zoom": {
730
- "label": "Detail Zoom (Square)",
731
- "aspectRatio": 1
732
- }
733
- },
734
- "public": true
735
- }
736
- }
737
- ]
738
- }
739
- },
740
- "fields": {
741
- "fieldSet": "access",
742
- "title": {
743
- "label": "Product Name",
744
- "required": true,
745
- "public": true
746
- },
747
- "slug": {
748
- "linkedTo": "title"
749
- },
750
- "price": {
751
- "label": "Price (€)",
752
- "type": "number",
753
- "public": true
754
- },
755
- "description": {
756
- "label": "Short Abstract",
757
- "type": "textarea",
758
- "public": true
759
- },
760
- "featuredImage": {
761
- "label": "Main Product Image",
762
- "description": "This is the primary image used in product grids, search results, and catalogs.",
763
- "type": "asset",
764
- "multiple": false,
765
- "maxSizeMB": 15,
766
- "allowedTypes": [
767
- "image/jpeg",
768
- "image/png",
769
- "image/webp"
770
- ],
771
- "crops": {
772
- "list_thumb": {
773
- "label": "List View (4:3)",
774
- "aspectRatio": 1.333
775
- },
776
- "catalog_card": {
777
- "label": "Portrait Card (3:4)",
778
- "aspectRatio": 0.75
779
- }
780
- },
781
- "public": true
782
- },
783
- "gallery": {
784
- "label": "Product Gallery",
785
- "description": "Drag up to 10 images here for the product detail carousel.",
786
- "type": "asset",
787
- "multiple": true,
788
- "maxItems": 10,
789
- "allowedTypes": [
790
- "image/jpeg",
791
- "image/png",
792
- "image/webp"
793
- ],
794
- "crops": {
795
- "carousel": {
796
- "label": "Carousel Hero (16:9)",
797
- "aspectRatio": 1.777
798
- },
799
- "zoom": {
800
- "label": "Detail Zoom (Square)",
801
- "aspectRatio": 1
802
- }
803
- },
804
- "public": true
805
- }
806
- }
807
- }
808
- },
809
- "rawTrees": {
810
- "navigation": {
811
- "id": "navigation",
812
- "label": "Site Navigation",
813
- "tabs": {
814
- "settings": {
815
- "label": "Tree",
816
- "fields": [
817
- {
818
- "fieldSet": "tree-base"
819
- },
820
- {
821
- "baseUrl": {
822
- "label": "Base URL",
823
- "type": "text",
824
- "dbType": "text",
825
- "public": true
826
- }
827
- },
828
- {
829
- "defaultLanguage": {
830
- "label": "Channel Language / Locale",
831
- "type": "language-select",
832
- "dbType": "text",
833
- "public": true
834
- }
835
- },
836
- {
837
- "maxDepth": {
838
- "type": "select",
839
- "label": "Maximum Menu Depth",
840
- "default": "3",
841
- "options": [
842
- "1",
843
- "2",
844
- "3",
845
- "4"
846
- ]
847
- }
848
- },
849
- {
850
- "fieldSet": "access"
851
- }
852
- ]
853
- }
854
- }
855
- },
856
- "social-links": {
857
- "id": "social-links",
858
- "label": "Social links",
859
- "tabs": {
860
- "settings": {
861
- "label": "Tree",
862
- "fields": [
863
- {
864
- "fieldSet": "tree-base"
865
- },
866
- {
867
- "fieldSet": "access"
868
- }
869
- ]
870
- }
871
- }
872
- }
873
- },
874
- "rawChannels": {
875
- "ecommerce": {
876
- "id": "ecommerce",
877
- "label": "E-Commerce",
878
- "tabs": {
879
- "settings": {
880
- "label": "Channel",
881
- "fields": [
882
- {
883
- "fieldSet": "channel-base"
884
- },
885
- {
886
- "currency": {
887
- "label": "Default Currency",
888
- "type": "select",
889
- "default": "EUR",
890
- "options": [
891
- "EUR",
892
- "USD",
893
- "GBP"
894
- ]
895
- }
896
- },
897
- {
898
- "checkoutUrl": {
899
- "label": "Checkout Endpoint URL",
900
- "type": "text",
901
- "public": true
902
- }
903
- },
904
- {
905
- "fieldSet": "access"
906
- }
907
- ]
908
- }
909
- }
910
- },
911
- "website": {
912
- "id": "website",
913
- "label": "Website",
914
- "tabs": {
915
- "settings": {
916
- "label": "Channel",
917
- "fields": [
918
- {
919
- "fieldSet": "channel-base"
920
- },
921
- {
922
- "domain": {
923
- "label": "Hostname",
924
- "type": "text",
925
- "dbType": "text",
926
- "index": true,
927
- "public": true
928
- }
929
- },
930
- {
931
- "baseUrl": {
932
- "label": "Base URL",
933
- "type": "text",
934
- "dbType": "text",
935
- "public": true
936
- }
937
- },
938
- {
939
- "defaultLanguage": {
940
- "label": "Channel Language / Locale",
941
- "type": "language-select",
942
- "dbType": "text",
943
- "public": true
944
- }
945
- }
946
- ]
947
- },
948
- "access": {
949
- "label": "Access",
950
- "fields": [
951
- {
952
- "fieldSet": "access"
953
- }
954
- ]
955
- }
956
- }
957
- }
958
- },
959
- "rawBlocks": {
960
- "button": {
961
- "id": "button",
962
- "label": "Button",
963
- "group": "Content",
964
- "description": "Button text",
965
- "fields": [
966
- {
967
- "text": {
968
- "label": "Text",
969
- "type": "richtext",
970
- "editor": "button",
971
- "public": true
972
- }
973
- },
974
- {
975
- "fieldSet": "access"
976
- },
977
- {
978
- "hidden": {
979
- "default": false
980
- }
981
- }
982
- ]
983
- },
984
- "header": {
985
- "id": "header",
986
- "label": "Header",
987
- "group": "Content",
988
- "fields": [
989
- {
990
- "headline": {
991
- "type": "richtext",
992
- "editor": "header",
993
- "label": "Headline",
994
- "public": true,
995
- "default": "Header here..."
996
- }
997
- },
998
- {
999
- "fieldSet": "access"
1000
- },
1001
- {
1002
- "hidden": {
1003
- "default": false
1004
- }
1005
- }
1006
- ]
1007
- },
1008
- "header_image": {
1009
- "id": "header_image",
1010
- "label": "Header Image",
1011
- "group": "Media",
1012
- "description": "Image for page header.",
1013
- "fields": [
1014
- {
1015
- "image": {
1016
- "label": "Image",
1017
- "type": "asset",
1018
- "required": true,
1019
- "multiple": false,
1020
- "maxSizeMB": 15,
1021
- "allowedTypes": [
1022
- "image/*"
1023
- ],
1024
- "crops": {
1025
- "standard": {
1026
- "label": "Page header (21:9)",
1027
- "aspectRatio": 2.333
1028
- }
1029
- },
1030
- "public": true
1031
- }
1032
- },
1033
- {
1034
- "fieldSet": "access"
1035
- },
1036
- {
1037
- "hidden": {
1038
- "default": false
1039
- }
1040
- }
1041
- ]
1042
- },
1043
- "hero": {
1044
- "id": "hero",
1045
- "label": "Hero",
1046
- "group": "Content",
1047
- "fields": [
1048
- {
1049
- "heroBadge": {
1050
- "type": "text",
1051
- "label": "Badge",
1052
- "public": true
1053
- }
1054
- },
1055
- {
1056
- "heroTitle": {
1057
- "type": "text",
1058
- "label": "Title",
1059
- "public": true
1060
- }
1061
- },
1062
- {
1063
- "heroSubTitle": {
1064
- "type": "text",
1065
- "label": "Sub-Title",
1066
- "public": true
1067
- }
1068
- },
1069
- {
1070
- "headline": {
1071
- "type": "richtext",
1072
- "editor": "header",
1073
- "label": "Headline",
1074
- "public": true,
1075
- "default": "Header here..."
1076
- }
1077
- },
1078
- {
1079
- "fieldSet": "access"
1080
- },
1081
- {
1082
- "hidden": {
1083
- "default": false
1084
- }
1085
- }
1086
- ]
1087
- },
1088
- "image_card": {
1089
- "id": "image_card",
1090
- "label": "Image Card",
1091
- "Group": "Content",
1092
- "description": "A versatile card with an image, text, and a CTA button.",
1093
- "fields": [
1094
- {
1095
- "image": {
1096
- "label": "Card Image",
1097
- "showLabel": false,
1098
- "type": "asset",
1099
- "required": true,
1100
- "multiple": false,
1101
- "maxSizeMB": 15,
1102
- "maxPreviewWidth": "300px",
1103
- "allowedTypes": [
1104
- "image/*"
1105
- ],
1106
- "crops": {
1107
- "standard": {
1108
- "label": "Card Header (16:9)",
1109
- "aspectRatio": 3
1110
- }
1111
- },
1112
- "public": true
1113
- }
1114
- },
1115
- {
1116
- "headline": {
1117
- "label": "Headline",
1118
- "type": "text",
1119
- "required": true,
1120
- "public": true,
1121
- "default": "Headline..."
1122
- }
1123
- },
1124
- {
1125
- "summary": {
1126
- "label": "Text",
1127
- "description": "Keep it brief, 2-3 sentences max.",
1128
- "type": "richtext",
1129
- "editor": "minimal",
1130
- "public": true,
1131
- "default": "Card text content..."
1132
- }
1133
- },
1134
- {
1135
- "link": {
1136
- "label": "Link",
1137
- "type": "link",
1138
- "allowedLinkTypes": [
1139
- "tree",
1140
- "node",
1141
- "url",
1142
- "file",
1143
- "email",
1144
- "telephone"
1145
- ]
1146
- }
1147
- },
1148
- {
1149
- "linkText": {
1150
- "label": "Button Text",
1151
- "type": "text",
1152
- "description": "e.g., 'Read More' or 'Buy Now'",
1153
- "default": "Read More",
1154
- "public": true
1155
- }
1156
- },
1157
- {
1158
- "fieldSet": "access"
1159
- },
1160
- {
1161
- "hidden": {
1162
- "default": false
1163
- }
1164
- }
1165
- ]
1166
- },
1167
- "single_image": {
1168
- "id": "single_image",
1169
- "label": "Single Image",
1170
- "group": "Media",
1171
- "description": "Just a single image block.",
1172
- "fields": [
1173
- {
1174
- "image": {
1175
- "label": "Image",
1176
- "type": "asset",
1177
- "required": true,
1178
- "multiple": false,
1179
- "maxSizeMB": 15,
1180
- "allowedTypes": [
1181
- "image/*"
1182
- ],
1183
- "public": true
1184
- }
1185
- },
1186
- {
1187
- "link": {
1188
- "label": "Link",
1189
- "type": "link",
1190
- "position": "sidebar",
1191
- "allowedLinkTypes": [
1192
- "tree",
1193
- "node",
1194
- "url",
1195
- "file"
1196
- ]
1197
- }
1198
- },
1199
- {
1200
- "fieldSet": "access"
1201
- },
1202
- {
1203
- "hidden": {
1204
- "default": false
1205
- }
1206
- }
1207
- ]
1208
- },
1209
- "text": {
1210
- "id": "text",
1211
- "label": "Text",
1212
- "group": "Content",
1213
- "description": "Paragraph body",
1214
- "fields": [
1215
- {
1216
- "body": {
1217
- "label": "Text",
1218
- "type": "richtext",
1219
- "editor": "default",
1220
- "default": "Write content here...",
1221
- "public": true
1222
- }
1223
- },
1224
- {
1225
- "fieldSet": "access"
1226
- },
1227
- {
1228
- "hidden": {
1229
- "default": false
1230
- }
1231
- }
1232
- ]
1233
- }
1234
- },
1235
- "rawElements": {
1236
- "button": {
1237
- "id": "button",
1238
- "label": "Button",
1239
- "group": "Content",
1240
- "description": "Button text",
1241
- "fields": [
1242
- {
1243
- "text": {
1244
- "label": "Text",
1245
- "type": "richtext",
1246
- "editor": "button",
1247
- "public": true
1248
- }
1249
- },
1250
- {
1251
- "fieldSet": "access"
1252
- },
1253
- {
1254
- "hidden": {
1255
- "default": false
1256
- }
1257
- }
1258
- ]
1259
- },
1260
- "header": {
1261
- "id": "header",
1262
- "label": "Header",
1263
- "group": "Content",
1264
- "fields": [
1265
- {
1266
- "headline": {
1267
- "type": "richtext",
1268
- "editor": "header",
1269
- "label": "Headline",
1270
- "public": true,
1271
- "default": "Header here..."
1272
- }
1273
- },
1274
- {
1275
- "fieldSet": "access"
1276
- },
1277
- {
1278
- "hidden": {
1279
- "default": false
1280
- }
1281
- }
1282
- ]
1283
- },
1284
- "header_image": {
1285
- "id": "header_image",
1286
- "label": "Header Image",
1287
- "group": "Media",
1288
- "description": "Image for page header.",
1289
- "fields": [
1290
- {
1291
- "image": {
1292
- "label": "Image",
1293
- "type": "asset",
1294
- "required": true,
1295
- "multiple": false,
1296
- "maxSizeMB": 15,
1297
- "allowedTypes": [
1298
- "image/*"
1299
- ],
1300
- "crops": {
1301
- "standard": {
1302
- "label": "Page header (21:9)",
1303
- "aspectRatio": 2.333
1304
- }
1305
- },
1306
- "public": true
1307
- }
1308
- },
1309
- {
1310
- "fieldSet": "access"
1311
- },
1312
- {
1313
- "hidden": {
1314
- "default": false
1315
- }
1316
- }
1317
- ]
1318
- },
1319
- "hero": {
1320
- "id": "hero",
1321
- "label": "Hero",
1322
- "group": "Content",
1323
- "fields": [
1324
- {
1325
- "heroBadge": {
1326
- "type": "text",
1327
- "label": "Badge",
1328
- "public": true
1329
- }
1330
- },
1331
- {
1332
- "heroTitle": {
1333
- "type": "text",
1334
- "label": "Title",
1335
- "public": true
1336
- }
1337
- },
1338
- {
1339
- "heroSubTitle": {
1340
- "type": "text",
1341
- "label": "Sub-Title",
1342
- "public": true
1343
- }
1344
- },
1345
- {
1346
- "headline": {
1347
- "type": "richtext",
1348
- "editor": "header",
1349
- "label": "Headline",
1350
- "public": true,
1351
- "default": "Header here..."
1352
- }
1353
- },
1354
- {
1355
- "fieldSet": "access"
1356
- },
1357
- {
1358
- "hidden": {
1359
- "default": false
1360
- }
1361
- }
1362
- ]
1363
- },
1364
- "image_card": {
1365
- "id": "image_card",
1366
- "label": "Image Card",
1367
- "Group": "Content",
1368
- "description": "A versatile card with an image, text, and a CTA button.",
1369
- "fields": [
1370
- {
1371
- "image": {
1372
- "label": "Card Image",
1373
- "showLabel": false,
1374
- "type": "asset",
1375
- "required": true,
1376
- "multiple": false,
1377
- "maxSizeMB": 15,
1378
- "maxPreviewWidth": "300px",
1379
- "allowedTypes": [
1380
- "image/*"
1381
- ],
1382
- "crops": {
1383
- "standard": {
1384
- "label": "Card Header (16:9)",
1385
- "aspectRatio": 3
1386
- }
1387
- },
1388
- "public": true
1389
- }
1390
- },
1391
- {
1392
- "headline": {
1393
- "label": "Headline",
1394
- "type": "text",
1395
- "required": true,
1396
- "public": true,
1397
- "default": "Headline..."
1398
- }
1399
- },
1400
- {
1401
- "summary": {
1402
- "label": "Text",
1403
- "description": "Keep it brief, 2-3 sentences max.",
1404
- "type": "richtext",
1405
- "editor": "minimal",
1406
- "public": true,
1407
- "default": "Card text content..."
1408
- }
1409
- },
1410
- {
1411
- "link": {
1412
- "label": "Link",
1413
- "type": "link",
1414
- "allowedLinkTypes": [
1415
- "tree",
1416
- "node",
1417
- "url",
1418
- "file",
1419
- "email",
1420
- "telephone"
1421
- ]
1422
- }
1423
- },
1424
- {
1425
- "linkText": {
1426
- "label": "Button Text",
1427
- "type": "text",
1428
- "description": "e.g., 'Read More' or 'Buy Now'",
1429
- "default": "Read More",
1430
- "public": true
1431
- }
1432
- },
1433
- {
1434
- "fieldSet": "access"
1435
- },
1436
- {
1437
- "hidden": {
1438
- "default": false
1439
- }
1440
- }
1441
- ]
1442
- },
1443
- "single_image": {
1444
- "id": "single_image",
1445
- "label": "Single Image",
1446
- "group": "Media",
1447
- "description": "Just a single image block.",
1448
- "fields": [
1449
- {
1450
- "image": {
1451
- "label": "Image",
1452
- "type": "asset",
1453
- "required": true,
1454
- "multiple": false,
1455
- "maxSizeMB": 15,
1456
- "allowedTypes": [
1457
- "image/*"
1458
- ],
1459
- "public": true
1460
- }
1461
- },
1462
- {
1463
- "link": {
1464
- "label": "Link",
1465
- "type": "link",
1466
- "position": "sidebar",
1467
- "allowedLinkTypes": [
1468
- "tree",
1469
- "node",
1470
- "url",
1471
- "file"
1472
- ]
1473
- }
1474
- },
1475
- {
1476
- "fieldSet": "access"
1477
- },
1478
- {
1479
- "hidden": {
1480
- "default": false
1481
- }
1482
- }
1483
- ]
1484
- },
1485
- "text": {
1486
- "id": "text",
1487
- "label": "Text",
1488
- "group": "Content",
1489
- "description": "Paragraph body",
1490
- "fields": [
1491
- {
1492
- "body": {
1493
- "label": "Text",
1494
- "type": "richtext",
1495
- "editor": "default",
1496
- "default": "Write content here...",
1497
- "public": true
1498
- }
1499
- },
1500
- {
1501
- "fieldSet": "access"
1502
- },
1503
- {
1504
- "hidden": {
1505
- "default": false
1506
- }
1507
- }
1508
- ]
1509
- }
1510
- },
1511
- "rawBlockLayouts": {
1512
- "three-column": {
1513
- "id": "three-column",
1514
- "label": "Three Columns (33/33/33)",
1515
- "showLabel": false,
1516
- "group": "Sub-Layouts",
1517
- "layout": {
1518
- "columns": "1fr 1fr 1fr",
1519
- "areas": [
1520
- [
1521
- "left",
1522
- "middle",
1523
- "right"
1524
- ]
1525
- ]
1526
- },
1527
- "regions": {
1528
- "left": {
1529
- "label": "Left Column",
1530
- "showLabel": false
1531
- },
1532
- "middle": {
1533
- "label": "Middle Column",
1534
- "showLabel": false
1535
- },
1536
- "right": {
1537
- "label": "Right Column",
1538
- "showLabel": false
1539
- }
1540
- }
1541
- },
1542
- "two-column": {
1543
- "id": "two-column",
1544
- "label": "Two Columns (50/50)",
1545
- "showLabel": false,
1546
- "group": "Sub-Layouts",
1547
- "layout": {
1548
- "columns": "1fr 1fr",
1549
- "areas": [
1550
- [
1551
- "left",
1552
- "right"
1553
- ]
1554
- ]
1555
- },
1556
- "regions": {
1557
- "left": {
1558
- "label": "Left Column",
1559
- "showLabel": false
1560
- },
1561
- "right": {
1562
- "label": "Right Column",
1563
- "showLabel": false
1564
- }
1565
- },
1566
- "fields": {
1567
- "gap": {
1568
- "label": "Column Gap",
1569
- "type": "select",
1570
- "default": "2rem",
1571
- "options": [
1572
- {
1573
- "label": "None",
1574
- "value": "0"
1575
- },
1576
- {
1577
- "label": "Small",
1578
- "value": "1rem"
1579
- },
1580
- {
1581
- "label": "Medium",
1582
- "value": "2rem"
1583
- },
1584
- {
1585
- "label": "Large",
1586
- "value": "4rem"
1587
- }
1588
- ]
1589
- }
1590
- }
1591
- }
1592
- },
1593
- "rawNodeLayouts": {
1594
- "landing-page": {
1595
- "id": "landing-page",
1596
- "label": "Landing Page",
1597
- "layout": {
1598
- "columns": "1fr",
1599
- "areas": [
1600
- [
1601
- "header"
1602
- ],
1603
- [
1604
- "hero"
1605
- ],
1606
- [
1607
- "content"
1608
- ],
1609
- [
1610
- "footer"
1611
- ]
1612
- ]
1613
- },
1614
- "regions": {
1615
- "header": {
1616
- "label": "Header",
1617
- "inherit": "parent"
1618
- },
1619
- "hero": {
1620
- "label": "Hero / Top Banner"
1621
- },
1622
- "content": {
1623
- "label": "Content"
1624
- },
1625
- "footer": {
1626
- "label": "Footer",
1627
- "inherit": "parent"
1628
- }
1629
- }
1630
- },
1631
- "single-column": {
1632
- "id": "single-column",
1633
- "label": "Single Column",
1634
- "layout": {
1635
- "columns": "1fr",
1636
- "areas": [
1637
- [
1638
- "header"
1639
- ],
1640
- [
1641
- "content"
1642
- ],
1643
- [
1644
- "footer"
1645
- ]
1646
- ]
1647
- },
1648
- "regions": {
1649
- "header": {
1650
- "label": "Header Image",
1651
- "showLabel": true,
1652
- "inherit": "parent",
1653
- "allowOverride": true,
1654
- "dropType": "image",
1655
- "maxPreviewWidth": "800px",
1656
- "multiple": false,
1657
- "maxSizeMB": 20,
1658
- "allowedTypes": [
1659
- "image/*"
1660
- ],
1661
- "crops": {
1662
- "standard": {
1663
- "label": "Desktop Header (4:1)",
1664
- "aspectRatio": 4
1665
- },
1666
- "tablet": {
1667
- "label": "Tablet Header (2:1)",
1668
- "aspectRatio": 2
1669
- },
1670
- "mobile": {
1671
- "label": "Mobile Header (4:3)",
1672
- "aspectRatio": 1.33
1673
- }
1674
- },
1675
- "public": true
1676
- },
1677
- "content": {
1678
- "label": "Content"
1679
- },
1680
- "footer": {
1681
- "label": "Footer",
1682
- "inherit": "parent"
1683
- }
1684
- }
1685
- },
1686
- "three-column": {
1687
- "id": "three-column",
1688
- "label": "Three Column",
1689
- "layout": {
1690
- "columns": "2fr 7fr 3fr",
1691
- "areas": [
1692
- [
1693
- "header",
1694
- "header",
1695
- "header"
1696
- ],
1697
- [
1698
- "left_nav",
1699
- "content",
1700
- "right_sidebar"
1701
- ],
1702
- [
1703
- "footer",
1704
- "footer",
1705
- "footer"
1706
- ]
1707
- ]
1708
- },
1709
- "regions": {
1710
- "header": {
1711
- "label": "Header Image",
1712
- "showLabel": true,
1713
- "inherit": "parent",
1714
- "allowOverride": true,
1715
- "dropType": "image",
1716
- "maxPreviewWidth": "800px",
1717
- "multiple": false,
1718
- "maxSizeMB": 20,
1719
- "allowedTypes": [
1720
- "image/*"
1721
- ],
1722
- "crops": {
1723
- "standard": {
1724
- "label": "Desktop Header (4:1)",
1725
- "aspectRatio": 4
1726
- },
1727
- "tablet": {
1728
- "label": "Tablet Header (2:1)",
1729
- "aspectRatio": 2
1730
- },
1731
- "mobile": {
1732
- "label": "Mobile Header (4:3)",
1733
- "aspectRatio": 1.33
1734
- }
1735
- },
1736
- "public": true
1737
- },
1738
- "left_nav": {
1739
- "label": "Left Navigation"
1740
- },
1741
- "content": {
1742
- "label": "Content"
1743
- },
1744
- "right_sidebar": {
1745
- "label": "Right Sidebar"
1746
- },
1747
- "footer": {
1748
- "label": "Footer",
1749
- "inherit": "parent"
1750
- }
1751
- }
1752
- },
1753
- "two-column": {
1754
- "id": "two-column",
1755
- "label": "Two Column",
1756
- "layout": {
1757
- "columns": "10fr 4fr",
1758
- "areas": [
1759
- [
1760
- "header",
1761
- "header"
1762
- ],
1763
- [
1764
- "content",
1765
- "sidebar"
1766
- ],
1767
- [
1768
- "footer",
1769
- "footer"
1770
- ]
1771
- ]
1772
- },
1773
- "regions": {
1774
- "header": {
1775
- "label": "Header Image",
1776
- "showLabel": true,
1777
- "inherit": "parent",
1778
- "allowOverride": true,
1779
- "dropType": "image",
1780
- "maxPreviewWidth": "800px",
1781
- "multiple": false,
1782
- "maxSizeMB": 20,
1783
- "allowedTypes": [
1784
- "image/*"
1785
- ],
1786
- "crops": {
1787
- "standard": {
1788
- "label": "Desktop Header (4:1)",
1789
- "aspectRatio": 4
1790
- },
1791
- "tablet": {
1792
- "label": "Tablet Header (2:1)",
1793
- "aspectRatio": 2
1794
- },
1795
- "mobile": {
1796
- "label": "Mobile Header (4:3)",
1797
- "aspectRatio": 1.33
1798
- }
1799
- },
1800
- "public": true
1801
- },
1802
- "content": {
1803
- "label": "Content"
1804
- },
1805
- "sidebar": {
1806
- "label": "Sidebar"
1807
- },
1808
- "footer": {
1809
- "label": "Footer",
1810
- "inherit": "parent"
1811
- }
1812
- }
1813
- }
1814
- },
1815
- "rawLayouts": {
1816
- "landing-page": {
1817
- "id": "landing-page",
1818
- "label": "Landing Page",
1819
- "layout": {
1820
- "columns": "1fr",
1821
- "areas": [
1822
- [
1823
- "header"
1824
- ],
1825
- [
1826
- "hero"
1827
- ],
1828
- [
1829
- "content"
1830
- ],
1831
- [
1832
- "footer"
1833
- ]
1834
- ]
1835
- },
1836
- "regions": {
1837
- "header": {
1838
- "label": "Header",
1839
- "inherit": "parent"
1840
- },
1841
- "hero": {
1842
- "label": "Hero / Top Banner"
1843
- },
1844
- "content": {
1845
- "label": "Content"
1846
- },
1847
- "footer": {
1848
- "label": "Footer",
1849
- "inherit": "parent"
1850
- }
1851
- }
1852
- },
1853
- "single-column": {
1854
- "id": "single-column",
1855
- "label": "Single Column",
1856
- "layout": {
1857
- "columns": "1fr",
1858
- "areas": [
1859
- [
1860
- "header"
1861
- ],
1862
- [
1863
- "content"
1864
- ],
1865
- [
1866
- "footer"
1867
- ]
1868
- ]
1869
- },
1870
- "regions": {
1871
- "header": {
1872
- "label": "Header Image",
1873
- "showLabel": true,
1874
- "inherit": "parent",
1875
- "allowOverride": true,
1876
- "dropType": "image",
1877
- "maxPreviewWidth": "800px",
1878
- "multiple": false,
1879
- "maxSizeMB": 20,
1880
- "allowedTypes": [
1881
- "image/*"
1882
- ],
1883
- "crops": {
1884
- "standard": {
1885
- "label": "Desktop Header (4:1)",
1886
- "aspectRatio": 4
1887
- },
1888
- "tablet": {
1889
- "label": "Tablet Header (2:1)",
1890
- "aspectRatio": 2
1891
- },
1892
- "mobile": {
1893
- "label": "Mobile Header (4:3)",
1894
- "aspectRatio": 1.33
1895
- }
1896
- },
1897
- "public": true
1898
- },
1899
- "content": {
1900
- "label": "Content"
1901
- },
1902
- "footer": {
1903
- "label": "Footer",
1904
- "inherit": "parent"
1905
- }
1906
- }
1907
- },
1908
- "three-column": {
1909
- "id": "three-column",
1910
- "label": "Three Columns (33/33/33)",
1911
- "showLabel": false,
1912
- "group": "Sub-Layouts",
1913
- "layout": {
1914
- "columns": "1fr 1fr 1fr",
1915
- "areas": [
1916
- [
1917
- "left",
1918
- "middle",
1919
- "right"
1920
- ]
1921
- ]
1922
- },
1923
- "regions": {
1924
- "left": {
1925
- "label": "Left Column",
1926
- "showLabel": false
1927
- },
1928
- "middle": {
1929
- "label": "Middle Column",
1930
- "showLabel": false
1931
- },
1932
- "right": {
1933
- "label": "Right Column",
1934
- "showLabel": false
1935
- }
1936
- }
1937
- },
1938
- "two-column": {
1939
- "id": "two-column",
1940
- "label": "Two Columns (50/50)",
1941
- "showLabel": false,
1942
- "group": "Sub-Layouts",
1943
- "layout": {
1944
- "columns": "1fr 1fr",
1945
- "areas": [
1946
- [
1947
- "left",
1948
- "right"
1949
- ]
1950
- ]
1951
- },
1952
- "regions": {
1953
- "left": {
1954
- "label": "Left Column",
1955
- "showLabel": false
1956
- },
1957
- "right": {
1958
- "label": "Right Column",
1959
- "showLabel": false
1960
- }
1961
- },
1962
- "fields": {
1963
- "gap": {
1964
- "label": "Column Gap",
1965
- "type": "select",
1966
- "default": "2rem",
1967
- "options": [
1968
- {
1969
- "label": "None",
1970
- "value": "0"
1971
- },
1972
- {
1973
- "label": "Small",
1974
- "value": "1rem"
1975
- },
1976
- {
1977
- "label": "Medium",
1978
- "value": "2rem"
1979
- },
1980
- {
1981
- "label": "Large",
1982
- "value": "4rem"
1983
- }
1984
- ]
1985
- }
1986
- }
1987
- }
1988
- },
1989
- "rawFieldSets": {
1990
- "access": {
1991
- "tab": {
1992
- "id": "access",
1993
- "label": "Access"
1994
- },
1995
- "fields": {
1996
- "isHidden": {
1997
- "type": "boolean",
1998
- "label": "Hidden",
1999
- "default": false,
2000
- "public": false,
2001
- "variant": "danger",
2002
- "dbType": "integer",
2003
- "index": true,
2004
- "position": "sidebar",
2005
- "liveSync": true
2006
- },
2007
- "startShowingAt": {
2008
- "type": "datetime",
2009
- "label": "Start Showing At",
2010
- "position": "sidebar",
2011
- "public": false,
2012
- "index": true
2013
- },
2014
- "stopShowingAt": {
2015
- "type": "datetime",
2016
- "label": "Stop Showing At",
2017
- "position": "sidebar",
2018
- "public": false,
2019
- "index": true
2020
- }
2021
- }
2022
- },
2023
- "channel-base": {
2024
- "id": "channel-base",
2025
- "label": "Channel Base Properties",
2026
- "fields": [
2027
- {
2028
- "id": {
2029
- "label": "Internal ID",
2030
- "type": "hidden",
2031
- "dbType": "integer",
2032
- "primaryKey": true
2033
- }
2034
- },
2035
- {
2036
- "label": {
2037
- "label": "Channel Name",
2038
- "type": "text",
2039
- "dbType": "text",
2040
- "public": true,
2041
- "rules": {
2042
- "required": true
2043
- }
2044
- }
2045
- },
2046
- {
2047
- "key": {
2048
- "label": "API Identifier",
2049
- "type": "slug",
2050
- "dbType": "text",
2051
- "public": true,
2052
- "index": true,
2053
- "linkedTo": "label",
2054
- "placeholder": "e.g. main-site, store-eu",
2055
- "rules": {
2056
- "required": true,
2057
- "unique": true,
2058
- "pattern": "^[a-z0-9-_]+$",
2059
- "customMessage": "API key must be unique and contain only lowercase letters, numbers, hyphens, or underscores."
2060
- }
2061
- }
2062
- }
2063
- ]
2064
- },
2065
- "comments": {
2066
- "tab": {
2067
- "id": "comments",
2068
- "label": "Comments"
2069
- },
2070
- "fields": {
2071
- "isHidden": {
2072
- "type": "textarea",
2073
- "label": "Comments",
2074
- "public": false,
2075
- "index": true,
2076
- "position": "sidebar"
2077
- }
2078
- }
2079
- },
2080
- "content-block": {
2081
- "id": "content-block",
2082
- "label": "Content Block Base Properties",
2083
- "fields": [
2084
- {
2085
- "id": {
2086
- "label": "ID",
2087
- "type": "hidden",
2088
- "dbType": "text",
2089
- "primaryKey": true
2090
- }
2091
- },
2092
- {
2093
- "contentId": {
2094
- "label": "Node ID",
2095
- "type": "text",
2096
- "dbType": "text",
2097
- "rules": {
2098
- "required": true
2099
- }
2100
- }
2101
- },
2102
- {
2103
- "sortOrder": {
2104
- "label": "Sort Order",
2105
- "type": "number",
2106
- "dbType": "integer",
2107
- "rules": {
2108
- "required": true
2109
- }
2110
- }
2111
- },
2112
- {
2113
- "elementType": {
2114
- "label": "Element Component Type",
2115
- "type": "text",
2116
- "dbType": "text",
2117
- "rules": {
2118
- "required": true
2119
- }
2120
- }
2121
- },
2122
- {
2123
- "dataJson": {
2124
- "label": "Content Field Data",
2125
- "type": "json",
2126
- "dbType": "json",
2127
- "rules": {
2128
- "required": true
2129
- }
2130
- }
2131
- },
2132
- {
2133
- "region": {
2134
- "label": "Grid Region",
2135
- "type": "text",
2136
- "dbType": "text",
2137
- "default": "main",
2138
- "rules": {
2139
- "required": true
2140
- }
2141
- }
2142
- }
2143
- ]
2144
- },
2145
- "page-base": {
2146
- "id": "page-base",
2147
- "label": "Base Page Properties",
2148
- "fields": [
2149
- {
2150
- "id": {
2151
- "label": "ID",
2152
- "type": "hidden",
2153
- "dbType": "text",
2154
- "primaryKey": true,
2155
- "public": true
2156
- }
2157
- },
2158
- {
2159
- "channelId": {
2160
- "label": "Channel ID",
2161
- "type": "hidden",
2162
- "dbType": "text",
2163
- "public": true,
2164
- "index": true
2165
- }
2166
- },
2167
- {
2168
- "nodeType": {
2169
- "label": "Type",
2170
- "type": "select",
2171
- "dbType": "text",
2172
- "default": "page",
2173
- "public": true,
2174
- "position": "sidebar",
2175
- "rules": {
2176
- "required": true
2177
- }
2178
- }
2179
- },
2180
- {
2181
- "title": {
2182
- "label": "Page Title",
2183
- "type": "text",
2184
- "dbType": "text",
2185
- "public": true,
2186
- "rules": {
2187
- "required": true
2188
- }
2189
- }
2190
- },
2191
- {
2192
- "slug": {
2193
- "label": "URL Slug",
2194
- "type": "slug",
2195
- "linkedTo": "title",
2196
- "dbType": "text",
2197
- "public": true,
2198
- "index": true,
2199
- "rules": {
2200
- "required": true,
2201
- "uniqueSibling": true,
2202
- "pattern": "^[a-z0-9_-]+$",
2203
- "customMessage": "Slug can only contain lowercase letters, numbers, hyphens, and underscores."
2204
- }
2205
- }
2206
- }
2207
- ]
2208
- },
2209
- "page-meta": {
2210
- "tab": {
2211
- "id": "page-meta",
2212
- "label": "Meta"
2213
- },
2214
- "fields": {
2215
- "metaDescription": {
2216
- "label": "Meta Description",
2217
- "type": "textarea",
2218
- "public": true
2219
- },
2220
- "metaKeywords": {
2221
- "label": "Meta Keywords",
2222
- "type": "textarea",
2223
- "required": false,
2224
- "public": true
2225
- },
2226
- "titlePrefix": {
2227
- "label": "Title Prefix",
2228
- "type": "text",
2229
- "required": false,
2230
- "public": true,
2231
- "inherits": "titlePrefix"
2232
- },
2233
- "titleSuffix": {
2234
- "label": "Title Suffix",
2235
- "type": "text",
2236
- "required": false,
2237
- "public": true,
2238
- "inherits": "titleSuffix"
2239
- }
2240
- }
2241
- },
2242
- "page-social": {
2243
- "tab": {
2244
- "id": "page-social",
2245
- "label": "Social"
2246
- },
2247
- "fields": {
2248
- "fbTitle": {
2249
- "label": "Facebook Title (og:title)",
2250
- "type": "text",
2251
- "inherits": "title",
2252
- "public": true,
2253
- "description": "The title of your article as it should appear on Facebook."
2254
- },
2255
- "fbDescription": {
2256
- "label": "Facebook Description (og:description)",
2257
- "type": "textarea",
2258
- "inherits": "metaDescription",
2259
- "public": true,
2260
- "description": "A 2-4 sentence summary of the content."
2261
- },
2262
- "xTitle": {
2263
- "label": "X Title (twitter:title)",
2264
- "type": "text",
2265
- "inherits": "fbTitle",
2266
- "public": true,
2267
- "description": "Keep it concise (under 70 characters is ideal for X)."
2268
- },
2269
- "xDescription": {
2270
- "label": "X Description (twitter:description)",
2271
- "type": "textarea",
2272
- "inherits": "fbDescription",
2273
- "public": true
2274
- },
2275
- "socialImage": {
2276
- "label": "Master Social Image",
2277
- "type": "image",
2278
- "maxPreviewWidth": "620px",
2279
- "multiple": false,
2280
- "maxSizeMB": 10,
2281
- "allowedTypes": [
2282
- "image/jpeg",
2283
- "image/png",
2284
- "image/webp"
2285
- ],
2286
- "public": true
2287
- },
2288
- "fbImage": {
2289
- "label": "Facebook / LinkedIn Image",
2290
- "type": "image",
2291
- "maxPreviewWidth": "620px",
2292
- "inherits": "socialImage",
2293
- "public": true,
2294
- "description": "Auto-cropped to 1.91:1. Drop a new image here to override.",
2295
- "crops": {
2296
- "aspectRatio": 1.91
2297
- }
2298
- },
2299
- "xImage": {
2300
- "label": "X (Twitter) Image",
2301
- "type": "image",
2302
- "maxPreviewWidth": "620px",
2303
- "inherits": "socialImage",
2304
- "public": true,
2305
- "description": "Auto-cropped to 2:1. Drop a new image here to override.",
2306
- "crops": {
2307
- "aspectRatio": 2
2308
- }
2309
- },
2310
- "whatsappImage": {
2311
- "label": "Messaging / Square Image",
2312
- "type": "image",
2313
- "maxPreviewWidth": "620px",
2314
- "inherits": "socialImage",
2315
- "public": true,
2316
- "description": "Auto-cropped to 1:1. Drop a new image here to override.",
2317
- "crops": {
2318
- "whatsappImage": {
2319
- "label": "WhatsApp Image (1:1)",
2320
- "aspectRatio": 1
2321
- }
2322
- }
2323
- }
2324
- }
2325
- },
2326
- "tree-base": {
2327
- "id": "tree-base",
2328
- "label": "Tree Base Properties",
2329
- "fields": [
2330
- {
2331
- "id": {
2332
- "label": "Internal ID",
2333
- "type": "hidden",
2334
- "dbType": "integer",
2335
- "primaryKey": true
2336
- }
2337
- },
2338
- {
2339
- "label": {
2340
- "label": "Label",
2341
- "type": "text",
2342
- "dbType": "text",
2343
- "public": true,
2344
- "rules": {
2345
- "required": true
2346
- }
2347
- }
2348
- },
2349
- {
2350
- "key": {
2351
- "label": "API Identifier",
2352
- "type": "slug",
2353
- "dbType": "text",
2354
- "index": true,
2355
- "public": true,
2356
- "linkedTo": "label",
2357
- "placeholder": "e.g. main-site, store-eu",
2358
- "rules": {
2359
- "required": true,
2360
- "unique": true,
2361
- "pattern": "^[a-z0-9-_]+$",
2362
- "customMessage": "API key must be unique and contain only lowercase letters, numbers, hyphens, or underscores."
2363
- }
2364
- }
2365
- }
2366
- ]
2367
- },
2368
- "visibility": {
2369
- "fields": {
2370
- "showInMenus": {
2371
- "type": "boolean",
2372
- "label": "Show in Menus",
2373
- "default": true,
2374
- "position": "sidebar",
2375
- "public": true,
2376
- "variant": "alert"
2377
- }
2378
- }
2379
- }
2380
- },
2381
- "rawTemplates": {},
2382
- "nodeTemplate": {
2383
- "fields": {}
2384
- },
2385
- "treeTemplate": {
2386
- "fields": {}
2387
- },
2388
- "channelTemplate": {
2389
- "fields": {}
2390
- },
2391
- "userTemplate": {
2392
- "fields": {}
2393
- }
2394
- };