@cmssy/astro 10.0.0 → 10.2.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/index.cjs +3 -27
- package/dist/index.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -73,9 +73,9 @@ Object.defineProperty(exports, "CMSSY_EDIT_HEADER", {
|
|
|
73
73
|
enumerable: true,
|
|
74
74
|
get: function () { return core.CMSSY_EDIT_HEADER; }
|
|
75
75
|
});
|
|
76
|
-
Object.defineProperty(exports, "
|
|
76
|
+
Object.defineProperty(exports, "CMSSY_LOCALE_HEADER", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return core.
|
|
78
|
+
get: function () { return core.CMSSY_LOCALE_HEADER; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "createCmssyClient", {
|
|
81
81
|
enumerable: true,
|
|
@@ -85,33 +85,9 @@ Object.defineProperty(exports, "defineCmssyConfig", {
|
|
|
85
85
|
enumerable: true,
|
|
86
86
|
get: function () { return core.defineCmssyConfig; }
|
|
87
87
|
});
|
|
88
|
-
Object.defineProperty(exports, "CMSSY_LOCALE_HEADER", {
|
|
89
|
-
enumerable: true,
|
|
90
|
-
get: function () { return internal.CMSSY_LOCALE_HEADER; }
|
|
91
|
-
});
|
|
92
|
-
Object.defineProperty(exports, "fetchLayouts", {
|
|
93
|
-
enumerable: true,
|
|
94
|
-
get: function () { return internal.fetchLayouts; }
|
|
95
|
-
});
|
|
96
|
-
Object.defineProperty(exports, "fetchPage", {
|
|
97
|
-
enumerable: true,
|
|
98
|
-
get: function () { return internal.fetchPage; }
|
|
99
|
-
});
|
|
100
|
-
Object.defineProperty(exports, "fetchPageMeta", {
|
|
101
|
-
enumerable: true,
|
|
102
|
-
get: function () { return internal.fetchPageMeta; }
|
|
103
|
-
});
|
|
104
|
-
Object.defineProperty(exports, "fetchPages", {
|
|
105
|
-
enumerable: true,
|
|
106
|
-
get: function () { return internal.fetchPages; }
|
|
107
|
-
});
|
|
108
88
|
Object.defineProperty(exports, "localizeHref", {
|
|
109
89
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
111
|
-
});
|
|
112
|
-
Object.defineProperty(exports, "resolveSiteLocales", {
|
|
113
|
-
enumerable: true,
|
|
114
|
-
get: function () { return internal.resolveSiteLocales; }
|
|
90
|
+
get: function () { return core.localizeHref; }
|
|
115
91
|
});
|
|
116
92
|
exports.CMSSY_EDIT_PATH_PREFIX = CMSSY_EDIT_PATH_PREFIX;
|
|
117
93
|
exports.cmssyMiddleware = cmssyMiddleware;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CmssyConfig, CmssyPageData, CmssyLayoutGroup } from '@cmssy/core';
|
|
2
|
-
export { CMSSY_EDIT_HEADER, CmssyBlockContext, CmssyConfig, CmssyEnvConfig, CmssyLayoutGroup, CmssyPageData,
|
|
3
|
-
export { CMSSY_LOCALE_HEADER, fetchLayouts, fetchPage, fetchPageMeta, fetchPages, localizeHref, resolveSiteLocales } from '@cmssy/core/internal';
|
|
2
|
+
export { CMSSY_EDIT_HEADER, CMSSY_LOCALE_HEADER, CmssyBlockContext, CmssyConfig, CmssyEnvConfig, CmssyLayoutGroup, CmssyPageData, createCmssyClient, defineCmssyConfig, localizeHref } from '@cmssy/core';
|
|
4
3
|
|
|
5
4
|
declare const CMSSY_EDIT_PATH_PREFIX = "/cmssy-edit";
|
|
6
5
|
interface CmssyMiddlewareOptions {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CmssyConfig, CmssyPageData, CmssyLayoutGroup } from '@cmssy/core';
|
|
2
|
-
export { CMSSY_EDIT_HEADER, CmssyBlockContext, CmssyConfig, CmssyEnvConfig, CmssyLayoutGroup, CmssyPageData,
|
|
3
|
-
export { CMSSY_LOCALE_HEADER, fetchLayouts, fetchPage, fetchPageMeta, fetchPages, localizeHref, resolveSiteLocales } from '@cmssy/core/internal';
|
|
2
|
+
export { CMSSY_EDIT_HEADER, CMSSY_LOCALE_HEADER, CmssyBlockContext, CmssyConfig, CmssyEnvConfig, CmssyLayoutGroup, CmssyPageData, createCmssyClient, defineCmssyConfig, localizeHref } from '@cmssy/core';
|
|
4
3
|
|
|
5
4
|
declare const CMSSY_EDIT_PATH_PREFIX = "/cmssy-edit";
|
|
6
5
|
interface CmssyMiddlewareOptions {
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { CMSSY_EDIT_HEADER, CMSSY_EDIT_QUERY_PARAM, isVerifiedEditUrl, applyCmssyCsp, CMSSY_SECRET_QUERY_PARAM } from '@cmssy/core';
|
|
2
|
-
export { CMSSY_EDIT_HEADER,
|
|
2
|
+
export { CMSSY_EDIT_HEADER, CMSSY_LOCALE_HEADER, createCmssyClient, defineCmssyConfig, localizeHref } from '@cmssy/core';
|
|
3
3
|
import { CMSSY_LOCALE_HEADER, localeForPathname, isDevelopment, resolveSiteLocales, splitLocaleFromPath, fetchPage, fetchLayouts } from '@cmssy/core/internal';
|
|
4
|
-
export { CMSSY_LOCALE_HEADER, fetchLayouts, fetchPage, fetchPageMeta, fetchPages, localizeHref, resolveSiteLocales } from '@cmssy/core/internal';
|
|
5
4
|
|
|
6
5
|
// src/middleware.ts
|
|
7
6
|
var CMSSY_EDIT_PATH_PREFIX = "/cmssy-edit";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cmssy/astro",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.2.0",
|
|
4
4
|
"description": "Astro bindings for cmssy headless sites: middleware, page loader, sitemap and robots.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cmssy",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"vitest": "^2.1.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@cmssy/core": "10.
|
|
51
|
+
"@cmssy/core": "10.2.0"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "tsup",
|