oneentry 1.0.22 → 1.0.23

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.
Files changed (2) hide show
  1. package/README.md +6 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -184,7 +184,7 @@ const value = await FormData.postFormsData(data)
184
184
 
185
185
  >The method takes as a parameter request body
186
186
 
187
- Example
187
+ Example body:
188
188
  ```
189
189
  {
190
190
  "formIdentifier": "my-form",
@@ -374,7 +374,7 @@ const { Pages } = defineOneEntry('your-url')
374
374
  ```
375
375
  > In some methods, the langcode parameter can be either a string or an array of strings. It depends on which set of values will contain "attributeValues" and "localizeInfos"
376
376
 
377
- Example
377
+ Example:
378
378
 
379
379
  ```
380
380
  const value = await Pages.getRootPages('en_US')
@@ -591,6 +591,8 @@ const value = await Pages.getPageById(1, 'en_US')
591
591
 
592
592
  > This method retrieves a single page object based on its identifier (id) from the API. It returns a Promise that resolves to the page object, with the specific DTO depending on the type of page being returned. Get required language parameter.
593
593
 
594
+ Example return:
595
+
594
596
  ```
595
597
  {
596
598
  "id": 1764,
@@ -718,6 +720,8 @@ Example return:
718
720
  const value = await Pages.getFormsByPageUrl('shop', 'en_US')
719
721
  ```
720
722
  > Get PositionFormDto objects for a related form by url. Returns an array of PositionFormDto objects.
723
+
724
+ Example return:
721
725
  ```
722
726
  {
723
727
  "id": 1764,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oneentry",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",