@sonicjs-cms/core 2.7.0 → 2.8.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 (96) hide show
  1. package/dist/{app-DV27cjPy.d.cts → app-CYEm1ytG.d.cts} +1 -0
  2. package/dist/{app-DV27cjPy.d.ts → app-CYEm1ytG.d.ts} +1 -0
  3. package/dist/{chunk-DNHJS6RN.js → chunk-34QIAULP.js} +4 -4
  4. package/dist/{chunk-DNHJS6RN.js.map → chunk-34QIAULP.js.map} +1 -1
  5. package/dist/{chunk-Y3EWJQ4D.js → chunk-3E76TKR5.js} +3 -3
  6. package/dist/{chunk-Y3EWJQ4D.js.map → chunk-3E76TKR5.js.map} +1 -1
  7. package/dist/{chunk-YRFAQ6MI.cjs → chunk-5CENPGR2.cjs} +219 -14
  8. package/dist/chunk-5CENPGR2.cjs.map +1 -0
  9. package/dist/{chunk-MYB5RY7H.cjs → chunk-5HMR2SJW.cjs} +4 -4
  10. package/dist/{chunk-MYB5RY7H.cjs.map → chunk-5HMR2SJW.cjs.map} +1 -1
  11. package/dist/{chunk-YHW27CBV.cjs → chunk-6FHNRRJ3.cjs} +190 -2
  12. package/dist/chunk-6FHNRRJ3.cjs.map +1 -0
  13. package/dist/{chunk-UISZ2MBW.js → chunk-BAWMAS5S.js} +5438 -1443
  14. package/dist/chunk-BAWMAS5S.js.map +1 -0
  15. package/dist/{chunk-F332TENF.js → chunk-CJYFSKH7.js} +4 -190
  16. package/dist/chunk-CJYFSKH7.js.map +1 -0
  17. package/dist/{chunk-3YNNVSMC.js → chunk-G44QUVNM.js} +90 -2
  18. package/dist/chunk-G44QUVNM.js.map +1 -0
  19. package/dist/{chunk-E2BXLXPW.cjs → chunk-GPTMGUFN.cjs} +4 -4
  20. package/dist/{chunk-E2BXLXPW.cjs.map → chunk-GPTMGUFN.cjs.map} +1 -1
  21. package/dist/chunk-H7AMQWVI.js +2466 -0
  22. package/dist/chunk-H7AMQWVI.js.map +1 -0
  23. package/dist/{chunk-CLIH2T74.js → chunk-J5WGMRSU.js} +189 -3
  24. package/dist/chunk-J5WGMRSU.js.map +1 -0
  25. package/dist/{chunk-L2IDZI7F.js → chunk-JDFPB6UW.js} +219 -14
  26. package/dist/chunk-JDFPB6UW.js.map +1 -0
  27. package/dist/{chunk-Y72M3MVX.cjs → chunk-MNFY6DWY.cjs} +13 -200
  28. package/dist/chunk-MNFY6DWY.cjs.map +1 -0
  29. package/dist/chunk-S6K2H2TS.cjs +2470 -0
  30. package/dist/chunk-S6K2H2TS.cjs.map +1 -0
  31. package/dist/{chunk-EHSZ6TAN.cjs → chunk-SHCYIZAN.cjs} +9 -2
  32. package/dist/chunk-SHCYIZAN.cjs.map +1 -0
  33. package/dist/{chunk-GRN3GHUG.js → chunk-VCH6HXVP.js} +9 -2
  34. package/dist/chunk-VCH6HXVP.js.map +1 -0
  35. package/dist/{chunk-7FOAMNTI.cjs → chunk-VNLR35GO.cjs} +90 -2
  36. package/dist/chunk-VNLR35GO.cjs.map +1 -0
  37. package/dist/{chunk-J7F3NPAP.cjs → chunk-YE2MU7CN.cjs} +5192 -1194
  38. package/dist/chunk-YE2MU7CN.cjs.map +1 -0
  39. package/dist/index.cjs +201 -607
  40. package/dist/index.cjs.map +1 -1
  41. package/dist/index.d.cts +3 -3
  42. package/dist/index.d.ts +3 -3
  43. package/dist/index.js +67 -473
  44. package/dist/index.js.map +1 -1
  45. package/dist/middleware.cjs +23 -23
  46. package/dist/middleware.d.cts +1 -1
  47. package/dist/middleware.d.ts +1 -1
  48. package/dist/middleware.js +2 -2
  49. package/dist/migrations-7JGSFOCM.cjs +13 -0
  50. package/dist/{migrations-LEMFV2ND.cjs.map → migrations-7JGSFOCM.cjs.map} +1 -1
  51. package/dist/migrations-YB77VTVF.js +4 -0
  52. package/dist/{migrations-RKQES6XY.js.map → migrations-YB77VTVF.js.map} +1 -1
  53. package/dist/{plugin-bootstrap-CB-xaBfK.d.ts → plugin-bootstrap-C7Mj00Ud.d.ts} +2455 -1
  54. package/dist/{plugin-bootstrap-U-cw9jn3.d.cts → plugin-bootstrap-DKB5f8-E.d.cts} +2455 -1
  55. package/dist/plugins.cjs +14 -14
  56. package/dist/plugins.js +2 -2
  57. package/dist/routes.cjs +39 -27
  58. package/dist/routes.d.cts +126 -53
  59. package/dist/routes.d.ts +126 -53
  60. package/dist/routes.js +7 -7
  61. package/dist/services.cjs +14 -14
  62. package/dist/services.d.cts +1 -1
  63. package/dist/services.d.ts +1 -1
  64. package/dist/services.js +2 -2
  65. package/dist/templates.cjs +25 -17
  66. package/dist/templates.d.cts +21 -1
  67. package/dist/templates.d.ts +21 -1
  68. package/dist/templates.js +2 -2
  69. package/dist/utils.cjs +14 -14
  70. package/dist/utils.js +1 -1
  71. package/migrations/014_fix_plugin_registry.sql +1 -1
  72. package/migrations/020_add_email_plugin.sql +1 -1
  73. package/migrations/026_add_otp_login.sql +1 -1
  74. package/migrations/029_add_forms_system.sql +184 -0
  75. package/migrations/030_add_turnstile_to_forms.sql +14 -0
  76. package/package.json +2 -2
  77. package/dist/chunk-3YNNVSMC.js.map +0 -1
  78. package/dist/chunk-7FOAMNTI.cjs.map +0 -1
  79. package/dist/chunk-AYPF6C4D.cjs +0 -76
  80. package/dist/chunk-AYPF6C4D.cjs.map +0 -1
  81. package/dist/chunk-CLIH2T74.js.map +0 -1
  82. package/dist/chunk-EHSZ6TAN.cjs.map +0 -1
  83. package/dist/chunk-F332TENF.js.map +0 -1
  84. package/dist/chunk-GRN3GHUG.js.map +0 -1
  85. package/dist/chunk-J7F3NPAP.cjs.map +0 -1
  86. package/dist/chunk-L2IDZI7F.js.map +0 -1
  87. package/dist/chunk-UISZ2MBW.js.map +0 -1
  88. package/dist/chunk-V3KVSEG6.js +0 -74
  89. package/dist/chunk-V3KVSEG6.js.map +0 -1
  90. package/dist/chunk-Y72M3MVX.cjs.map +0 -1
  91. package/dist/chunk-YHW27CBV.cjs.map +0 -1
  92. package/dist/chunk-YRFAQ6MI.cjs.map +0 -1
  93. package/dist/migrations-LEMFV2ND.cjs +0 -13
  94. package/dist/migrations-RKQES6XY.js +0 -4
  95. package/migrations/025_rename_mdxeditor_to_easy_mdx.sql +0 -22
  96. /package/migrations/{029_ai_search_plugin.sql → 031_ai_search_plugin.sql} +0 -0
package/dist/routes.d.ts CHANGED
@@ -1,74 +1,74 @@
1
1
  import * as hono_types from 'hono/types';
2
2
  import { Hono } from 'hono';
3
- import { B as Bindings$7, V as Variables$8 } from './app-DV27cjPy.js';
3
+ import { B as Bindings$a, V as Variables$b } from './app-CYEm1ytG.js';
4
4
  import { D1Database as D1Database$1, KVNamespace as KVNamespace$1, R2Bucket as R2Bucket$1 } from '@cloudflare/workers-types';
5
5
 
6
- interface Variables$7 extends Variables$8 {
6
+ interface Variables$a extends Variables$b {
7
7
  startTime: number;
8
8
  cacheEnabled?: boolean;
9
9
  }
10
10
  declare const apiRoutes: Hono<{
11
- Bindings: Bindings$7;
12
- Variables: Variables$7;
11
+ Bindings: Bindings$a;
12
+ Variables: Variables$a;
13
13
  }, hono_types.BlankSchema, "/">;
14
14
 
15
15
  declare const apiContentCrudRoutes: Hono<{
16
- Bindings: Bindings$7;
17
- Variables: Variables$8;
16
+ Bindings: Bindings$a;
17
+ Variables: Variables$b;
18
18
  }, hono_types.BlankSchema, "/">;
19
19
 
20
20
  declare const apiMediaRoutes: Hono<{
21
- Bindings: Bindings$7;
22
- Variables: Variables$8;
21
+ Bindings: Bindings$a;
22
+ Variables: Variables$b;
23
23
  }, hono_types.BlankSchema, "/">;
24
24
 
25
25
  declare const apiSystemRoutes: Hono<{
26
- Bindings: Bindings$7;
27
- Variables: Variables$8;
26
+ Bindings: Bindings$a;
27
+ Variables: Variables$b;
28
28
  }, hono_types.BlankSchema, "/">;
29
29
 
30
30
  declare const adminApiRoutes: Hono<{
31
- Bindings: Bindings$7;
32
- Variables: Variables$8;
31
+ Bindings: Bindings$a;
32
+ Variables: Variables$b;
33
33
  }, hono_types.BlankSchema, "/">;
34
34
 
35
35
  declare const authRoutes: Hono<{
36
- Bindings: Bindings$7;
37
- Variables: Variables$8;
36
+ Bindings: Bindings$a;
37
+ Variables: Variables$b;
38
38
  }, hono_types.BlankSchema, "/">;
39
39
 
40
40
  declare const app: Hono<hono_types.BlankEnv, hono_types.BlankSchema, "/">;
41
41
 
42
42
  declare const adminContentRoutes: Hono<{
43
- Bindings: Bindings$7;
44
- Variables: Variables$8;
43
+ Bindings: Bindings$a;
44
+ Variables: Variables$b;
45
45
  }, hono_types.BlankSchema, "/">;
46
46
 
47
47
  declare const userRoutes: Hono<{
48
- Bindings: Bindings$7;
49
- Variables: Variables$8;
48
+ Bindings: Bindings$a;
49
+ Variables: Variables$b;
50
50
  }, hono_types.BlankSchema, "/">;
51
51
 
52
52
  declare const adminMediaRoutes: Hono<{
53
- Bindings: Bindings$7;
54
- Variables: Variables$8;
53
+ Bindings: Bindings$a;
54
+ Variables: Variables$b;
55
55
  }, hono_types.BlankSchema, "/">;
56
56
 
57
57
  declare const adminPluginRoutes: Hono<{
58
- Bindings: Bindings$7;
59
- Variables: Variables$8;
58
+ Bindings: Bindings$a;
59
+ Variables: Variables$b;
60
60
  }, hono_types.BlankSchema, "/">;
61
61
 
62
62
  declare const adminLogsRoutes: Hono<{
63
- Bindings: Bindings$7;
64
- Variables: Variables$8;
63
+ Bindings: Bindings$a;
64
+ Variables: Variables$b;
65
65
  }, hono_types.BlankSchema, "/">;
66
66
 
67
- type Bindings$6 = {
67
+ type Bindings$9 = {
68
68
  DB: D1Database;
69
69
  KV: KVNamespace;
70
70
  };
71
- type Variables$6 = {
71
+ type Variables$9 = {
72
72
  user: {
73
73
  userId: string;
74
74
  email: string;
@@ -76,15 +76,15 @@ type Variables$6 = {
76
76
  };
77
77
  };
78
78
  declare const adminDesignRoutes: Hono<{
79
- Bindings: Bindings$6;
80
- Variables: Variables$6;
79
+ Bindings: Bindings$9;
80
+ Variables: Variables$9;
81
81
  }, hono_types.BlankSchema, "/">;
82
82
 
83
- type Bindings$5 = {
83
+ type Bindings$8 = {
84
84
  DB: D1Database;
85
85
  KV: KVNamespace;
86
86
  };
87
- type Variables$5 = {
87
+ type Variables$8 = {
88
88
  user: {
89
89
  userId: string;
90
90
  email: string;
@@ -92,15 +92,15 @@ type Variables$5 = {
92
92
  };
93
93
  };
94
94
  declare const adminCheckboxRoutes: Hono<{
95
- Bindings: Bindings$5;
96
- Variables: Variables$5;
95
+ Bindings: Bindings$8;
96
+ Variables: Variables$8;
97
97
  }, hono_types.BlankSchema, "/">;
98
98
 
99
- type Bindings$4 = {
99
+ type Bindings$7 = {
100
100
  DB: D1Database;
101
101
  KV: KVNamespace;
102
102
  };
103
- type Variables$4 = {
103
+ type Variables$7 = {
104
104
  user?: {
105
105
  userId: string;
106
106
  email: string;
@@ -110,15 +110,15 @@ type Variables$4 = {
110
110
  };
111
111
  };
112
112
  declare const adminTestimonialsRoutes: Hono<{
113
- Bindings: Bindings$4;
114
- Variables: Variables$4;
113
+ Bindings: Bindings$7;
114
+ Variables: Variables$7;
115
115
  }, hono_types.BlankSchema, "/">;
116
116
 
117
- type Bindings$3 = {
117
+ type Bindings$6 = {
118
118
  DB: D1Database;
119
119
  KV: KVNamespace;
120
120
  };
121
- type Variables$3 = {
121
+ type Variables$6 = {
122
122
  user?: {
123
123
  userId: string;
124
124
  email: string;
@@ -128,28 +128,28 @@ type Variables$3 = {
128
128
  };
129
129
  };
130
130
  declare const adminCodeExamplesRoutes: Hono<{
131
- Bindings: Bindings$3;
132
- Variables: Variables$3;
131
+ Bindings: Bindings$6;
132
+ Variables: Variables$6;
133
133
  }, hono_types.BlankSchema, "/">;
134
134
 
135
- type Bindings$2 = {
135
+ type Bindings$5 = {
136
136
  DB: D1Database$1;
137
137
  CACHE_KV: KVNamespace$1;
138
138
  MEDIA_BUCKET: R2Bucket$1;
139
139
  };
140
- type Variables$2 = {
140
+ type Variables$5 = {
141
141
  user?: {
142
142
  userId: string;
143
143
  email: string;
144
144
  role: string;
145
145
  };
146
146
  };
147
- declare const router: Hono<{
148
- Bindings: Bindings$2;
149
- Variables: Variables$2;
147
+ declare const router$1: Hono<{
148
+ Bindings: Bindings$5;
149
+ Variables: Variables$5;
150
150
  }, hono_types.BlankSchema, "/">;
151
151
 
152
- type Bindings$1 = {
152
+ type Bindings$4 = {
153
153
  DB: D1Database;
154
154
  CACHE_KV: KVNamespace;
155
155
  MEDIA_BUCKET: R2Bucket;
@@ -161,7 +161,7 @@ type Bindings$1 = {
161
161
  IMAGES_API_TOKEN?: string;
162
162
  ENVIRONMENT?: string;
163
163
  };
164
- type Variables$1 = {
164
+ type Variables$4 = {
165
165
  user?: {
166
166
  userId: string;
167
167
  email: string;
@@ -174,11 +174,11 @@ type Variables$1 = {
174
174
  appVersion?: string;
175
175
  };
176
176
  declare const adminCollectionsRoutes: Hono<{
177
- Bindings: Bindings$1;
178
- Variables: Variables$1;
177
+ Bindings: Bindings$4;
178
+ Variables: Variables$4;
179
179
  }, hono_types.BlankSchema, "/">;
180
180
 
181
- type Bindings = {
181
+ type Bindings$3 = {
182
182
  DB: D1Database;
183
183
  CACHE_KV: KVNamespace;
184
184
  MEDIA_BUCKET: R2Bucket;
@@ -190,7 +190,7 @@ type Bindings = {
190
190
  IMAGES_API_TOKEN?: string;
191
191
  ENVIRONMENT?: string;
192
192
  };
193
- type Variables = {
193
+ type Variables$3 = {
194
194
  user?: {
195
195
  userId: string;
196
196
  email: string;
@@ -203,6 +203,79 @@ type Variables = {
203
203
  appVersion?: string;
204
204
  };
205
205
  declare const adminSettingsRoutes: Hono<{
206
+ Bindings: Bindings$3;
207
+ Variables: Variables$3;
208
+ }, hono_types.BlankSchema, "/">;
209
+
210
+ type Bindings$2 = {
211
+ DB: D1Database;
212
+ CACHE_KV: KVNamespace;
213
+ MEDIA_BUCKET: R2Bucket;
214
+ ASSETS: Fetcher;
215
+ EMAIL_QUEUE?: Queue;
216
+ SENDGRID_API_KEY?: string;
217
+ DEFAULT_FROM_EMAIL?: string;
218
+ ENVIRONMENT?: string;
219
+ GOOGLE_MAPS_API_KEY?: string;
220
+ };
221
+ type Variables$2 = {
222
+ user?: {
223
+ userId: string;
224
+ email: string;
225
+ role: string;
226
+ exp: number;
227
+ iat: number;
228
+ };
229
+ requestId?: string;
230
+ startTime?: number;
231
+ appVersion?: string;
232
+ };
233
+ declare const adminFormsRoutes: Hono<{
234
+ Bindings: Bindings$2;
235
+ Variables: Variables$2;
236
+ }, hono_types.BlankSchema, "/">;
237
+
238
+ type Bindings$1 = {
239
+ DB: D1Database;
240
+ CACHE_KV: KVNamespace;
241
+ MEDIA_BUCKET: R2Bucket;
242
+ ASSETS: Fetcher;
243
+ EMAIL_QUEUE?: Queue;
244
+ SENDGRID_API_KEY?: string;
245
+ DEFAULT_FROM_EMAIL?: string;
246
+ ENVIRONMENT?: string;
247
+ GOOGLE_MAPS_API_KEY?: string;
248
+ };
249
+ type Variables$1 = {
250
+ user?: {
251
+ userId: string;
252
+ email: string;
253
+ role: string;
254
+ exp: number;
255
+ iat: number;
256
+ };
257
+ requestId?: string;
258
+ startTime?: number;
259
+ appVersion?: string;
260
+ };
261
+ declare const publicFormsRoutes: Hono<{
262
+ Bindings: Bindings$1;
263
+ Variables: Variables$1;
264
+ }, hono_types.BlankSchema, "/">;
265
+
266
+ type Bindings = {
267
+ DB: D1Database$1;
268
+ CACHE_KV: KVNamespace$1;
269
+ MEDIA_BUCKET: R2Bucket$1;
270
+ };
271
+ type Variables = {
272
+ user?: {
273
+ userId: string;
274
+ email: string;
275
+ role: string;
276
+ };
277
+ };
278
+ declare const router: Hono<{
206
279
  Bindings: Bindings;
207
280
  Variables: Variables;
208
281
  }, hono_types.BlankSchema, "/">;
@@ -216,9 +289,9 @@ declare const adminSettingsRoutes: Hono<{
216
289
 
217
290
  declare const ROUTES_INFO: {
218
291
  readonly message: "Core routes available";
219
- readonly available: readonly ["apiRoutes", "apiContentCrudRoutes", "apiMediaRoutes", "apiSystemRoutes", "adminApiRoutes", "authRoutes", "testCleanupRoutes", "adminContentRoutes", "adminUsersRoutes", "adminMediaRoutes", "adminPluginRoutes", "adminLogsRoutes", "adminDesignRoutes", "adminCheckboxRoutes", "adminTestimonialsRoutes", "adminCodeExamplesRoutes", "adminDashboardRoutes", "adminCollectionsRoutes", "adminSettingsRoutes"];
292
+ readonly available: readonly ["apiRoutes", "apiContentCrudRoutes", "apiMediaRoutes", "apiSystemRoutes", "adminApiRoutes", "authRoutes", "testCleanupRoutes", "adminContentRoutes", "adminUsersRoutes", "adminMediaRoutes", "adminPluginRoutes", "adminLogsRoutes", "adminDesignRoutes", "adminCheckboxRoutes", "adminTestimonialsRoutes", "adminCodeExamplesRoutes", "adminDashboardRoutes", "adminCollectionsRoutes", "adminSettingsRoutes", "adminFormsRoutes", "publicFormsRoutes", "adminApiReferenceRoutes"];
220
293
  readonly status: "Core package routes ready";
221
294
  readonly reference: "https://github.com/sonicjs/sonicjs";
222
295
  };
223
296
 
224
- export { ROUTES_INFO, adminApiRoutes, adminCheckboxRoutes, adminCodeExamplesRoutes, adminCollectionsRoutes, adminContentRoutes, router as adminDashboardRoutes, adminDesignRoutes, adminLogsRoutes, adminMediaRoutes, adminPluginRoutes, adminSettingsRoutes, adminTestimonialsRoutes, userRoutes as adminUsersRoutes, apiContentCrudRoutes, apiMediaRoutes, apiRoutes, apiSystemRoutes, authRoutes, app as testCleanupRoutes };
297
+ export { ROUTES_INFO, router as adminApiReferenceRoutes, adminApiRoutes, adminCheckboxRoutes, adminCodeExamplesRoutes, adminCollectionsRoutes, adminContentRoutes, router$1 as adminDashboardRoutes, adminDesignRoutes, adminFormsRoutes, adminLogsRoutes, adminMediaRoutes, adminPluginRoutes, adminSettingsRoutes, adminTestimonialsRoutes, userRoutes as adminUsersRoutes, apiContentCrudRoutes, apiMediaRoutes, apiRoutes, apiSystemRoutes, authRoutes, publicFormsRoutes, app as testCleanupRoutes };
package/dist/routes.js CHANGED
@@ -1,11 +1,11 @@
1
- export { ROUTES_INFO, admin_api_default as adminApiRoutes, adminCheckboxRoutes, admin_code_examples_default as adminCodeExamplesRoutes, adminCollectionsRoutes, admin_content_default as adminContentRoutes, router as adminDashboardRoutes, adminDesignRoutes, adminLogsRoutes, adminMediaRoutes, adminPluginRoutes, adminSettingsRoutes, admin_testimonials_default as adminTestimonialsRoutes, userRoutes as adminUsersRoutes, api_content_crud_default as apiContentCrudRoutes, api_media_default as apiMediaRoutes, api_default as apiRoutes, api_system_default as apiSystemRoutes, auth_default as authRoutes, test_cleanup_default as testCleanupRoutes } from './chunk-UISZ2MBW.js';
2
- import './chunk-3YNNVSMC.js';
3
- import './chunk-Y3EWJQ4D.js';
1
+ export { ROUTES_INFO, router2 as adminApiReferenceRoutes, admin_api_default as adminApiRoutes, adminCheckboxRoutes, admin_code_examples_default as adminCodeExamplesRoutes, adminCollectionsRoutes, admin_content_default as adminContentRoutes, router as adminDashboardRoutes, adminDesignRoutes, adminFormsRoutes, adminLogsRoutes, adminMediaRoutes, adminPluginRoutes, adminSettingsRoutes, admin_testimonials_default as adminTestimonialsRoutes, userRoutes as adminUsersRoutes, api_content_crud_default as apiContentCrudRoutes, api_media_default as apiMediaRoutes, api_default as apiRoutes, api_system_default as apiSystemRoutes, auth_default as authRoutes, public_forms_default as publicFormsRoutes, test_cleanup_default as testCleanupRoutes } from './chunk-BAWMAS5S.js';
2
+ import './chunk-G44QUVNM.js';
3
+ import './chunk-3E76TKR5.js';
4
4
  import './chunk-YFJJU26H.js';
5
- import './chunk-L2IDZI7F.js';
6
- import './chunk-GRN3GHUG.js';
7
- import './chunk-CLIH2T74.js';
8
- import './chunk-DNHJS6RN.js';
5
+ import './chunk-JDFPB6UW.js';
6
+ import './chunk-VCH6HXVP.js';
7
+ import './chunk-J5WGMRSU.js';
8
+ import './chunk-34QIAULP.js';
9
9
  import './chunk-X7ZAEI5S.js';
10
10
  import './chunk-FICTAGD4.js';
11
11
  import './chunk-V4OQ3NZ2.js';
package/dist/services.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunk7FOAMNTI_cjs = require('./chunk-7FOAMNTI.cjs');
3
+ var chunkVNLR35GO_cjs = require('./chunk-VNLR35GO.cjs');
4
4
  var chunkMPT5PA6U_cjs = require('./chunk-MPT5PA6U.cjs');
5
- var chunkYRFAQ6MI_cjs = require('./chunk-YRFAQ6MI.cjs');
5
+ var chunk5CENPGR2_cjs = require('./chunk-5CENPGR2.cjs');
6
6
  require('./chunk-P3XDZL6Q.cjs');
7
7
  require('./chunk-IGJUBJBW.cjs');
8
8
 
@@ -10,47 +10,47 @@ require('./chunk-IGJUBJBW.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "CACHE_CONFIGS", {
12
12
  enumerable: true,
13
- get: function () { return chunk7FOAMNTI_cjs.CACHE_CONFIGS; }
13
+ get: function () { return chunkVNLR35GO_cjs.CACHE_CONFIGS; }
14
14
  });
15
15
  Object.defineProperty(exports, "CacheService", {
16
16
  enumerable: true,
17
- get: function () { return chunk7FOAMNTI_cjs.CacheService; }
17
+ get: function () { return chunkVNLR35GO_cjs.CacheService; }
18
18
  });
19
19
  Object.defineProperty(exports, "Logger", {
20
20
  enumerable: true,
21
- get: function () { return chunk7FOAMNTI_cjs.Logger; }
21
+ get: function () { return chunkVNLR35GO_cjs.Logger; }
22
22
  });
23
23
  Object.defineProperty(exports, "SettingsService", {
24
24
  enumerable: true,
25
- get: function () { return chunk7FOAMNTI_cjs.SettingsService; }
25
+ get: function () { return chunkVNLR35GO_cjs.SettingsService; }
26
26
  });
27
27
  Object.defineProperty(exports, "TelemetryService", {
28
28
  enumerable: true,
29
- get: function () { return chunk7FOAMNTI_cjs.TelemetryService; }
29
+ get: function () { return chunkVNLR35GO_cjs.TelemetryService; }
30
30
  });
31
31
  Object.defineProperty(exports, "createInstallationIdentity", {
32
32
  enumerable: true,
33
- get: function () { return chunk7FOAMNTI_cjs.createInstallationIdentity; }
33
+ get: function () { return chunkVNLR35GO_cjs.createInstallationIdentity; }
34
34
  });
35
35
  Object.defineProperty(exports, "getCacheService", {
36
36
  enumerable: true,
37
- get: function () { return chunk7FOAMNTI_cjs.getCacheService; }
37
+ get: function () { return chunkVNLR35GO_cjs.getCacheService; }
38
38
  });
39
39
  Object.defineProperty(exports, "getLogger", {
40
40
  enumerable: true,
41
- get: function () { return chunk7FOAMNTI_cjs.getLogger; }
41
+ get: function () { return chunkVNLR35GO_cjs.getLogger; }
42
42
  });
43
43
  Object.defineProperty(exports, "getTelemetryService", {
44
44
  enumerable: true,
45
- get: function () { return chunk7FOAMNTI_cjs.getTelemetryService; }
45
+ get: function () { return chunkVNLR35GO_cjs.getTelemetryService; }
46
46
  });
47
47
  Object.defineProperty(exports, "initLogger", {
48
48
  enumerable: true,
49
- get: function () { return chunk7FOAMNTI_cjs.initLogger; }
49
+ get: function () { return chunkVNLR35GO_cjs.initLogger; }
50
50
  });
51
51
  Object.defineProperty(exports, "initTelemetry", {
52
52
  enumerable: true,
53
- get: function () { return chunk7FOAMNTI_cjs.initTelemetry; }
53
+ get: function () { return chunkVNLR35GO_cjs.initTelemetry; }
54
54
  });
55
55
  Object.defineProperty(exports, "PluginBootstrapService", {
56
56
  enumerable: true,
@@ -106,7 +106,7 @@ Object.defineProperty(exports, "validateCollectionConfig", {
106
106
  });
107
107
  Object.defineProperty(exports, "MigrationService", {
108
108
  enumerable: true,
109
- get: function () { return chunkYRFAQ6MI_cjs.MigrationService; }
109
+ get: function () { return chunk5CENPGR2_cjs.MigrationService; }
110
110
  });
111
111
  //# sourceMappingURL=services.cjs.map
112
112
  //# sourceMappingURL=services.cjs.map
@@ -1,4 +1,4 @@
1
- export { C as CorePlugin, n as LogCategory, o as LogEntry, p as LogFilter, m as LogLevel, L as Logger, e as Migration, M as MigrationService, h as MigrationStatus, q as PluginBootstrapService, P as PluginService, d as cleanupRemovedCollections, f as fullCollectionSync, g as getAvailableCollectionNames, j as getLogger, c as getManagedCollections, k as initLogger, i as isCollectionManaged, a as loadCollectionConfig, l as loadCollectionConfigs, r as registerCollections, b as syncCollection, s as syncCollections, v as validateCollectionConfig } from './plugin-bootstrap-U-cw9jn3.cjs';
1
+ export { C as CorePlugin, n as LogCategory, o as LogEntry, p as LogFilter, m as LogLevel, L as Logger, e as Migration, M as MigrationService, h as MigrationStatus, q as PluginBootstrapService, P as PluginService, d as cleanupRemovedCollections, f as fullCollectionSync, g as getAvailableCollectionNames, j as getLogger, c as getManagedCollections, k as initLogger, i as isCollectionManaged, a as loadCollectionConfig, l as loadCollectionConfigs, r as registerCollections, b as syncCollection, s as syncCollections, v as validateCollectionConfig } from './plugin-bootstrap-DKB5f8-E.cjs';
2
2
  import { b as TelemetryConfig, c as TelemetryIdentity, T as TelemetryEvent, a as TelemetryProperties } from './telemetry-UiD1i9GS.cjs';
3
3
  import './collection-config-BF95LgQb.cjs';
4
4
  import '@cloudflare/workers-types';
@@ -1,4 +1,4 @@
1
- export { C as CorePlugin, n as LogCategory, o as LogEntry, p as LogFilter, m as LogLevel, L as Logger, e as Migration, M as MigrationService, h as MigrationStatus, q as PluginBootstrapService, P as PluginService, d as cleanupRemovedCollections, f as fullCollectionSync, g as getAvailableCollectionNames, j as getLogger, c as getManagedCollections, k as initLogger, i as isCollectionManaged, a as loadCollectionConfig, l as loadCollectionConfigs, r as registerCollections, b as syncCollection, s as syncCollections, v as validateCollectionConfig } from './plugin-bootstrap-CB-xaBfK.js';
1
+ export { C as CorePlugin, n as LogCategory, o as LogEntry, p as LogFilter, m as LogLevel, L as Logger, e as Migration, M as MigrationService, h as MigrationStatus, q as PluginBootstrapService, P as PluginService, d as cleanupRemovedCollections, f as fullCollectionSync, g as getAvailableCollectionNames, j as getLogger, c as getManagedCollections, k as initLogger, i as isCollectionManaged, a as loadCollectionConfig, l as loadCollectionConfigs, r as registerCollections, b as syncCollection, s as syncCollections, v as validateCollectionConfig } from './plugin-bootstrap-C7Mj00Ud.js';
2
2
  import { b as TelemetryConfig, c as TelemetryIdentity, T as TelemetryEvent, a as TelemetryProperties } from './telemetry-UiD1i9GS.js';
3
3
  import './collection-config-BF95LgQb.js';
4
4
  import '@cloudflare/workers-types';
package/dist/services.js CHANGED
@@ -1,6 +1,6 @@
1
- export { CACHE_CONFIGS, CacheService, Logger, SettingsService, TelemetryService, createInstallationIdentity, getCacheService, getLogger, getTelemetryService, initLogger, initTelemetry } from './chunk-3YNNVSMC.js';
1
+ export { CACHE_CONFIGS, CacheService, Logger, SettingsService, TelemetryService, createInstallationIdentity, getCacheService, getLogger, getTelemetryService, initLogger, initTelemetry } from './chunk-G44QUVNM.js';
2
2
  export { PluginBootstrapService, PluginService, cleanupRemovedCollections, fullCollectionSync, getAvailableCollectionNames, getManagedCollections, isCollectionManaged, loadCollectionConfig, loadCollectionConfigs, registerCollections, syncCollection, syncCollections, validateCollectionConfig } from './chunk-YFJJU26H.js';
3
- export { MigrationService } from './chunk-L2IDZI7F.js';
3
+ export { MigrationService } from './chunk-JDFPB6UW.js';
4
4
  import './chunk-X7ZAEI5S.js';
5
5
  import './chunk-V4OQ3NZ2.js';
6
6
  //# sourceMappingURL=services.js.map
@@ -1,70 +1,78 @@
1
1
  'use strict';
2
2
 
3
- var chunkAYPF6C4D_cjs = require('./chunk-AYPF6C4D.cjs');
4
- var chunkEHSZ6TAN_cjs = require('./chunk-EHSZ6TAN.cjs');
3
+ var chunkS6K2H2TS_cjs = require('./chunk-S6K2H2TS.cjs');
4
+ var chunkSHCYIZAN_cjs = require('./chunk-SHCYIZAN.cjs');
5
5
  require('./chunk-IGJUBJBW.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "renderFilterBar", {
10
10
  enumerable: true,
11
- get: function () { return chunkAYPF6C4D_cjs.renderFilterBar; }
11
+ get: function () { return chunkS6K2H2TS_cjs.renderFilterBar; }
12
+ });
13
+ Object.defineProperty(exports, "renderFormsDocsPage", {
14
+ enumerable: true,
15
+ get: function () { return chunkS6K2H2TS_cjs.renderFormsDocsPage; }
16
+ });
17
+ Object.defineProperty(exports, "renderFormsExamplesPage", {
18
+ enumerable: true,
19
+ get: function () { return chunkS6K2H2TS_cjs.renderFormsExamplesPage; }
12
20
  });
13
21
  Object.defineProperty(exports, "getConfirmationDialogScript", {
14
22
  enumerable: true,
15
- get: function () { return chunkEHSZ6TAN_cjs.getConfirmationDialogScript; }
23
+ get: function () { return chunkSHCYIZAN_cjs.getConfirmationDialogScript; }
16
24
  });
17
25
  Object.defineProperty(exports, "renderAdminLayout", {
18
26
  enumerable: true,
19
- get: function () { return chunkEHSZ6TAN_cjs.renderAdminLayout; }
27
+ get: function () { return chunkSHCYIZAN_cjs.renderAdminLayout; }
20
28
  });
21
29
  Object.defineProperty(exports, "renderAdminLayoutCatalyst", {
22
30
  enumerable: true,
23
- get: function () { return chunkEHSZ6TAN_cjs.renderAdminLayoutCatalyst; }
31
+ get: function () { return chunkSHCYIZAN_cjs.renderAdminLayoutCatalyst; }
24
32
  });
25
33
  Object.defineProperty(exports, "renderAlert", {
26
34
  enumerable: true,
27
- get: function () { return chunkEHSZ6TAN_cjs.renderAlert; }
35
+ get: function () { return chunkSHCYIZAN_cjs.renderAlert; }
28
36
  });
29
37
  Object.defineProperty(exports, "renderCheckboxPage", {
30
38
  enumerable: true,
31
- get: function () { return chunkEHSZ6TAN_cjs.renderCheckboxPage; }
39
+ get: function () { return chunkSHCYIZAN_cjs.renderCheckboxPage; }
32
40
  });
33
41
  Object.defineProperty(exports, "renderCodeExamplesList", {
34
42
  enumerable: true,
35
- get: function () { return chunkEHSZ6TAN_cjs.renderCodeExamplesList; }
43
+ get: function () { return chunkSHCYIZAN_cjs.renderCodeExamplesList; }
36
44
  });
37
45
  Object.defineProperty(exports, "renderConfirmationDialog", {
38
46
  enumerable: true,
39
- get: function () { return chunkEHSZ6TAN_cjs.renderConfirmationDialog; }
47
+ get: function () { return chunkSHCYIZAN_cjs.renderConfirmationDialog; }
40
48
  });
41
49
  Object.defineProperty(exports, "renderDesignPage", {
42
50
  enumerable: true,
43
- get: function () { return chunkEHSZ6TAN_cjs.renderDesignPage; }
51
+ get: function () { return chunkSHCYIZAN_cjs.renderDesignPage; }
44
52
  });
45
53
  Object.defineProperty(exports, "renderForm", {
46
54
  enumerable: true,
47
- get: function () { return chunkEHSZ6TAN_cjs.renderForm; }
55
+ get: function () { return chunkSHCYIZAN_cjs.renderForm; }
48
56
  });
49
57
  Object.defineProperty(exports, "renderFormField", {
50
58
  enumerable: true,
51
- get: function () { return chunkEHSZ6TAN_cjs.renderFormField; }
59
+ get: function () { return chunkSHCYIZAN_cjs.renderFormField; }
52
60
  });
53
61
  Object.defineProperty(exports, "renderLogo", {
54
62
  enumerable: true,
55
- get: function () { return chunkEHSZ6TAN_cjs.renderLogo; }
63
+ get: function () { return chunkSHCYIZAN_cjs.renderLogo; }
56
64
  });
57
65
  Object.defineProperty(exports, "renderPagination", {
58
66
  enumerable: true,
59
- get: function () { return chunkEHSZ6TAN_cjs.renderPagination; }
67
+ get: function () { return chunkSHCYIZAN_cjs.renderPagination; }
60
68
  });
61
69
  Object.defineProperty(exports, "renderTable", {
62
70
  enumerable: true,
63
- get: function () { return chunkEHSZ6TAN_cjs.renderTable; }
71
+ get: function () { return chunkSHCYIZAN_cjs.renderTable; }
64
72
  });
65
73
  Object.defineProperty(exports, "renderTestimonialsList", {
66
74
  enumerable: true,
67
- get: function () { return chunkEHSZ6TAN_cjs.renderTestimonialsList; }
75
+ get: function () { return chunkSHCYIZAN_cjs.renderTestimonialsList; }
68
76
  });
69
77
  //# sourceMappingURL=templates.cjs.map
70
78
  //# sourceMappingURL=templates.cjs.map
@@ -130,4 +130,24 @@ interface CodeExamplesListData {
130
130
  }
131
131
  declare function renderCodeExamplesList(data: CodeExamplesListData): string;
132
132
 
133
- export { type AdminLayoutCatalystData, type AdminLayoutData, type CheckboxPageData, type DesignPageData, renderAdminLayout, renderAdminLayoutCatalyst, renderCheckboxPage, renderCodeExamplesList, renderDesignPage, renderLogo, renderTestimonialsList };
133
+ interface FormsDocsPageData {
134
+ user?: {
135
+ name: string;
136
+ email: string;
137
+ role: string;
138
+ };
139
+ version?: string;
140
+ }
141
+ declare function renderFormsDocsPage(data: FormsDocsPageData): string;
142
+
143
+ interface FormsExamplesPageData {
144
+ user?: {
145
+ name: string;
146
+ email: string;
147
+ role: string;
148
+ };
149
+ version?: string;
150
+ }
151
+ declare function renderFormsExamplesPage(data: FormsExamplesPageData): string;
152
+
153
+ export { type AdminLayoutCatalystData, type AdminLayoutData, type CheckboxPageData, type DesignPageData, type FormsDocsPageData, type FormsExamplesPageData, renderAdminLayout, renderAdminLayoutCatalyst, renderCheckboxPage, renderCodeExamplesList, renderDesignPage, renderFormsDocsPage, renderFormsExamplesPage, renderLogo, renderTestimonialsList };
@@ -130,4 +130,24 @@ interface CodeExamplesListData {
130
130
  }
131
131
  declare function renderCodeExamplesList(data: CodeExamplesListData): string;
132
132
 
133
- export { type AdminLayoutCatalystData, type AdminLayoutData, type CheckboxPageData, type DesignPageData, renderAdminLayout, renderAdminLayoutCatalyst, renderCheckboxPage, renderCodeExamplesList, renderDesignPage, renderLogo, renderTestimonialsList };
133
+ interface FormsDocsPageData {
134
+ user?: {
135
+ name: string;
136
+ email: string;
137
+ role: string;
138
+ };
139
+ version?: string;
140
+ }
141
+ declare function renderFormsDocsPage(data: FormsDocsPageData): string;
142
+
143
+ interface FormsExamplesPageData {
144
+ user?: {
145
+ name: string;
146
+ email: string;
147
+ role: string;
148
+ };
149
+ version?: string;
150
+ }
151
+ declare function renderFormsExamplesPage(data: FormsExamplesPageData): string;
152
+
153
+ export { type AdminLayoutCatalystData, type AdminLayoutData, type CheckboxPageData, type DesignPageData, type FormsDocsPageData, type FormsExamplesPageData, renderAdminLayout, renderAdminLayoutCatalyst, renderCheckboxPage, renderCodeExamplesList, renderDesignPage, renderFormsDocsPage, renderFormsExamplesPage, renderLogo, renderTestimonialsList };
package/dist/templates.js CHANGED
@@ -1,5 +1,5 @@
1
- export { renderFilterBar } from './chunk-V3KVSEG6.js';
2
- export { getConfirmationDialogScript, renderAdminLayout, renderAdminLayoutCatalyst, renderAlert, renderCheckboxPage, renderCodeExamplesList, renderConfirmationDialog, renderDesignPage, renderForm, renderFormField, renderLogo, renderPagination, renderTable, renderTestimonialsList } from './chunk-GRN3GHUG.js';
1
+ export { renderFilterBar, renderFormsDocsPage, renderFormsExamplesPage } from './chunk-H7AMQWVI.js';
2
+ export { getConfirmationDialogScript, renderAdminLayout, renderAdminLayoutCatalyst, renderAlert, renderCheckboxPage, renderCodeExamplesList, renderConfirmationDialog, renderDesignPage, renderForm, renderFormField, renderLogo, renderPagination, renderTable, renderTestimonialsList } from './chunk-VCH6HXVP.js';
3
3
  import './chunk-V4OQ3NZ2.js';
4
4
  //# sourceMappingURL=templates.js.map
5
5
  //# sourceMappingURL=templates.js.map