@kyro-cms/core 0.3.4 → 0.3.5

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/{WebhookService-BCpW2dyL.d.ts → WebhookService-118ZTFis.d.ts} +1 -1
  2. package/dist/{WebhookService-DxYSFvNg.d.cts → WebhookService-AefJfqX0.d.cts} +1 -1
  3. package/dist/api-handler.cjs +5 -5
  4. package/dist/api-handler.js +4 -4
  5. package/dist/{chunk-VEI5KQVC.cjs → chunk-2UOI5MUC.cjs} +45 -15
  6. package/dist/chunk-2UOI5MUC.cjs.map +1 -0
  7. package/dist/{chunk-2SJATAN4.js → chunk-4UD44U4Z.js} +320 -16
  8. package/dist/chunk-4UD44U4Z.js.map +1 -0
  9. package/dist/{chunk-XIXGJGQW.js → chunk-5FTY2DLG.js} +44 -14
  10. package/dist/chunk-5FTY2DLG.js.map +1 -0
  11. package/dist/{chunk-MMYAIYHJ.cjs → chunk-DE7OQOMD.cjs} +319 -15
  12. package/dist/chunk-DE7OQOMD.cjs.map +1 -0
  13. package/dist/{chunk-CZ3HWX2X.cjs → chunk-R4C4O4SE.cjs} +8 -8
  14. package/dist/chunk-R4C4O4SE.cjs.map +1 -0
  15. package/dist/{chunk-B76I67F3.js → chunk-WSCJQI2B.js} +61 -13
  16. package/dist/chunk-WSCJQI2B.js.map +1 -0
  17. package/dist/{chunk-6LPNEC6D.js → chunk-Y3TM7WH7.js} +9 -9
  18. package/dist/chunk-Y3TM7WH7.js.map +1 -0
  19. package/dist/{chunk-DAIBBBOL.cjs → chunk-Z2OVHWHB.cjs} +61 -13
  20. package/dist/chunk-Z2OVHWHB.cjs.map +1 -0
  21. package/dist/client.d.cts +1 -1
  22. package/dist/client.d.ts +1 -1
  23. package/dist/drizzle/index.cjs +5 -5
  24. package/dist/drizzle/index.d.cts +1 -1
  25. package/dist/drizzle/index.d.ts +1 -1
  26. package/dist/drizzle/index.js +1 -1
  27. package/dist/index.cjs +133 -93
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.cts +7 -5
  30. package/dist/index.d.ts +7 -5
  31. package/dist/index.js +75 -35
  32. package/dist/index.js.map +1 -1
  33. package/dist/rest/index.cjs +4 -3
  34. package/dist/rest/index.d.cts +1 -1
  35. package/dist/rest/index.d.ts +1 -1
  36. package/dist/rest/index.js +2 -1
  37. package/dist/templates/index.cjs +24 -24
  38. package/dist/templates/index.js +1 -1
  39. package/dist/trpc/index.d.cts +1 -1
  40. package/dist/trpc/index.d.ts +1 -1
  41. package/dist/{types-Da83JLDk.d.cts → types-BnTm7oJG.d.cts} +1 -1
  42. package/dist/{types-Da83JLDk.d.ts → types-BnTm7oJG.d.ts} +1 -1
  43. package/package.json +1 -1
  44. package/dist/chunk-2SJATAN4.js.map +0 -1
  45. package/dist/chunk-6LPNEC6D.js.map +0 -1
  46. package/dist/chunk-B76I67F3.js.map +0 -1
  47. package/dist/chunk-CZ3HWX2X.cjs.map +0 -1
  48. package/dist/chunk-DAIBBBOL.cjs.map +0 -1
  49. package/dist/chunk-MMYAIYHJ.cjs.map +0 -1
  50. package/dist/chunk-VEI5KQVC.cjs.map +0 -1
  51. package/dist/chunk-XIXGJGQW.js.map +0 -1
@@ -1,10 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkMMYAIYHJ_cjs = require('../chunk-MMYAIYHJ.cjs');
3
+ var chunkDE7OQOMD_cjs = require('../chunk-DE7OQOMD.cjs');
4
4
  require('../chunk-DLHUQO25.cjs');
5
5
  require('../chunk-4PWRCMTQ.cjs');
6
6
  require('../chunk-ADLJSJSN.cjs');
7
7
  require('../chunk-IBG6V56E.cjs');
8
+ require('../chunk-VJT6P4N6.cjs');
8
9
  require('../chunk-R3XIBBAW.cjs');
9
10
  require('../chunk-X3CU27OO.cjs');
10
11
  require('../chunk-G7VZBCD6.cjs');
@@ -13,11 +14,11 @@ require('../chunk-G7VZBCD6.cjs');
13
14
 
14
15
  Object.defineProperty(exports, "createHonoApp", {
15
16
  enumerable: true,
16
- get: function () { return chunkMMYAIYHJ_cjs.createHonoApp; }
17
+ get: function () { return chunkDE7OQOMD_cjs.createHonoApp; }
17
18
  });
18
19
  Object.defineProperty(exports, "createRESTAPI", {
19
20
  enumerable: true,
20
- get: function () { return chunkMMYAIYHJ_cjs.createRESTAPI; }
21
+ get: function () { return chunkDE7OQOMD_cjs.createRESTAPI; }
21
22
  });
22
23
  //# sourceMappingURL=index.cjs.map
23
24
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,7 @@
1
1
  import { Hono } from 'hono';
2
2
  import { B as BaseAdapter, m as User } from '../types-J3R9nVsZ.cjs';
3
3
  import { R as Registry } from '../index-DfO7G4kN.cjs';
4
- import { i as createWebhookService } from '../WebhookService-DxYSFvNg.cjs';
4
+ import { i as createWebhookService } from '../WebhookService-AefJfqX0.cjs';
5
5
  import '../types-VtjUxIMp.cjs';
6
6
  import 'zod';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { Hono } from 'hono';
2
2
  import { B as BaseAdapter, m as User } from '../types-Bs1up4yP.js';
3
3
  import { R as Registry } from '../index-CLp-DRKA.js';
4
- import { i as createWebhookService } from '../WebhookService-BCpW2dyL.js';
4
+ import { i as createWebhookService } from '../WebhookService-118ZTFis.js';
5
5
  import '../types-VtjUxIMp.js';
6
6
  import 'zod';
7
7
 
@@ -1,8 +1,9 @@
1
- export { createHonoApp, createRESTAPI } from '../chunk-2SJATAN4.js';
1
+ export { createHonoApp, createRESTAPI } from '../chunk-4UD44U4Z.js';
2
2
  import '../chunk-RYDGMBIG.js';
3
3
  import '../chunk-YT7HXXVN.js';
4
4
  import '../chunk-P2YW545G.js';
5
5
  import '../chunk-QXIQWPAP.js';
6
+ import '../chunk-REK7AYOC.js';
6
7
  import '../chunk-SDMNUYVU.js';
7
8
  import '../chunk-RGIQKTZ7.js';
8
9
  import '../chunk-Z6ZWNWWR.js';
@@ -1,101 +1,101 @@
1
1
  'use strict';
2
2
 
3
- var chunkDAIBBBOL_cjs = require('../chunk-DAIBBBOL.cjs');
3
+ var chunkZ2OVHWHB_cjs = require('../chunk-Z2OVHWHB.cjs');
4
4
  require('../chunk-G7VZBCD6.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "accessSettingsGlobal", {
9
9
  enumerable: true,
10
- get: function () { return chunkDAIBBBOL_cjs.accessSettingsGlobal; }
10
+ get: function () { return chunkZ2OVHWHB_cjs.accessSettingsGlobal; }
11
11
  });
12
12
  Object.defineProperty(exports, "allSettingsGlobals", {
13
13
  enumerable: true,
14
- get: function () { return chunkDAIBBBOL_cjs.allSettingsGlobals; }
14
+ get: function () { return chunkZ2OVHWHB_cjs.allSettingsGlobals; }
15
15
  });
16
16
  Object.defineProperty(exports, "authCollections", {
17
17
  enumerable: true,
18
- get: function () { return chunkDAIBBBOL_cjs.authCollections; }
18
+ get: function () { return chunkZ2OVHWHB_cjs.authCollections; }
19
19
  });
20
20
  Object.defineProperty(exports, "blogCollections", {
21
21
  enumerable: true,
22
- get: function () { return chunkDAIBBBOL_cjs.blogCollections; }
22
+ get: function () { return chunkZ2OVHWHB_cjs.blogCollections; }
23
23
  });
24
24
  Object.defineProperty(exports, "blogGlobals", {
25
25
  enumerable: true,
26
- get: function () { return chunkDAIBBBOL_cjs.blogGlobals; }
26
+ get: function () { return chunkZ2OVHWHB_cjs.blogGlobals; }
27
27
  });
28
28
  Object.defineProperty(exports, "coreSettingsGlobals", {
29
29
  enumerable: true,
30
- get: function () { return chunkDAIBBBOL_cjs.coreSettingsGlobals; }
30
+ get: function () { return chunkZ2OVHWHB_cjs.coreSettingsGlobals; }
31
31
  });
32
32
  Object.defineProperty(exports, "createTemplateConfig", {
33
33
  enumerable: true,
34
- get: function () { return chunkDAIBBBOL_cjs.createTemplateConfig; }
34
+ get: function () { return chunkZ2OVHWHB_cjs.createTemplateConfig; }
35
35
  });
36
36
  Object.defineProperty(exports, "ecommerceCollections", {
37
37
  enumerable: true,
38
- get: function () { return chunkDAIBBBOL_cjs.ecommerceCollections; }
38
+ get: function () { return chunkZ2OVHWHB_cjs.ecommerceCollections; }
39
39
  });
40
40
  Object.defineProperty(exports, "ecommerceGlobals", {
41
41
  enumerable: true,
42
- get: function () { return chunkDAIBBBOL_cjs.ecommerceGlobals; }
42
+ get: function () { return chunkZ2OVHWHB_cjs.ecommerceGlobals; }
43
43
  });
44
44
  Object.defineProperty(exports, "ecommerceSettingsGlobals", {
45
45
  enumerable: true,
46
- get: function () { return chunkDAIBBBOL_cjs.ecommerceSettingsGlobals; }
46
+ get: function () { return chunkZ2OVHWHB_cjs.ecommerceSettingsGlobals; }
47
47
  });
48
48
  Object.defineProperty(exports, "emailSettingsGlobal", {
49
49
  enumerable: true,
50
- get: function () { return chunkDAIBBBOL_cjs.emailSettingsGlobal; }
50
+ get: function () { return chunkZ2OVHWHB_cjs.emailSettingsGlobal; }
51
51
  });
52
52
  Object.defineProperty(exports, "getSettingsForTemplate", {
53
53
  enumerable: true,
54
- get: function () { return chunkDAIBBBOL_cjs.getSettingsForTemplate; }
54
+ get: function () { return chunkZ2OVHWHB_cjs.getSettingsForTemplate; }
55
55
  });
56
56
  Object.defineProperty(exports, "kitchenSinkCollections", {
57
57
  enumerable: true,
58
- get: function () { return chunkDAIBBBOL_cjs.kitchenSinkCollections; }
58
+ get: function () { return chunkZ2OVHWHB_cjs.kitchenSinkCollections; }
59
59
  });
60
60
  Object.defineProperty(exports, "mediaCollection", {
61
61
  enumerable: true,
62
- get: function () { return chunkDAIBBBOL_cjs.mediaCollection; }
62
+ get: function () { return chunkZ2OVHWHB_cjs.mediaCollection; }
63
63
  });
64
64
  Object.defineProperty(exports, "mediaCollections", {
65
65
  enumerable: true,
66
- get: function () { return chunkDAIBBBOL_cjs.mediaCollections; }
66
+ get: function () { return chunkZ2OVHWHB_cjs.mediaCollections; }
67
67
  });
68
68
  Object.defineProperty(exports, "minimalCollections", {
69
69
  enumerable: true,
70
- get: function () { return chunkDAIBBBOL_cjs.minimalCollections; }
70
+ get: function () { return chunkZ2OVHWHB_cjs.minimalCollections; }
71
71
  });
72
72
  Object.defineProperty(exports, "paymentSettingsGlobal", {
73
73
  enumerable: true,
74
- get: function () { return chunkDAIBBBOL_cjs.paymentSettingsGlobal; }
74
+ get: function () { return chunkZ2OVHWHB_cjs.paymentSettingsGlobal; }
75
75
  });
76
76
  Object.defineProperty(exports, "seoSettingsGlobal", {
77
77
  enumerable: true,
78
- get: function () { return chunkDAIBBBOL_cjs.seoSettingsGlobal; }
78
+ get: function () { return chunkZ2OVHWHB_cjs.seoSettingsGlobal; }
79
79
  });
80
80
  Object.defineProperty(exports, "settingsBySlug", {
81
81
  enumerable: true,
82
- get: function () { return chunkDAIBBBOL_cjs.settingsBySlug; }
82
+ get: function () { return chunkZ2OVHWHB_cjs.settingsBySlug; }
83
83
  });
84
84
  Object.defineProperty(exports, "siteSettingsGlobal", {
85
85
  enumerable: true,
86
- get: function () { return chunkDAIBBBOL_cjs.siteSettingsGlobal; }
86
+ get: function () { return chunkZ2OVHWHB_cjs.siteSettingsGlobal; }
87
87
  });
88
88
  Object.defineProperty(exports, "socialSettingsGlobal", {
89
89
  enumerable: true,
90
- get: function () { return chunkDAIBBBOL_cjs.socialSettingsGlobal; }
90
+ get: function () { return chunkZ2OVHWHB_cjs.socialSettingsGlobal; }
91
91
  });
92
92
  Object.defineProperty(exports, "storageSettingsGlobal", {
93
93
  enumerable: true,
94
- get: function () { return chunkDAIBBBOL_cjs.storageSettingsGlobal; }
94
+ get: function () { return chunkZ2OVHWHB_cjs.storageSettingsGlobal; }
95
95
  });
96
96
  Object.defineProperty(exports, "storeSettingsGlobal", {
97
97
  enumerable: true,
98
- get: function () { return chunkDAIBBBOL_cjs.storeSettingsGlobal; }
98
+ get: function () { return chunkZ2OVHWHB_cjs.storeSettingsGlobal; }
99
99
  });
100
100
  //# sourceMappingURL=index.cjs.map
101
101
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,4 @@
1
- export { accessSettingsGlobal, allSettingsGlobals, authCollections, blogCollections, blogGlobals, coreSettingsGlobals, createTemplateConfig, ecommerceCollections, ecommerceGlobals, ecommerceSettingsGlobals, emailSettingsGlobal, getSettingsForTemplate, kitchenSinkCollections, mediaCollection, mediaCollections, minimalCollections, paymentSettingsGlobal, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, storageSettingsGlobal, storeSettingsGlobal } from '../chunk-B76I67F3.js';
1
+ export { accessSettingsGlobal, allSettingsGlobals, authCollections, blogCollections, blogGlobals, coreSettingsGlobals, createTemplateConfig, ecommerceCollections, ecommerceGlobals, ecommerceSettingsGlobals, emailSettingsGlobal, getSettingsForTemplate, kitchenSinkCollections, mediaCollection, mediaCollections, minimalCollections, paymentSettingsGlobal, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, storageSettingsGlobal, storeSettingsGlobal } from '../chunk-WSCJQI2B.js';
2
2
  import '../chunk-Z6ZWNWWR.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { B as BaseAdapter, R as Request, m as User, b as FindResult } from '../types-J3R9nVsZ.cjs';
2
- import { i as createWebhookService } from '../WebhookService-DxYSFvNg.cjs';
2
+ import { i as createWebhookService } from '../WebhookService-AefJfqX0.cjs';
3
3
  import '../types-VtjUxIMp.cjs';
4
4
 
5
5
  interface ApiKeyContext {
@@ -1,5 +1,5 @@
1
1
  import { B as BaseAdapter, R as Request, m as User, b as FindResult } from '../types-Bs1up4yP.js';
2
- import { i as createWebhookService } from '../WebhookService-BCpW2dyL.js';
2
+ import { i as createWebhookService } from '../WebhookService-118ZTFis.js';
3
3
  import '../types-VtjUxIMp.js';
4
4
 
5
5
  interface ApiKeyContext {
@@ -1,4 +1,4 @@
1
- type AuditAction = "login" | "logout" | "login_failed" | "register" | "verify_email" | "password_change" | "password_reset" | "password_reset_request" | "role_change" | "permission_change" | "document_create" | "document_update" | "document_delete" | "settings_change" | "user_lockout" | "user_unlock" | "user_create" | "user_update" | "user_delete" | "api_request" | "api_key_create" | "api_key_delete" | "tenant_create" | "tenant_delete";
1
+ type AuditAction = "login" | "logout" | "login_failed" | "register" | "verify_email" | "password_change" | "password_reset" | "password_reset_request" | "role_change" | "permission_change" | "document_create" | "document_update" | "document_delete" | "settings_change" | "user_lockout" | "user_unlock" | "user_create" | "user_update" | "user_delete" | "api_request" | "api_key_create" | "api_key_update" | "api_key_rotate" | "api_key_delete" | "tenant_create" | "tenant_delete";
2
2
  interface AuditLog {
3
3
  id: string;
4
4
  timestamp: Date;
@@ -1,4 +1,4 @@
1
- type AuditAction = "login" | "logout" | "login_failed" | "register" | "verify_email" | "password_change" | "password_reset" | "password_reset_request" | "role_change" | "permission_change" | "document_create" | "document_update" | "document_delete" | "settings_change" | "user_lockout" | "user_unlock" | "user_create" | "user_update" | "user_delete" | "api_request" | "api_key_create" | "api_key_delete" | "tenant_create" | "tenant_delete";
1
+ type AuditAction = "login" | "logout" | "login_failed" | "register" | "verify_email" | "password_change" | "password_reset" | "password_reset_request" | "role_change" | "permission_change" | "document_create" | "document_update" | "document_delete" | "settings_change" | "user_lockout" | "user_unlock" | "user_create" | "user_update" | "user_delete" | "api_request" | "api_key_create" | "api_key_update" | "api_key_rotate" | "api_key_delete" | "tenant_create" | "tenant_delete";
2
2
  interface AuditLog {
3
3
  id: string;
4
4
  timestamp: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kyro-cms/core",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "Astro-native headless CMS with multi-database adapters, multi-protocol APIs, and multi-vendor support",
5
5
  "engines": {
6
6
  "node": ">=22"