@prezly/sdk 23.7.1 → 23.7.2
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/dist/api/constants.cjs
CHANGED
|
@@ -4,6 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.DEFAULT_USER_AGENT = void 0;
|
|
7
|
-
const VERSION = "23.7.
|
|
7
|
+
const VERSION = "23.7.1";
|
|
8
8
|
const URL = 'https://github.com/prezly/javascript-sdk';
|
|
9
9
|
const DEFAULT_USER_AGENT = exports.DEFAULT_USER_AGENT = `prezly-javascript-sdk/${VERSION} (+${URL})`;
|
package/dist/api/constants.js
CHANGED
|
@@ -33,7 +33,8 @@ const EXTENDED_STORY_INCLUDED_EXTRA_FIELDS_SHAPE = {
|
|
|
33
33
|
tag_names: true,
|
|
34
34
|
content: true,
|
|
35
35
|
attached_gallery_content: true,
|
|
36
|
-
referenced_entities: true
|
|
36
|
+
referenced_entities: true,
|
|
37
|
+
uploadcare_assets_group_uuid: true
|
|
37
38
|
}; // satisfies Record<keyof Omit<ExtendedStory, keyof Story>, boolean>; // TODO: Use Typescript `satisfies` operator, when it's out of beta
|
|
38
39
|
|
|
39
40
|
const ALL_EXTRA_FIELDS_SHAPE = {
|
|
@@ -23,7 +23,8 @@ const EXTENDED_STORY_INCLUDED_EXTRA_FIELDS_SHAPE = {
|
|
|
23
23
|
tag_names: true,
|
|
24
24
|
content: true,
|
|
25
25
|
attached_gallery_content: true,
|
|
26
|
-
referenced_entities: true
|
|
26
|
+
referenced_entities: true,
|
|
27
|
+
uploadcare_assets_group_uuid: true
|
|
27
28
|
}; // satisfies Record<keyof Omit<ExtendedStory, keyof Story>, boolean>; // TODO: Use Typescript `satisfies` operator, when it's out of beta
|
|
28
29
|
|
|
29
30
|
const ALL_EXTRA_FIELDS_SHAPE = {
|
package/dist/types/Story.d.ts
CHANGED
|
@@ -315,6 +315,6 @@ export declare namespace Story {
|
|
|
315
315
|
format_version: FormatVersion.SLATEJS_V6;
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
|
-
export interface ExtendedStory extends Story, Pick<Story.ExtraFields, 'thumbnail_image' | 'header_image' | 'preview_image' | 'social_image' | 'social_text' | 'tag_names' | 'content' | 'attached_gallery_content' | 'referenced_entities'> {
|
|
318
|
+
export interface ExtendedStory extends Story, Pick<Story.ExtraFields, 'thumbnail_image' | 'header_image' | 'preview_image' | 'social_image' | 'social_text' | 'tag_names' | 'content' | 'attached_gallery_content' | 'referenced_entities' | 'uploadcare_assets_group_uuid'> {
|
|
319
319
|
}
|
|
320
320
|
export {};
|