@sonicjs-cms/core 3.0.0-beta.24 → 3.0.0-beta.26
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/bin/db-reset.js +39 -22
- package/dist/admin-documents-form.template-JWV5GITD.js +6 -0
- package/dist/{admin-documents-form.template-55V2ZGWT.js.map → admin-documents-form.template-JWV5GITD.js.map} +1 -1
- package/dist/admin-documents-form.template-UWKGVAMW.cjs +19 -0
- package/dist/{admin-layout-catalyst.template-6UQGLCKI.js.map → admin-documents-form.template-UWKGVAMW.cjs.map} +1 -1
- package/dist/admin-layout-catalyst.template-MOQ3BBXA.cjs +21 -0
- package/dist/{admin-layout-catalyst.template-3XZXDGF7.cjs.map → admin-layout-catalyst.template-MOQ3BBXA.cjs.map} +1 -1
- package/dist/admin-layout-catalyst.template-WCYMQVTZ.js +7 -0
- package/dist/{admin-documents-form.template-YNAVMJCV.cjs.map → admin-layout-catalyst.template-WCYMQVTZ.js.map} +1 -1
- package/dist/{app-01M0dIwt.d.ts → app-BP5IlK94.d.ts} +7 -7
- package/dist/{app-aj39TGHB.d.cts → app-fdq4K3vw.d.cts} +7 -7
- package/dist/catalog-56DR6OXI.cjs +41 -0
- package/dist/catalog-56DR6OXI.cjs.map +1 -0
- package/dist/catalog-6MB37KY7.js +4 -0
- package/dist/catalog-6MB37KY7.js.map +1 -0
- package/dist/{chunk-QCJHCSOK.cjs → chunk-4DHPR7KR.cjs} +77 -17
- package/dist/chunk-4DHPR7KR.cjs.map +1 -0
- package/dist/{chunk-UIHIXTIS.js → chunk-5YSFQO7X.js} +40 -13
- package/dist/chunk-5YSFQO7X.js.map +1 -0
- package/dist/{chunk-GMMCCIQO.cjs → chunk-6UAI4SGN.cjs} +3 -3
- package/dist/{chunk-GMMCCIQO.cjs.map → chunk-6UAI4SGN.cjs.map} +1 -1
- package/dist/{chunk-2XAQTPAE.js → chunk-6X22VFEV.js} +8 -2
- package/dist/chunk-6X22VFEV.js.map +1 -0
- package/dist/{chunk-URIBTX27.js → chunk-73RTFFMX.js} +3 -3
- package/dist/{chunk-URIBTX27.js.map → chunk-73RTFFMX.js.map} +1 -1
- package/dist/{chunk-QJUJNTIU.cjs → chunk-A22RBHO7.cjs} +43 -12
- package/dist/chunk-A22RBHO7.cjs.map +1 -0
- package/dist/{chunk-QZGABF2M.js → chunk-AMP4BSJE.js} +18 -7
- package/dist/chunk-AMP4BSJE.js.map +1 -0
- package/dist/{chunk-37V3RET3.cjs → chunk-BRKXMRMB.cjs} +99 -98
- package/dist/chunk-BRKXMRMB.cjs.map +1 -0
- package/dist/{chunk-36Z3AKX3.cjs → chunk-C5LDQ3SH.cjs} +8 -2
- package/dist/chunk-C5LDQ3SH.cjs.map +1 -0
- package/dist/{chunk-BBEKHLTW.cjs → chunk-CN3T3TDI.cjs} +9 -9
- package/dist/{chunk-BBEKHLTW.cjs.map → chunk-CN3T3TDI.cjs.map} +1 -1
- package/dist/{chunk-BHND5PEV.js → chunk-E3TQG7AA.js} +3 -3
- package/dist/{chunk-BHND5PEV.js.map → chunk-E3TQG7AA.js.map} +1 -1
- package/dist/{chunk-FHPEM77Y.js → chunk-EEA476CJ.js} +88 -83
- package/dist/chunk-EEA476CJ.js.map +1 -0
- package/dist/chunk-F6BTBE4S.js +119 -0
- package/dist/chunk-F6BTBE4S.js.map +1 -0
- package/dist/chunk-FZGIU5AZ.cjs +128 -0
- package/dist/chunk-FZGIU5AZ.cjs.map +1 -0
- package/dist/{chunk-BJROXF4N.js → chunk-HSDJDWLV.js} +19 -4
- package/dist/chunk-HSDJDWLV.js.map +1 -0
- package/dist/{chunk-VGEZNFWH.js → chunk-JD7BZU3A.js} +5 -4
- package/dist/chunk-JD7BZU3A.js.map +1 -0
- package/dist/{chunk-SOZUG52O.js → chunk-JG5J434C.js} +3 -3
- package/dist/{chunk-SOZUG52O.js.map → chunk-JG5J434C.js.map} +1 -1
- package/dist/{chunk-BP52BFIV.cjs → chunk-KWQNB6UM.cjs} +6 -5
- package/dist/chunk-KWQNB6UM.cjs.map +1 -0
- package/dist/{chunk-UYJQDDEE.cjs → chunk-MI2YXCK4.cjs} +14 -8
- package/dist/chunk-MI2YXCK4.cjs.map +1 -0
- package/dist/{chunk-VC5XVPLM.js → chunk-OJFIQGZB.js} +512 -148
- package/dist/chunk-OJFIQGZB.js.map +1 -0
- package/dist/{chunk-LTZ5WYOK.cjs → chunk-OLEOKHDX.cjs} +25 -2
- package/dist/chunk-OLEOKHDX.cjs.map +1 -0
- package/dist/{chunk-E66UVONV.cjs → chunk-OUBUS74I.cjs} +24 -9
- package/dist/chunk-OUBUS74I.cjs.map +1 -0
- package/dist/{chunk-A2SN3RVL.cjs → chunk-PAS7GZBS.cjs} +40 -13
- package/dist/chunk-PAS7GZBS.cjs.map +1 -0
- package/dist/{chunk-RJ2O5IIE.js → chunk-RVOX2WH2.js} +74 -18
- package/dist/chunk-RVOX2WH2.js.map +1 -0
- package/dist/{chunk-3TMTYJAJ.js → chunk-RXLI3ADU.js} +25 -2
- package/dist/chunk-RXLI3ADU.js.map +1 -0
- package/dist/{chunk-I767LVN7.cjs → chunk-S2QN4LFD.cjs} +881 -515
- package/dist/chunk-S2QN4LFD.cjs.map +1 -0
- package/dist/{chunk-IXUHXTHW.cjs → chunk-SFGYZUWU.cjs} +18 -7
- package/dist/chunk-SFGYZUWU.cjs.map +1 -0
- package/dist/{chunk-THFZSDIU.js → chunk-SXC4HPK6.js} +14 -8
- package/dist/chunk-SXC4HPK6.js.map +1 -0
- package/dist/{chunk-JMJM7DMM.cjs → chunk-TT3TQSCZ.cjs} +5 -5
- package/dist/{chunk-JMJM7DMM.cjs.map → chunk-TT3TQSCZ.cjs.map} +1 -1
- package/dist/{chunk-LNI3FYSI.js → chunk-UB5QSRO7.js} +9 -14
- package/dist/chunk-UB5QSRO7.js.map +1 -0
- package/dist/{chunk-VYQVDL2M.js → chunk-UKIDWRA3.js} +36 -5
- package/dist/chunk-UKIDWRA3.js.map +1 -0
- package/dist/{chunk-KKNEYIZJ.cjs → chunk-XZUEGFXE.cjs} +9 -14
- package/dist/chunk-XZUEGFXE.cjs.map +1 -0
- package/dist/{collection-config-BTzAvKt2.d.cts → collection-config-U2dydD_O.d.cts} +14 -0
- package/dist/{collection-config-BTzAvKt2.d.ts → collection-config-U2dydD_O.d.ts} +14 -0
- package/dist/config-DOAWXZBG.js +6 -0
- package/dist/{config-6FB2BXMP.js.map → config-DOAWXZBG.js.map} +1 -1
- package/dist/{config-OCH7S4WK.cjs → config-VLU73ZW7.cjs} +5 -5
- package/dist/{config-OCH7S4WK.cjs.map → config-VLU73ZW7.cjs.map} +1 -1
- package/dist/{define-plugin-D_6D9vVZ.d.ts → define-plugin-DDe8a_bh.d.ts} +3 -0
- package/dist/{define-plugin-DMcvEy_C.d.cts → define-plugin-rjXmGOgu.d.cts} +3 -0
- package/dist/index.cjs +698 -392
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -12
- package/dist/index.d.ts +27 -12
- package/dist/index.js +340 -35
- package/dist/index.js.map +1 -1
- package/dist/middleware.cjs +47 -47
- package/dist/middleware.d.cts +10 -10
- package/dist/middleware.d.ts +10 -10
- package/dist/middleware.js +6 -6
- package/dist/migrations-6M6772UC.cjs +13 -0
- package/dist/{migrations-FGXZPKDC.cjs.map → migrations-6M6772UC.cjs.map} +1 -1
- package/dist/migrations-GZ2HIB4I.js +4 -0
- package/dist/{migrations-Z6D27NAW.js.map → migrations-GZ2HIB4I.js.map} +1 -1
- package/dist/{plugin-bootstrap-BHWQ2df8.d.cts → plugin-bootstrap-CfVILQeP.d.ts} +1 -1
- package/dist/{plugin-bootstrap-Bj4fxX1q.d.ts → plugin-bootstrap-RY5pkoOT.d.cts} +1 -1
- package/dist/plugins.cjs +40 -40
- package/dist/plugins.d.cts +1 -1
- package/dist/plugins.d.ts +1 -1
- package/dist/plugins.js +3 -3
- package/dist/rbac-TFUOYIVN.cjs +14 -0
- package/dist/{rbac-7QZ4JZ2E.cjs.map → rbac-TFUOYIVN.cjs.map} +1 -1
- package/dist/rbac-XSNP76CV.js +5 -0
- package/dist/{rbac-Y43IEQOP.js.map → rbac-XSNP76CV.js.map} +1 -1
- package/dist/routes.cjs +33 -32
- package/dist/routes.d.cts +3 -5
- package/dist/routes.d.ts +3 -5
- package/dist/routes.js +13 -12
- package/dist/services.cjs +30 -30
- package/dist/services.d.cts +10 -3
- package/dist/services.d.ts +10 -3
- package/dist/services.js +3 -3
- package/dist/{telemetry-Cku1ax74.d.cts → telemetry-QFlTv9f8.d.cts} +1 -1
- package/dist/{telemetry-Cku1ax74.d.ts → telemetry-QFlTv9f8.d.ts} +1 -1
- package/dist/templates.cjs +17 -17
- package/dist/templates.js +3 -3
- package/dist/types.d.cts +2 -2
- package/dist/types.d.ts +2 -2
- package/dist/utils.cjs +12 -12
- package/dist/utils.d.cts +2 -2
- package/dist/utils.d.ts +2 -2
- package/dist/utils.js +2 -2
- package/package.json +7 -12
- package/dist/admin-documents-form.template-55V2ZGWT.js +0 -6
- package/dist/admin-documents-form.template-YNAVMJCV.cjs +0 -19
- package/dist/admin-layout-catalyst.template-3XZXDGF7.cjs +0 -21
- package/dist/admin-layout-catalyst.template-6UQGLCKI.js +0 -7
- package/dist/chunk-2XAQTPAE.js.map +0 -1
- package/dist/chunk-36Z3AKX3.cjs.map +0 -1
- package/dist/chunk-37V3RET3.cjs.map +0 -1
- package/dist/chunk-3TMTYJAJ.js.map +0 -1
- package/dist/chunk-A2SN3RVL.cjs.map +0 -1
- package/dist/chunk-BJROXF4N.js.map +0 -1
- package/dist/chunk-BP52BFIV.cjs.map +0 -1
- package/dist/chunk-E66UVONV.cjs.map +0 -1
- package/dist/chunk-FHPEM77Y.js.map +0 -1
- package/dist/chunk-I767LVN7.cjs.map +0 -1
- package/dist/chunk-IXUHXTHW.cjs.map +0 -1
- package/dist/chunk-KKNEYIZJ.cjs.map +0 -1
- package/dist/chunk-LNI3FYSI.js.map +0 -1
- package/dist/chunk-LTZ5WYOK.cjs.map +0 -1
- package/dist/chunk-QCJHCSOK.cjs.map +0 -1
- package/dist/chunk-QJUJNTIU.cjs.map +0 -1
- package/dist/chunk-QZGABF2M.js.map +0 -1
- package/dist/chunk-RJ2O5IIE.js.map +0 -1
- package/dist/chunk-THFZSDIU.js.map +0 -1
- package/dist/chunk-UIHIXTIS.js.map +0 -1
- package/dist/chunk-UYJQDDEE.cjs.map +0 -1
- package/dist/chunk-VC5XVPLM.js.map +0 -1
- package/dist/chunk-VGEZNFWH.js.map +0 -1
- package/dist/chunk-VYQVDL2M.js.map +0 -1
- package/dist/config-6FB2BXMP.js +0 -6
- package/dist/migrations-FGXZPKDC.cjs +0 -13
- package/dist/migrations-Z6D27NAW.js +0 -4
- package/dist/rbac-7QZ4JZ2E.cjs +0 -14
- package/dist/rbac-Y43IEQOP.js +0 -5
package/dist/middleware.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkBRKXMRMB_cjs = require('./chunk-BRKXMRMB.cjs');
|
|
4
|
+
require('./chunk-OLEOKHDX.cjs');
|
|
5
5
|
require('./chunk-KIGVVO6N.cjs');
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
6
|
+
var chunk4DHPR7KR_cjs = require('./chunk-4DHPR7KR.cjs');
|
|
7
|
+
require('./chunk-PAS7GZBS.cjs');
|
|
8
|
+
require('./chunk-MI2YXCK4.cjs');
|
|
9
9
|
require('./chunk-J6JTWD2A.cjs');
|
|
10
10
|
require('./chunk-RCQ2HIQD.cjs');
|
|
11
11
|
require('./chunk-P3XDZL6Q.cjs');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-XZUEGFXE.cjs');
|
|
13
13
|
require('./chunk-MNWKYY5E.cjs');
|
|
14
14
|
require('./chunk-IGJUBJBW.cjs');
|
|
15
15
|
|
|
@@ -17,119 +17,119 @@ require('./chunk-IGJUBJBW.cjs');
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "AuthManager", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkBRKXMRMB_cjs.AuthManager; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "PermissionManager", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkBRKXMRMB_cjs.PermissionManager; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "bootstrapMiddleware", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkBRKXMRMB_cjs.bootstrapMiddleware; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "cacheHeaders", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkBRKXMRMB_cjs.cacheHeaders; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "compressionMiddleware", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkBRKXMRMB_cjs.compressionMiddleware; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "csrfProtection", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkBRKXMRMB_cjs.csrfProtection; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "detailedLoggingMiddleware", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkBRKXMRMB_cjs.detailedLoggingMiddleware; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "generateCsrfToken", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
49
|
-
});
|
|
50
|
-
Object.defineProperty(exports, "getActivePlugins", {
|
|
51
|
-
enumerable: true,
|
|
52
|
-
get: function () { return chunk37V3RET3_cjs.getActivePlugins; }
|
|
48
|
+
get: function () { return chunkBRKXMRMB_cjs.generateCsrfToken; }
|
|
53
49
|
});
|
|
54
50
|
Object.defineProperty(exports, "getJwtExpirySeconds", {
|
|
55
51
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkBRKXMRMB_cjs.getJwtExpirySeconds; }
|
|
57
53
|
});
|
|
58
54
|
Object.defineProperty(exports, "getJwtExpirySecondsFromDb", {
|
|
59
55
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkBRKXMRMB_cjs.getJwtExpirySecondsFromDb; }
|
|
61
57
|
});
|
|
62
58
|
Object.defineProperty(exports, "getJwtRefreshGraceSecondsFromDb", {
|
|
63
59
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
65
|
-
});
|
|
66
|
-
Object.defineProperty(exports, "isPluginActive", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
get: function () { return chunk37V3RET3_cjs.isPluginActive; }
|
|
60
|
+
get: function () { return chunkBRKXMRMB_cjs.getJwtRefreshGraceSecondsFromDb; }
|
|
69
61
|
});
|
|
70
62
|
Object.defineProperty(exports, "logActivity", {
|
|
71
63
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkBRKXMRMB_cjs.logActivity; }
|
|
73
65
|
});
|
|
74
66
|
Object.defineProperty(exports, "loggingMiddleware", {
|
|
75
67
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkBRKXMRMB_cjs.loggingMiddleware; }
|
|
77
69
|
});
|
|
78
70
|
Object.defineProperty(exports, "metricsMiddleware", {
|
|
79
71
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkBRKXMRMB_cjs.metricsMiddleware; }
|
|
81
73
|
});
|
|
82
74
|
Object.defineProperty(exports, "optionalAuth", {
|
|
83
75
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkBRKXMRMB_cjs.optionalAuth; }
|
|
85
77
|
});
|
|
86
78
|
Object.defineProperty(exports, "performanceLoggingMiddleware", {
|
|
87
79
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkBRKXMRMB_cjs.performanceLoggingMiddleware; }
|
|
89
81
|
});
|
|
90
82
|
Object.defineProperty(exports, "rateLimit", {
|
|
91
83
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
93
|
-
});
|
|
94
|
-
Object.defineProperty(exports, "requireActivePlugin", {
|
|
95
|
-
enumerable: true,
|
|
96
|
-
get: function () { return chunk37V3RET3_cjs.requireActivePlugin; }
|
|
97
|
-
});
|
|
98
|
-
Object.defineProperty(exports, "requireActivePlugins", {
|
|
99
|
-
enumerable: true,
|
|
100
|
-
get: function () { return chunk37V3RET3_cjs.requireActivePlugins; }
|
|
84
|
+
get: function () { return chunkBRKXMRMB_cjs.rateLimit; }
|
|
101
85
|
});
|
|
102
86
|
Object.defineProperty(exports, "requireAnyPermission", {
|
|
103
87
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkBRKXMRMB_cjs.requireAnyPermission; }
|
|
105
89
|
});
|
|
106
90
|
Object.defineProperty(exports, "requireAuth", {
|
|
107
91
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkBRKXMRMB_cjs.requireAuth; }
|
|
109
93
|
});
|
|
110
94
|
Object.defineProperty(exports, "requirePermission", {
|
|
111
95
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkBRKXMRMB_cjs.requirePermission; }
|
|
113
97
|
});
|
|
114
98
|
Object.defineProperty(exports, "requireRole", {
|
|
115
99
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkBRKXMRMB_cjs.requireRole; }
|
|
117
101
|
});
|
|
118
102
|
Object.defineProperty(exports, "securityHeaders", {
|
|
119
103
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkBRKXMRMB_cjs.securityHeadersMiddleware; }
|
|
121
105
|
});
|
|
122
106
|
Object.defineProperty(exports, "securityLoggingMiddleware", {
|
|
123
107
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkBRKXMRMB_cjs.securityLoggingMiddleware; }
|
|
125
109
|
});
|
|
126
110
|
Object.defineProperty(exports, "validateCsrfToken", {
|
|
127
111
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkBRKXMRMB_cjs.validateCsrfToken; }
|
|
129
113
|
});
|
|
130
114
|
Object.defineProperty(exports, "verifySecurityConfig", {
|
|
131
115
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkBRKXMRMB_cjs.verifySecurityConfig; }
|
|
117
|
+
});
|
|
118
|
+
Object.defineProperty(exports, "getActivePlugins", {
|
|
119
|
+
enumerable: true,
|
|
120
|
+
get: function () { return chunk4DHPR7KR_cjs.getActivePlugins; }
|
|
121
|
+
});
|
|
122
|
+
Object.defineProperty(exports, "isPluginActive", {
|
|
123
|
+
enumerable: true,
|
|
124
|
+
get: function () { return chunk4DHPR7KR_cjs.isPluginActive; }
|
|
125
|
+
});
|
|
126
|
+
Object.defineProperty(exports, "requireActivePlugin", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function () { return chunk4DHPR7KR_cjs.requireActivePlugin; }
|
|
129
|
+
});
|
|
130
|
+
Object.defineProperty(exports, "requireActivePlugins", {
|
|
131
|
+
enumerable: true,
|
|
132
|
+
get: function () { return chunk4DHPR7KR_cjs.requireActivePlugins; }
|
|
133
133
|
});
|
|
134
134
|
//# sourceMappingURL=middleware.cjs.map
|
|
135
135
|
//# sourceMappingURL=middleware.cjs.map
|
package/dist/middleware.d.cts
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
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-fdq4K3vw.cjs';
|
|
4
4
|
import { D1Database as D1Database$1 } from '@cloudflare/workers-types';
|
|
5
|
-
import 'better-auth/client';
|
|
6
|
-
import 'better-auth/plugins/email-otp';
|
|
7
5
|
import 'better-auth';
|
|
8
|
-
import 'better-auth/plugins
|
|
9
|
-
import 'better-call';
|
|
6
|
+
import 'better-auth/plugins';
|
|
10
7
|
import 'zod/v4/core';
|
|
11
8
|
import 'zod';
|
|
9
|
+
import 'better-call';
|
|
12
10
|
import './types-DT7XN5TX.cjs';
|
|
13
11
|
|
|
14
12
|
type Bindings = {
|
|
@@ -28,7 +26,10 @@ declare function verifySecurityConfig(env: Bindings): void;
|
|
|
28
26
|
* Bootstrap middleware that ensures system initialization
|
|
29
27
|
* Runs once per worker instance
|
|
30
28
|
*/
|
|
31
|
-
declare function bootstrapMiddleware(config?: SonicJSConfig
|
|
29
|
+
declare function bootstrapMiddleware(config?: SonicJSConfig, allPlugins?: Array<{
|
|
30
|
+
name?: string;
|
|
31
|
+
id?: string;
|
|
32
|
+
}>): (c: Context<{
|
|
32
33
|
Bindings: Bindings;
|
|
33
34
|
Variables: {
|
|
34
35
|
hookSystem?: unknown;
|
|
@@ -207,10 +208,9 @@ declare const securityHeadersMiddleware: () => (c: Context, next: Next) => Promi
|
|
|
207
208
|
*/
|
|
208
209
|
|
|
209
210
|
/**
|
|
210
|
-
* Check if a plugin is active
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
* @returns Promise<boolean> - True if the plugin is active, false otherwise
|
|
211
|
+
* Check if a plugin is active. Result is cached per isolate to avoid a D1
|
|
212
|
+
* round-trip on every API request. Call invalidatePluginStatusCache() after
|
|
213
|
+
* activate/deactivate operations.
|
|
214
214
|
*/
|
|
215
215
|
declare function isPluginActive(db: D1Database$1, pluginId: string): Promise<boolean>;
|
|
216
216
|
/**
|
package/dist/middleware.d.ts
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
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-BP5IlK94.js';
|
|
4
4
|
import { D1Database as D1Database$1 } from '@cloudflare/workers-types';
|
|
5
|
-
import 'better-auth/client';
|
|
6
|
-
import 'better-auth/plugins/email-otp';
|
|
7
5
|
import 'better-auth';
|
|
8
|
-
import 'better-auth/plugins
|
|
9
|
-
import 'better-call';
|
|
6
|
+
import 'better-auth/plugins';
|
|
10
7
|
import 'zod/v4/core';
|
|
11
8
|
import 'zod';
|
|
9
|
+
import 'better-call';
|
|
12
10
|
import './types-DT7XN5TX.js';
|
|
13
11
|
|
|
14
12
|
type Bindings = {
|
|
@@ -28,7 +26,10 @@ declare function verifySecurityConfig(env: Bindings): void;
|
|
|
28
26
|
* Bootstrap middleware that ensures system initialization
|
|
29
27
|
* Runs once per worker instance
|
|
30
28
|
*/
|
|
31
|
-
declare function bootstrapMiddleware(config?: SonicJSConfig
|
|
29
|
+
declare function bootstrapMiddleware(config?: SonicJSConfig, allPlugins?: Array<{
|
|
30
|
+
name?: string;
|
|
31
|
+
id?: string;
|
|
32
|
+
}>): (c: Context<{
|
|
32
33
|
Bindings: Bindings;
|
|
33
34
|
Variables: {
|
|
34
35
|
hookSystem?: unknown;
|
|
@@ -207,10 +208,9 @@ declare const securityHeadersMiddleware: () => (c: Context, next: Next) => Promi
|
|
|
207
208
|
*/
|
|
208
209
|
|
|
209
210
|
/**
|
|
210
|
-
* Check if a plugin is active
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
* @returns Promise<boolean> - True if the plugin is active, false otherwise
|
|
211
|
+
* Check if a plugin is active. Result is cached per isolate to avoid a D1
|
|
212
|
+
* round-trip on every API request. Call invalidatePluginStatusCache() after
|
|
213
|
+
* activate/deactivate operations.
|
|
214
214
|
*/
|
|
215
215
|
declare function isPluginActive(db: D1Database$1, pluginId: string): Promise<boolean>;
|
|
216
216
|
/**
|
package/dist/middleware.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { AuthManager, PermissionManager, bootstrapMiddleware, cacheHeaders, compressionMiddleware, csrfProtection, detailedLoggingMiddleware, generateCsrfToken,
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { AuthManager, PermissionManager, bootstrapMiddleware, cacheHeaders, compressionMiddleware, csrfProtection, detailedLoggingMiddleware, generateCsrfToken, getJwtExpirySeconds, getJwtExpirySecondsFromDb, getJwtRefreshGraceSecondsFromDb, logActivity, loggingMiddleware, metricsMiddleware, optionalAuth, performanceLoggingMiddleware, rateLimit, requireAnyPermission, requireAuth, requirePermission, requireRole, securityHeadersMiddleware as securityHeaders, securityLoggingMiddleware, validateCsrfToken, verifySecurityConfig } from './chunk-EEA476CJ.js';
|
|
2
|
+
import './chunk-RXLI3ADU.js';
|
|
3
3
|
import './chunk-UWUP2VMT.js';
|
|
4
|
-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
4
|
+
export { getActivePlugins, isPluginActive, requireActivePlugin, requireActivePlugins } from './chunk-RVOX2WH2.js';
|
|
5
|
+
import './chunk-5YSFQO7X.js';
|
|
6
|
+
import './chunk-SXC4HPK6.js';
|
|
7
7
|
import './chunk-RNZFGN4R.js';
|
|
8
8
|
import './chunk-FICTAGD4.js';
|
|
9
9
|
import './chunk-X7ZAEI5S.js';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-UB5QSRO7.js';
|
|
11
11
|
import './chunk-TQABQWOP.js';
|
|
12
12
|
import './chunk-V4OQ3NZ2.js';
|
|
13
13
|
//# sourceMappingURL=middleware.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkPAS7GZBS_cjs = require('./chunk-PAS7GZBS.cjs');
|
|
4
|
+
require('./chunk-IGJUBJBW.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "MigrationService", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkPAS7GZBS_cjs.MigrationService; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=migrations-6M6772UC.cjs.map
|
|
13
|
+
//# sourceMappingURL=migrations-6M6772UC.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-6M6772UC.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-GZ2HIB4I.js"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CollectionConfig } from './collection-config-
|
|
1
|
+
import { C as CollectionConfig } from './collection-config-U2dydD_O.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';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CollectionConfig } from './collection-config-
|
|
1
|
+
import { C as CollectionConfig } from './collection-config-U2dydD_O.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';
|
package/dist/plugins.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkA22RBHO7_cjs = require('./chunk-A22RBHO7.cjs');
|
|
4
|
+
var chunkKWQNB6UM_cjs = require('./chunk-KWQNB6UM.cjs');
|
|
5
5
|
var chunkJ6JTWD2A_cjs = require('./chunk-J6JTWD2A.cjs');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-XZUEGFXE.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 chunkA22RBHO7_cjs.HookSystemImpl; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "HookUtils", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkA22RBHO7_cjs.HookUtils; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "PluginManager", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkA22RBHO7_cjs.PluginManager; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "PluginRegisterMustBeSyncError", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkA22RBHO7_cjs.PluginRegisterMustBeSyncError; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "PluginRegistryImpl", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkA22RBHO7_cjs.PluginRegistryImpl; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "PluginValidator", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkA22RBHO7_cjs.PluginValidator; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "RegisterPluginsError", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkA22RBHO7_cjs.RegisterPluginsError; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "ScopedHookSystem", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkA22RBHO7_cjs.ScopedHookSystem; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "TurnstileService", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkA22RBHO7_cjs.TurnstileService; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "collectCronSchedules", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkA22RBHO7_cjs.collectCronSchedules; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "collectCrons", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkA22RBHO7_cjs.collectCrons; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "createPluginWirer", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkA22RBHO7_cjs.createPluginWirer; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "createScheduledHandler", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkA22RBHO7_cjs.createScheduledHandler; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "createTurnstileMiddleware", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkA22RBHO7_cjs.createTurnstileMiddleware; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "dispatchCronTick", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkA22RBHO7_cjs.dispatchCronTick; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "mountPlugin", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkA22RBHO7_cjs.mountPlugin; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "registerPluginRoutes", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkA22RBHO7_cjs.registerPluginRoutes; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "registerPlugins", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkA22RBHO7_cjs.registerPlugins; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "verifyTurnstile", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkA22RBHO7_cjs.verifyTurnstile; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "wireRegisteredPlugins", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkA22RBHO7_cjs.wireRegisteredPlugins; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "CAPABILITY_RENAMES", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkKWQNB6UM_cjs.CAPABILITY_RENAMES; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "FIXED_CAPABILITIES", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkKWQNB6UM_cjs.FIXED_CAPABILITIES; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "SonicCapabilityError", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkKWQNB6UM_cjs.SonicCapabilityError; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "applySchemaDefaults", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkKWQNB6UM_cjs.applySchemaDefaults; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "assertCapability", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkKWQNB6UM_cjs.assertCapability; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "createCapabilityContext", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkKWQNB6UM_cjs.createCapabilityContext; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "createServiceSingleton", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkKWQNB6UM_cjs.createServiceSingleton; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "definePlugin", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkKWQNB6UM_cjs.definePlugin; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "hasCapability", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkKWQNB6UM_cjs.hasCapability; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "isDefinedPlugin", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkKWQNB6UM_cjs.isDefinedPlugin; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "isKnownCapability", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkKWQNB6UM_cjs.isKnownCapability; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "normalizeCapabilities", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkKWQNB6UM_cjs.normalizeCapabilities; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "normalizeCapability", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkKWQNB6UM_cjs.normalizeCapability; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "parseConfigSchema", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkKWQNB6UM_cjs.parseConfigSchema; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "parseFormDataToSettings", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkKWQNB6UM_cjs.parseFormDataToSettings; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "renderSchemaFields", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkKWQNB6UM_cjs.renderSchemaFields; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "validateCapabilities", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkKWQNB6UM_cjs.validateCapabilities; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "HOOK_EVENT_NAMES", {
|
|
162
162
|
enumerable: true,
|
package/dist/plugins.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-rjXmGOgu.cjs';
|
|
2
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';
|
package/dist/plugins.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-DDe8a_bh.js';
|
|
2
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';
|
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-UKIDWRA3.js';
|
|
2
|
+
export { CAPABILITY_RENAMES, FIXED_CAPABILITIES, SonicCapabilityError, applySchemaDefaults, assertCapability, createCapabilityContext, createServiceSingleton, definePlugin, hasCapability, isDefinedPlugin, isKnownCapability, normalizeCapabilities, normalizeCapability, parseConfigSchema, parseFormDataToSettings, renderSchemaFields, validateCapabilities } from './chunk-JD7BZU3A.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-UB5QSRO7.js';
|
|
5
5
|
import './chunk-TQABQWOP.js';
|
|
6
6
|
import './chunk-QXOZI5Q2.js';
|
|
7
7
|
import './chunk-V4OQ3NZ2.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkOLEOKHDX_cjs = require('./chunk-OLEOKHDX.cjs');
|
|
4
|
+
require('./chunk-KIGVVO6N.cjs');
|
|
5
|
+
require('./chunk-IGJUBJBW.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "RbacService", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkOLEOKHDX_cjs.RbacService; }
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=rbac-TFUOYIVN.cjs.map
|
|
14
|
+
//# sourceMappingURL=rbac-TFUOYIVN.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"rbac-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"rbac-TFUOYIVN.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"rbac-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"rbac-XSNP76CV.js"}
|