@prezly/sdk 11.7.1 → 11.8.0
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.js
CHANGED
|
@@ -90,6 +90,11 @@ interface GenericUpdateRequest {
|
|
|
90
90
|
categories?: Category['id'][];
|
|
91
91
|
tags?: string[];
|
|
92
92
|
is_shared_to_prpro?: boolean;
|
|
93
|
+
seo_settings?: {
|
|
94
|
+
meta_title?: string | null;
|
|
95
|
+
meta_description?: string | null;
|
|
96
|
+
canonical_url?: string | null;
|
|
97
|
+
};
|
|
93
98
|
}
|
|
94
99
|
export interface HtmlStoryCreateRequest extends GenericCreateRequest {
|
|
95
100
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/types/Story.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { Category } from './Category';
|
|
|
2
2
|
import type { OEmbedInfo } from './common';
|
|
3
3
|
import type { CultureRef } from './Culture';
|
|
4
4
|
import type { NewsroomRef } from './Newsroom';
|
|
5
|
+
import type { SEOSettings } from './SEOSettings';
|
|
5
6
|
import type { UserRef } from './User';
|
|
6
7
|
export interface StoryRef {
|
|
7
8
|
uuid: string;
|
|
@@ -132,6 +133,7 @@ export interface Story {
|
|
|
132
133
|
visibility: Story.Visibility;
|
|
133
134
|
is_pinned: boolean;
|
|
134
135
|
pinned_by: UserRef | null;
|
|
136
|
+
seo_settings: SEOSettings;
|
|
135
137
|
}
|
|
136
138
|
export declare namespace Story {
|
|
137
139
|
enum FormatVersion {
|