@sonicjs-cms/core 3.0.0-beta.20 → 3.0.0-beta.21

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 (51) hide show
  1. package/dist/{chunk-RDH6PUOP.js → chunk-4LVVMVQI.js} +2 -2
  2. package/dist/{chunk-RDH6PUOP.js.map → chunk-4LVVMVQI.js.map} +1 -1
  3. package/dist/{chunk-WCA4VENG.js → chunk-4UYJPHSV.js} +5 -5
  4. package/dist/{chunk-WCA4VENG.js.map → chunk-4UYJPHSV.js.map} +1 -1
  5. package/dist/{chunk-DSXEVMOM.js → chunk-5U75XP74.js} +2 -2
  6. package/dist/{chunk-DSXEVMOM.js.map → chunk-5U75XP74.js.map} +1 -1
  7. package/dist/{chunk-DTGCXWWM.cjs → chunk-5UXU3LP4.cjs} +10 -10
  8. package/dist/{chunk-DTGCXWWM.cjs.map → chunk-5UXU3LP4.cjs.map} +1 -1
  9. package/dist/{chunk-GMZ5TGYP.js → chunk-7OTOXWEB.js} +3 -3
  10. package/dist/{chunk-GMZ5TGYP.js.map → chunk-7OTOXWEB.js.map} +1 -1
  11. package/dist/{chunk-3E7IROND.cjs → chunk-7RUW244J.cjs} +217 -208
  12. package/dist/chunk-7RUW244J.cjs.map +1 -0
  13. package/dist/{chunk-5RSB5SEK.cjs → chunk-A4KUJ3LD.cjs} +4 -4
  14. package/dist/{chunk-5RSB5SEK.cjs.map → chunk-A4KUJ3LD.cjs.map} +1 -1
  15. package/dist/{chunk-AQJEMVAY.cjs → chunk-AOUVUF32.cjs} +3 -3
  16. package/dist/{chunk-AQJEMVAY.cjs.map → chunk-AOUVUF32.cjs.map} +1 -1
  17. package/dist/{chunk-4SHNHNRP.cjs → chunk-FCLKX2OS.cjs} +15 -15
  18. package/dist/{chunk-4SHNHNRP.cjs.map → chunk-FCLKX2OS.cjs.map} +1 -1
  19. package/dist/{chunk-MYQ7KZUQ.js → chunk-GICS5AIO.js} +4 -4
  20. package/dist/{chunk-MYQ7KZUQ.js.map → chunk-GICS5AIO.js.map} +1 -1
  21. package/dist/{chunk-W53J3BJ2.js → chunk-JEX3UPZL.js} +3 -3
  22. package/dist/{chunk-W53J3BJ2.js.map → chunk-JEX3UPZL.js.map} +1 -1
  23. package/dist/{chunk-5ARIHAGN.cjs → chunk-KVBHB7QP.cjs} +2 -2
  24. package/dist/{chunk-5ARIHAGN.cjs.map → chunk-KVBHB7QP.cjs.map} +1 -1
  25. package/dist/{chunk-TQG5FNNR.cjs → chunk-OJC4G5JE.cjs} +2 -2
  26. package/dist/{chunk-TQG5FNNR.cjs.map → chunk-OJC4G5JE.cjs.map} +1 -1
  27. package/dist/{chunk-5UCMLBRQ.js → chunk-ZP77LTN4.js} +24 -15
  28. package/dist/chunk-ZP77LTN4.js.map +1 -0
  29. package/dist/index.cjs +450 -321
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.js +204 -75
  32. package/dist/index.js.map +1 -1
  33. package/dist/middleware.cjs +33 -33
  34. package/dist/middleware.js +4 -4
  35. package/dist/migrations-HMX5SPN2.js +4 -0
  36. package/dist/{migrations-HZJ6U6SX.js.map → migrations-HMX5SPN2.js.map} +1 -1
  37. package/dist/migrations-V73ARYV5.cjs +13 -0
  38. package/dist/{migrations-VQAFXMU7.cjs.map → migrations-V73ARYV5.cjs.map} +1 -1
  39. package/dist/plugins.cjs +40 -40
  40. package/dist/plugins.js +3 -3
  41. package/dist/routes.cjs +26 -26
  42. package/dist/routes.js +6 -6
  43. package/dist/services.cjs +18 -18
  44. package/dist/services.js +2 -2
  45. package/dist/utils.cjs +3 -3
  46. package/dist/utils.js +1 -1
  47. package/package.json +1 -1
  48. package/dist/chunk-3E7IROND.cjs.map +0 -1
  49. package/dist/chunk-5UCMLBRQ.js.map +0 -1
  50. package/dist/migrations-HZJ6U6SX.js +0 -4
  51. package/dist/migrations-VQAFXMU7.cjs +0 -13
package/dist/services.cjs CHANGED
@@ -3,8 +3,8 @@
3
3
  var chunk36Z3AKX3_cjs = require('./chunk-36Z3AKX3.cjs');
4
4
  require('./chunk-YA3TJ65D.cjs');
5
5
  require('./chunk-YP7GW2G5.cjs');
6
- var chunk5ARIHAGN_cjs = require('./chunk-5ARIHAGN.cjs');
7
- var chunkTQG5FNNR_cjs = require('./chunk-TQG5FNNR.cjs');
6
+ var chunkKVBHB7QP_cjs = require('./chunk-KVBHB7QP.cjs');
7
+ var chunkOJC4G5JE_cjs = require('./chunk-OJC4G5JE.cjs');
8
8
  require('./chunk-P3XDZL6Q.cjs');
9
9
  require('./chunk-MNWKYY5E.cjs');
10
10
  require('./chunk-IGJUBJBW.cjs');
@@ -57,67 +57,67 @@ Object.defineProperty(exports, "setAppInstance", {
57
57
  });
58
58
  Object.defineProperty(exports, "CollectionRegistry", {
59
59
  enumerable: true,
60
- get: function () { return chunk5ARIHAGN_cjs.CollectionRegistry; }
60
+ get: function () { return chunkKVBHB7QP_cjs.CollectionRegistry; }
61
61
  });
62
62
  Object.defineProperty(exports, "PluginBootstrapService", {
63
63
  enumerable: true,
64
- get: function () { return chunk5ARIHAGN_cjs.PluginBootstrapService; }
64
+ get: function () { return chunkKVBHB7QP_cjs.PluginBootstrapService; }
65
65
  });
66
66
  Object.defineProperty(exports, "PluginService", {
67
67
  enumerable: true,
68
- get: function () { return chunk5ARIHAGN_cjs.PluginService; }
68
+ get: function () { return chunkKVBHB7QP_cjs.PluginService; }
69
69
  });
70
70
  Object.defineProperty(exports, "TelemetryService", {
71
71
  enumerable: true,
72
- get: function () { return chunk5ARIHAGN_cjs.TelemetryService; }
72
+ get: function () { return chunkKVBHB7QP_cjs.TelemetryService; }
73
73
  });
74
74
  Object.defineProperty(exports, "collectionRecordToRow", {
75
75
  enumerable: true,
76
- get: function () { return chunk5ARIHAGN_cjs.collectionRecordToRow; }
76
+ get: function () { return chunkKVBHB7QP_cjs.collectionRecordToRow; }
77
77
  });
78
78
  Object.defineProperty(exports, "createInstallationIdentity", {
79
79
  enumerable: true,
80
- get: function () { return chunk5ARIHAGN_cjs.createInstallationIdentity; }
80
+ get: function () { return chunkKVBHB7QP_cjs.createInstallationIdentity; }
81
81
  });
82
82
  Object.defineProperty(exports, "getAvailableCollectionNames", {
83
83
  enumerable: true,
84
- get: function () { return chunk5ARIHAGN_cjs.getAvailableCollectionNames; }
84
+ get: function () { return chunkKVBHB7QP_cjs.getAvailableCollectionNames; }
85
85
  });
86
86
  Object.defineProperty(exports, "getCollectionRegistry", {
87
87
  enumerable: true,
88
- get: function () { return chunk5ARIHAGN_cjs.getCollectionRegistry; }
88
+ get: function () { return chunkKVBHB7QP_cjs.getCollectionRegistry; }
89
89
  });
90
90
  Object.defineProperty(exports, "getTelemetryService", {
91
91
  enumerable: true,
92
- get: function () { return chunk5ARIHAGN_cjs.getTelemetryService; }
92
+ get: function () { return chunkKVBHB7QP_cjs.getTelemetryService; }
93
93
  });
94
94
  Object.defineProperty(exports, "initTelemetry", {
95
95
  enumerable: true,
96
- get: function () { return chunk5ARIHAGN_cjs.initTelemetry; }
96
+ get: function () { return chunkKVBHB7QP_cjs.initTelemetry; }
97
97
  });
98
98
  Object.defineProperty(exports, "loadCollectionConfig", {
99
99
  enumerable: true,
100
- get: function () { return chunk5ARIHAGN_cjs.loadCollectionConfig; }
100
+ get: function () { return chunkKVBHB7QP_cjs.loadCollectionConfig; }
101
101
  });
102
102
  Object.defineProperty(exports, "loadCollectionConfigs", {
103
103
  enumerable: true,
104
- get: function () { return chunk5ARIHAGN_cjs.loadCollectionConfigs; }
104
+ get: function () { return chunkKVBHB7QP_cjs.loadCollectionConfigs; }
105
105
  });
106
106
  Object.defineProperty(exports, "registerCollections", {
107
107
  enumerable: true,
108
- get: function () { return chunk5ARIHAGN_cjs.registerCollections; }
108
+ get: function () { return chunkKVBHB7QP_cjs.registerCollections; }
109
109
  });
110
110
  Object.defineProperty(exports, "resetCollectionRegistry", {
111
111
  enumerable: true,
112
- get: function () { return chunk5ARIHAGN_cjs.resetCollectionRegistry; }
112
+ get: function () { return chunkKVBHB7QP_cjs.resetCollectionRegistry; }
113
113
  });
114
114
  Object.defineProperty(exports, "validateCollectionConfig", {
115
115
  enumerable: true,
116
- get: function () { return chunk5ARIHAGN_cjs.validateCollectionConfig; }
116
+ get: function () { return chunkKVBHB7QP_cjs.validateCollectionConfig; }
117
117
  });
118
118
  Object.defineProperty(exports, "MigrationService", {
119
119
  enumerable: true,
120
- get: function () { return chunkTQG5FNNR_cjs.MigrationService; }
120
+ get: function () { return chunkOJC4G5JE_cjs.MigrationService; }
121
121
  });
122
122
  //# sourceMappingURL=services.cjs.map
123
123
  //# sourceMappingURL=services.cjs.map
package/dist/services.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export { CACHE_CONFIGS, CATEGORY_INFO, CacheService, Logger, SettingsService, buildRouteList, getAppInstance, getCacheService, getLogger, initLogger, setAppInstance } from './chunk-2XAQTPAE.js';
2
2
  import './chunk-K25XHMM3.js';
3
3
  import './chunk-AI663NBO.js';
4
- export { CollectionRegistry, PluginBootstrapService, PluginService, TelemetryService, collectionRecordToRow, createInstallationIdentity, getAvailableCollectionNames, getCollectionRegistry, getTelemetryService, initTelemetry, loadCollectionConfig, loadCollectionConfigs, registerCollections, resetCollectionRegistry, validateCollectionConfig } from './chunk-RDH6PUOP.js';
5
- export { MigrationService } from './chunk-DSXEVMOM.js';
4
+ export { CollectionRegistry, PluginBootstrapService, PluginService, TelemetryService, collectionRecordToRow, createInstallationIdentity, getAvailableCollectionNames, getCollectionRegistry, getTelemetryService, initTelemetry, loadCollectionConfig, loadCollectionConfigs, registerCollections, resetCollectionRegistry, validateCollectionConfig } from './chunk-4LVVMVQI.js';
5
+ export { MigrationService } from './chunk-5U75XP74.js';
6
6
  import './chunk-X7ZAEI5S.js';
7
7
  import './chunk-TQABQWOP.js';
8
8
  import './chunk-V4OQ3NZ2.js';
package/dist/utils.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  var chunkIXUHXTHW_cjs = require('./chunk-IXUHXTHW.cjs');
4
4
  var chunkRCQ2HIQD_cjs = require('./chunk-RCQ2HIQD.cjs');
5
5
  var chunkP3XDZL6Q_cjs = require('./chunk-P3XDZL6Q.cjs');
6
- var chunkAQJEMVAY_cjs = require('./chunk-AQJEMVAY.cjs');
6
+ var chunkAOUVUF32_cjs = require('./chunk-AOUVUF32.cjs');
7
7
  var chunkMNWKYY5E_cjs = require('./chunk-MNWKYY5E.cjs');
8
8
  require('./chunk-IGJUBJBW.cjs');
9
9
 
@@ -79,11 +79,11 @@ Object.defineProperty(exports, "shouldSkipEvent", {
79
79
  });
80
80
  Object.defineProperty(exports, "SONICJS_VERSION", {
81
81
  enumerable: true,
82
- get: function () { return chunkAQJEMVAY_cjs.SONICJS_VERSION; }
82
+ get: function () { return chunkAOUVUF32_cjs.SONICJS_VERSION; }
83
83
  });
84
84
  Object.defineProperty(exports, "getCoreVersion", {
85
85
  enumerable: true,
86
- get: function () { return chunkAQJEMVAY_cjs.getCoreVersion; }
86
+ get: function () { return chunkAOUVUF32_cjs.getCoreVersion; }
87
87
  });
88
88
  Object.defineProperty(exports, "escapeHtml", {
89
89
  enumerable: true,
package/dist/utils.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export { QueryFilterBuilder, TemplateRenderer, buildQuery, generateSlug, getBlocksFieldConfig, parseBlocksValue, renderTemplate, templateRenderer } from './chunk-QZGABF2M.js';
2
2
  export { metricsTracker } from './chunk-FICTAGD4.js';
3
3
  export { generateInstallationId, generateProjectId, getDefaultTelemetryConfig, getTelemetryConfig, isTelemetryEnabled, sanitizeErrorMessage, sanitizeRoute, shouldSkipEvent } from './chunk-X7ZAEI5S.js';
4
- export { SONICJS_VERSION, getCoreVersion } from './chunk-W53J3BJ2.js';
4
+ export { SONICJS_VERSION, getCoreVersion } from './chunk-JEX3UPZL.js';
5
5
  export { escapeHtml, sanitizeInput, sanitizeObject } from './chunk-TQABQWOP.js';
6
6
  import './chunk-V4OQ3NZ2.js';
7
7
  //# sourceMappingURL=utils.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonicjs-cms/core",
3
- "version": "3.0.0-beta.20",
3
+ "version": "3.0.0-beta.21",
4
4
  "description": "Core framework for SonicJS headless CMS - Edge-first, TypeScript-native CMS built for Cloudflare Workers",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",