@prezly/sdk 26.3.0 → 26.3.3
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 = "26.3.
|
|
7
|
+
const VERSION = "26.3.2";
|
|
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
package/dist/types/Campaign.d.ts
CHANGED
package/dist/types/Newsroom.d.ts
CHANGED
|
@@ -75,6 +75,10 @@ export interface NewsroomRef {
|
|
|
75
75
|
}
|
|
76
76
|
export interface Newsroom extends NewsroomRef {
|
|
77
77
|
is_hub: boolean;
|
|
78
|
+
hub: {
|
|
79
|
+
parent: Newsroom.HubPeer;
|
|
80
|
+
siblings: Newsroom.HubPeer[];
|
|
81
|
+
} | null;
|
|
78
82
|
cultures: CultureRef[];
|
|
79
83
|
campaigns_number: number;
|
|
80
84
|
stories_number: number;
|
|
@@ -125,6 +129,11 @@ export interface Newsroom extends NewsroomRef {
|
|
|
125
129
|
active_theme_preset: NewsroomThemePreset;
|
|
126
130
|
}
|
|
127
131
|
export declare namespace Newsroom {
|
|
132
|
+
interface HubPeer extends NewsroomRef {
|
|
133
|
+
cultures: (CultureRef & {
|
|
134
|
+
is_default: boolean;
|
|
135
|
+
})[];
|
|
136
|
+
}
|
|
128
137
|
enum Status {
|
|
129
138
|
ACTIVE = "active",// i.e. "Live"
|
|
130
139
|
INACTIVE = "inactive",// i.e. "Not live"
|