@dotcms/client 26.10.26-2-next.2945 → 26.10.26-2-next.2949
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/index.cjs.js
CHANGED
|
@@ -4,7 +4,7 @@ var consola = require('consola');
|
|
|
4
4
|
var types = require('@dotcms/types');
|
|
5
5
|
var internal = require('./internal.cjs.js');
|
|
6
6
|
|
|
7
|
-
const SDK_VERSION = "26.10.26-2-next.
|
|
7
|
+
const SDK_VERSION = "26.10.26-2-next.2949";
|
|
8
8
|
|
|
9
9
|
const DOTCMS_VERSION_HEADER = 'x-dotcms-version';
|
|
10
10
|
const DOTCMS_MIN_SDK_HEADER = 'x-dotcms-min-sdk';
|
|
@@ -853,6 +853,12 @@ class BaseBuilder extends BaseApiClient {
|
|
|
853
853
|
* Setting this to true will server-side render (using velocity) any widgets
|
|
854
854
|
* that are returned by the content query.
|
|
855
855
|
*
|
|
856
|
+
* The widget's own code is always rendered. Velocity written inside the widget's
|
|
857
|
+
* field values is rendered only when the widget was last saved by a user holding the
|
|
858
|
+
* Scripting Developer role and the server's `FEATURE_FLAG_WIDGET_FIELD_VELOCITY_RENDER`
|
|
859
|
+
* is on (its default); otherwise those values come back as text and the response says
|
|
860
|
+
* so in `entity.warnings` (and `parsedCodeWarning` next to `parsedCode` on the widget).
|
|
861
|
+
*
|
|
856
862
|
* More information here: {@link https://www.dotcms.com/docs/latest/content-api-retrieval-and-querying#ParamsOptional}
|
|
857
863
|
*
|
|
858
864
|
* @example
|
package/index.esm.js
CHANGED
|
@@ -2,7 +2,7 @@ import { consola } from 'consola';
|
|
|
2
2
|
import { BaseHttpClient, DISTANCE_FUNCTIONS, DotHttpError, DotErrorAISearch, DotErrorContent, DotErrorNavigation, UVE_MODE, DotErrorPage } from '@dotcms/types';
|
|
3
3
|
import { graphqlToPageEntity } from './internal.esm.js';
|
|
4
4
|
|
|
5
|
-
const SDK_VERSION = "26.10.26-2-next.
|
|
5
|
+
const SDK_VERSION = "26.10.26-2-next.2949";
|
|
6
6
|
|
|
7
7
|
const DOTCMS_VERSION_HEADER = 'x-dotcms-version';
|
|
8
8
|
const DOTCMS_MIN_SDK_HEADER = 'x-dotcms-min-sdk';
|
|
@@ -851,6 +851,12 @@ class BaseBuilder extends BaseApiClient {
|
|
|
851
851
|
* Setting this to true will server-side render (using velocity) any widgets
|
|
852
852
|
* that are returned by the content query.
|
|
853
853
|
*
|
|
854
|
+
* The widget's own code is always rendered. Velocity written inside the widget's
|
|
855
|
+
* field values is rendered only when the widget was last saved by a user holding the
|
|
856
|
+
* Scripting Developer role and the server's `FEATURE_FLAG_WIDGET_FIELD_VELOCITY_RENDER`
|
|
857
|
+
* is on (its default); otherwise those values come back as text and the response says
|
|
858
|
+
* so in `entity.warnings` (and `parsedCodeWarning` next to `parsedCode` on the widget).
|
|
859
|
+
*
|
|
854
860
|
* More information here: {@link https://www.dotcms.com/docs/latest/content-api-retrieval-and-querying#ParamsOptional}
|
|
855
861
|
*
|
|
856
862
|
* @example
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotcms/client",
|
|
3
|
-
"version": "26.10.26-2-next.
|
|
3
|
+
"version": "26.10.26-2-next.2949",
|
|
4
4
|
"description": "Official JavaScript library for interacting with DotCMS REST APIs.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/dotCMS/core.git#main"
|
|
8
8
|
},
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"@dotcms/types": "26.10.26-2-next.
|
|
10
|
+
"@dotcms/types": "26.10.26-2-next.2949"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"consola": "^3.4.2"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@dotcms/types": "26.10.26-2-next.
|
|
16
|
+
"@dotcms/types": "26.10.26-2-next.2949"
|
|
17
17
|
},
|
|
18
18
|
"keywords": [
|
|
19
19
|
"dotCMS",
|
|
@@ -100,6 +100,12 @@ export declare abstract class BaseBuilder<T = unknown> extends BaseApiClient {
|
|
|
100
100
|
* Setting this to true will server-side render (using velocity) any widgets
|
|
101
101
|
* that are returned by the content query.
|
|
102
102
|
*
|
|
103
|
+
* The widget's own code is always rendered. Velocity written inside the widget's
|
|
104
|
+
* field values is rendered only when the widget was last saved by a user holding the
|
|
105
|
+
* Scripting Developer role and the server's `FEATURE_FLAG_WIDGET_FIELD_VELOCITY_RENDER`
|
|
106
|
+
* is on (its default); otherwise those values come back as text and the response says
|
|
107
|
+
* so in `entity.warnings` (and `parsedCodeWarning` next to `parsedCode` on the widget).
|
|
108
|
+
*
|
|
103
109
|
* More information here: {@link https://www.dotcms.com/docs/latest/content-api-retrieval-and-querying#ParamsOptional}
|
|
104
110
|
*
|
|
105
111
|
* @example
|