@easy-cms/next 1.7.1 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config.d.ts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +5 -5
package/dist/config.d.ts
CHANGED
|
@@ -31,4 +31,5 @@ declare function withEasyCMS<T extends object = NextConfigLike>(nextConfig?: Nex
|
|
|
31
31
|
defaultConfig: any;
|
|
32
32
|
}) => Promise<T & Required<NextConfigLike>>;
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { SERVER_EXTERNAL_PACKAGES, withEasyCMS };
|
|
35
|
+
export type { NextConfigInput, WithEasyCMSOptions };
|
package/dist/index.d.ts
CHANGED
|
@@ -50,4 +50,5 @@ declare function createAdminRouteHandlers(config: Config, options?: {
|
|
|
50
50
|
/** The logged-in Easy CMS user for the current request (session cookie or Bearer token), or `null`. */
|
|
51
51
|
declare function getEasyCMSUser(config: Config): Promise<AuthUser | null>;
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { createAdminRouteHandlers, createRouteHandlers, getEasyCMS, getEasyCMSUser };
|
|
54
|
+
export type { RouteHandlerOptions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easy-cms/next",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Next.js adapter for Easy CMS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -26,19 +26,19 @@
|
|
|
26
26
|
"node": ">=22.12"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@easy-cms/admin": "^1.
|
|
29
|
+
"@easy-cms/admin": "^1.9.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"next": ">=15.0.0",
|
|
33
33
|
"react": ">=19.0.0",
|
|
34
|
-
"@easy-cms/core": "^1.
|
|
34
|
+
"@easy-cms/core": "^1.9.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/react": "^19.2.0",
|
|
38
38
|
"next": "^16.4.3",
|
|
39
39
|
"react": "^19.2.0",
|
|
40
|
-
"@easy-cms/core": "^1.
|
|
41
|
-
"@easy-cms/db-sqlite": "^1.
|
|
40
|
+
"@easy-cms/core": "^1.9.0",
|
|
41
|
+
"@easy-cms/db-sqlite": "^1.9.0"
|
|
42
42
|
},
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|