@sonicjs-cms/core 2.0.0-alpha.10 → 2.0.0-alpha.11
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/{chunk-BRC3F4CG.cjs → chunk-6BHDKYLU.cjs} +8 -2
- package/dist/{chunk-KRJMGD4E.js.map → chunk-6BHDKYLU.cjs.map} +1 -1
- package/dist/{chunk-4USDL3UP.cjs → chunk-DG4INX36.cjs} +41 -1360
- package/dist/chunk-DG4INX36.cjs.map +1 -0
- package/dist/{chunk-GGBHOIDD.js → chunk-FDUDHGI6.js} +20 -1339
- package/dist/chunk-FDUDHGI6.js.map +1 -0
- package/dist/{chunk-KRJMGD4E.js → chunk-FZYF43TN.js} +8 -2
- package/dist/chunk-FZYF43TN.js.map +1 -0
- package/dist/chunk-G4JGVZAF.js +1337 -0
- package/dist/chunk-G4JGVZAF.js.map +1 -0
- package/dist/chunk-LEGKJ5DI.cjs +1344 -0
- package/dist/chunk-LEGKJ5DI.cjs.map +1 -0
- package/dist/index.cjs +54 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/middleware.d.ts +2 -0
- package/dist/plugins.d.ts +2 -0
- package/dist/routes.cjs +14 -13
- package/dist/routes.d.ts +2 -0
- package/dist/routes.js +2 -1
- package/dist/services.d.ts +2 -0
- package/dist/templates.cjs +22 -9
- package/dist/templates.d.ts +2 -0
- package/dist/templates.js +2 -1
- package/dist/types.d.ts +2 -0
- package/dist/utils.d.ts +2 -0
- package/package.json +2 -2
- package/dist/chunk-4USDL3UP.cjs.map +0 -1
- package/dist/chunk-BRC3F4CG.cjs.map +0 -1
- package/dist/chunk-GGBHOIDD.js.map +0 -1
package/dist/routes.cjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDG4INX36_cjs = require('./chunk-DG4INX36.cjs');
|
|
4
4
|
require('./chunk-AGOE25LF.cjs');
|
|
5
5
|
require('./chunk-BUKT6HP5.cjs');
|
|
6
6
|
require('./chunk-RNR4HA23.cjs');
|
|
7
|
+
require('./chunk-LEGKJ5DI.cjs');
|
|
7
8
|
require('./chunk-RGCQSFKC.cjs');
|
|
8
9
|
require('./chunk-IGJUBJBW.cjs');
|
|
9
10
|
|
|
@@ -11,51 +12,51 @@ require('./chunk-IGJUBJBW.cjs');
|
|
|
11
12
|
|
|
12
13
|
Object.defineProperty(exports, "ROUTES_INFO", {
|
|
13
14
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkDG4INX36_cjs.ROUTES_INFO; }
|
|
15
16
|
});
|
|
16
17
|
Object.defineProperty(exports, "adminApiRoutes", {
|
|
17
18
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkDG4INX36_cjs.admin_api_default; }
|
|
19
20
|
});
|
|
20
21
|
Object.defineProperty(exports, "adminContentRoutes", {
|
|
21
22
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkDG4INX36_cjs.admin_content_default; }
|
|
23
24
|
});
|
|
24
25
|
Object.defineProperty(exports, "adminLogsRoutes", {
|
|
25
26
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkDG4INX36_cjs.adminLogsRoutes; }
|
|
27
28
|
});
|
|
28
29
|
Object.defineProperty(exports, "adminMediaRoutes", {
|
|
29
30
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkDG4INX36_cjs.adminMediaRoutes; }
|
|
31
32
|
});
|
|
32
33
|
Object.defineProperty(exports, "adminPluginRoutes", {
|
|
33
34
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkDG4INX36_cjs.adminPluginRoutes; }
|
|
35
36
|
});
|
|
36
37
|
Object.defineProperty(exports, "adminUsersRoutes", {
|
|
37
38
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkDG4INX36_cjs.userRoutes; }
|
|
39
40
|
});
|
|
40
41
|
Object.defineProperty(exports, "apiContentCrudRoutes", {
|
|
41
42
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkDG4INX36_cjs.api_content_crud_default; }
|
|
43
44
|
});
|
|
44
45
|
Object.defineProperty(exports, "apiMediaRoutes", {
|
|
45
46
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkDG4INX36_cjs.api_media_default; }
|
|
47
48
|
});
|
|
48
49
|
Object.defineProperty(exports, "apiRoutes", {
|
|
49
50
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkDG4INX36_cjs.api_default; }
|
|
51
52
|
});
|
|
52
53
|
Object.defineProperty(exports, "apiSystemRoutes", {
|
|
53
54
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkDG4INX36_cjs.api_system_default; }
|
|
55
56
|
});
|
|
56
57
|
Object.defineProperty(exports, "authRoutes", {
|
|
57
58
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkDG4INX36_cjs.auth_default; }
|
|
59
60
|
});
|
|
60
61
|
//# sourceMappingURL=routes.cjs.map
|
|
61
62
|
//# sourceMappingURL=routes.cjs.map
|
package/dist/routes.d.ts
ADDED
package/dist/routes.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { ROUTES_INFO, admin_api_default as adminApiRoutes, admin_content_default as adminContentRoutes, adminLogsRoutes, adminMediaRoutes, adminPluginRoutes, 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 } from './chunk-
|
|
1
|
+
export { ROUTES_INFO, admin_api_default as adminApiRoutes, admin_content_default as adminContentRoutes, adminLogsRoutes, adminMediaRoutes, adminPluginRoutes, 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 } from './chunk-FDUDHGI6.js';
|
|
2
2
|
import './chunk-3MNMOLSA.js';
|
|
3
3
|
import './chunk-WESS2U3K.js';
|
|
4
4
|
import './chunk-7N3HK7ZK.js';
|
|
5
|
+
import './chunk-G4JGVZAF.js';
|
|
5
6
|
import './chunk-JIINOD2W.js';
|
|
6
7
|
import './chunk-V4OQ3NZ2.js';
|
|
7
8
|
//# sourceMappingURL=routes.js.map
|
package/dist/templates.cjs
CHANGED
|
@@ -1,41 +1,54 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6BHDKYLU_cjs = require('./chunk-6BHDKYLU.cjs');
|
|
4
|
+
var chunkLEGKJ5DI_cjs = require('./chunk-LEGKJ5DI.cjs');
|
|
4
5
|
require('./chunk-IGJUBJBW.cjs');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
Object.defineProperty(exports, "getConfirmationDialogScript", {
|
|
9
10
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk6BHDKYLU_cjs.getConfirmationDialogScript; }
|
|
11
12
|
});
|
|
12
13
|
Object.defineProperty(exports, "renderAlert", {
|
|
13
14
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk6BHDKYLU_cjs.renderAlert; }
|
|
15
16
|
});
|
|
16
17
|
Object.defineProperty(exports, "renderConfirmationDialog", {
|
|
17
18
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk6BHDKYLU_cjs.renderConfirmationDialog; }
|
|
19
20
|
});
|
|
20
21
|
Object.defineProperty(exports, "renderFilterBar", {
|
|
21
22
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk6BHDKYLU_cjs.renderFilterBar; }
|
|
23
24
|
});
|
|
24
25
|
Object.defineProperty(exports, "renderForm", {
|
|
25
26
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk6BHDKYLU_cjs.renderForm; }
|
|
27
28
|
});
|
|
28
29
|
Object.defineProperty(exports, "renderFormField", {
|
|
29
30
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk6BHDKYLU_cjs.renderFormField; }
|
|
31
32
|
});
|
|
32
33
|
Object.defineProperty(exports, "renderPagination", {
|
|
33
34
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk6BHDKYLU_cjs.renderPagination; }
|
|
35
36
|
});
|
|
36
37
|
Object.defineProperty(exports, "renderTable", {
|
|
37
38
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk6BHDKYLU_cjs.renderTable; }
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports, "renderAdminLayout", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function () { return chunkLEGKJ5DI_cjs.renderAdminLayout; }
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, "renderAdminLayoutCatalyst", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () { return chunkLEGKJ5DI_cjs.renderAdminLayoutCatalyst; }
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "renderLogo", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () { return chunkLEGKJ5DI_cjs.renderLogo; }
|
|
39
52
|
});
|
|
40
53
|
//# sourceMappingURL=templates.cjs.map
|
|
41
54
|
//# sourceMappingURL=templates.cjs.map
|
package/dist/templates.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { getConfirmationDialogScript, renderAlert, renderConfirmationDialog, renderFilterBar, renderForm, renderFormField, renderPagination, renderTable } from './chunk-
|
|
1
|
+
export { getConfirmationDialogScript, renderAlert, renderConfirmationDialog, renderFilterBar, renderForm, renderFormField, renderPagination, renderTable } from './chunk-FZYF43TN.js';
|
|
2
|
+
export { renderAdminLayout, renderAdminLayoutCatalyst, renderLogo } from './chunk-G4JGVZAF.js';
|
|
2
3
|
import './chunk-V4OQ3NZ2.js';
|
|
3
4
|
//# sourceMappingURL=templates.js.map
|
|
4
5
|
//# sourceMappingURL=templates.js.map
|
package/dist/types.d.ts
ADDED
package/dist/utils.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sonicjs-cms/core",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.11",
|
|
4
4
|
"description": "Core framework for SonicJS headless CMS - Edge-first, TypeScript-native CMS built for Cloudflare Workers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"@cloudflare/workers-types": "^4.20250620.0",
|
|
116
116
|
"@types/node": "^20.19.1",
|
|
117
117
|
"drizzle-orm": "^0.44.2",
|
|
118
|
-
"hono": "^4.
|
|
118
|
+
"hono": "^4.10.1",
|
|
119
119
|
"tsup": "^8.0.0",
|
|
120
120
|
"typescript": "^5.8.3",
|
|
121
121
|
"vitest": "^2.1.8",
|