@paroicms/public-server-lib 0.35.0 → 0.36.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paroicms/public-server-lib",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.0",
|
|
4
4
|
"description": "Common utilitaries for paroicms plugins (backend side).",
|
|
5
5
|
"author": "Paroi Team",
|
|
6
6
|
"repository": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@paroi/data-formatters-lib": "~0.4.0",
|
|
24
|
-
"@paroicms/internal-anywhere-lib": "1.
|
|
25
|
-
"@paroicms/public-anywhere-lib": "0.
|
|
24
|
+
"@paroicms/internal-anywhere-lib": "1.30.0",
|
|
25
|
+
"@paroicms/public-anywhere-lib": "0.24.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "~24.0.1",
|
|
@@ -83,7 +83,7 @@ export interface ParoiCmsPlugin {
|
|
|
83
83
|
export interface BackendPluginInitService {
|
|
84
84
|
logger: AppLogger;
|
|
85
85
|
setPublicAssetsDirectory(directory: string): void;
|
|
86
|
-
|
|
86
|
+
setAdminUiAssetsDirectory(directory: string): void;
|
|
87
87
|
registerSiteSchemaLibrary(directory: string): void;
|
|
88
88
|
registerLiquidRootDirectory(directory: string): void;
|
|
89
89
|
registerLiquidFilter(
|
|
@@ -137,6 +137,7 @@ export type PluginLiquidFilterHandler = (
|
|
|
137
137
|
export type PluginLiquidTagReturnsVarHandler = (
|
|
138
138
|
service: PluginRenderingService,
|
|
139
139
|
parameters: { [key: string]: unknown },
|
|
140
|
+
options: { variableName: string },
|
|
140
141
|
) => Generator;
|
|
141
142
|
|
|
142
143
|
export type PluginLiquidTagReturnsHtmlHandler = (
|
|
@@ -272,7 +273,7 @@ export interface PluginConfigurations {
|
|
|
272
273
|
|
|
273
274
|
export interface PluginConfiguration {
|
|
274
275
|
[key: string]: unknown;
|
|
275
|
-
|
|
276
|
+
adminUi?: Obj;
|
|
276
277
|
googleRecaptchaSiteKey?: string;
|
|
277
278
|
}
|
|
278
279
|
|