@sonicjs-cms/core 2.8.3 → 2.9.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.
- package/dist/{app-DnQ26Lho.d.cts → app-Ozl9agJG.d.cts} +1 -1
- package/dist/{app-DnQ26Lho.d.ts → app-Ozl9agJG.d.ts} +1 -1
- package/dist/{chunk-Y3VMEGY2.js → chunk-25YNV4RK.js} +3 -3
- package/dist/{chunk-Y3VMEGY2.js.map → chunk-25YNV4RK.js.map} +1 -1
- package/dist/{chunk-CH5UHZVM.js → chunk-2JGQKF7B.js} +184 -298
- package/dist/chunk-2JGQKF7B.js.map +1 -0
- package/dist/{chunk-5XAI2XUF.js → chunk-3FHMXGLF.js} +7 -5
- package/dist/chunk-3FHMXGLF.js.map +1 -0
- package/dist/{chunk-VNLR35GO.cjs → chunk-64APW3DW.cjs} +339 -2
- package/dist/chunk-64APW3DW.cjs.map +1 -0
- package/dist/{chunk-G44QUVNM.js → chunk-7JMMLHPQ.js} +337 -4
- package/dist/chunk-7JMMLHPQ.js.map +1 -0
- package/dist/chunk-CJYFSKH7.js +54 -54
- package/dist/chunk-CJYFSKH7.js.map +1 -1
- package/dist/{chunk-K4Q4SFJJ.cjs → chunk-DQZVU3WB.cjs} +4 -4
- package/dist/{chunk-K4Q4SFJJ.cjs.map → chunk-DQZVU3WB.cjs.map} +1 -1
- package/dist/{chunk-R4WR3VTN.cjs → chunk-KSB6FXOP.cjs} +285 -399
- package/dist/chunk-KSB6FXOP.cjs.map +1 -0
- package/dist/{chunk-HXHVU5GM.cjs → chunk-LDFMYRG6.cjs} +2 -2
- package/dist/{chunk-HXHVU5GM.cjs.map → chunk-LDFMYRG6.cjs.map} +1 -1
- package/dist/chunk-MNFY6DWY.cjs +54 -54
- package/dist/chunk-MNFY6DWY.cjs.map +1 -1
- package/dist/{chunk-JDIM5AG7.cjs → chunk-SHU7Q66Q.cjs} +7 -5
- package/dist/chunk-SHU7Q66Q.cjs.map +1 -0
- package/dist/{chunk-GTFMI24U.js → chunk-STTZVLY2.js} +2 -2
- package/dist/{chunk-GTFMI24U.js.map → chunk-STTZVLY2.js.map} +1 -1
- package/dist/{collection-config-i8EaAF7z.d.cts → collection-config-DckWhkdL.d.cts} +2 -2
- package/dist/{collection-config-i8EaAF7z.d.ts → collection-config-DckWhkdL.d.ts} +2 -2
- package/dist/{filter-bar.template-Daw8ZDoq.d.cts → filter-bar.template-DlVYMk-T.d.cts} +1 -1
- package/dist/{filter-bar.template-Daw8ZDoq.d.ts → filter-bar.template-DlVYMk-T.d.ts} +1 -1
- package/dist/index.cjs +128 -127
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +10 -9
- package/dist/index.js.map +1 -1
- package/dist/middleware.cjs +28 -28
- package/dist/middleware.d.cts +1 -1
- package/dist/middleware.d.ts +1 -1
- package/dist/middleware.js +2 -2
- package/dist/migrations-QQWGDWGB.cjs +13 -0
- package/dist/{migrations-7X4RPH7O.cjs.map → migrations-QQWGDWGB.cjs.map} +1 -1
- package/dist/migrations-SZSR3C3G.js +4 -0
- package/dist/{migrations-KHWFJ2HN.js.map → migrations-SZSR3C3G.js.map} +1 -1
- package/dist/{plugin-zvZpaiP5.d.cts → plugin-0Xogrln-.d.cts} +1 -1
- package/dist/{plugin-zvZpaiP5.d.ts → plugin-0Xogrln-.d.ts} +1 -1
- package/dist/{plugin-bootstrap-CJozpgmI.d.cts → plugin-bootstrap-BAz7NY0H.d.cts} +2 -2
- package/dist/{plugin-bootstrap-DU5VmuHZ.d.ts → plugin-bootstrap-Cz3-bj8X.d.ts} +2 -2
- package/dist/{plugin-manager-Baa6xXqB.d.ts → plugin-manager-Clf2gXwj.d.ts} +2 -2
- package/dist/{plugin-manager-vBal9Zip.d.cts → plugin-manager-GcIeb226.d.cts} +2 -2
- package/dist/plugins.d.cts +2 -2
- package/dist/plugins.d.ts +2 -2
- package/dist/routes.cjs +28 -28
- package/dist/routes.d.cts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/routes.js +5 -5
- package/dist/services.cjs +30 -14
- package/dist/services.d.cts +29 -4
- package/dist/services.d.ts +29 -4
- package/dist/services.js +2 -2
- package/dist/{telemetry-UiD1i9GS.d.cts → telemetry-B9vIV4wh.d.cts} +1 -1
- package/dist/{telemetry-UiD1i9GS.d.ts → telemetry-B9vIV4wh.d.ts} +1 -1
- package/dist/templates.d.cts +1 -1
- package/dist/templates.d.ts +1 -1
- package/dist/types.d.cts +3 -3
- package/dist/types.d.ts +3 -3
- package/dist/utils.cjs +11 -11
- package/dist/utils.d.cts +3 -3
- package/dist/utils.d.ts +3 -3
- package/dist/utils.js +1 -1
- package/dist/{version-C_CXrN_T.d.cts → version-ChpccWQ1.d.cts} +1 -1
- package/dist/{version-C_CXrN_T.d.ts → version-ChpccWQ1.d.ts} +1 -1
- package/package.json +5 -3
- package/dist/chunk-5XAI2XUF.js.map +0 -1
- package/dist/chunk-CH5UHZVM.js.map +0 -1
- package/dist/chunk-G44QUVNM.js.map +0 -1
- package/dist/chunk-JDIM5AG7.cjs.map +0 -1
- package/dist/chunk-R4WR3VTN.cjs.map +0 -1
- package/dist/chunk-VNLR35GO.cjs.map +0 -1
- package/dist/migrations-7X4RPH7O.cjs +0 -13
- package/dist/migrations-KHWFJ2HN.js +0 -4
package/dist/middleware.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDQZVU3WB_cjs = require('./chunk-DQZVU3WB.cjs');
|
|
4
4
|
require('./chunk-MPT5PA6U.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-LDFMYRG6.cjs');
|
|
6
6
|
require('./chunk-RCQ2HIQD.cjs');
|
|
7
7
|
require('./chunk-IGJUBJBW.cjs');
|
|
8
8
|
|
|
@@ -10,107 +10,107 @@ require('./chunk-IGJUBJBW.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "AuthManager", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkDQZVU3WB_cjs.AuthManager; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "PermissionManager", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkDQZVU3WB_cjs.PermissionManager; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "bootstrapMiddleware", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkDQZVU3WB_cjs.bootstrapMiddleware; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cacheHeaders", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkDQZVU3WB_cjs.cacheHeaders; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "compressionMiddleware", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkDQZVU3WB_cjs.compressionMiddleware; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "csrfProtection", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkDQZVU3WB_cjs.csrfProtection; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "detailedLoggingMiddleware", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkDQZVU3WB_cjs.detailedLoggingMiddleware; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "generateCsrfToken", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkDQZVU3WB_cjs.generateCsrfToken; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "getActivePlugins", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkDQZVU3WB_cjs.getActivePlugins; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "isPluginActive", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkDQZVU3WB_cjs.isPluginActive; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "logActivity", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkDQZVU3WB_cjs.logActivity; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "loggingMiddleware", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkDQZVU3WB_cjs.loggingMiddleware; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "metricsMiddleware", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkDQZVU3WB_cjs.metricsMiddleware; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "optionalAuth", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkDQZVU3WB_cjs.optionalAuth; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "performanceLoggingMiddleware", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkDQZVU3WB_cjs.performanceLoggingMiddleware; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "rateLimit", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkDQZVU3WB_cjs.rateLimit; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "requireActivePlugin", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkDQZVU3WB_cjs.requireActivePlugin; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "requireActivePlugins", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkDQZVU3WB_cjs.requireActivePlugins; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "requireAnyPermission", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkDQZVU3WB_cjs.requireAnyPermission; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "requireAuth", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkDQZVU3WB_cjs.requireAuth; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "requirePermission", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkDQZVU3WB_cjs.requirePermission; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "requireRole", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkDQZVU3WB_cjs.requireRole; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "securityHeaders", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkDQZVU3WB_cjs.securityHeadersMiddleware; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "securityLoggingMiddleware", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkDQZVU3WB_cjs.securityLoggingMiddleware; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "validateCsrfToken", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkDQZVU3WB_cjs.validateCsrfToken; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "verifySecurityConfig", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkDQZVU3WB_cjs.verifySecurityConfig; }
|
|
114
114
|
});
|
|
115
115
|
//# sourceMappingURL=middleware.cjs.map
|
|
116
116
|
//# sourceMappingURL=middleware.cjs.map
|
package/dist/middleware.d.cts
CHANGED
package/dist/middleware.d.ts
CHANGED
package/dist/middleware.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { AuthManager, PermissionManager, bootstrapMiddleware, cacheHeaders, compressionMiddleware, csrfProtection, detailedLoggingMiddleware, generateCsrfToken, getActivePlugins, isPluginActive, logActivity, loggingMiddleware, metricsMiddleware, optionalAuth, performanceLoggingMiddleware, rateLimit, requireActivePlugin, requireActivePlugins, requireAnyPermission, requireAuth, requirePermission, requireRole, securityHeadersMiddleware as securityHeaders, securityLoggingMiddleware, validateCsrfToken, verifySecurityConfig } from './chunk-
|
|
1
|
+
export { AuthManager, PermissionManager, bootstrapMiddleware, cacheHeaders, compressionMiddleware, csrfProtection, detailedLoggingMiddleware, generateCsrfToken, getActivePlugins, isPluginActive, logActivity, loggingMiddleware, metricsMiddleware, optionalAuth, performanceLoggingMiddleware, rateLimit, requireActivePlugin, requireActivePlugins, requireAnyPermission, requireAuth, requirePermission, requireRole, securityHeadersMiddleware as securityHeaders, securityLoggingMiddleware, validateCsrfToken, verifySecurityConfig } from './chunk-25YNV4RK.js';
|
|
2
2
|
import './chunk-YFJJU26H.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-STTZVLY2.js';
|
|
4
4
|
import './chunk-FICTAGD4.js';
|
|
5
5
|
import './chunk-V4OQ3NZ2.js';
|
|
6
6
|
//# sourceMappingURL=middleware.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkLDFMYRG6_cjs = require('./chunk-LDFMYRG6.cjs');
|
|
4
|
+
require('./chunk-IGJUBJBW.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "MigrationService", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkLDFMYRG6_cjs.MigrationService; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=migrations-QQWGDWGB.cjs.map
|
|
13
|
+
//# sourceMappingURL=migrations-QQWGDWGB.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-QQWGDWGB.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-SZSR3C3G.js"}
|
|
@@ -354,4 +354,4 @@ declare const HOOKS: {
|
|
|
354
354
|
};
|
|
355
355
|
type HookName = typeof HOOKS[keyof typeof HOOKS];
|
|
356
356
|
|
|
357
|
-
export { type AuthService as A, type ContentService as C,
|
|
357
|
+
export { type AuthService as A, type ContentService as C, HOOKS as H, type MediaService as M, type Plugin as P, type ScopedHookSystem as S, type HookContext as a, type HookHandler as b, type HookName as c, type HookSystem as d, type ModelRelationship as e, type PluginAdminPage as f, type PluginBuilderOptions as g, type PluginComponent as h, type PluginConfig as i, type PluginContext as j, type PluginHook as k, type PluginLogger as l, type PluginManager as m, type PluginMenuItem as n, type PluginMiddleware as o, type PluginModel as p, type PluginRegistry as q, type PluginRoutes as r, type PluginService as s, type PluginStatus as t, type PluginValidationResult as u, type PluginValidator as v };
|
|
@@ -354,4 +354,4 @@ declare const HOOKS: {
|
|
|
354
354
|
};
|
|
355
355
|
type HookName = typeof HOOKS[keyof typeof HOOKS];
|
|
356
356
|
|
|
357
|
-
export { type AuthService as A, type ContentService as C,
|
|
357
|
+
export { type AuthService as A, type ContentService as C, HOOKS as H, type MediaService as M, type Plugin as P, type ScopedHookSystem as S, type HookContext as a, type HookHandler as b, type HookName as c, type HookSystem as d, type ModelRelationship as e, type PluginAdminPage as f, type PluginBuilderOptions as g, type PluginComponent as h, type PluginConfig as i, type PluginContext as j, type PluginHook as k, type PluginLogger as l, type PluginManager as m, type PluginMenuItem as n, type PluginMiddleware as o, type PluginModel as p, type PluginRegistry as q, type PluginRoutes as r, type PluginService as s, type PluginStatus as t, type PluginValidationResult as u, type PluginValidator as v };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as CollectionConfig, d as CollectionSyncResult } from './collection-config-DckWhkdL.cjs';
|
|
2
2
|
import { D1Database as D1Database$1 } from '@cloudflare/workers-types';
|
|
3
3
|
import * as drizzle_zod from 'drizzle-zod';
|
|
4
4
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
@@ -10790,4 +10790,4 @@ declare class PluginBootstrapService {
|
|
|
10790
10790
|
isBootstrapNeeded(): Promise<boolean>;
|
|
10791
10791
|
}
|
|
10792
10792
|
|
|
10793
|
-
export { insertPluginRouteSchema as $,
|
|
10793
|
+
export { insertPluginRouteSchema as $, type PluginRoute as A, PluginService as B, type Collection as C, apiTokens as D, cleanupRemovedCollections as E, collections as F, content as G, contentVersions as H, fullCollectionSync as I, getAvailableCollectionNames as J, getLogger as K, type LogCategory as L, type Media as M, type NewCollection as N, getManagedCollections as O, type Plugin as P, initLogger as Q, insertCollectionSchema as R, type SystemLog as S, insertContentSchema as T, type User as U, insertLogConfigSchema as V, type WorkflowHistory as W, insertMediaSchema as X, insertPluginActivityLogSchema as Y, insertPluginAssetSchema as Z, insertPluginHookSchema as _, type Content as a, insertPluginSchema as a0, insertSystemLogSchema as a1, insertUserSchema as a2, insertWorkflowHistorySchema as a3, isCollectionManaged as a4, loadCollectionConfig as a5, loadCollectionConfigs as a6, logConfig as a7, media as a8, pluginActivityLog as a9, pluginAssets as aa, pluginHooks as ab, pluginRoutes as ac, plugins as ad, registerCollections as ae, selectCollectionSchema as af, selectContentSchema as ag, selectLogConfigSchema as ah, selectMediaSchema as ai, selectPluginActivityLogSchema as aj, selectPluginAssetSchema as ak, selectPluginHookSchema as al, selectPluginRouteSchema as am, selectPluginSchema as an, selectSystemLogSchema as ao, selectUserSchema as ap, selectWorkflowHistorySchema as aq, syncCollection as ar, syncCollections as as, systemLogs as at, users as au, validateCollectionConfig as av, workflowHistory as aw, type CorePlugin as b, type PluginHook as c, type LogConfig as d, type LogEntry as e, type LogFilter as f, type LogLevel as g, Logger as h, type Migration as i, MigrationService as j, type MigrationStatus as k, type NewContent as l, type NewLogConfig as m, type NewMedia as n, type NewPlugin as o, type NewPluginActivityLog as p, type NewPluginAsset as q, type NewPluginHook as r, schema as s, type NewPluginRoute as t, type NewSystemLog as u, type NewUser as v, type NewWorkflowHistory as w, type PluginActivityLog as x, type PluginAsset as y, PluginBootstrapService as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as CollectionConfig, d as CollectionSyncResult } from './collection-config-DckWhkdL.js';
|
|
2
2
|
import { D1Database as D1Database$1 } from '@cloudflare/workers-types';
|
|
3
3
|
import * as drizzle_zod from 'drizzle-zod';
|
|
4
4
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
@@ -10790,4 +10790,4 @@ declare class PluginBootstrapService {
|
|
|
10790
10790
|
isBootstrapNeeded(): Promise<boolean>;
|
|
10791
10791
|
}
|
|
10792
10792
|
|
|
10793
|
-
export { insertPluginRouteSchema as $,
|
|
10793
|
+
export { insertPluginRouteSchema as $, type PluginRoute as A, PluginService as B, type Collection as C, apiTokens as D, cleanupRemovedCollections as E, collections as F, content as G, contentVersions as H, fullCollectionSync as I, getAvailableCollectionNames as J, getLogger as K, type LogCategory as L, type Media as M, type NewCollection as N, getManagedCollections as O, type Plugin as P, initLogger as Q, insertCollectionSchema as R, type SystemLog as S, insertContentSchema as T, type User as U, insertLogConfigSchema as V, type WorkflowHistory as W, insertMediaSchema as X, insertPluginActivityLogSchema as Y, insertPluginAssetSchema as Z, insertPluginHookSchema as _, type Content as a, insertPluginSchema as a0, insertSystemLogSchema as a1, insertUserSchema as a2, insertWorkflowHistorySchema as a3, isCollectionManaged as a4, loadCollectionConfig as a5, loadCollectionConfigs as a6, logConfig as a7, media as a8, pluginActivityLog as a9, pluginAssets as aa, pluginHooks as ab, pluginRoutes as ac, plugins as ad, registerCollections as ae, selectCollectionSchema as af, selectContentSchema as ag, selectLogConfigSchema as ah, selectMediaSchema as ai, selectPluginActivityLogSchema as aj, selectPluginAssetSchema as ak, selectPluginHookSchema as al, selectPluginRouteSchema as am, selectPluginSchema as an, selectSystemLogSchema as ao, selectUserSchema as ap, selectWorkflowHistorySchema as aq, syncCollection as ar, syncCollections as as, systemLogs as at, users as au, validateCollectionConfig as av, workflowHistory as aw, type CorePlugin as b, type PluginHook as c, type LogConfig as d, type LogEntry as e, type LogFilter as f, type LogLevel as g, Logger as h, type Migration as i, MigrationService as j, type MigrationStatus as k, type NewContent as l, type NewLogConfig as m, type NewMedia as n, type NewPlugin as o, type NewPluginActivityLog as p, type NewPluginAsset as q, type NewPluginHook as r, schema as s, type NewPluginRoute as t, type NewSystemLog as u, type NewUser as v, type NewWorkflowHistory as w, type PluginActivityLog as x, type PluginAsset as y, PluginBootstrapService as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as HookSystem, b as HookHandler, k as PluginHook, v as PluginValidator$1, P as Plugin, u as PluginValidationResult, q as PluginRegistry, i as PluginConfig, t as PluginStatus, m as PluginManager$1, j as PluginContext } from './plugin-0Xogrln-.js';
|
|
2
2
|
import { Hono } from 'hono';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -325,4 +325,4 @@ declare class PluginManager implements PluginManager$1 {
|
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
export { HookSystemImpl as H,
|
|
328
|
+
export { HookSystemImpl as H, PluginManager as P, ScopedHookSystem as S, HookUtils as a, PluginRegistryImpl as b, PluginValidator as c };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as HookSystem, b as HookHandler, k as PluginHook, v as PluginValidator$1, P as Plugin, u as PluginValidationResult, q as PluginRegistry, i as PluginConfig, t as PluginStatus, m as PluginManager$1, j as PluginContext } from './plugin-0Xogrln-.cjs';
|
|
2
2
|
import { Hono } from 'hono';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -325,4 +325,4 @@ declare class PluginManager implements PluginManager$1 {
|
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
export { HookSystemImpl as H,
|
|
328
|
+
export { HookSystemImpl as H, PluginManager as P, ScopedHookSystem as S, HookUtils as a, PluginRegistryImpl as b, PluginValidator as c };
|
package/dist/plugins.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { H as HookSystemImpl, a as HookUtils,
|
|
1
|
+
export { H as HookSystemImpl, a as HookUtils, P as PluginManager, b as PluginRegistryImpl, c as PluginValidator, S as ScopedHookSystem } from './plugin-manager-GcIeb226.cjs';
|
|
2
2
|
import { D1Database } from '@cloudflare/workers-types';
|
|
3
3
|
import * as hono from 'hono';
|
|
4
4
|
import { Context, Next } from 'hono';
|
|
5
|
-
import './plugin-
|
|
5
|
+
import './plugin-0Xogrln-.cjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
|
|
8
8
|
interface TurnstileSettings {
|
package/dist/plugins.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { H as HookSystemImpl, a as HookUtils,
|
|
1
|
+
export { H as HookSystemImpl, a as HookUtils, P as PluginManager, b as PluginRegistryImpl, c as PluginValidator, S as ScopedHookSystem } from './plugin-manager-Clf2gXwj.js';
|
|
2
2
|
import { D1Database } from '@cloudflare/workers-types';
|
|
3
3
|
import * as hono from 'hono';
|
|
4
4
|
import { Context, Next } from 'hono';
|
|
5
|
-
import './plugin-
|
|
5
|
+
import './plugin-0Xogrln-.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
|
|
8
8
|
interface TurnstileSettings {
|
package/dist/routes.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkKSB6FXOP_cjs = require('./chunk-KSB6FXOP.cjs');
|
|
4
|
+
require('./chunk-64APW3DW.cjs');
|
|
5
|
+
require('./chunk-DQZVU3WB.cjs');
|
|
6
6
|
require('./chunk-MPT5PA6U.cjs');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-LDFMYRG6.cjs');
|
|
8
8
|
require('./chunk-LTKV7AE5.cjs');
|
|
9
9
|
require('./chunk-6FHNRRJ3.cjs');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-SHU7Q66Q.cjs');
|
|
11
11
|
require('./chunk-P3XDZL6Q.cjs');
|
|
12
12
|
require('./chunk-RCQ2HIQD.cjs');
|
|
13
13
|
require('./chunk-MNWKYY5E.cjs');
|
|
@@ -17,95 +17,95 @@ require('./chunk-IGJUBJBW.cjs');
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "ROUTES_INFO", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkKSB6FXOP_cjs.ROUTES_INFO; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "adminApiReferenceRoutes", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkKSB6FXOP_cjs.router2; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "adminApiRoutes", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkKSB6FXOP_cjs.admin_api_default; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "adminCheckboxRoutes", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkKSB6FXOP_cjs.adminCheckboxRoutes; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "adminCodeExamplesRoutes", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkKSB6FXOP_cjs.admin_code_examples_default; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "adminCollectionsRoutes", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkKSB6FXOP_cjs.adminCollectionsRoutes; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "adminContentRoutes", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkKSB6FXOP_cjs.admin_content_default; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "adminDashboardRoutes", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkKSB6FXOP_cjs.router; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "adminDesignRoutes", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkKSB6FXOP_cjs.adminDesignRoutes; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "adminFormsRoutes", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkKSB6FXOP_cjs.adminFormsRoutes; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "adminLogsRoutes", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkKSB6FXOP_cjs.adminLogsRoutes; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "adminMediaRoutes", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkKSB6FXOP_cjs.adminMediaRoutes; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "adminPluginRoutes", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkKSB6FXOP_cjs.adminPluginRoutes; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "adminSettingsRoutes", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkKSB6FXOP_cjs.adminSettingsRoutes; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "adminTestimonialsRoutes", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkKSB6FXOP_cjs.admin_testimonials_default; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "adminUsersRoutes", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkKSB6FXOP_cjs.userRoutes; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "apiContentCrudRoutes", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkKSB6FXOP_cjs.api_content_crud_default; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "apiMediaRoutes", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkKSB6FXOP_cjs.api_media_default; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "apiRoutes", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkKSB6FXOP_cjs.api_default; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "apiSystemRoutes", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkKSB6FXOP_cjs.api_system_default; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "authRoutes", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkKSB6FXOP_cjs.auth_default; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "publicFormsRoutes", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkKSB6FXOP_cjs.public_forms_default; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "testCleanupRoutes", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkKSB6FXOP_cjs.test_cleanup_default; }
|
|
109
109
|
});
|
|
110
110
|
//# sourceMappingURL=routes.cjs.map
|
|
111
111
|
//# sourceMappingURL=routes.cjs.map
|
package/dist/routes.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as hono_types from 'hono/types';
|
|
2
2
|
import { Hono } from 'hono';
|
|
3
|
-
import { B as Bindings$a, V as Variables$b } from './app-
|
|
3
|
+
import { B as Bindings$a, V as Variables$b } from './app-Ozl9agJG.cjs';
|
|
4
4
|
import { D1Database as D1Database$1, KVNamespace as KVNamespace$1, R2Bucket as R2Bucket$1 } from '@cloudflare/workers-types';
|
|
5
5
|
|
|
6
6
|
interface Variables$a extends Variables$b {
|
package/dist/routes.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as hono_types from 'hono/types';
|
|
2
2
|
import { Hono } from 'hono';
|
|
3
|
-
import { B as Bindings$a, V as Variables$b } from './app-
|
|
3
|
+
import { B as Bindings$a, V as Variables$b } from './app-Ozl9agJG.js';
|
|
4
4
|
import { D1Database as D1Database$1, KVNamespace as KVNamespace$1, R2Bucket as R2Bucket$1 } from '@cloudflare/workers-types';
|
|
5
5
|
|
|
6
6
|
interface Variables$a extends Variables$b {
|
package/dist/routes.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
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-2JGQKF7B.js';
|
|
2
|
+
import './chunk-7JMMLHPQ.js';
|
|
3
|
+
import './chunk-25YNV4RK.js';
|
|
4
4
|
import './chunk-YFJJU26H.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-STTZVLY2.js';
|
|
6
6
|
import './chunk-JJS7JZCH.js';
|
|
7
7
|
import './chunk-J5WGMRSU.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-3FHMXGLF.js';
|
|
9
9
|
import './chunk-X7ZAEI5S.js';
|
|
10
10
|
import './chunk-FICTAGD4.js';
|
|
11
11
|
import './chunk-TQABQWOP.js';
|
package/dist/services.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk64APW3DW_cjs = require('./chunk-64APW3DW.cjs');
|
|
4
4
|
var chunkMPT5PA6U_cjs = require('./chunk-MPT5PA6U.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkLDFMYRG6_cjs = require('./chunk-LDFMYRG6.cjs');
|
|
6
6
|
require('./chunk-P3XDZL6Q.cjs');
|
|
7
7
|
require('./chunk-IGJUBJBW.cjs');
|
|
8
8
|
|
|
@@ -10,47 +10,63 @@ require('./chunk-IGJUBJBW.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "CACHE_CONFIGS", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk64APW3DW_cjs.CACHE_CONFIGS; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "CATEGORY_INFO", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunk64APW3DW_cjs.CATEGORY_INFO; }
|
|
14
18
|
});
|
|
15
19
|
Object.defineProperty(exports, "CacheService", {
|
|
16
20
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk64APW3DW_cjs.CacheService; }
|
|
18
22
|
});
|
|
19
23
|
Object.defineProperty(exports, "Logger", {
|
|
20
24
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk64APW3DW_cjs.Logger; }
|
|
22
26
|
});
|
|
23
27
|
Object.defineProperty(exports, "SettingsService", {
|
|
24
28
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk64APW3DW_cjs.SettingsService; }
|
|
26
30
|
});
|
|
27
31
|
Object.defineProperty(exports, "TelemetryService", {
|
|
28
32
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk64APW3DW_cjs.TelemetryService; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "buildRouteList", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunk64APW3DW_cjs.buildRouteList; }
|
|
30
38
|
});
|
|
31
39
|
Object.defineProperty(exports, "createInstallationIdentity", {
|
|
32
40
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk64APW3DW_cjs.createInstallationIdentity; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "getAppInstance", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunk64APW3DW_cjs.getAppInstance; }
|
|
34
46
|
});
|
|
35
47
|
Object.defineProperty(exports, "getCacheService", {
|
|
36
48
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunk64APW3DW_cjs.getCacheService; }
|
|
38
50
|
});
|
|
39
51
|
Object.defineProperty(exports, "getLogger", {
|
|
40
52
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunk64APW3DW_cjs.getLogger; }
|
|
42
54
|
});
|
|
43
55
|
Object.defineProperty(exports, "getTelemetryService", {
|
|
44
56
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunk64APW3DW_cjs.getTelemetryService; }
|
|
46
58
|
});
|
|
47
59
|
Object.defineProperty(exports, "initLogger", {
|
|
48
60
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunk64APW3DW_cjs.initLogger; }
|
|
50
62
|
});
|
|
51
63
|
Object.defineProperty(exports, "initTelemetry", {
|
|
52
64
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunk64APW3DW_cjs.initTelemetry; }
|
|
66
|
+
});
|
|
67
|
+
Object.defineProperty(exports, "setAppInstance", {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
get: function () { return chunk64APW3DW_cjs.setAppInstance; }
|
|
54
70
|
});
|
|
55
71
|
Object.defineProperty(exports, "PluginBootstrapService", {
|
|
56
72
|
enumerable: true,
|
|
@@ -106,7 +122,7 @@ Object.defineProperty(exports, "validateCollectionConfig", {
|
|
|
106
122
|
});
|
|
107
123
|
Object.defineProperty(exports, "MigrationService", {
|
|
108
124
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkLDFMYRG6_cjs.MigrationService; }
|
|
110
126
|
});
|
|
111
127
|
//# sourceMappingURL=services.cjs.map
|
|
112
128
|
//# sourceMappingURL=services.cjs.map
|