@sitevision/api 2025.1.2 → 2025.2.1

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": "@sitevision/api",
3
- "version": "2025.1.2",
3
+ "version": "2025.2.1",
4
4
  "author": "Sitevision AB",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -30,5 +30,5 @@
30
30
  "access": "public",
31
31
  "directory": "dist"
32
32
  },
33
- "gitHead": "fad9ce2f6b699279e49c3bf5fb234b0f37605dc8"
33
+ "gitHead": "279e1e34f8224c63489e1ad18b19fce9659e0cf1"
34
34
  }
@@ -244,7 +244,7 @@ export interface ArticleUtil extends ArticleUtilConstants {
244
244
  * </ul>
245
245
  *
246
246
  * <p>The article content is specified using the
247
- * content map containing keys corresponding to layout names (e.g. "mittenspalt") on the articel and values containing the
247
+ * content map containing keys corresponding to layout names (e.g. "Huvudinnehåll") on the article and values containing the
248
248
  * HTML used to generate a portlet structure in the layout. The provided content is converted to
249
249
  * Sitevision text, table and image modules. It is also possible to specify that a horizontal or a vertical
250
250
  * layout should be created. For more information about the HTML to portlet mapping can be found in the
@@ -321,7 +321,7 @@ export interface OutputUtil extends OutputUtilConstants {
321
321
  * <em>
322
322
  * <strong>Note!</strong> This method is intended for debugging purposes during development ONLY!
323
323
  * Important: Only the types and properties that are officially specified on the
324
- * <a href="http://help.sitevision.se/nodetypes">Sitevision developer web</a>
324
+ * <a href="https://developer.sitevision.se/nodetypes">Sitevision developer web</a>
325
325
  * can be relied upon and used in production. All other types and properties should
326
326
  * be considered volatile. Output produced by this method is not indexed by the Sitevision indexer.
327
327
  * </em>
@@ -343,7 +343,7 @@ export interface OutputUtil extends OutputUtilConstants {
343
343
  * <em>
344
344
  * <strong>Note!</strong> This method is intended for debugging purposes during development ONLY!
345
345
  * Important: Only the types and properties that are officially specified on the
346
- * <a href="http://help.sitevision.se/nodetypes">Sitevision developer web</a>
346
+ * <a href="https://developer.sitevision.se/nodetypes">Sitevision developer web</a>
347
347
  * can be relied upon and used in production. All other types and properties should
348
348
  * be considered volatile. Output produced by this method is not indexed by the Sitevision indexer.
349
349
  * </em>
@@ -237,7 +237,7 @@ export interface PageUtil extends PageUtilConstants {
237
237
  * </ul>
238
238
  *
239
239
  * <p>The page content is specified using the
240
- * content map containing keys corresponding to layout names (e.g. "mittenspalt") on the page and values containing the
240
+ * content map containing keys corresponding to layout names (e.g. "Huvudinnehåll") on the page and values containing the
241
241
  * HTML used to generate a portlet structure in the layout. The provided content is converted to
242
242
  * Sitevision text, table and image modules. It is also possible to specify that a horizontal or a vertical
243
243
  * layout should be created. For more information about the HTML to portlet mapping can be found in the
@@ -225,7 +225,7 @@ export interface WebContentUtil {
225
225
  *
226
226
  * <p>
227
227
  * If an invalid node type is specified a <code>IllegalArgumentException</code> is thrown. The page content is specified using the
228
- * content map containing keys corresponding to layout names (e.g. "mittenspalt") on the page and values containing the
228
+ * content map containing keys corresponding to layout names (e.g. "Huvudinnehåll") on the page and values containing the
229
229
  * HTML used to generate a portlet structure in the layout. The provided content is converted to
230
230
  * Sitevision text, table and image modules. It is also possible to specify that a horizontal or a vertical
231
231
  * layout should be created.
@@ -349,7 +349,7 @@ export interface WebContentUtil {
349
349
  *
350
350
  * <p>
351
351
  * If an invalid node type is specified a <code>IllegalArgumentException</code> is thrown. The page content is specified using the
352
- * content map containing keys corresponding to layout names (e.g. "mittenspalt") on the page and values containing the
352
+ * content map containing keys corresponding to layout names (e.g. "Huvudinnehåll") on the page and values containing the
353
353
  * HTML used to generate a portlet structure in the layout. The provided content is converted to
354
354
  * Sitevision text, table and image modules. It is also possible to specify that a horizontal or a vertical
355
355
  * layout should be created.
@@ -494,7 +494,7 @@ export interface WebContentUtil {
494
494
  * <em>This method is typically called to clear all content before adding new content via {@link #updateContent(Node, Map)}</em>
495
495
  * </p>
496
496
  * @param aPageNode the node that will be altered, typically a node with primary node type sv:page or sv:article.&#xA; May not be null and may not be the site page
497
- * @param aRootLayoutName the name of the root layout of aPageNode to remove content from (e.g. "Mittenspalt")
497
+ * @param aRootLayoutName the name of the root layout of aPageNode to remove content from (e.g. "Huvudinnehåll")
498
498
  * @throws NullPointerException if aPageNode or aRootLayoutName is null
499
499
  * @throws IllegalArgumentException if aPageNode is of invalid type or if there are no root layout named aRootLayoutName
500
500
  * @throws ConstraintViolationException if current user is not allowed to alter aPageNode