@paroicms/public-server-lib 0.19.0 → 0.20.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.20.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.20.0",
|
|
25
|
+
"@paroicms/public-anywhere-lib": "0.12.0",
|
|
26
26
|
"@types/express": "~4.17.21"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
@@ -2,7 +2,7 @@ import type { Obj } from "@paroi/data-formatters-lib";
|
|
|
2
2
|
import type {
|
|
3
3
|
FieldValue,
|
|
4
4
|
ImageSize,
|
|
5
|
-
|
|
5
|
+
ParsedNodelId,
|
|
6
6
|
ScSiteSchema,
|
|
7
7
|
ThemeConf,
|
|
8
8
|
} from "@paroicms/public-anywhere-lib";
|
|
@@ -86,7 +86,7 @@ export interface BackendPluginRenderService extends BackendPluginService {
|
|
|
86
86
|
req: Request;
|
|
87
87
|
res: Response;
|
|
88
88
|
params: PartialsParamsInput;
|
|
89
|
-
parentDocumentId:
|
|
89
|
+
parentDocumentId: ParsedNodelId;
|
|
90
90
|
labeledByTermId?: string;
|
|
91
91
|
}): Promise<void>;
|
|
92
92
|
renderSearchPartials(options: {
|
|
@@ -106,7 +106,7 @@ export interface PublicDocument {
|
|
|
106
106
|
id: string;
|
|
107
107
|
getUrl: (options?: { absoluteUrl?: boolean }) => Promise<string>;
|
|
108
108
|
typeName: string;
|
|
109
|
-
|
|
109
|
+
nodeId: string;
|
|
110
110
|
language: string;
|
|
111
111
|
relativeId: string;
|
|
112
112
|
title?: string;
|