@kurbo/dkit 0.4.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.
Files changed (241) hide show
  1. package/README.md +24 -0
  2. package/dist/bin.js +8066 -0
  3. package/dist/bin.js.map +1 -0
  4. package/package.json +58 -0
  5. package/vendor/registry/blocks/blog-detail/module.json +27 -0
  6. package/vendor/registry/blocks/blog-detail/ui/minimal/next/blog-detail.tsx +26 -0
  7. package/vendor/registry/blocks/blog-detail/ui/minimal/nuxt/BlogDetail.vue +27 -0
  8. package/vendor/registry/blocks/blog-detail/ui/shadcn/next/blog-detail.tsx +106 -0
  9. package/vendor/registry/blocks/blog-detail/ui/shadcn/nuxt/BlogDetail.vue +116 -0
  10. package/vendor/registry/blocks/blog-list/module.json +26 -0
  11. package/vendor/registry/blocks/blog-list/ui/minimal/next/blog-list.tsx +130 -0
  12. package/vendor/registry/blocks/blog-list/ui/minimal/nuxt/BlogList.vue +62 -0
  13. package/vendor/registry/blocks/blog-list/ui/shadcn/next/blog-list.tsx +109 -0
  14. package/vendor/registry/blocks/blog-list/ui/shadcn/nuxt/BlogList.vue +100 -0
  15. package/vendor/registry/blocks/blog-list-cards/module.json +27 -0
  16. package/vendor/registry/blocks/blog-list-cards/ui/minimal/next/blog-list-cards.tsx +130 -0
  17. package/vendor/registry/blocks/blog-list-cards/ui/minimal/nuxt/BlogListCards.vue +114 -0
  18. package/vendor/registry/blocks/blog-list-cards/ui/shadcn/next/blog-list-cards.tsx +119 -0
  19. package/vendor/registry/blocks/blog-list-cards/ui/shadcn/nuxt/BlogListCards.vue +113 -0
  20. package/vendor/registry/blocks/booking-form-ui/module.json +15 -0
  21. package/vendor/registry/blocks/booking-form-ui/ui/minimal/next/booking-form.tsx +89 -0
  22. package/vendor/registry/blocks/booking-form-ui/ui/shadcn/next/booking-form.tsx +92 -0
  23. package/vendor/registry/blocks/contact-form-ui/module.json +27 -0
  24. package/vendor/registry/blocks/contact-form-ui/ui/minimal/next/contact-form.tsx +45 -0
  25. package/vendor/registry/blocks/contact-form-ui/ui/minimal/nuxt/ContactForm.vue +79 -0
  26. package/vendor/registry/blocks/contact-form-ui/ui/shadcn/next/contact-form.tsx +55 -0
  27. package/vendor/registry/blocks/contact-form-ui/ui/shadcn/nuxt/ContactForm.vue +92 -0
  28. package/vendor/registry/blocks/faq-list/module.json +15 -0
  29. package/vendor/registry/blocks/faq-list/ui/minimal/next/faq-list.tsx +78 -0
  30. package/vendor/registry/blocks/faq-list/ui/shadcn/next/faq-list.tsx +77 -0
  31. package/vendor/registry/blocks/maintenance-gate/module.json +13 -0
  32. package/vendor/registry/blocks/maintenance-gate/ui/minimal/next/maintenance-gate.tsx +135 -0
  33. package/vendor/registry/blocks/maintenance-gate/ui/shadcn/next/maintenance-gate.tsx +87 -0
  34. package/vendor/registry/blocks/nav-footer/module.json +13 -0
  35. package/vendor/registry/blocks/nav-footer/ui/minimal/next/nav-footer.tsx +55 -0
  36. package/vendor/registry/blocks/nav-footer/ui/shadcn/next/nav-footer.tsx +41 -0
  37. package/vendor/registry/blocks/nav-header/module.json +14 -0
  38. package/vendor/registry/blocks/nav-header/ui/minimal/next/nav-header.tsx +244 -0
  39. package/vendor/registry/blocks/nav-header/ui/shadcn/next/nav-header-client.tsx +185 -0
  40. package/vendor/registry/blocks/nav-header/ui/shadcn/next/nav-header.tsx +12 -0
  41. package/vendor/registry/blocks/page-detail/module.json +26 -0
  42. package/vendor/registry/blocks/page-detail/ui/minimal/next/page-detail.tsx +26 -0
  43. package/vendor/registry/blocks/page-detail/ui/minimal/nuxt/PageDetail.vue +26 -0
  44. package/vendor/registry/blocks/page-detail/ui/shadcn/next/page-detail.tsx +61 -0
  45. package/vendor/registry/blocks/page-detail/ui/shadcn/nuxt/PageDetail.vue +62 -0
  46. package/vendor/registry/blocks/project-detail/module.json +15 -0
  47. package/vendor/registry/blocks/project-detail/ui/minimal/next/project-detail.tsx +58 -0
  48. package/vendor/registry/blocks/project-detail/ui/shadcn/next/project-detail.tsx +91 -0
  49. package/vendor/registry/blocks/project-list/module.json +14 -0
  50. package/vendor/registry/blocks/project-list/ui/minimal/next/project-list.tsx +104 -0
  51. package/vendor/registry/blocks/project-list/ui/shadcn/next/project-list.tsx +81 -0
  52. package/vendor/registry/blocks/project-list-cards/module.json +15 -0
  53. package/vendor/registry/blocks/project-list-cards/ui/minimal/next/project-list-cards.tsx +125 -0
  54. package/vendor/registry/blocks/project-list-cards/ui/shadcn/next/project-list-cards.tsx +94 -0
  55. package/vendor/registry/blocks/projects-carousel/module.json +15 -0
  56. package/vendor/registry/blocks/projects-carousel/ui/minimal/next/projects-carousel-client.tsx +239 -0
  57. package/vendor/registry/blocks/projects-carousel/ui/minimal/next/projects-carousel.tsx +24 -0
  58. package/vendor/registry/blocks/projects-carousel/ui/shadcn/next/projects-carousel-client.tsx +102 -0
  59. package/vendor/registry/blocks/projects-carousel/ui/shadcn/next/projects-carousel.tsx +24 -0
  60. package/vendor/registry/blocks/service-detail/module.json +15 -0
  61. package/vendor/registry/blocks/service-detail/ui/minimal/next/service-detail.tsx +49 -0
  62. package/vendor/registry/blocks/service-detail/ui/shadcn/next/service-detail.tsx +75 -0
  63. package/vendor/registry/blocks/service-list/module.json +14 -0
  64. package/vendor/registry/blocks/service-list/ui/minimal/next/service-list.tsx +103 -0
  65. package/vendor/registry/blocks/service-list/ui/shadcn/next/service-list.tsx +80 -0
  66. package/vendor/registry/blocks/service-list-cards/module.json +15 -0
  67. package/vendor/registry/blocks/service-list-cards/ui/minimal/next/service-list-cards.tsx +124 -0
  68. package/vendor/registry/blocks/service-list-cards/ui/shadcn/next/service-list-cards.tsx +92 -0
  69. package/vendor/registry/blocks/site-brand/module.json +13 -0
  70. package/vendor/registry/blocks/site-brand/ui/minimal/next/site-brand.tsx +61 -0
  71. package/vendor/registry/blocks/site-brand/ui/shadcn/next/site-brand.tsx +48 -0
  72. package/vendor/registry/blocks/site-logo/module.json +13 -0
  73. package/vendor/registry/blocks/site-logo/ui/minimal/next/site-logo.tsx +37 -0
  74. package/vendor/registry/blocks/site-logo/ui/shadcn/next/site-logo.tsx +34 -0
  75. package/vendor/registry/blocks/social-links/module.json +13 -0
  76. package/vendor/registry/blocks/social-links/ui/minimal/next/social-links.tsx +55 -0
  77. package/vendor/registry/blocks/social-links/ui/shadcn/next/social-links.tsx +46 -0
  78. package/vendor/registry/blocks/team-detail/module.json +15 -0
  79. package/vendor/registry/blocks/team-detail/ui/minimal/next/team-detail.tsx +113 -0
  80. package/vendor/registry/blocks/team-detail/ui/shadcn/next/team-detail.tsx +77 -0
  81. package/vendor/registry/blocks/team-list/module.json +14 -0
  82. package/vendor/registry/blocks/team-list/ui/minimal/next/team-list.tsx +113 -0
  83. package/vendor/registry/blocks/team-list/ui/shadcn/next/team-list.tsx +77 -0
  84. package/vendor/registry/blocks/team-list-cards/module.json +15 -0
  85. package/vendor/registry/blocks/team-list-cards/ui/minimal/next/team-list-cards.tsx +111 -0
  86. package/vendor/registry/blocks/team-list-cards/ui/shadcn/next/team-list-cards.tsx +83 -0
  87. package/vendor/registry/blocks/testimonials-carousel/module.json +15 -0
  88. package/vendor/registry/blocks/testimonials-carousel/ui/minimal/next/testimonials-carousel-client.tsx +230 -0
  89. package/vendor/registry/blocks/testimonials-carousel/ui/minimal/next/testimonials-carousel.tsx +23 -0
  90. package/vendor/registry/blocks/testimonials-carousel/ui/shadcn/next/testimonials-carousel-client.tsx +91 -0
  91. package/vendor/registry/blocks/testimonials-carousel/ui/shadcn/next/testimonials-carousel.tsx +23 -0
  92. package/vendor/registry/blocks/testimonials-list/module.json +14 -0
  93. package/vendor/registry/blocks/testimonials-list/ui/minimal/next/testimonials-list.tsx +109 -0
  94. package/vendor/registry/blocks/testimonials-list/ui/shadcn/next/testimonials-list.tsx +72 -0
  95. package/vendor/registry/blocks/testimonials-list-cards/module.json +15 -0
  96. package/vendor/registry/blocks/testimonials-list-cards/ui/minimal/next/testimonials-list-cards.tsx +114 -0
  97. package/vendor/registry/blocks/testimonials-list-cards/ui/shadcn/next/testimonials-list-cards.tsx +72 -0
  98. package/vendor/registry/core/languages/policies.json +25 -0
  99. package/vendor/registry/core/languages/seed.json +16 -0
  100. package/vendor/registry/core/languages/snapshot.json +94 -0
  101. package/vendor/registry/modules/blog/access/policies.json +49 -0
  102. package/vendor/registry/modules/blog/access/policies.multilocale.json +67 -0
  103. package/vendor/registry/modules/blog/lib.multilocale.ts +552 -0
  104. package/vendor/registry/modules/blog/lib.ts +346 -0
  105. package/vendor/registry/modules/blog/module.json +50 -0
  106. package/vendor/registry/modules/blog/schema/snapshot.json +701 -0
  107. package/vendor/registry/modules/blog/schema/snapshot.multilocale.json +884 -0
  108. package/vendor/registry/modules/blog/services/ATTRIBUTION.md +8 -0
  109. package/vendor/registry/modules/blog/services/assets/ada-lovelace-avatar.jpg +0 -0
  110. package/vendor/registry/modules/blog/services/assets/hello-from-dkit-cover.jpg +0 -0
  111. package/vendor/registry/modules/blog/services/seed.json +70 -0
  112. package/vendor/registry/modules/blog/services/seed.multilocale.json +90 -0
  113. package/vendor/registry/modules/blog/types.multilocale.ts +96 -0
  114. package/vendor/registry/modules/blog/types.ts +62 -0
  115. package/vendor/registry/modules/booking-form/access/policies.json +25 -0
  116. package/vendor/registry/modules/booking-form/access/policies.multilocale.json +27 -0
  117. package/vendor/registry/modules/booking-form/lib.multilocale.ts +71 -0
  118. package/vendor/registry/modules/booking-form/lib.ts +77 -0
  119. package/vendor/registry/modules/booking-form/module.json +32 -0
  120. package/vendor/registry/modules/booking-form/schema/snapshot.json +294 -0
  121. package/vendor/registry/modules/booking-form/schema/snapshot.multilocale.json +467 -0
  122. package/vendor/registry/modules/booking-form/services/flows.json +19 -0
  123. package/vendor/registry/modules/booking-form/types.multilocale.ts +29 -0
  124. package/vendor/registry/modules/booking-form/types.ts +27 -0
  125. package/vendor/registry/modules/contact-form/access/policies.json +25 -0
  126. package/vendor/registry/modules/contact-form/access/policies.multilocale.json +27 -0
  127. package/vendor/registry/modules/contact-form/lib.multilocale.ts +65 -0
  128. package/vendor/registry/modules/contact-form/lib.ts +67 -0
  129. package/vendor/registry/modules/contact-form/module.json +32 -0
  130. package/vendor/registry/modules/contact-form/schema/snapshot.json +193 -0
  131. package/vendor/registry/modules/contact-form/schema/snapshot.multilocale.json +293 -0
  132. package/vendor/registry/modules/contact-form/services/flows.json +19 -0
  133. package/vendor/registry/modules/contact-form/types.multilocale.ts +21 -0
  134. package/vendor/registry/modules/contact-form/types.ts +19 -0
  135. package/vendor/registry/modules/faq/access/policies.json +25 -0
  136. package/vendor/registry/modules/faq/access/policies.multilocale.json +18 -0
  137. package/vendor/registry/modules/faq/lib.multilocale.ts +120 -0
  138. package/vendor/registry/modules/faq/lib.ts +73 -0
  139. package/vendor/registry/modules/faq/module.json +31 -0
  140. package/vendor/registry/modules/faq/schema/snapshot.json +180 -0
  141. package/vendor/registry/modules/faq/schema/snapshot.multilocale.json +116 -0
  142. package/vendor/registry/modules/faq/services/seed.json +38 -0
  143. package/vendor/registry/modules/faq/services/seed.multilocale.json +32 -0
  144. package/vendor/registry/modules/faq/types.multilocale.ts +31 -0
  145. package/vendor/registry/modules/faq/types.ts +17 -0
  146. package/vendor/registry/modules/navigation/access/policies.json +31 -0
  147. package/vendor/registry/modules/navigation/access/policies.multilocale.json +51 -0
  148. package/vendor/registry/modules/navigation/lib.multilocale.ts +198 -0
  149. package/vendor/registry/modules/navigation/lib.ts +252 -0
  150. package/vendor/registry/modules/navigation/module.json +46 -0
  151. package/vendor/registry/modules/navigation/schema/snapshot.json +453 -0
  152. package/vendor/registry/modules/navigation/schema/snapshot.multilocale.json +864 -0
  153. package/vendor/registry/modules/navigation/services/seed.json +103 -0
  154. package/vendor/registry/modules/navigation/services/seed.multilocale.json +88 -0
  155. package/vendor/registry/modules/navigation/types.multilocale.ts +60 -0
  156. package/vendor/registry/modules/navigation/types.ts +44 -0
  157. package/vendor/registry/modules/pages/access/policies.json +25 -0
  158. package/vendor/registry/modules/pages/access/policies.multilocale.json +18 -0
  159. package/vendor/registry/modules/pages/lib.multilocale.ts +166 -0
  160. package/vendor/registry/modules/pages/lib.ts +123 -0
  161. package/vendor/registry/modules/pages/module.json +39 -0
  162. package/vendor/registry/modules/pages/schema/snapshot.json +247 -0
  163. package/vendor/registry/modules/pages/schema/snapshot.multilocale.json +187 -0
  164. package/vendor/registry/modules/pages/services/seed.json +24 -0
  165. package/vendor/registry/modules/pages/services/seed.multilocale.json +34 -0
  166. package/vendor/registry/modules/pages/types.multilocale.ts +37 -0
  167. package/vendor/registry/modules/pages/types.ts +21 -0
  168. package/vendor/registry/modules/projects/access/policies.json +31 -0
  169. package/vendor/registry/modules/projects/access/policies.multilocale.json +43 -0
  170. package/vendor/registry/modules/projects/lib.multilocale.ts +111 -0
  171. package/vendor/registry/modules/projects/lib.ts +138 -0
  172. package/vendor/registry/modules/projects/module.json +48 -0
  173. package/vendor/registry/modules/projects/schema/snapshot.json +348 -0
  174. package/vendor/registry/modules/projects/schema/snapshot.multilocale.json +577 -0
  175. package/vendor/registry/modules/projects/services/ATTRIBUTION.md +7 -0
  176. package/vendor/registry/modules/projects/services/assets/brand-identity-cover.jpg +0 -0
  177. package/vendor/registry/modules/projects/services/seed.json +40 -0
  178. package/vendor/registry/modules/projects/services/seed.multilocale.json +31 -0
  179. package/vendor/registry/modules/projects/types.multilocale.ts +38 -0
  180. package/vendor/registry/modules/projects/types.ts +28 -0
  181. package/vendor/registry/modules/services/access/policies.json +31 -0
  182. package/vendor/registry/modules/services/access/policies.multilocale.json +43 -0
  183. package/vendor/registry/modules/services/lib.multilocale.ts +109 -0
  184. package/vendor/registry/modules/services/lib.ts +134 -0
  185. package/vendor/registry/modules/services/module.json +47 -0
  186. package/vendor/registry/modules/services/schema/snapshot.json +305 -0
  187. package/vendor/registry/modules/services/schema/snapshot.multilocale.json +510 -0
  188. package/vendor/registry/modules/services/services/ATTRIBUTION.md +8 -0
  189. package/vendor/registry/modules/services/services/assets/design-development.jpg +0 -0
  190. package/vendor/registry/modules/services/services/assets/strategy-consulting.jpg +0 -0
  191. package/vendor/registry/modules/services/services/seed.json +44 -0
  192. package/vendor/registry/modules/services/services/seed.multilocale.json +31 -0
  193. package/vendor/registry/modules/services/types.multilocale.ts +36 -0
  194. package/vendor/registry/modules/services/types.ts +26 -0
  195. package/vendor/registry/modules/settings/access/policies.json +31 -0
  196. package/vendor/registry/modules/settings/access/policies.multilocale.json +43 -0
  197. package/vendor/registry/modules/settings/lib.multilocale.ts +158 -0
  198. package/vendor/registry/modules/settings/lib.ts +259 -0
  199. package/vendor/registry/modules/settings/module.json +33 -0
  200. package/vendor/registry/modules/settings/schema/snapshot.json +315 -0
  201. package/vendor/registry/modules/settings/schema/snapshot.multilocale.json +586 -0
  202. package/vendor/registry/modules/settings/services/assets/dkit-logo.svg +4 -0
  203. package/vendor/registry/modules/settings/services/seed.json +31 -0
  204. package/vendor/registry/modules/settings/services/seed.multilocale.json +42 -0
  205. package/vendor/registry/modules/settings/types.multilocale.ts +72 -0
  206. package/vendor/registry/modules/settings/types.ts +94 -0
  207. package/vendor/registry/modules/team/access/policies.json +31 -0
  208. package/vendor/registry/modules/team/access/policies.multilocale.json +43 -0
  209. package/vendor/registry/modules/team/lib.multilocale.ts +88 -0
  210. package/vendor/registry/modules/team/lib.ts +120 -0
  211. package/vendor/registry/modules/team/module.json +47 -0
  212. package/vendor/registry/modules/team/schema/snapshot.json +295 -0
  213. package/vendor/registry/modules/team/schema/snapshot.multilocale.json +525 -0
  214. package/vendor/registry/modules/team/services/ATTRIBUTION.md +8 -0
  215. package/vendor/registry/modules/team/services/assets/morgan-lee-photo.jpg +0 -0
  216. package/vendor/registry/modules/team/services/assets/taylor-kim-photo.jpg +0 -0
  217. package/vendor/registry/modules/team/services/seed.json +52 -0
  218. package/vendor/registry/modules/team/services/seed.multilocale.json +30 -0
  219. package/vendor/registry/modules/team/types.multilocale.ts +33 -0
  220. package/vendor/registry/modules/team/types.ts +27 -0
  221. package/vendor/registry/modules/testimonials/access/policies.json +31 -0
  222. package/vendor/registry/modules/testimonials/access/policies.multilocale.json +43 -0
  223. package/vendor/registry/modules/testimonials/lib.multilocale.ts +93 -0
  224. package/vendor/registry/modules/testimonials/lib.ts +85 -0
  225. package/vendor/registry/modules/testimonials/module.json +41 -0
  226. package/vendor/registry/modules/testimonials/schema/snapshot.json +248 -0
  227. package/vendor/registry/modules/testimonials/schema/snapshot.multilocale.json +462 -0
  228. package/vendor/registry/modules/testimonials/services/ATTRIBUTION.md +8 -0
  229. package/vendor/registry/modules/testimonials/services/assets/jane-doe-avatar.jpg +0 -0
  230. package/vendor/registry/modules/testimonials/services/assets/sample-author-avatar.jpg +0 -0
  231. package/vendor/registry/modules/testimonials/services/seed.json +49 -0
  232. package/vendor/registry/modules/testimonials/services/seed.multilocale.json +30 -0
  233. package/vendor/registry/modules/testimonials/types.multilocale.ts +27 -0
  234. package/vendor/registry/modules/testimonials/types.ts +22 -0
  235. package/vendor/registry/registry.json +832 -0
  236. package/vendor/registry/shared/helpers.ts +16 -0
  237. package/vendor/registry/shared/i18n.ts +74 -0
  238. package/vendor/registry/shared/minimal.css +83 -0
  239. package/vendor/registry/shared/paths.ts +50 -0
  240. package/vendor/registry/shared/prose.css +113 -0
  241. package/vendor/registry/tsconfig.json +49 -0
@@ -0,0 +1,586 @@
1
+ {
2
+ "format": "dkit.rest",
3
+ "collections": [
4
+ {
5
+ "collection": "site",
6
+ "schema": null,
7
+ "meta": {
8
+ "icon": "web",
9
+ "color": "#0F766E",
10
+ "collapse": "open",
11
+ "translations": [
12
+ {
13
+ "language": "en-US",
14
+ "translation": "Site",
15
+ "singular": "Site",
16
+ "plural": "Site"
17
+ }
18
+ ],
19
+ "note": "Site content and chrome — pages, settings, navigation, contact, page builder"
20
+ }
21
+ },
22
+ {
23
+ "collection": "site_settings",
24
+ "schema": {},
25
+ "meta": {
26
+ "icon": "storefront",
27
+ "color": "#0F766E",
28
+ "group": "site",
29
+ "singleton": true,
30
+ "display_template": "{{translations.site_name}}",
31
+ "sort": 1,
32
+ "translations": [
33
+ {
34
+ "language": "en-US",
35
+ "translation": "Site settings",
36
+ "singular": "Site settings",
37
+ "plural": "Site settings"
38
+ }
39
+ ],
40
+ "note": "Brand name, logo, contact, socials, and feature flags"
41
+ },
42
+ "fields": [
43
+ {
44
+ "field": "id",
45
+ "type": "uuid",
46
+ "meta": {
47
+ "hidden": true,
48
+ "readonly": true,
49
+ "interface": "input",
50
+ "special": [
51
+ "uuid"
52
+ ],
53
+ "sort": 1,
54
+ "width": "full",
55
+ "translations": [
56
+ {
57
+ "language": "en-US",
58
+ "translation": "ID"
59
+ }
60
+ ]
61
+ },
62
+ "schema": {
63
+ "is_primary_key": true,
64
+ "length": 36,
65
+ "has_auto_increment": false
66
+ }
67
+ },
68
+ {
69
+ "field": "logo",
70
+ "type": "uuid",
71
+ "meta": {
72
+ "interface": "file-image",
73
+ "special": [
74
+ "file"
75
+ ],
76
+ "display": "image",
77
+ "width": "half",
78
+ "sort": 2,
79
+ "translations": [
80
+ {
81
+ "language": "en-US",
82
+ "translation": "Logo"
83
+ }
84
+ ],
85
+ "note": "Primary logo used in headers"
86
+ },
87
+ "schema": {}
88
+ },
89
+ {
90
+ "field": "favicon",
91
+ "type": "uuid",
92
+ "meta": {
93
+ "interface": "file-image",
94
+ "special": [
95
+ "file"
96
+ ],
97
+ "display": "image",
98
+ "width": "half",
99
+ "sort": 3,
100
+ "translations": [
101
+ {
102
+ "language": "en-US",
103
+ "translation": "Favicon"
104
+ }
105
+ ],
106
+ "note": "Optional browser favicon (falls back to logo)"
107
+ },
108
+ "schema": {}
109
+ },
110
+ {
111
+ "field": "og_image",
112
+ "type": "uuid",
113
+ "meta": {
114
+ "interface": "file-image",
115
+ "special": [
116
+ "file"
117
+ ],
118
+ "display": "image",
119
+ "width": "half",
120
+ "sort": 4,
121
+ "translations": [
122
+ {
123
+ "language": "en-US",
124
+ "translation": "OG image"
125
+ }
126
+ ],
127
+ "note": "Default Open Graph / social share image (falls back to logo)"
128
+ },
129
+ "schema": {}
130
+ },
131
+ {
132
+ "field": "contact_email",
133
+ "type": "string",
134
+ "meta": {
135
+ "interface": "input",
136
+ "width": "half",
137
+ "sort": 5,
138
+ "options": {
139
+ "trim": true
140
+ },
141
+ "translations": [
142
+ {
143
+ "language": "en-US",
144
+ "translation": "Contact email"
145
+ }
146
+ ],
147
+ "note": "Public contact address for footers and forms",
148
+ "validation": {
149
+ "_and": [
150
+ {
151
+ "_or": [
152
+ {
153
+ "contact_email": {
154
+ "_null": true
155
+ }
156
+ },
157
+ {
158
+ "contact_email": {
159
+ "_empty": true
160
+ }
161
+ },
162
+ {
163
+ "contact_email": {
164
+ "_regex": "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$"
165
+ }
166
+ }
167
+ ]
168
+ }
169
+ ]
170
+ },
171
+ "validation_message": "Enter a valid email address."
172
+ },
173
+ "schema": {
174
+ "max_length": 254
175
+ }
176
+ },
177
+ {
178
+ "field": "social_links",
179
+ "type": "json",
180
+ "meta": {
181
+ "interface": "list",
182
+ "special": [
183
+ "cast-json"
184
+ ],
185
+ "width": "full",
186
+ "sort": 6,
187
+ "options": {
188
+ "fields": [
189
+ {
190
+ "field": "platform",
191
+ "name": "Platform",
192
+ "type": "string",
193
+ "meta": {
194
+ "interface": "select-dropdown",
195
+ "width": "half",
196
+ "required": true,
197
+ "options": {
198
+ "choices": [
199
+ {
200
+ "text": "X",
201
+ "value": "x"
202
+ },
203
+ {
204
+ "text": "GitHub",
205
+ "value": "github"
206
+ },
207
+ {
208
+ "text": "LinkedIn",
209
+ "value": "linkedin"
210
+ },
211
+ {
212
+ "text": "Instagram",
213
+ "value": "instagram"
214
+ },
215
+ {
216
+ "text": "Facebook",
217
+ "value": "facebook"
218
+ },
219
+ {
220
+ "text": "YouTube",
221
+ "value": "youtube"
222
+ },
223
+ {
224
+ "text": "Bluesky",
225
+ "value": "bluesky"
226
+ },
227
+ {
228
+ "text": "Mastodon",
229
+ "value": "mastodon"
230
+ },
231
+ {
232
+ "text": "Discord",
233
+ "value": "discord"
234
+ },
235
+ {
236
+ "text": "TikTok",
237
+ "value": "tiktok"
238
+ },
239
+ {
240
+ "text": "Threads",
241
+ "value": "threads"
242
+ },
243
+ {
244
+ "text": "Email",
245
+ "value": "email"
246
+ },
247
+ {
248
+ "text": "Website",
249
+ "value": "website"
250
+ },
251
+ {
252
+ "text": "Other",
253
+ "value": "other"
254
+ }
255
+ ]
256
+ }
257
+ }
258
+ },
259
+ {
260
+ "field": "href",
261
+ "name": "URL",
262
+ "type": "string",
263
+ "meta": {
264
+ "interface": "input",
265
+ "width": "half",
266
+ "required": true
267
+ }
268
+ },
269
+ {
270
+ "field": "label",
271
+ "name": "Label override",
272
+ "type": "string",
273
+ "meta": {
274
+ "interface": "input",
275
+ "width": "full",
276
+ "options": {
277
+ "trim": true
278
+ },
279
+ "note": "Optional — defaults to the platform name"
280
+ }
281
+ }
282
+ ]
283
+ },
284
+ "translations": [
285
+ {
286
+ "language": "en-US",
287
+ "translation": "Social links"
288
+ }
289
+ ],
290
+ "note": "Platform + URL list for social link components"
291
+ },
292
+ "schema": {}
293
+ },
294
+ {
295
+ "field": "maintenance_mode",
296
+ "type": "boolean",
297
+ "meta": {
298
+ "interface": "boolean",
299
+ "display": "boolean",
300
+ "width": "half",
301
+ "sort": 7,
302
+ "translations": [
303
+ {
304
+ "language": "en-US",
305
+ "translation": "Maintenance mode"
306
+ }
307
+ ],
308
+ "note": "When true, frontends may show a maintenance gate"
309
+ },
310
+ "schema": {
311
+ "default_value": false,
312
+ "is_nullable": false
313
+ }
314
+ },
315
+ {
316
+ "field": "feature_flags",
317
+ "type": "json",
318
+ "meta": {
319
+ "interface": "input-code",
320
+ "special": [
321
+ "cast-json"
322
+ ],
323
+ "width": "full",
324
+ "sort": 8,
325
+ "options": {
326
+ "language": "json",
327
+ "lineNumber": true
328
+ },
329
+ "translations": [
330
+ {
331
+ "language": "en-US",
332
+ "translation": "Feature flags"
333
+ }
334
+ ],
335
+ "note": "Flat boolean map, e.g. { \"blog\": true }"
336
+ },
337
+ "schema": {}
338
+ },
339
+ {
340
+ "field": "translations",
341
+ "type": "alias",
342
+ "meta": {
343
+ "interface": "translations",
344
+ "special": [
345
+ "translations"
346
+ ],
347
+ "width": "full",
348
+ "sort": 9,
349
+ "translations": [
350
+ {
351
+ "language": "en-US",
352
+ "translation": "Translations"
353
+ }
354
+ ]
355
+ },
356
+ "schema": null
357
+ }
358
+ ]
359
+ },
360
+ {
361
+ "collection": "site_settings_translations",
362
+ "schema": {},
363
+ "meta": {
364
+ "hidden": true,
365
+ "icon": "translate",
366
+ "color": "#0F766E",
367
+ "group": "site",
368
+ "translations": [
369
+ {
370
+ "language": "en-US",
371
+ "translation": "Settings translations",
372
+ "singular": "Settings translation",
373
+ "plural": "Settings translations"
374
+ }
375
+ ]
376
+ },
377
+ "fields": [
378
+ {
379
+ "field": "id",
380
+ "type": "integer",
381
+ "meta": {
382
+ "hidden": true,
383
+ "interface": "input",
384
+ "sort": 1,
385
+ "width": "full",
386
+ "translations": [
387
+ {
388
+ "language": "en-US",
389
+ "translation": "ID"
390
+ }
391
+ ]
392
+ },
393
+ "schema": {
394
+ "is_primary_key": true,
395
+ "has_auto_increment": true
396
+ }
397
+ },
398
+ {
399
+ "field": "site_settings_id",
400
+ "type": "uuid",
401
+ "meta": {
402
+ "hidden": true,
403
+ "sort": 2,
404
+ "width": "half",
405
+ "translations": [
406
+ {
407
+ "language": "en-US",
408
+ "translation": "Settings"
409
+ }
410
+ ]
411
+ },
412
+ "schema": {}
413
+ },
414
+ {
415
+ "field": "languages_code",
416
+ "type": "string",
417
+ "meta": {
418
+ "hidden": true,
419
+ "sort": 3,
420
+ "width": "half",
421
+ "translations": [
422
+ {
423
+ "language": "en-US",
424
+ "translation": "Language"
425
+ }
426
+ ]
427
+ },
428
+ "schema": {}
429
+ },
430
+ {
431
+ "field": "site_name",
432
+ "type": "string",
433
+ "meta": {
434
+ "interface": "input",
435
+ "width": "full",
436
+ "sort": 4,
437
+ "required": true,
438
+ "options": {
439
+ "trim": true
440
+ },
441
+ "translations": [
442
+ {
443
+ "language": "en-US",
444
+ "translation": "Site name"
445
+ }
446
+ ],
447
+ "validation": {
448
+ "_and": [
449
+ {
450
+ "site_name": {
451
+ "_regex": "^.{1,120}$"
452
+ }
453
+ }
454
+ ]
455
+ },
456
+ "validation_message": "Site name is required (max 120 characters)."
457
+ },
458
+ "schema": {
459
+ "is_nullable": false,
460
+ "max_length": 120
461
+ }
462
+ },
463
+ {
464
+ "field": "tagline",
465
+ "type": "string",
466
+ "meta": {
467
+ "interface": "input",
468
+ "width": "full",
469
+ "sort": 5,
470
+ "options": {
471
+ "trim": true
472
+ },
473
+ "translations": [
474
+ {
475
+ "language": "en-US",
476
+ "translation": "Tagline"
477
+ }
478
+ ],
479
+ "note": "Optional short line under the brand name",
480
+ "validation": {
481
+ "_and": [
482
+ {
483
+ "_or": [
484
+ {
485
+ "tagline": {
486
+ "_null": true
487
+ }
488
+ },
489
+ {
490
+ "tagline": {
491
+ "_empty": true
492
+ }
493
+ },
494
+ {
495
+ "tagline": {
496
+ "_regex": "^.{1,200}$"
497
+ }
498
+ }
499
+ ]
500
+ }
501
+ ]
502
+ },
503
+ "validation_message": "Tagline must be at most 200 characters."
504
+ },
505
+ "schema": {
506
+ "max_length": 200
507
+ }
508
+ }
509
+ ]
510
+ }
511
+ ],
512
+ "relations": [
513
+ {
514
+ "collection": "site_settings",
515
+ "field": "logo",
516
+ "related_collection": "directus_files",
517
+ "meta": {
518
+ "many_collection": "site_settings",
519
+ "many_field": "logo",
520
+ "one_collection": "directus_files",
521
+ "one_field": null
522
+ },
523
+ "schema": {
524
+ "on_delete": "SET NULL"
525
+ }
526
+ },
527
+ {
528
+ "collection": "site_settings",
529
+ "field": "favicon",
530
+ "related_collection": "directus_files",
531
+ "meta": {
532
+ "many_collection": "site_settings",
533
+ "many_field": "favicon",
534
+ "one_collection": "directus_files",
535
+ "one_field": null
536
+ },
537
+ "schema": {
538
+ "on_delete": "SET NULL"
539
+ }
540
+ },
541
+ {
542
+ "collection": "site_settings",
543
+ "field": "og_image",
544
+ "related_collection": "directus_files",
545
+ "meta": {
546
+ "many_collection": "site_settings",
547
+ "many_field": "og_image",
548
+ "one_collection": "directus_files",
549
+ "one_field": null
550
+ },
551
+ "schema": {
552
+ "on_delete": "SET NULL"
553
+ }
554
+ },
555
+ {
556
+ "collection": "site_settings_translations",
557
+ "field": "site_settings_id",
558
+ "related_collection": "site_settings",
559
+ "meta": {
560
+ "many_collection": "site_settings_translations",
561
+ "many_field": "site_settings_id",
562
+ "one_collection": "site_settings",
563
+ "one_field": "translations",
564
+ "junction_field": "languages_code"
565
+ },
566
+ "schema": {
567
+ "on_delete": "CASCADE"
568
+ }
569
+ },
570
+ {
571
+ "collection": "site_settings_translations",
572
+ "field": "languages_code",
573
+ "related_collection": "languages",
574
+ "meta": {
575
+ "many_collection": "site_settings_translations",
576
+ "many_field": "languages_code",
577
+ "one_collection": "languages",
578
+ "one_field": null,
579
+ "junction_field": "site_settings_id"
580
+ },
581
+ "schema": {
582
+ "on_delete": "CASCADE"
583
+ }
584
+ }
585
+ ]
586
+ }
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 78.587 60.091" role="img" aria-label="dkit">
2
+ <title>dkit</title>
3
+ <path fill="#0a0a0a" d="M0 60.091 C3.43 56.8 7.353 54.269 11.554 52.525 C14.989 51.091 18.604 50.183 22.282 49.809 C27.431 48.926 33.05 50.252 44.117 48.464 C45.828 48.187 47.419 47.866 48.891 47.515 C52.177 46.736 54.862 45.821 56.876 45.013 C56.9 45.006 56.921 44.992 56.949 44.983 C57.438 44.793 57.881 44.601 58.292 44.42 C59.127 44.048 59.798 43.732 60.292 43.474 C60.37 43.438 60.431 43.402 60.499 43.369 C60.571 43.33 60.638 43.297 60.701 43.259 C61.115 43.035 61.334 42.901 61.334 42.901 C63.951 41.365 66.347 39.364 68.407 36.904 C68.582 36.695 68.752 36.482 68.923 36.267 C71.116 33.494 72.686 30.416 73.64 27.201 C74.437 24.55 74.816 21.82 74.784 19.091 C74.78 19.04 74.786 18.985 74.781 18.931 C74.761 14.065 75.349 10.651 75.532 9.686 C75.546 9.619 75.558 9.56 75.567 9.518 C75.599 9.346 75.622 9.177 75.643 9.008 C75.648 8.873 75.664 8.738 75.675 8.606 C76.03 4.393 78.587 2.273 78.587 2.273 C74.149 -0.696 70.196 -0.256 67.491 0.792 C66.209 1.291 65.209 1.918 64.569 2.389 C64.516 2.426 64.465 2.464 64.417 2.5 C63.993 2.828 63.759 3.046 63.759 3.046 C63.549 3.239 63.358 3.444 63.172 3.664 C62.709 4.216 62.349 4.815 62.081 5.441 C62.081 5.441 62.015 5.613 61.91 5.882 C61.644 6.518 61.147 7.687 60.845 8.037 C60.792 8.111 60.74 8.175 60.685 8.239 C59.217 9.989 56.947 10.657 54.87 10.174 C54.863 10.168 54.845 10.164 54.834 10.165 C54.821 10.162 54.798 10.153 54.779 10.149 C54.45 10.071 54.128 9.96 53.819 9.808 C53.81 9.808 53.798 9.799 53.788 9.8 C51.608 9.083 49.38 8.611 47.139 8.358 L47.134 8.363 C37.52 7.283 27.601 10.37 20.246 17.377 C19.333 18.244 18.456 19.172 17.628 20.161 C16.703 21.264 15.856 22.416 15.1 23.601 C16.798 22.99 18.545 22.511 20.321 22.189 C20.885 22.08 21.459 21.986 22.029 21.91 C22.029 21.91 22.067 21.901 22.129 21.894 C22.337 21.871 22.827 21.806 23.543 21.743 C26.254 21.472 32.1 21.097 36.33 22.224 C36.5 22.269 36.665 22.32 36.832 22.37 C38.132 22.697 39.391 23.317 40.492 24.238 C40.804 24.502 41.093 24.783 41.361 25.076 C44.423 28.404 44.613 33.571 41.628 37.134 C41.457 37.338 41.272 37.535 41.087 37.722 C40.059 38.759 38.825 39.502 37.495 39.945 C36.851 40.308 34.581 40.989 31.85 41.757 C28.334 42.74 24.043 43.855 21.447 44.594 C21.282 44.636 21.126 44.683 20.966 44.728 C20.668 44.814 20.404 44.892 20.171 44.97 C20.152 44.966 20.136 44.974 20.123 44.98 C16.823 46.014 13.637 47.512 10.68 49.459 C7.683 51.429 4.917 53.869 2.496 56.757 C1.594 57.834 0.76 58.946 0 60.091 Z"/>
4
+ </svg>
@@ -0,0 +1,31 @@
1
+ {
2
+ "files": [
3
+ {
4
+ "id": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaa0010",
5
+ "filename_download": "dkit-logo.svg",
6
+ "title": "dkit logo",
7
+ "type": "image/svg+xml",
8
+ "path": "assets/dkit-logo.svg"
9
+ }
10
+ ],
11
+ "items": {
12
+ "site_settings": [
13
+ {
14
+ "id": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaa0001",
15
+ "site_name": "Example Site",
16
+ "tagline": "Sample brand from the settings module — replace in Directus.",
17
+ "logo": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaa0010",
18
+ "contact_email": "hello@example.com",
19
+ "social_links": [
20
+ { "platform": "github", "href": "https://github.com" },
21
+ { "platform": "x", "href": "https://x.com" }
22
+ ],
23
+ "maintenance_mode": false,
24
+ "feature_flags": {
25
+ "blog": true,
26
+ "contact": true
27
+ }
28
+ }
29
+ ]
30
+ }
31
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "files": [
3
+ {
4
+ "id": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaa0010",
5
+ "filename_download": "dkit-logo.svg",
6
+ "title": "dkit logo",
7
+ "type": "image/svg+xml",
8
+ "path": "assets/dkit-logo.svg"
9
+ }
10
+ ],
11
+ "items": {
12
+ "site_settings": [
13
+ {
14
+ "id": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaa0001",
15
+ "logo": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaa0010",
16
+ "contact_email": "hello@example.com",
17
+ "social_links": [
18
+ {
19
+ "platform": "github",
20
+ "href": "https://github.com"
21
+ },
22
+ {
23
+ "platform": "x",
24
+ "href": "https://x.com"
25
+ }
26
+ ],
27
+ "maintenance_mode": false,
28
+ "feature_flags": {
29
+ "blog": true,
30
+ "contact": true
31
+ },
32
+ "translations": [
33
+ {
34
+ "languages_code": "en-US",
35
+ "site_name": "Example Site",
36
+ "tagline": "Sample brand from the settings module — replace in Directus."
37
+ }
38
+ ]
39
+ }
40
+ ]
41
+ }
42
+ }