@sonicjs-cms/core 3.0.0-beta.13 → 3.0.0-beta.15
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-Bo0X1OWX.d.ts → app-01M0dIwt.d.ts} +1 -1
- package/dist/{app-Do66yCcV.d.cts → app-aj39TGHB.d.cts} +1 -1
- package/dist/{chunk-YNYEQP3K.cjs → chunk-4AB3PQHF.cjs} +2 -2
- package/dist/{chunk-YNYEQP3K.cjs.map → chunk-4AB3PQHF.cjs.map} +1 -1
- package/dist/{chunk-KG6GQE6B.js → chunk-4ENXIP4M.js} +27 -2
- package/dist/chunk-4ENXIP4M.js.map +1 -0
- package/dist/{chunk-6KFX4LAT.js → chunk-75WXXLAU.js} +4 -4
- package/dist/{chunk-6KFX4LAT.js.map → chunk-75WXXLAU.js.map} +1 -1
- package/dist/{chunk-VT77YUTP.cjs → chunk-BDQOPRA3.cjs} +441 -249
- package/dist/chunk-BDQOPRA3.cjs.map +1 -0
- package/dist/{chunk-PPFQDMZE.js → chunk-CE6POA7A.js} +3 -3
- package/dist/{chunk-PPFQDMZE.js.map → chunk-CE6POA7A.js.map} +1 -1
- package/dist/{chunk-IM3UG4QW.cjs → chunk-FVI3H6RG.cjs} +10 -10
- package/dist/{chunk-IM3UG4QW.cjs.map → chunk-FVI3H6RG.cjs.map} +1 -1
- package/dist/{chunk-KPQ57HAH.cjs → chunk-FXZSZ7C7.cjs} +27 -2
- package/dist/chunk-FXZSZ7C7.cjs.map +1 -0
- package/dist/{chunk-BK3NB35S.js → chunk-GQXVDFIG.js} +35 -13
- package/dist/chunk-GQXVDFIG.js.map +1 -0
- package/dist/{chunk-IVPRUGTY.js → chunk-IQZA2OY5.js} +4 -4
- package/dist/{chunk-IVPRUGTY.js.map → chunk-IQZA2OY5.js.map} +1 -1
- package/dist/{chunk-EKMN6W5B.js → chunk-JRLADH5B.js} +3 -3
- package/dist/{chunk-EKMN6W5B.js.map → chunk-JRLADH5B.js.map} +1 -1
- package/dist/{chunk-NUKJ54GA.cjs → chunk-KMCLNO4K.cjs} +6 -6
- package/dist/{chunk-NUKJ54GA.cjs.map → chunk-KMCLNO4K.cjs.map} +1 -1
- package/dist/{chunk-3FBZFYSQ.js → chunk-L3VIH6U4.js} +210 -19
- package/dist/chunk-L3VIH6U4.js.map +1 -0
- package/dist/{chunk-BLMTL57B.js → chunk-PDC7DLOV.js} +21 -3
- package/dist/chunk-PDC7DLOV.js.map +1 -0
- package/dist/{chunk-6CKXZFED.cjs → chunk-PK3ODTAL.cjs} +3 -3
- package/dist/{chunk-6CKXZFED.cjs.map → chunk-PK3ODTAL.cjs.map} +1 -1
- package/dist/{chunk-PZGGIJI6.cjs → chunk-PTTFLUEX.cjs} +4 -4
- package/dist/{chunk-PZGGIJI6.cjs.map → chunk-PTTFLUEX.cjs.map} +1 -1
- package/dist/{chunk-IV3NA6WZ.js → chunk-VOAP3KFU.js} +2 -2
- package/dist/{chunk-IV3NA6WZ.js.map → chunk-VOAP3KFU.js.map} +1 -1
- package/dist/{chunk-IESEVHXL.js → chunk-VVYVFCML.js} +12 -3
- package/dist/chunk-VVYVFCML.js.map +1 -0
- package/dist/{chunk-2CB4KY7I.cjs → chunk-W36OZTJ5.cjs} +21 -3
- package/dist/chunk-W36OZTJ5.cjs.map +1 -0
- package/dist/{chunk-HIKBY7MS.cjs → chunk-XWVDSM2L.cjs} +12 -3
- package/dist/chunk-XWVDSM2L.cjs.map +1 -0
- package/dist/{chunk-VMBQ6NQB.cjs → chunk-ZBDDZYA3.cjs} +45 -23
- package/dist/chunk-ZBDDZYA3.cjs.map +1 -0
- package/dist/{collection-config-JgHOpFCG.d.ts → collection-config-BTzAvKt2.d.cts} +25 -0
- package/dist/{collection-config-JgHOpFCG.d.cts → collection-config-BTzAvKt2.d.ts} +25 -0
- package/dist/config-SM2UWSDN.js +6 -0
- package/dist/{config-HFXANXCC.js.map → config-SM2UWSDN.js.map} +1 -1
- package/dist/config-YCRSU7ZP.cjs +19 -0
- package/dist/{config-ON6FNMYX.cjs.map → config-YCRSU7ZP.cjs.map} +1 -1
- package/dist/{define-plugin-BzNHc1ZI.d.ts → define-plugin-BYIey6sp.d.ts} +1 -1
- package/dist/{define-plugin-IWDKYaVm.d.cts → define-plugin-DsKiGu1q.d.cts} +1 -1
- package/dist/index.cjs +772 -314
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -10
- package/dist/index.d.ts +21 -10
- package/dist/index.js +517 -61
- package/dist/index.js.map +1 -1
- package/dist/middleware.cjs +34 -33
- package/dist/middleware.d.cts +2 -2
- package/dist/middleware.d.ts +2 -2
- package/dist/middleware.js +5 -4
- package/dist/migrations-6R2N6G2P.js +4 -0
- package/dist/{migrations-KKLQ2CEF.js.map → migrations-6R2N6G2P.js.map} +1 -1
- package/dist/migrations-X3UX24QG.cjs +13 -0
- package/dist/{migrations-XOXYLHHU.cjs.map → migrations-X3UX24QG.cjs.map} +1 -1
- package/dist/{plugin-bootstrap-B8ThJU21.d.cts → plugin-bootstrap-BHWQ2df8.d.cts} +1 -1
- package/dist/{plugin-bootstrap-qu8hJgUt.d.ts → plugin-bootstrap-Bj4fxX1q.d.ts} +1 -1
- package/dist/plugins.cjs +40 -40
- package/dist/plugins.d.cts +2 -2
- package/dist/plugins.d.ts +2 -2
- package/dist/plugins.js +3 -3
- package/dist/rbac-4QLDXIDF.js +5 -0
- package/dist/{rbac-O73MFKDA.js.map → rbac-4QLDXIDF.js.map} +1 -1
- package/dist/rbac-ESTOCVT2.cjs +14 -0
- package/dist/{rbac-VONLJJKB.cjs.map → rbac-ESTOCVT2.cjs.map} +1 -1
- package/dist/routes.cjs +28 -28
- package/dist/routes.d.cts +2 -2
- package/dist/routes.d.ts +2 -2
- package/dist/routes.js +8 -8
- package/dist/services.cjs +18 -18
- package/dist/services.d.cts +2 -2
- package/dist/services.d.ts +2 -2
- package/dist/services.js +2 -2
- package/dist/{types-Dea1eNxU.d.ts → types-DT7XN5TX.d.cts} +1 -1
- package/dist/{types-Dea1eNxU.d.cts → types-DT7XN5TX.d.ts} +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utils.cjs +3 -3
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2CB4KY7I.cjs.map +0 -1
- package/dist/chunk-3FBZFYSQ.js.map +0 -1
- package/dist/chunk-BK3NB35S.js.map +0 -1
- package/dist/chunk-BLMTL57B.js.map +0 -1
- package/dist/chunk-HIKBY7MS.cjs.map +0 -1
- package/dist/chunk-IESEVHXL.js.map +0 -1
- package/dist/chunk-KG6GQE6B.js.map +0 -1
- package/dist/chunk-KPQ57HAH.cjs.map +0 -1
- package/dist/chunk-VMBQ6NQB.cjs.map +0 -1
- package/dist/chunk-VT77YUTP.cjs.map +0 -1
- package/dist/config-HFXANXCC.js +0 -6
- package/dist/config-ON6FNMYX.cjs +0 -19
- package/dist/migrations-KKLQ2CEF.js +0 -4
- package/dist/migrations-XOXYLHHU.cjs +0 -13
- package/dist/rbac-O73MFKDA.js +0 -5
- package/dist/rbac-VONLJJKB.cjs +0 -14
package/dist/middleware.cjs
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkZBDDZYA3_cjs = require('./chunk-ZBDDZYA3.cjs');
|
|
4
|
+
require('./chunk-W36OZTJ5.cjs');
|
|
5
5
|
require('./chunk-JEQ7FLOD.cjs');
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-FXZSZ7C7.cjs');
|
|
7
|
+
require('./chunk-4AB3PQHF.cjs');
|
|
8
8
|
require('./chunk-K623Q6WD.cjs');
|
|
9
9
|
require('./chunk-J6JTWD2A.cjs');
|
|
10
10
|
require('./chunk-RCQ2HIQD.cjs');
|
|
11
11
|
require('./chunk-P3XDZL6Q.cjs');
|
|
12
|
+
require('./chunk-PK3ODTAL.cjs');
|
|
12
13
|
require('./chunk-MNWKYY5E.cjs');
|
|
13
14
|
require('./chunk-IGJUBJBW.cjs');
|
|
14
15
|
|
|
@@ -16,119 +17,119 @@ require('./chunk-IGJUBJBW.cjs');
|
|
|
16
17
|
|
|
17
18
|
Object.defineProperty(exports, "AuthManager", {
|
|
18
19
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkZBDDZYA3_cjs.AuthManager; }
|
|
20
21
|
});
|
|
21
22
|
Object.defineProperty(exports, "PermissionManager", {
|
|
22
23
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkZBDDZYA3_cjs.PermissionManager; }
|
|
24
25
|
});
|
|
25
26
|
Object.defineProperty(exports, "bootstrapMiddleware", {
|
|
26
27
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkZBDDZYA3_cjs.bootstrapMiddleware; }
|
|
28
29
|
});
|
|
29
30
|
Object.defineProperty(exports, "cacheHeaders", {
|
|
30
31
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkZBDDZYA3_cjs.cacheHeaders; }
|
|
32
33
|
});
|
|
33
34
|
Object.defineProperty(exports, "compressionMiddleware", {
|
|
34
35
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkZBDDZYA3_cjs.compressionMiddleware; }
|
|
36
37
|
});
|
|
37
38
|
Object.defineProperty(exports, "csrfProtection", {
|
|
38
39
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkZBDDZYA3_cjs.csrfProtection; }
|
|
40
41
|
});
|
|
41
42
|
Object.defineProperty(exports, "detailedLoggingMiddleware", {
|
|
42
43
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkZBDDZYA3_cjs.detailedLoggingMiddleware; }
|
|
44
45
|
});
|
|
45
46
|
Object.defineProperty(exports, "generateCsrfToken", {
|
|
46
47
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkZBDDZYA3_cjs.generateCsrfToken; }
|
|
48
49
|
});
|
|
49
50
|
Object.defineProperty(exports, "getActivePlugins", {
|
|
50
51
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkZBDDZYA3_cjs.getActivePlugins; }
|
|
52
53
|
});
|
|
53
54
|
Object.defineProperty(exports, "getJwtExpirySeconds", {
|
|
54
55
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkZBDDZYA3_cjs.getJwtExpirySeconds; }
|
|
56
57
|
});
|
|
57
58
|
Object.defineProperty(exports, "getJwtExpirySecondsFromDb", {
|
|
58
59
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkZBDDZYA3_cjs.getJwtExpirySecondsFromDb; }
|
|
60
61
|
});
|
|
61
62
|
Object.defineProperty(exports, "getJwtRefreshGraceSecondsFromDb", {
|
|
62
63
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkZBDDZYA3_cjs.getJwtRefreshGraceSecondsFromDb; }
|
|
64
65
|
});
|
|
65
66
|
Object.defineProperty(exports, "isPluginActive", {
|
|
66
67
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkZBDDZYA3_cjs.isPluginActive; }
|
|
68
69
|
});
|
|
69
70
|
Object.defineProperty(exports, "logActivity", {
|
|
70
71
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkZBDDZYA3_cjs.logActivity; }
|
|
72
73
|
});
|
|
73
74
|
Object.defineProperty(exports, "loggingMiddleware", {
|
|
74
75
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkZBDDZYA3_cjs.loggingMiddleware; }
|
|
76
77
|
});
|
|
77
78
|
Object.defineProperty(exports, "metricsMiddleware", {
|
|
78
79
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkZBDDZYA3_cjs.metricsMiddleware; }
|
|
80
81
|
});
|
|
81
82
|
Object.defineProperty(exports, "optionalAuth", {
|
|
82
83
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkZBDDZYA3_cjs.optionalAuth; }
|
|
84
85
|
});
|
|
85
86
|
Object.defineProperty(exports, "performanceLoggingMiddleware", {
|
|
86
87
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkZBDDZYA3_cjs.performanceLoggingMiddleware; }
|
|
88
89
|
});
|
|
89
90
|
Object.defineProperty(exports, "rateLimit", {
|
|
90
91
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkZBDDZYA3_cjs.rateLimit; }
|
|
92
93
|
});
|
|
93
94
|
Object.defineProperty(exports, "requireActivePlugin", {
|
|
94
95
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkZBDDZYA3_cjs.requireActivePlugin; }
|
|
96
97
|
});
|
|
97
98
|
Object.defineProperty(exports, "requireActivePlugins", {
|
|
98
99
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkZBDDZYA3_cjs.requireActivePlugins; }
|
|
100
101
|
});
|
|
101
102
|
Object.defineProperty(exports, "requireAnyPermission", {
|
|
102
103
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkZBDDZYA3_cjs.requireAnyPermission; }
|
|
104
105
|
});
|
|
105
106
|
Object.defineProperty(exports, "requireAuth", {
|
|
106
107
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkZBDDZYA3_cjs.requireAuth; }
|
|
108
109
|
});
|
|
109
110
|
Object.defineProperty(exports, "requirePermission", {
|
|
110
111
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkZBDDZYA3_cjs.requirePermission; }
|
|
112
113
|
});
|
|
113
114
|
Object.defineProperty(exports, "requireRole", {
|
|
114
115
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkZBDDZYA3_cjs.requireRole; }
|
|
116
117
|
});
|
|
117
118
|
Object.defineProperty(exports, "securityHeaders", {
|
|
118
119
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkZBDDZYA3_cjs.securityHeadersMiddleware; }
|
|
120
121
|
});
|
|
121
122
|
Object.defineProperty(exports, "securityLoggingMiddleware", {
|
|
122
123
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkZBDDZYA3_cjs.securityLoggingMiddleware; }
|
|
124
125
|
});
|
|
125
126
|
Object.defineProperty(exports, "validateCsrfToken", {
|
|
126
127
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkZBDDZYA3_cjs.validateCsrfToken; }
|
|
128
129
|
});
|
|
129
130
|
Object.defineProperty(exports, "verifySecurityConfig", {
|
|
130
131
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkZBDDZYA3_cjs.verifySecurityConfig; }
|
|
132
133
|
});
|
|
133
134
|
//# sourceMappingURL=middleware.cjs.map
|
|
134
135
|
//# sourceMappingURL=middleware.cjs.map
|
package/dist/middleware.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as hono from 'hono';
|
|
2
2
|
import { Context, Next, MiddlewareHandler } from 'hono';
|
|
3
|
-
import { S as SonicJSConfig } from './app-
|
|
3
|
+
import { S as SonicJSConfig } from './app-aj39TGHB.cjs';
|
|
4
4
|
import { D1Database as D1Database$1 } from '@cloudflare/workers-types';
|
|
5
5
|
import 'better-auth/client';
|
|
6
6
|
import 'better-auth/plugins/email-otp';
|
|
@@ -9,7 +9,7 @@ import 'better-auth/plugins/magic-link';
|
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod/v4/core';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import './types-
|
|
12
|
+
import './types-DT7XN5TX.cjs';
|
|
13
13
|
|
|
14
14
|
type Bindings = {
|
|
15
15
|
DB: D1Database;
|
package/dist/middleware.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as hono from 'hono';
|
|
2
2
|
import { Context, Next, MiddlewareHandler } from 'hono';
|
|
3
|
-
import { S as SonicJSConfig } from './app-
|
|
3
|
+
import { S as SonicJSConfig } from './app-01M0dIwt.js';
|
|
4
4
|
import { D1Database as D1Database$1 } from '@cloudflare/workers-types';
|
|
5
5
|
import 'better-auth/client';
|
|
6
6
|
import 'better-auth/plugins/email-otp';
|
|
@@ -9,7 +9,7 @@ import 'better-auth/plugins/magic-link';
|
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod/v4/core';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import './types-
|
|
12
|
+
import './types-DT7XN5TX.js';
|
|
13
13
|
|
|
14
14
|
type Bindings = {
|
|
15
15
|
DB: D1Database;
|
package/dist/middleware.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
export { AuthManager, PermissionManager, bootstrapMiddleware, cacheHeaders, compressionMiddleware, csrfProtection, detailedLoggingMiddleware, generateCsrfToken, getActivePlugins, getJwtExpirySeconds, getJwtExpirySecondsFromDb, getJwtRefreshGraceSecondsFromDb, isPluginActive, logActivity, loggingMiddleware, metricsMiddleware, optionalAuth, performanceLoggingMiddleware, rateLimit, requireActivePlugin, requireActivePlugins, requireAnyPermission, requireAuth, requirePermission, requireRole, securityHeadersMiddleware as securityHeaders, securityLoggingMiddleware, validateCsrfToken, verifySecurityConfig } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { AuthManager, PermissionManager, bootstrapMiddleware, cacheHeaders, compressionMiddleware, csrfProtection, detailedLoggingMiddleware, generateCsrfToken, getActivePlugins, getJwtExpirySeconds, getJwtExpirySecondsFromDb, getJwtRefreshGraceSecondsFromDb, isPluginActive, logActivity, loggingMiddleware, metricsMiddleware, optionalAuth, performanceLoggingMiddleware, rateLimit, requireActivePlugin, requireActivePlugins, requireAnyPermission, requireAuth, requirePermission, requireRole, securityHeadersMiddleware as securityHeaders, securityLoggingMiddleware, validateCsrfToken, verifySecurityConfig } from './chunk-GQXVDFIG.js';
|
|
2
|
+
import './chunk-PDC7DLOV.js';
|
|
3
3
|
import './chunk-GCDZZNIN.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
4
|
+
import './chunk-4ENXIP4M.js';
|
|
5
|
+
import './chunk-VOAP3KFU.js';
|
|
6
6
|
import './chunk-5V62WT6M.js';
|
|
7
7
|
import './chunk-RNZFGN4R.js';
|
|
8
8
|
import './chunk-FICTAGD4.js';
|
|
9
9
|
import './chunk-X7ZAEI5S.js';
|
|
10
|
+
import './chunk-CE6POA7A.js';
|
|
10
11
|
import './chunk-TQABQWOP.js';
|
|
11
12
|
import './chunk-V4OQ3NZ2.js';
|
|
12
13
|
//# sourceMappingURL=middleware.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-6R2N6G2P.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk4AB3PQHF_cjs = require('./chunk-4AB3PQHF.cjs');
|
|
4
|
+
require('./chunk-IGJUBJBW.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "MigrationService", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunk4AB3PQHF_cjs.MigrationService; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=migrations-X3UX24QG.cjs.map
|
|
13
|
+
//# sourceMappingURL=migrations-X3UX24QG.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-X3UX24QG.cjs"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CollectionConfig } from './collection-config-
|
|
1
|
+
import { C as CollectionConfig } from './collection-config-BTzAvKt2.cjs';
|
|
2
2
|
import { D1Database } 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';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CollectionConfig } from './collection-config-
|
|
1
|
+
import { C as CollectionConfig } from './collection-config-BTzAvKt2.js';
|
|
2
2
|
import { D1Database } 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';
|
package/dist/plugins.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkFVI3H6RG_cjs = require('./chunk-FVI3H6RG.cjs');
|
|
4
|
+
var chunkPTTFLUEX_cjs = require('./chunk-PTTFLUEX.cjs');
|
|
5
5
|
var chunkJ6JTWD2A_cjs = require('./chunk-J6JTWD2A.cjs');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-PK3ODTAL.cjs');
|
|
7
7
|
require('./chunk-MNWKYY5E.cjs');
|
|
8
8
|
require('./chunk-QTFKZBLC.cjs');
|
|
9
9
|
require('./chunk-IGJUBJBW.cjs');
|
|
@@ -12,151 +12,151 @@ require('./chunk-IGJUBJBW.cjs');
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "HookSystemImpl", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkFVI3H6RG_cjs.HookSystemImpl; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "HookUtils", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkFVI3H6RG_cjs.HookUtils; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "PluginManager", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkFVI3H6RG_cjs.PluginManager; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "PluginRegisterMustBeSyncError", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkFVI3H6RG_cjs.PluginRegisterMustBeSyncError; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "PluginRegistryImpl", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkFVI3H6RG_cjs.PluginRegistryImpl; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "PluginValidator", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkFVI3H6RG_cjs.PluginValidator; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "RegisterPluginsError", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkFVI3H6RG_cjs.RegisterPluginsError; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "ScopedHookSystem", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkFVI3H6RG_cjs.ScopedHookSystem; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "TurnstileService", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkFVI3H6RG_cjs.TurnstileService; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "collectCronSchedules", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkFVI3H6RG_cjs.collectCronSchedules; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "collectCrons", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkFVI3H6RG_cjs.collectCrons; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "createPluginWirer", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkFVI3H6RG_cjs.createPluginWirer; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "createScheduledHandler", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkFVI3H6RG_cjs.createScheduledHandler; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "createTurnstileMiddleware", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkFVI3H6RG_cjs.createTurnstileMiddleware; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "dispatchCronTick", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkFVI3H6RG_cjs.dispatchCronTick; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "mountPlugin", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkFVI3H6RG_cjs.mountPlugin; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "registerPluginRoutes", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkFVI3H6RG_cjs.registerPluginRoutes; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "registerPlugins", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkFVI3H6RG_cjs.registerPlugins; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "verifyTurnstile", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkFVI3H6RG_cjs.verifyTurnstile; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "wireRegisteredPlugins", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkFVI3H6RG_cjs.wireRegisteredPlugins; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "CAPABILITY_RENAMES", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkPTTFLUEX_cjs.CAPABILITY_RENAMES; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "FIXED_CAPABILITIES", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkPTTFLUEX_cjs.FIXED_CAPABILITIES; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "SonicCapabilityError", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkPTTFLUEX_cjs.SonicCapabilityError; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "applySchemaDefaults", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkPTTFLUEX_cjs.applySchemaDefaults; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "assertCapability", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkPTTFLUEX_cjs.assertCapability; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "createCapabilityContext", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkPTTFLUEX_cjs.createCapabilityContext; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "createServiceSingleton", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkPTTFLUEX_cjs.createServiceSingleton; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "definePlugin", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkPTTFLUEX_cjs.definePlugin; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "hasCapability", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkPTTFLUEX_cjs.hasCapability; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "isDefinedPlugin", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkPTTFLUEX_cjs.isDefinedPlugin; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "isKnownCapability", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkPTTFLUEX_cjs.isKnownCapability; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "normalizeCapabilities", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkPTTFLUEX_cjs.normalizeCapabilities; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "normalizeCapability", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkPTTFLUEX_cjs.normalizeCapability; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "parseConfigSchema", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkPTTFLUEX_cjs.parseConfigSchema; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "parseFormDataToSettings", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkPTTFLUEX_cjs.parseFormDataToSettings; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "renderSchemaFields", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkPTTFLUEX_cjs.renderSchemaFields; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "validateCapabilities", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkPTTFLUEX_cjs.validateCapabilities; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "HOOK_EVENT_NAMES", {
|
|
162
162
|
enumerable: true,
|
package/dist/plugins.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { B as BooleanField, C as CAPABILITY_RENAMES, a as Capability, b as CapabilityContext, c as CapabilityProviders, d as CollectedCron, e as ConfigSchema, f as ConfigSchemaField, g as CreateScheduledHandlerOptions, h as CronContext, i as CronDeclaration, j as CronDispatchResult, k as CronTickEvent, l as CronablePlugin, D as DbCapability, m as DeclarativeHooks, n as DefinePluginInput, o as DefinedPlugin, p as DefinedPluginContext, E as ExecutionContextLike, F as FIXED_CAPABILITIES, q as FixedCapability, H as HookSystemImpl, r as HookUtils, M as MountResult, s as MountedRoute, N as NumberField, P as ParsedField, t as PluginBootContext, u as PluginCapabilityContext, v as PluginManager, w as PluginRegisterMustBeSyncError, x as PluginRegistryImpl, y as PluginValidator, z as PluginsRegistry, R as RegisterPluginRoutesOptions, A as RegisterPluginsError, G as RegisterPluginsErrorReason, I as RegisterPluginsHostContext, J as RegisterablePlugin, K as RegistryEntry, S as ScheduledControllerLike, L as ScopedHookSystem, O as SelectField, Q as SettingsFor, T as SonicCapabilityError, U as StringField, W as WirableHook, V as WirablePlugin, X as WireResult, Y as applySchemaDefaults, Z as assertCapability, _ as collectCronSchedules, $ as collectCrons, a0 as createCapabilityContext, a1 as createPluginWirer, a2 as createScheduledHandler, a3 as definePlugin, a4 as dispatchCronTick, a5 as getHookSystem, a6 as getTypedHooks, a7 as hasCapability, a8 as hasHookSystem, a9 as isDefinedPlugin, aa as isKnownCapability, ab as mountPlugin, ac as normalizeCapabilities, ad as normalizeCapability, ae as parseConfigSchema, af as parseFormDataToSettings, ag as registerPluginRoutes, ah as registerPlugins, ai as renderSchemaFields, aj as resetHookSystem, ak as setHookSystem, al as validateCapabilities, am as wireRegisteredPlugins } from './define-plugin-
|
|
2
|
-
export { A as AuthMagicLinkConsumedPayload, a as AuthOtpVerifiedPayload, b as AuthPasswordResetCompletedPayload, c as AuthPasswordResetRequestedPayload, d as AuthRegistrationCompletedPayload, C as ContentEventPayload, H as HOOK_EVENT_NAMES, e as HookActor, f as HookEventName, g as HookEventPayloads, h as HookPayload, i as HookSystemLike, L as LEGACY_EVENT_ALIASES, j as LegacyHookEventName, k as LegacyHookEventPayloads, P as PayloadForEvent, S as SubscribableEvent, T as TypedHookContext, l as TypedHookHandler, m as TypedHooks, n as createTypedHooks, o as isKnownHookEvent, p as isLegacyHookEvent, r as resolveHookEventName } from './types-
|
|
1
|
+
export { B as BooleanField, C as CAPABILITY_RENAMES, a as Capability, b as CapabilityContext, c as CapabilityProviders, d as CollectedCron, e as ConfigSchema, f as ConfigSchemaField, g as CreateScheduledHandlerOptions, h as CronContext, i as CronDeclaration, j as CronDispatchResult, k as CronTickEvent, l as CronablePlugin, D as DbCapability, m as DeclarativeHooks, n as DefinePluginInput, o as DefinedPlugin, p as DefinedPluginContext, E as ExecutionContextLike, F as FIXED_CAPABILITIES, q as FixedCapability, H as HookSystemImpl, r as HookUtils, M as MountResult, s as MountedRoute, N as NumberField, P as ParsedField, t as PluginBootContext, u as PluginCapabilityContext, v as PluginManager, w as PluginRegisterMustBeSyncError, x as PluginRegistryImpl, y as PluginValidator, z as PluginsRegistry, R as RegisterPluginRoutesOptions, A as RegisterPluginsError, G as RegisterPluginsErrorReason, I as RegisterPluginsHostContext, J as RegisterablePlugin, K as RegistryEntry, S as ScheduledControllerLike, L as ScopedHookSystem, O as SelectField, Q as SettingsFor, T as SonicCapabilityError, U as StringField, W as WirableHook, V as WirablePlugin, X as WireResult, Y as applySchemaDefaults, Z as assertCapability, _ as collectCronSchedules, $ as collectCrons, a0 as createCapabilityContext, a1 as createPluginWirer, a2 as createScheduledHandler, a3 as definePlugin, a4 as dispatchCronTick, a5 as getHookSystem, a6 as getTypedHooks, a7 as hasCapability, a8 as hasHookSystem, a9 as isDefinedPlugin, aa as isKnownCapability, ab as mountPlugin, ac as normalizeCapabilities, ad as normalizeCapability, ae as parseConfigSchema, af as parseFormDataToSettings, ag as registerPluginRoutes, ah as registerPlugins, ai as renderSchemaFields, aj as resetHookSystem, ak as setHookSystem, al as validateCapabilities, am as wireRegisteredPlugins } from './define-plugin-DsKiGu1q.cjs';
|
|
2
|
+
export { A as AuthMagicLinkConsumedPayload, a as AuthOtpVerifiedPayload, b as AuthPasswordResetCompletedPayload, c as AuthPasswordResetRequestedPayload, d as AuthRegistrationCompletedPayload, C as ContentEventPayload, H as HOOK_EVENT_NAMES, e as HookActor, f as HookEventName, g as HookEventPayloads, h as HookPayload, i as HookSystemLike, L as LEGACY_EVENT_ALIASES, j as LegacyHookEventName, k as LegacyHookEventPayloads, P as PayloadForEvent, S as SubscribableEvent, T as TypedHookContext, l as TypedHookHandler, m as TypedHooks, n as createTypedHooks, o as isKnownHookEvent, p as isLegacyHookEvent, r as resolveHookEventName } from './types-DT7XN5TX.cjs';
|
|
3
3
|
import { D1Database } from '@cloudflare/workers-types';
|
|
4
4
|
import * as hono from 'hono';
|
|
5
5
|
import { Context, Next } from 'hono';
|
package/dist/plugins.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { B as BooleanField, C as CAPABILITY_RENAMES, a as Capability, b as CapabilityContext, c as CapabilityProviders, d as CollectedCron, e as ConfigSchema, f as ConfigSchemaField, g as CreateScheduledHandlerOptions, h as CronContext, i as CronDeclaration, j as CronDispatchResult, k as CronTickEvent, l as CronablePlugin, D as DbCapability, m as DeclarativeHooks, n as DefinePluginInput, o as DefinedPlugin, p as DefinedPluginContext, E as ExecutionContextLike, F as FIXED_CAPABILITIES, q as FixedCapability, H as HookSystemImpl, r as HookUtils, M as MountResult, s as MountedRoute, N as NumberField, P as ParsedField, t as PluginBootContext, u as PluginCapabilityContext, v as PluginManager, w as PluginRegisterMustBeSyncError, x as PluginRegistryImpl, y as PluginValidator, z as PluginsRegistry, R as RegisterPluginRoutesOptions, A as RegisterPluginsError, G as RegisterPluginsErrorReason, I as RegisterPluginsHostContext, J as RegisterablePlugin, K as RegistryEntry, S as ScheduledControllerLike, L as ScopedHookSystem, O as SelectField, Q as SettingsFor, T as SonicCapabilityError, U as StringField, W as WirableHook, V as WirablePlugin, X as WireResult, Y as applySchemaDefaults, Z as assertCapability, _ as collectCronSchedules, $ as collectCrons, a0 as createCapabilityContext, a1 as createPluginWirer, a2 as createScheduledHandler, a3 as definePlugin, a4 as dispatchCronTick, a5 as getHookSystem, a6 as getTypedHooks, a7 as hasCapability, a8 as hasHookSystem, a9 as isDefinedPlugin, aa as isKnownCapability, ab as mountPlugin, ac as normalizeCapabilities, ad as normalizeCapability, ae as parseConfigSchema, af as parseFormDataToSettings, ag as registerPluginRoutes, ah as registerPlugins, ai as renderSchemaFields, aj as resetHookSystem, ak as setHookSystem, al as validateCapabilities, am as wireRegisteredPlugins } from './define-plugin-
|
|
2
|
-
export { A as AuthMagicLinkConsumedPayload, a as AuthOtpVerifiedPayload, b as AuthPasswordResetCompletedPayload, c as AuthPasswordResetRequestedPayload, d as AuthRegistrationCompletedPayload, C as ContentEventPayload, H as HOOK_EVENT_NAMES, e as HookActor, f as HookEventName, g as HookEventPayloads, h as HookPayload, i as HookSystemLike, L as LEGACY_EVENT_ALIASES, j as LegacyHookEventName, k as LegacyHookEventPayloads, P as PayloadForEvent, S as SubscribableEvent, T as TypedHookContext, l as TypedHookHandler, m as TypedHooks, n as createTypedHooks, o as isKnownHookEvent, p as isLegacyHookEvent, r as resolveHookEventName } from './types-
|
|
1
|
+
export { B as BooleanField, C as CAPABILITY_RENAMES, a as Capability, b as CapabilityContext, c as CapabilityProviders, d as CollectedCron, e as ConfigSchema, f as ConfigSchemaField, g as CreateScheduledHandlerOptions, h as CronContext, i as CronDeclaration, j as CronDispatchResult, k as CronTickEvent, l as CronablePlugin, D as DbCapability, m as DeclarativeHooks, n as DefinePluginInput, o as DefinedPlugin, p as DefinedPluginContext, E as ExecutionContextLike, F as FIXED_CAPABILITIES, q as FixedCapability, H as HookSystemImpl, r as HookUtils, M as MountResult, s as MountedRoute, N as NumberField, P as ParsedField, t as PluginBootContext, u as PluginCapabilityContext, v as PluginManager, w as PluginRegisterMustBeSyncError, x as PluginRegistryImpl, y as PluginValidator, z as PluginsRegistry, R as RegisterPluginRoutesOptions, A as RegisterPluginsError, G as RegisterPluginsErrorReason, I as RegisterPluginsHostContext, J as RegisterablePlugin, K as RegistryEntry, S as ScheduledControllerLike, L as ScopedHookSystem, O as SelectField, Q as SettingsFor, T as SonicCapabilityError, U as StringField, W as WirableHook, V as WirablePlugin, X as WireResult, Y as applySchemaDefaults, Z as assertCapability, _ as collectCronSchedules, $ as collectCrons, a0 as createCapabilityContext, a1 as createPluginWirer, a2 as createScheduledHandler, a3 as definePlugin, a4 as dispatchCronTick, a5 as getHookSystem, a6 as getTypedHooks, a7 as hasCapability, a8 as hasHookSystem, a9 as isDefinedPlugin, aa as isKnownCapability, ab as mountPlugin, ac as normalizeCapabilities, ad as normalizeCapability, ae as parseConfigSchema, af as parseFormDataToSettings, ag as registerPluginRoutes, ah as registerPlugins, ai as renderSchemaFields, aj as resetHookSystem, ak as setHookSystem, al as validateCapabilities, am as wireRegisteredPlugins } from './define-plugin-BYIey6sp.js';
|
|
2
|
+
export { A as AuthMagicLinkConsumedPayload, a as AuthOtpVerifiedPayload, b as AuthPasswordResetCompletedPayload, c as AuthPasswordResetRequestedPayload, d as AuthRegistrationCompletedPayload, C as ContentEventPayload, H as HOOK_EVENT_NAMES, e as HookActor, f as HookEventName, g as HookEventPayloads, h as HookPayload, i as HookSystemLike, L as LEGACY_EVENT_ALIASES, j as LegacyHookEventName, k as LegacyHookEventPayloads, P as PayloadForEvent, S as SubscribableEvent, T as TypedHookContext, l as TypedHookHandler, m as TypedHooks, n as createTypedHooks, o as isKnownHookEvent, p as isLegacyHookEvent, r as resolveHookEventName } from './types-DT7XN5TX.js';
|
|
3
3
|
import { D1Database } from '@cloudflare/workers-types';
|
|
4
4
|
import * as hono from 'hono';
|
|
5
5
|
import { Context, Next } from 'hono';
|
package/dist/plugins.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { HookSystemImpl, HookUtils, PluginManager, PluginRegisterMustBeSyncError, PluginRegistryImpl, PluginValidator, RegisterPluginsError, ScopedHookSystem, TurnstileService, collectCronSchedules, collectCrons, createPluginWirer, createScheduledHandler, createTurnstileMiddleware, dispatchCronTick, mountPlugin, registerPluginRoutes, registerPlugins, verifyTurnstile, wireRegisteredPlugins } from './chunk-
|
|
2
|
-
export { CAPABILITY_RENAMES, FIXED_CAPABILITIES, SonicCapabilityError, applySchemaDefaults, assertCapability, createCapabilityContext, createServiceSingleton, definePlugin, hasCapability, isDefinedPlugin, isKnownCapability, normalizeCapabilities, normalizeCapability, parseConfigSchema, parseFormDataToSettings, renderSchemaFields, validateCapabilities } from './chunk-
|
|
1
|
+
export { HookSystemImpl, HookUtils, PluginManager, PluginRegisterMustBeSyncError, PluginRegistryImpl, PluginValidator, RegisterPluginsError, ScopedHookSystem, TurnstileService, collectCronSchedules, collectCrons, createPluginWirer, createScheduledHandler, createTurnstileMiddleware, dispatchCronTick, mountPlugin, registerPluginRoutes, registerPlugins, verifyTurnstile, wireRegisteredPlugins } from './chunk-75WXXLAU.js';
|
|
2
|
+
export { CAPABILITY_RENAMES, FIXED_CAPABILITIES, SonicCapabilityError, applySchemaDefaults, assertCapability, createCapabilityContext, createServiceSingleton, definePlugin, hasCapability, isDefinedPlugin, isKnownCapability, normalizeCapabilities, normalizeCapability, parseConfigSchema, parseFormDataToSettings, renderSchemaFields, validateCapabilities } from './chunk-JRLADH5B.js';
|
|
3
3
|
export { HOOK_EVENT_NAMES, LEGACY_EVENT_ALIASES, createTypedHooks, getHookSystem, getTypedHooks, hasHookSystem, isKnownHookEvent, isLegacyHookEvent, resetHookSystem, resolveHookEventName, setHookSystem } from './chunk-RNZFGN4R.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-CE6POA7A.js';
|
|
5
5
|
import './chunk-TQABQWOP.js';
|
|
6
6
|
import './chunk-QXOZI5Q2.js';
|
|
7
7
|
import './chunk-V4OQ3NZ2.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"rbac-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"rbac-4QLDXIDF.js"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkW36OZTJ5_cjs = require('./chunk-W36OZTJ5.cjs');
|
|
4
|
+
require('./chunk-JEQ7FLOD.cjs');
|
|
5
|
+
require('./chunk-IGJUBJBW.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "RbacService", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkW36OZTJ5_cjs.RbacService; }
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=rbac-ESTOCVT2.cjs.map
|
|
14
|
+
//# sourceMappingURL=rbac-ESTOCVT2.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"rbac-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"rbac-ESTOCVT2.cjs"}
|