@code.store/arcxp-sdk-ts 4.49.0 → 4.49.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.
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import type { AGallery } from '../../types/gallery';
|
|
2
2
|
import type { ARedirectObject, AStory } from '../../types/story';
|
|
3
3
|
export type GetStoryParams = {
|
|
4
|
-
|
|
5
|
-
published: boolean;
|
|
4
|
+
/** Specifies the ID of the website making the request. Required. */
|
|
6
5
|
website: string;
|
|
7
|
-
website_url
|
|
6
|
+
/** Specifies the Arc ID of the target document. Either _id or website_url must be provided. */
|
|
7
|
+
_id?: string;
|
|
8
|
+
/** The relative URL path of the document on the specified website. Either _id or website_url must be provided. */
|
|
9
|
+
website_url?: string;
|
|
10
|
+
/** Determines whether to return published or draft documents. Defaults to true. */
|
|
11
|
+
published?: boolean;
|
|
12
|
+
/** A comma-separated list of fields to include in the response. Improves performance when specified. */
|
|
8
13
|
included_fields?: string;
|
|
9
14
|
};
|
|
10
15
|
export type GetStoriesByIdsParams = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code.store/arcxp-sdk-ts",
|
|
3
|
-
"version": "4.49.
|
|
3
|
+
"version": "4.49.1",
|
|
4
4
|
"description": "A strongly typed set of ArcXP API's and utilities reduce the amount of work required to develop with ArcXP, starting with reducing the boilerplate code you have to write.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./dist/index.js",
|