@wix/auto_sdk_blog_posts 1.0.50 → 1.0.51
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/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +44 -44
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +51 -51
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +44 -44
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +51 -51
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +44 -44
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +51 -51
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +44 -44
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +51 -51
- package/package.json +2 -2
@@ -169,48 +169,6 @@ interface Post {
|
|
169
169
|
*/
|
170
170
|
referenceId?: string | null;
|
171
171
|
}
|
172
|
-
interface CoverMedia extends CoverMediaMediaOneOf {
|
173
|
-
/** Image url. */
|
174
|
-
image?: string;
|
175
|
-
/** Video url. */
|
176
|
-
video?: string;
|
177
|
-
/**
|
178
|
-
* Is cover media enabled.
|
179
|
-
* Selected by user whether to display cover media on the feed
|
180
|
-
* @deprecated Is cover media enabled.
|
181
|
-
* Selected by user whether to display cover media on the feed
|
182
|
-
* @replacedBy displayed
|
183
|
-
* @targetRemovalDate 2024-06-30
|
184
|
-
*/
|
185
|
-
enabled?: boolean;
|
186
|
-
/** Whether cover media is displayed. */
|
187
|
-
displayed?: boolean;
|
188
|
-
/** Whether cover media is custom. If `false` the cover image is set to the first media item that appears in the content. */
|
189
|
-
custom?: boolean;
|
190
|
-
/**
|
191
|
-
* Media alternative text.
|
192
|
-
* @minLength 1
|
193
|
-
* @maxLength 1000
|
194
|
-
*/
|
195
|
-
altText?: string | null;
|
196
|
-
}
|
197
|
-
/** @oneof */
|
198
|
-
interface CoverMediaMediaOneOf {
|
199
|
-
/** Image url. */
|
200
|
-
image?: string;
|
201
|
-
/** Video url. */
|
202
|
-
video?: string;
|
203
|
-
}
|
204
|
-
interface FocalPoint {
|
205
|
-
/** X-coordinate of the focal point. */
|
206
|
-
x?: number;
|
207
|
-
/** Y-coordinate of the focal point. */
|
208
|
-
y?: number;
|
209
|
-
/** crop by height */
|
210
|
-
height?: number | null;
|
211
|
-
/** crop by width */
|
212
|
-
width?: number | null;
|
213
|
-
}
|
214
172
|
interface PostCountInfo {
|
215
173
|
/**
|
216
174
|
* Total number of post comments
|
@@ -228,6 +186,16 @@ interface PostCountInfo {
|
|
228
186
|
*/
|
229
187
|
views?: number;
|
230
188
|
}
|
189
|
+
interface FocalPoint {
|
190
|
+
/** X-coordinate of the focal point. */
|
191
|
+
x?: number;
|
192
|
+
/** Y-coordinate of the focal point. */
|
193
|
+
y?: number;
|
194
|
+
/** crop by height */
|
195
|
+
height?: number | null;
|
196
|
+
/** crop by width */
|
197
|
+
width?: number | null;
|
198
|
+
}
|
231
199
|
interface Metrics {
|
232
200
|
/**
|
233
201
|
* Total number of post comments.
|
@@ -3432,6 +3400,38 @@ interface ConvertRichContentToDraftJsResponse {
|
|
3432
3400
|
/** DraftJs content converted from Rich content. */
|
3433
3401
|
content?: Record<string, any> | null;
|
3434
3402
|
}
|
3403
|
+
interface CoverMedia extends CoverMediaMediaOneOf {
|
3404
|
+
/** Image url. */
|
3405
|
+
image?: string;
|
3406
|
+
/** Video url. */
|
3407
|
+
video?: string;
|
3408
|
+
/**
|
3409
|
+
* Is cover media enabled.
|
3410
|
+
* Selected by user whether to display cover media on the feed
|
3411
|
+
* @deprecated Is cover media enabled.
|
3412
|
+
* Selected by user whether to display cover media on the feed
|
3413
|
+
* @replacedBy displayed
|
3414
|
+
* @targetRemovalDate 2024-06-30
|
3415
|
+
*/
|
3416
|
+
enabled?: boolean;
|
3417
|
+
/** Whether cover media is displayed. */
|
3418
|
+
displayed?: boolean;
|
3419
|
+
/** Whether cover media is custom. If `false` the cover image is set to the first media item that appears in the content. */
|
3420
|
+
custom?: boolean;
|
3421
|
+
/**
|
3422
|
+
* Media alternative text.
|
3423
|
+
* @minLength 1
|
3424
|
+
* @maxLength 1000
|
3425
|
+
*/
|
3426
|
+
altText?: string | null;
|
3427
|
+
}
|
3428
|
+
/** @oneof */
|
3429
|
+
interface CoverMediaMediaOneOf {
|
3430
|
+
/** Image url. */
|
3431
|
+
image?: string;
|
3432
|
+
/** Video url. */
|
3433
|
+
video?: string;
|
3434
|
+
}
|
3435
3435
|
interface OldBlogMigratedEvent {
|
3436
3436
|
/**
|
3437
3437
|
* Instance id of new version of blog
|
@@ -3848,11 +3848,11 @@ interface PostsQueryBuilder {
|
|
3848
3848
|
/** @param propertyName - Property whose value is compared with `value`.
|
3849
3849
|
* @param value - Value to compare against.
|
3850
3850
|
*/
|
3851
|
-
eq: (propertyName: '_id' | 'title' | 'firstPublishedDate' | 'lastPublishedDate' | 'slug' | 'featured' | 'pinned' | '
|
3851
|
+
eq: (propertyName: '_id' | 'title' | 'firstPublishedDate' | 'lastPublishedDate' | 'slug' | 'featured' | 'pinned' | 'memberId' | 'commentingEnabled' | 'minutesToRead' | 'translationId' | 'language' | 'metrics.comments' | 'metrics.likes' | 'metrics.views' | 'media.displayed', value: any) => PostsQueryBuilder;
|
3852
3852
|
/** @param propertyName - Property whose value is compared with `value`.
|
3853
3853
|
* @param value - Value to compare against.
|
3854
3854
|
*/
|
3855
|
-
ne: (propertyName: '_id' | 'title' | 'firstPublishedDate' | 'lastPublishedDate' | 'slug' | 'featured' | 'pinned' | '
|
3855
|
+
ne: (propertyName: '_id' | 'title' | 'firstPublishedDate' | 'lastPublishedDate' | 'slug' | 'featured' | 'pinned' | 'memberId' | 'commentingEnabled' | 'minutesToRead' | 'translationId' | 'language' | 'metrics.comments' | 'metrics.likes' | 'metrics.views' | 'media.displayed', value: any) => PostsQueryBuilder;
|
3856
3856
|
/** @param propertyName - Property whose value is compared with `value`.
|
3857
3857
|
* @param value - Value to compare against.
|
3858
3858
|
*/
|