@wix/auto_sdk_blog_posts 1.0.178 → 1.0.179

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,1975 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // meta.ts
21
- var meta_exports = {};
22
- __export(meta_exports, {
23
- AlignmentOriginal: () => Alignment,
24
- AppTypeOriginal: () => AppType,
25
- AspectRatioOriginal: () => AspectRatio,
26
- BackdropTypeOriginal: () => BackdropType,
27
- BackgroundTypeOriginal: () => BackgroundType,
28
- BannerPositionOriginal: () => BannerPosition,
29
- ButtonDataTypeOriginal: () => ButtonDataType,
30
- CardDataBackgroundTypeOriginal: () => CardDataBackgroundType,
31
- CardStylesTypeOriginal: () => CardStylesType,
32
- ColumnSizeOriginal: () => ColumnSize,
33
- CropOriginal: () => Crop,
34
- DecorationTypeOriginal: () => DecorationType,
35
- DesignTargetOriginal: () => DesignTarget,
36
- DirectionOriginal: () => Direction,
37
- DividerDataAlignmentOriginal: () => DividerDataAlignment,
38
- EntranceEffectTypeOriginal: () => EntranceEffectType,
39
- FieldOriginal: () => Field,
40
- FontTypeOriginal: () => FontType,
41
- GIFTypeOriginal: () => GIFType,
42
- GetPostsSortOriginal: () => GetPostsSort,
43
- GradientTypeOriginal: () => GradientType,
44
- ImagePositionOriginal: () => ImagePosition,
45
- ImagePositionPositionOriginal: () => ImagePositionPosition,
46
- ImageScalingScalingOriginal: () => ImageScalingScaling,
47
- IndentationOriginal: () => Indentation,
48
- InitialExpandedItemsOriginal: () => InitialExpandedItems,
49
- LayerEffectOriginal: () => LayerEffect,
50
- LayoutDataBackgroundTypeOriginal: () => LayoutDataBackgroundType,
51
- LayoutOriginal: () => Layout,
52
- LayoutTypeOriginal: () => LayoutType,
53
- LineCapOriginal: () => LineCap,
54
- LineStyleOriginal: () => LineStyle,
55
- ListStyleOriginal: () => ListStyle,
56
- LoopEffectTypeOriginal: () => LoopEffectType,
57
- MapTypeOriginal: () => MapType,
58
- NodeTypeOriginal: () => NodeType,
59
- NullValueOriginal: () => NullValue,
60
- OrderOriginal: () => Order,
61
- OrientationOriginal: () => Orientation,
62
- OriginOriginal: () => Origin,
63
- PlacementOriginal: () => Placement,
64
- PluginContainerDataAlignmentOriginal: () => PluginContainerDataAlignment,
65
- PointerEffectTypeOriginal: () => PointerEffectType,
66
- PollDesignBackgroundTypeOriginal: () => PollDesignBackgroundType,
67
- PollLayoutDirectionOriginal: () => PollLayoutDirection,
68
- PollLayoutTypeOriginal: () => PollLayoutType,
69
- PositionOriginal: () => Position,
70
- PostFieldFieldOriginal: () => PostFieldField,
71
- QueryPublicationsCountStatsRequestOrderOriginal: () => QueryPublicationsCountStatsRequestOrder,
72
- ResizingOriginal: () => Resizing,
73
- ResponsivenessBehaviourOriginal: () => ResponsivenessBehaviour,
74
- ScalingOriginal: () => Scaling,
75
- ShapeOriginal: () => Shape,
76
- SmartBlockDataTypeOriginal: () => SmartBlockDataType,
77
- SortOrderOriginal: () => SortOrder,
78
- SourceOriginal: () => Source,
79
- StatusOriginal: () => Status,
80
- StylesPositionOriginal: () => StylesPosition,
81
- TargetOriginal: () => Target,
82
- TextAlignmentOriginal: () => TextAlignment,
83
- ThumbnailsAlignmentOriginal: () => ThumbnailsAlignment,
84
- TypeOriginal: () => Type,
85
- VariantOriginal: () => Variant,
86
- VerticalAlignmentAlignmentOriginal: () => VerticalAlignmentAlignment,
87
- VerticalAlignmentOriginal: () => VerticalAlignment,
88
- ViewModeOriginal: () => ViewMode,
89
- ViewRoleOriginal: () => ViewRole,
90
- VoteRoleOriginal: () => VoteRole,
91
- WebhookIdentityTypeOriginal: () => WebhookIdentityType,
92
- WidthOriginal: () => Width,
93
- WidthTypeOriginal: () => WidthType,
94
- getPost: () => getPost2,
95
- getPostBySlug: () => getPostBySlug2,
96
- getPostMetrics: () => getPostMetrics2,
97
- getTotalPosts: () => getTotalPosts2,
98
- listPosts: () => listPosts2,
99
- queryPostCountStats: () => queryPostCountStats2,
100
- queryPosts: () => queryPosts2
101
- });
102
- module.exports = __toCommonJS(meta_exports);
103
-
104
- // src/blog-v3-post-posts.http.ts
105
- var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
106
- var import_float = require("@wix/sdk-runtime/transformations/float");
107
- var import_float2 = require("@wix/sdk-runtime/transformations/float");
108
- var import_bytes = require("@wix/sdk-runtime/transformations/bytes");
109
- var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
110
- var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
111
- var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
112
- var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
113
- function resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl(opts) {
114
- const domainToMappings = {
115
- _: [
116
- {
117
- srcPath: "/_api/communities-blog-node-api/v3/posts",
118
- destPath: "/v3/posts"
119
- }
120
- ],
121
- "apps._base_domain_": [
122
- {
123
- srcPath: "/_api/communities-blog-node-api/v3/posts",
124
- destPath: "/v3/posts"
125
- }
126
- ],
127
- "www._base_domain_": [
128
- {
129
- srcPath: "/_api/communities-blog-node-api/v3/posts",
130
- destPath: "/v3/posts"
131
- }
132
- ],
133
- "www.wixapis.com": [
134
- {
135
- srcPath: "/v3/posts",
136
- destPath: "/v3/posts"
137
- },
138
- {
139
- srcPath: "/blog/v3/posts",
140
- destPath: "/v3/posts"
141
- },
142
- {
143
- srcPath: "/_api/v3/posts",
144
- destPath: "/v3/posts"
145
- }
146
- ],
147
- "manage._base_domain_": [
148
- {
149
- srcPath: "/_api/communities-blog-node-api/v3/posts",
150
- destPath: "/v3/posts"
151
- },
152
- {
153
- srcPath: "/_api/post-service-api-proxy/v3/bulk/posts",
154
- destPath: "/v3/bulk/posts"
155
- }
156
- ],
157
- "*.dev.wix-code.com": [
158
- {
159
- srcPath: "/_api/communities-blog-node-api/v3/posts",
160
- destPath: "/v3/posts"
161
- }
162
- ],
163
- "editor._base_domain_": [
164
- {
165
- srcPath: "/_api/communities-blog-node-api/v3/posts",
166
- destPath: "/v3/posts"
167
- }
168
- ],
169
- "blocks._base_domain_": [
170
- {
171
- srcPath: "/_api/communities-blog-node-api/v3/posts",
172
- destPath: "/v3/posts"
173
- }
174
- ],
175
- "create.editorx": [
176
- {
177
- srcPath: "/_api/communities-blog-node-api/v3/posts",
178
- destPath: "/v3/posts"
179
- }
180
- ],
181
- "editor.wixapps.net": [
182
- {
183
- srcPath: "/_api/communities-blog-node-api/v3/posts",
184
- destPath: "/v3/posts"
185
- }
186
- ],
187
- "dev._base_domain_": [
188
- {
189
- srcPath: "/_api/communities-blog-node-api/v3/posts",
190
- destPath: "/v3/posts"
191
- }
192
- ]
193
- };
194
- return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
195
- }
196
- function resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl(opts) {
197
- const domainToMappings = {
198
- "api._api_base_domain_": [
199
- {
200
- srcPath: "/communities-blog-node-api",
201
- destPath: ""
202
- }
203
- ],
204
- "www._base_domain_": [
205
- {
206
- srcPath: "/_api/communities-blog-node-api",
207
- destPath: ""
208
- },
209
- {
210
- srcPath: "/_api/communities-blog-node-api/v2/stats",
211
- destPath: "/v2/stats"
212
- }
213
- ],
214
- "apps._base_domain_": [
215
- {
216
- srcPath: "/_api/communities-blog-node-api",
217
- destPath: ""
218
- },
219
- {
220
- srcPath: "/_api/communities-blog-node-api/v2/stats",
221
- destPath: "/v2/stats"
222
- }
223
- ],
224
- _: [
225
- {
226
- srcPath: "/_api/communities-blog-node-api",
227
- destPath: ""
228
- },
229
- {
230
- srcPath: "/_api/communities-blog-node-api/_api/blogs/this",
231
- destPath: "/_api/blogs/this"
232
- },
233
- {
234
- srcPath: "/_api/communities-blog-node-api/_api/categories",
235
- destPath: "/_api/categories"
236
- },
237
- {
238
- srcPath: "/_api/communities-blog-node-api/_api/site-properties",
239
- destPath: "/_api/site-properties"
240
- },
241
- {
242
- srcPath: "/_api/communities-blog-node-api/_api/posts/content",
243
- destPath: "/_api/posts/content"
244
- },
245
- {
246
- srcPath: "/_api/communities-blog-node-api/v2/stats",
247
- destPath: "/v2/stats"
248
- }
249
- ],
250
- "editor._base_domain_": [
251
- {
252
- srcPath: "/_api/communities-blog-node-api",
253
- destPath: ""
254
- }
255
- ],
256
- "blocks._base_domain_": [
257
- {
258
- srcPath: "/_api/communities-blog-node-api",
259
- destPath: ""
260
- }
261
- ],
262
- "create.editorx": [
263
- {
264
- srcPath: "/_api/communities-blog-node-api",
265
- destPath: ""
266
- }
267
- ],
268
- "*.dev.wix-code.com": [
269
- {
270
- srcPath: "/_api/communities-blog-node-api",
271
- destPath: ""
272
- }
273
- ],
274
- "*.pub.wix-code.com": [
275
- {
276
- srcPath: "/_api/communities-blog-node-api",
277
- destPath: ""
278
- }
279
- ],
280
- "bo._base_domain_": [
281
- {
282
- srcPath: "/_api/communities-blog-node-api",
283
- destPath: ""
284
- },
285
- {
286
- srcPath: "/_api/communities-blog-node-api",
287
- destPath: ""
288
- }
289
- ],
290
- "wixbo.ai": [
291
- {
292
- srcPath: "/_api/communities-blog-node-api",
293
- destPath: ""
294
- },
295
- {
296
- srcPath: "/_api/communities-blog-node-api",
297
- destPath: ""
298
- }
299
- ],
300
- "wix-bo.com": [
301
- {
302
- srcPath: "/_api/communities-blog-node-api",
303
- destPath: ""
304
- },
305
- {
306
- srcPath: "/_api/communities-blog-node-api",
307
- destPath: ""
308
- }
309
- ],
310
- "manage._base_domain_": [
311
- {
312
- srcPath: "/_api/communities-blog-node-api",
313
- destPath: ""
314
- }
315
- ],
316
- "social-blog._base_domain_": [
317
- {
318
- srcPath: "/_api/communities-blog-node-api",
319
- destPath: ""
320
- }
321
- ],
322
- "editor.wixapps.net": [
323
- {
324
- srcPath: "/_api/communities-blog-node-api",
325
- destPath: ""
326
- }
327
- ],
328
- "dev._base_domain_": [
329
- {
330
- srcPath: "/_api/communities-blog-node-api",
331
- destPath: ""
332
- }
333
- ],
334
- "www.wixapis.com": [
335
- {
336
- srcPath: "/blog/v2",
337
- destPath: "/v2"
338
- },
339
- {
340
- srcPath: "/blog/v3",
341
- destPath: "/v3"
342
- },
343
- {
344
- srcPath: "/v2/stats",
345
- destPath: "/v2/stats"
346
- },
347
- {
348
- srcPath: "/blog/v2/stats",
349
- destPath: "/v2/stats"
350
- }
351
- ]
352
- };
353
- return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
354
- }
355
- var PACKAGE_NAME = "@wix/auto_sdk_blog_posts";
356
- function queryPostCountStats(payload) {
357
- function __queryPostCountStats({ host }) {
358
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
359
- {
360
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
361
- paths: [{ path: "rangeStart" }, { path: "rangeEnd" }]
362
- }
363
- ]);
364
- const metadata = {
365
- entityFqdn: "wix.blog.v3.post",
366
- method: "GET",
367
- methodFqn: "com.wixpress.npm.communities.platformized.blog.BlogStatsService.QueryPostCountStats",
368
- packageName: PACKAGE_NAME,
369
- migrationOptions: {
370
- optInTransformResponse: true
371
- },
372
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl({
373
- protoPath: "/v2/stats/post/count",
374
- data: serializedData,
375
- host
376
- }),
377
- params: (0, import_rest_modules.toURLSearchParams)(serializedData),
378
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
379
- {
380
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
381
- paths: [{ path: "stats.periodStart" }]
382
- }
383
- ])
384
- };
385
- return metadata;
386
- }
387
- return __queryPostCountStats;
388
- }
389
- function getTotalPosts(payload) {
390
- function __getTotalPosts({ host }) {
391
- const metadata = {
392
- entityFqdn: "wix.blog.v3.post",
393
- method: "GET",
394
- methodFqn: "com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts",
395
- packageName: PACKAGE_NAME,
396
- migrationOptions: {
397
- optInTransformResponse: true
398
- },
399
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl({
400
- protoPath: "/v2/stats/posts/total",
401
- data: payload,
402
- host
403
- }),
404
- params: (0, import_rest_modules.toURLSearchParams)(payload)
405
- };
406
- return metadata;
407
- }
408
- return __getTotalPosts;
409
- }
410
- function getPost(payload) {
411
- function __getPost({ host }) {
412
- const metadata = {
413
- entityFqdn: "wix.blog.v3.post",
414
- method: "GET",
415
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost",
416
- packageName: PACKAGE_NAME,
417
- migrationOptions: {
418
- optInTransformResponse: true
419
- },
420
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
421
- protoPath: "/v3/posts/{postId}",
422
- data: payload,
423
- host
424
- }),
425
- params: (0, import_rest_modules.toURLSearchParams)(payload),
426
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
427
- {
428
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
429
- paths: [
430
- { path: "post.firstPublishedDate" },
431
- { path: "post.lastPublishedDate" },
432
- { path: "post.heroImage.urlExpirationDate" },
433
- { path: "post.richContent.metadata.createdTimestamp" },
434
- { path: "post.richContent.metadata.updatedTimestamp" },
435
- { path: "post.moderationDetails.submittedDate" },
436
- { path: "post.moderationDetails.moderationDate" },
437
- { path: "post.media.wixMedia.image.urlExpirationDate" },
438
- { path: "post.media.wixMedia.videoV2.urlExpirationDate" },
439
- {
440
- path: "post.media.wixMedia.videoV2.resolutions.urlExpirationDate"
441
- },
442
- {
443
- path: "post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
444
- },
445
- { path: "post.media.wixMedia.videoV2.posters.urlExpirationDate" }
446
- ]
447
- },
448
- {
449
- transformFn: import_bytes.transformRESTBytesToSDKBytes,
450
- paths: [{ path: "post.richContentCompressed" }]
451
- },
452
- {
453
- transformFn: import_float2.transformRESTFloatToSDKFloat,
454
- paths: [
455
- { path: "post.heroImage.focalPoint.x" },
456
- { path: "post.heroImage.focalPoint.y" },
457
- { path: "post.media.wixMedia.image.focalPoint.x" },
458
- { path: "post.media.wixMedia.image.focalPoint.y" },
459
- {
460
- path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
461
- },
462
- {
463
- path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
464
- },
465
- { path: "post.media.wixMedia.videoV2.posters.focalPoint.x" },
466
- { path: "post.media.wixMedia.videoV2.posters.focalPoint.y" },
467
- { path: "post.metrics.averageRating" },
468
- {
469
- path: "post.richContent.nodes.buttonData.styles.background.gradient.centerX"
470
- },
471
- {
472
- path: "post.richContent.nodes.buttonData.styles.background.gradient.centerY"
473
- },
474
- {
475
- path: "post.richContent.nodes.buttonData.styles.background.gradient.stops.position"
476
- },
477
- {
478
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
479
- },
480
- {
481
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
482
- },
483
- {
484
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
485
- },
486
- {
487
- path: "post.richContent.nodes.galleryData.items.image.media.duration"
488
- },
489
- {
490
- path: "post.richContent.nodes.galleryData.items.video.media.duration"
491
- },
492
- {
493
- path: "post.richContent.nodes.galleryData.items.video.thumbnail.duration"
494
- },
495
- { path: "post.richContent.nodes.galleryData.options.item.ratio" },
496
- { path: "post.richContent.nodes.imageData.image.duration" },
497
- { path: "post.richContent.nodes.imageData.crop.x" },
498
- { path: "post.richContent.nodes.imageData.crop.y" },
499
- { path: "post.richContent.nodes.imageData.crop.width" },
500
- { path: "post.richContent.nodes.imageData.crop.height" },
501
- { path: "post.richContent.nodes.mapData.mapSettings.lat" },
502
- { path: "post.richContent.nodes.mapData.mapSettings.lng" },
503
- { path: "post.richContent.nodes.pollData.poll.image.duration" },
504
- {
505
- path: "post.richContent.nodes.pollData.poll.options.image.duration"
506
- },
507
- {
508
- path: "post.richContent.nodes.pollData.design.poll.background.image.duration"
509
- },
510
- { path: "post.richContent.nodes.appEmbedData.image.duration" },
511
- { path: "post.richContent.nodes.videoData.video.duration" },
512
- { path: "post.richContent.nodes.videoData.thumbnail.duration" },
513
- { path: "post.richContent.nodes.audioData.audio.duration" },
514
- { path: "post.richContent.nodes.audioData.coverImage.duration" },
515
- {
516
- path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
517
- },
518
- {
519
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
520
- },
521
- {
522
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
523
- },
524
- {
525
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
526
- },
527
- {
528
- path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
529
- },
530
- {
531
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
532
- },
533
- {
534
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
535
- },
536
- {
537
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
538
- },
539
- {
540
- path: "post.richContent.nodes.layoutData.background.gradient.centerX"
541
- },
542
- {
543
- path: "post.richContent.nodes.layoutData.background.gradient.centerY"
544
- },
545
- {
546
- path: "post.richContent.nodes.layoutData.background.gradient.stops.position"
547
- },
548
- {
549
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerX"
550
- },
551
- {
552
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerY"
553
- },
554
- {
555
- path: "post.richContent.nodes.layoutData.backdrop.gradient.stops.position"
556
- },
557
- { path: "post.richContent.nodes.shapeData.shape.duration" },
558
- {
559
- path: "post.richContent.nodes.cardData.background.gradient.centerX"
560
- },
561
- {
562
- path: "post.richContent.nodes.cardData.background.gradient.centerY"
563
- },
564
- {
565
- path: "post.richContent.nodes.cardData.background.gradient.stops.position"
566
- },
567
- {
568
- path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
569
- },
570
- {
571
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
572
- },
573
- {
574
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
575
- },
576
- {
577
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
578
- },
579
- { path: "post.richContent.nodes.tocData.fontSize" },
580
- { path: "post.richContent.nodes.tocData.itemSpacing" },
581
- {
582
- path: "post.richContent.nodes.smartBlockCellData.shape.duration"
583
- }
584
- ]
585
- }
586
- ])
587
- };
588
- return metadata;
589
- }
590
- return __getPost;
591
- }
592
- function getPostBySlug(payload) {
593
- function __getPostBySlug({ host }) {
594
- const metadata = {
595
- entityFqdn: "wix.blog.v3.post",
596
- method: "GET",
597
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug",
598
- packageName: PACKAGE_NAME,
599
- migrationOptions: {
600
- optInTransformResponse: true
601
- },
602
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
603
- protoPath: "/v3/posts/slugs/{slug}",
604
- data: payload,
605
- host
606
- }),
607
- params: (0, import_rest_modules.toURLSearchParams)(payload),
608
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
609
- {
610
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
611
- paths: [
612
- { path: "post.firstPublishedDate" },
613
- { path: "post.lastPublishedDate" },
614
- { path: "post.heroImage.urlExpirationDate" },
615
- { path: "post.richContent.metadata.createdTimestamp" },
616
- { path: "post.richContent.metadata.updatedTimestamp" },
617
- { path: "post.moderationDetails.submittedDate" },
618
- { path: "post.moderationDetails.moderationDate" },
619
- { path: "post.media.wixMedia.image.urlExpirationDate" },
620
- { path: "post.media.wixMedia.videoV2.urlExpirationDate" },
621
- {
622
- path: "post.media.wixMedia.videoV2.resolutions.urlExpirationDate"
623
- },
624
- {
625
- path: "post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
626
- },
627
- { path: "post.media.wixMedia.videoV2.posters.urlExpirationDate" }
628
- ]
629
- },
630
- {
631
- transformFn: import_bytes.transformRESTBytesToSDKBytes,
632
- paths: [{ path: "post.richContentCompressed" }]
633
- },
634
- {
635
- transformFn: import_float2.transformRESTFloatToSDKFloat,
636
- paths: [
637
- { path: "post.heroImage.focalPoint.x" },
638
- { path: "post.heroImage.focalPoint.y" },
639
- { path: "post.media.wixMedia.image.focalPoint.x" },
640
- { path: "post.media.wixMedia.image.focalPoint.y" },
641
- {
642
- path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
643
- },
644
- {
645
- path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
646
- },
647
- { path: "post.media.wixMedia.videoV2.posters.focalPoint.x" },
648
- { path: "post.media.wixMedia.videoV2.posters.focalPoint.y" },
649
- { path: "post.metrics.averageRating" },
650
- {
651
- path: "post.richContent.nodes.buttonData.styles.background.gradient.centerX"
652
- },
653
- {
654
- path: "post.richContent.nodes.buttonData.styles.background.gradient.centerY"
655
- },
656
- {
657
- path: "post.richContent.nodes.buttonData.styles.background.gradient.stops.position"
658
- },
659
- {
660
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
661
- },
662
- {
663
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
664
- },
665
- {
666
- path: "post.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
667
- },
668
- {
669
- path: "post.richContent.nodes.galleryData.items.image.media.duration"
670
- },
671
- {
672
- path: "post.richContent.nodes.galleryData.items.video.media.duration"
673
- },
674
- {
675
- path: "post.richContent.nodes.galleryData.items.video.thumbnail.duration"
676
- },
677
- { path: "post.richContent.nodes.galleryData.options.item.ratio" },
678
- { path: "post.richContent.nodes.imageData.image.duration" },
679
- { path: "post.richContent.nodes.imageData.crop.x" },
680
- { path: "post.richContent.nodes.imageData.crop.y" },
681
- { path: "post.richContent.nodes.imageData.crop.width" },
682
- { path: "post.richContent.nodes.imageData.crop.height" },
683
- { path: "post.richContent.nodes.mapData.mapSettings.lat" },
684
- { path: "post.richContent.nodes.mapData.mapSettings.lng" },
685
- { path: "post.richContent.nodes.pollData.poll.image.duration" },
686
- {
687
- path: "post.richContent.nodes.pollData.poll.options.image.duration"
688
- },
689
- {
690
- path: "post.richContent.nodes.pollData.design.poll.background.image.duration"
691
- },
692
- { path: "post.richContent.nodes.appEmbedData.image.duration" },
693
- { path: "post.richContent.nodes.videoData.video.duration" },
694
- { path: "post.richContent.nodes.videoData.thumbnail.duration" },
695
- { path: "post.richContent.nodes.audioData.audio.duration" },
696
- { path: "post.richContent.nodes.audioData.coverImage.duration" },
697
- {
698
- path: "post.richContent.nodes.layoutData.backgroundImage.media.duration"
699
- },
700
- {
701
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
702
- },
703
- {
704
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
705
- },
706
- {
707
- path: "post.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
708
- },
709
- {
710
- path: "post.richContent.nodes.layoutData.backdropImage.media.duration"
711
- },
712
- {
713
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
714
- },
715
- {
716
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
717
- },
718
- {
719
- path: "post.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
720
- },
721
- {
722
- path: "post.richContent.nodes.layoutData.background.gradient.centerX"
723
- },
724
- {
725
- path: "post.richContent.nodes.layoutData.background.gradient.centerY"
726
- },
727
- {
728
- path: "post.richContent.nodes.layoutData.background.gradient.stops.position"
729
- },
730
- {
731
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerX"
732
- },
733
- {
734
- path: "post.richContent.nodes.layoutData.backdrop.gradient.centerY"
735
- },
736
- {
737
- path: "post.richContent.nodes.layoutData.backdrop.gradient.stops.position"
738
- },
739
- { path: "post.richContent.nodes.shapeData.shape.duration" },
740
- {
741
- path: "post.richContent.nodes.cardData.background.gradient.centerX"
742
- },
743
- {
744
- path: "post.richContent.nodes.cardData.background.gradient.centerY"
745
- },
746
- {
747
- path: "post.richContent.nodes.cardData.background.gradient.stops.position"
748
- },
749
- {
750
- path: "post.richContent.nodes.cardData.backgroundImage.media.duration"
751
- },
752
- {
753
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
754
- },
755
- {
756
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
757
- },
758
- {
759
- path: "post.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
760
- },
761
- { path: "post.richContent.nodes.tocData.fontSize" },
762
- { path: "post.richContent.nodes.tocData.itemSpacing" },
763
- {
764
- path: "post.richContent.nodes.smartBlockCellData.shape.duration"
765
- }
766
- ]
767
- }
768
- ])
769
- };
770
- return metadata;
771
- }
772
- return __getPostBySlug;
773
- }
774
- function listPosts(payload) {
775
- function __listPosts({ host }) {
776
- const metadata = {
777
- entityFqdn: "wix.blog.v3.post",
778
- method: "GET",
779
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts",
780
- packageName: PACKAGE_NAME,
781
- migrationOptions: {
782
- optInTransformResponse: true
783
- },
784
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
785
- protoPath: "/v3/posts",
786
- data: payload,
787
- host
788
- }),
789
- params: (0, import_rest_modules.toURLSearchParams)(payload),
790
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
791
- {
792
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
793
- paths: [
794
- { path: "posts.firstPublishedDate" },
795
- { path: "posts.lastPublishedDate" },
796
- { path: "posts.heroImage.urlExpirationDate" },
797
- { path: "posts.richContent.metadata.createdTimestamp" },
798
- { path: "posts.richContent.metadata.updatedTimestamp" },
799
- { path: "posts.moderationDetails.submittedDate" },
800
- { path: "posts.moderationDetails.moderationDate" },
801
- { path: "posts.media.wixMedia.image.urlExpirationDate" },
802
- { path: "posts.media.wixMedia.videoV2.urlExpirationDate" },
803
- {
804
- path: "posts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
805
- },
806
- {
807
- path: "posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
808
- },
809
- {
810
- path: "posts.media.wixMedia.videoV2.posters.urlExpirationDate"
811
- }
812
- ]
813
- },
814
- {
815
- transformFn: import_bytes.transformRESTBytesToSDKBytes,
816
- paths: [{ path: "posts.richContentCompressed" }]
817
- },
818
- {
819
- transformFn: import_float2.transformRESTFloatToSDKFloat,
820
- paths: [
821
- { path: "posts.heroImage.focalPoint.x" },
822
- { path: "posts.heroImage.focalPoint.y" },
823
- { path: "posts.media.wixMedia.image.focalPoint.x" },
824
- { path: "posts.media.wixMedia.image.focalPoint.y" },
825
- {
826
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
827
- },
828
- {
829
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
830
- },
831
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
832
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
833
- { path: "posts.metrics.averageRating" },
834
- {
835
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerX"
836
- },
837
- {
838
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerY"
839
- },
840
- {
841
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
842
- },
843
- {
844
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
845
- },
846
- {
847
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
848
- },
849
- {
850
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
851
- },
852
- {
853
- path: "posts.richContent.nodes.galleryData.items.image.media.duration"
854
- },
855
- {
856
- path: "posts.richContent.nodes.galleryData.items.video.media.duration"
857
- },
858
- {
859
- path: "posts.richContent.nodes.galleryData.items.video.thumbnail.duration"
860
- },
861
- {
862
- path: "posts.richContent.nodes.galleryData.options.item.ratio"
863
- },
864
- { path: "posts.richContent.nodes.imageData.image.duration" },
865
- { path: "posts.richContent.nodes.imageData.crop.x" },
866
- { path: "posts.richContent.nodes.imageData.crop.y" },
867
- { path: "posts.richContent.nodes.imageData.crop.width" },
868
- { path: "posts.richContent.nodes.imageData.crop.height" },
869
- { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
870
- { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
871
- { path: "posts.richContent.nodes.pollData.poll.image.duration" },
872
- {
873
- path: "posts.richContent.nodes.pollData.poll.options.image.duration"
874
- },
875
- {
876
- path: "posts.richContent.nodes.pollData.design.poll.background.image.duration"
877
- },
878
- { path: "posts.richContent.nodes.appEmbedData.image.duration" },
879
- { path: "posts.richContent.nodes.videoData.video.duration" },
880
- { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
881
- { path: "posts.richContent.nodes.audioData.audio.duration" },
882
- { path: "posts.richContent.nodes.audioData.coverImage.duration" },
883
- {
884
- path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
885
- },
886
- {
887
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
888
- },
889
- {
890
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
891
- },
892
- {
893
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
894
- },
895
- {
896
- path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
897
- },
898
- {
899
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
900
- },
901
- {
902
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
903
- },
904
- {
905
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
906
- },
907
- {
908
- path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
909
- },
910
- {
911
- path: "posts.richContent.nodes.layoutData.background.gradient.centerY"
912
- },
913
- {
914
- path: "posts.richContent.nodes.layoutData.background.gradient.stops.position"
915
- },
916
- {
917
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerX"
918
- },
919
- {
920
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerY"
921
- },
922
- {
923
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
924
- },
925
- { path: "posts.richContent.nodes.shapeData.shape.duration" },
926
- {
927
- path: "posts.richContent.nodes.cardData.background.gradient.centerX"
928
- },
929
- {
930
- path: "posts.richContent.nodes.cardData.background.gradient.centerY"
931
- },
932
- {
933
- path: "posts.richContent.nodes.cardData.background.gradient.stops.position"
934
- },
935
- {
936
- path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
937
- },
938
- {
939
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
940
- },
941
- {
942
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
943
- },
944
- {
945
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
946
- },
947
- { path: "posts.richContent.nodes.tocData.fontSize" },
948
- { path: "posts.richContent.nodes.tocData.itemSpacing" },
949
- {
950
- path: "posts.richContent.nodes.smartBlockCellData.shape.duration"
951
- }
952
- ]
953
- }
954
- ])
955
- };
956
- return metadata;
957
- }
958
- return __listPosts;
959
- }
960
- function queryPosts(payload) {
961
- function __queryPosts({ host }) {
962
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
963
- {
964
- transformFn: import_float.transformSDKFloatToRESTFloat,
965
- paths: [
966
- { path: "sort.origin.latitude" },
967
- { path: "sort.origin.longitude" },
968
- { path: "query.sort.origin.latitude" },
969
- { path: "query.sort.origin.longitude" }
970
- ]
971
- }
972
- ]);
973
- const metadata = {
974
- entityFqdn: "wix.blog.v3.post",
975
- method: "POST",
976
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts",
977
- packageName: PACKAGE_NAME,
978
- migrationOptions: {
979
- optInTransformResponse: true
980
- },
981
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
982
- protoPath: "/v3/posts/query",
983
- data: serializedData,
984
- host
985
- }),
986
- data: serializedData,
987
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
988
- {
989
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
990
- paths: [
991
- { path: "posts.firstPublishedDate" },
992
- { path: "posts.lastPublishedDate" },
993
- { path: "posts.heroImage.urlExpirationDate" },
994
- { path: "posts.richContent.metadata.createdTimestamp" },
995
- { path: "posts.richContent.metadata.updatedTimestamp" },
996
- { path: "posts.moderationDetails.submittedDate" },
997
- { path: "posts.moderationDetails.moderationDate" },
998
- { path: "posts.media.wixMedia.image.urlExpirationDate" },
999
- { path: "posts.media.wixMedia.videoV2.urlExpirationDate" },
1000
- {
1001
- path: "posts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
1002
- },
1003
- {
1004
- path: "posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
1005
- },
1006
- {
1007
- path: "posts.media.wixMedia.videoV2.posters.urlExpirationDate"
1008
- }
1009
- ]
1010
- },
1011
- {
1012
- transformFn: import_bytes.transformRESTBytesToSDKBytes,
1013
- paths: [{ path: "posts.richContentCompressed" }]
1014
- },
1015
- {
1016
- transformFn: import_float2.transformRESTFloatToSDKFloat,
1017
- paths: [
1018
- { path: "posts.heroImage.focalPoint.x" },
1019
- { path: "posts.heroImage.focalPoint.y" },
1020
- { path: "posts.media.wixMedia.image.focalPoint.x" },
1021
- { path: "posts.media.wixMedia.image.focalPoint.y" },
1022
- {
1023
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
1024
- },
1025
- {
1026
- path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
1027
- },
1028
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
1029
- { path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
1030
- { path: "posts.metrics.averageRating" },
1031
- {
1032
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerX"
1033
- },
1034
- {
1035
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.centerY"
1036
- },
1037
- {
1038
- path: "posts.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1039
- },
1040
- {
1041
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1042
- },
1043
- {
1044
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1045
- },
1046
- {
1047
- path: "posts.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1048
- },
1049
- {
1050
- path: "posts.richContent.nodes.galleryData.items.image.media.duration"
1051
- },
1052
- {
1053
- path: "posts.richContent.nodes.galleryData.items.video.media.duration"
1054
- },
1055
- {
1056
- path: "posts.richContent.nodes.galleryData.items.video.thumbnail.duration"
1057
- },
1058
- {
1059
- path: "posts.richContent.nodes.galleryData.options.item.ratio"
1060
- },
1061
- { path: "posts.richContent.nodes.imageData.image.duration" },
1062
- { path: "posts.richContent.nodes.imageData.crop.x" },
1063
- { path: "posts.richContent.nodes.imageData.crop.y" },
1064
- { path: "posts.richContent.nodes.imageData.crop.width" },
1065
- { path: "posts.richContent.nodes.imageData.crop.height" },
1066
- { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
1067
- { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
1068
- { path: "posts.richContent.nodes.pollData.poll.image.duration" },
1069
- {
1070
- path: "posts.richContent.nodes.pollData.poll.options.image.duration"
1071
- },
1072
- {
1073
- path: "posts.richContent.nodes.pollData.design.poll.background.image.duration"
1074
- },
1075
- { path: "posts.richContent.nodes.appEmbedData.image.duration" },
1076
- { path: "posts.richContent.nodes.videoData.video.duration" },
1077
- { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
1078
- { path: "posts.richContent.nodes.audioData.audio.duration" },
1079
- { path: "posts.richContent.nodes.audioData.coverImage.duration" },
1080
- {
1081
- path: "posts.richContent.nodes.layoutData.backgroundImage.media.duration"
1082
- },
1083
- {
1084
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1085
- },
1086
- {
1087
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1088
- },
1089
- {
1090
- path: "posts.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1091
- },
1092
- {
1093
- path: "posts.richContent.nodes.layoutData.backdropImage.media.duration"
1094
- },
1095
- {
1096
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1097
- },
1098
- {
1099
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1100
- },
1101
- {
1102
- path: "posts.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1103
- },
1104
- {
1105
- path: "posts.richContent.nodes.layoutData.background.gradient.centerX"
1106
- },
1107
- {
1108
- path: "posts.richContent.nodes.layoutData.background.gradient.centerY"
1109
- },
1110
- {
1111
- path: "posts.richContent.nodes.layoutData.background.gradient.stops.position"
1112
- },
1113
- {
1114
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerX"
1115
- },
1116
- {
1117
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.centerY"
1118
- },
1119
- {
1120
- path: "posts.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1121
- },
1122
- { path: "posts.richContent.nodes.shapeData.shape.duration" },
1123
- {
1124
- path: "posts.richContent.nodes.cardData.background.gradient.centerX"
1125
- },
1126
- {
1127
- path: "posts.richContent.nodes.cardData.background.gradient.centerY"
1128
- },
1129
- {
1130
- path: "posts.richContent.nodes.cardData.background.gradient.stops.position"
1131
- },
1132
- {
1133
- path: "posts.richContent.nodes.cardData.backgroundImage.media.duration"
1134
- },
1135
- {
1136
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1137
- },
1138
- {
1139
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1140
- },
1141
- {
1142
- path: "posts.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1143
- },
1144
- { path: "posts.richContent.nodes.tocData.fontSize" },
1145
- { path: "posts.richContent.nodes.tocData.itemSpacing" },
1146
- {
1147
- path: "posts.richContent.nodes.smartBlockCellData.shape.duration"
1148
- }
1149
- ]
1150
- }
1151
- ])
1152
- };
1153
- return metadata;
1154
- }
1155
- return __queryPosts;
1156
- }
1157
- function getPostMetrics(payload) {
1158
- function __getPostMetrics({ host }) {
1159
- const metadata = {
1160
- entityFqdn: "wix.blog.v3.post",
1161
- method: "GET",
1162
- methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostMetrics",
1163
- packageName: PACKAGE_NAME,
1164
- migrationOptions: {
1165
- optInTransformResponse: true
1166
- },
1167
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
1168
- protoPath: "/v3/posts/{postId}/metrics",
1169
- data: payload,
1170
- host
1171
- }),
1172
- params: (0, import_rest_modules.toURLSearchParams)(payload),
1173
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1174
- {
1175
- transformFn: import_float2.transformRESTFloatToSDKFloat,
1176
- paths: [{ path: "metrics.averageRating" }]
1177
- }
1178
- ])
1179
- };
1180
- return metadata;
1181
- }
1182
- return __getPostMetrics;
1183
- }
1184
-
1185
- // src/blog-v3-post-posts.types.ts
1186
- var NodeType = /* @__PURE__ */ ((NodeType2) => {
1187
- NodeType2["PARAGRAPH"] = "PARAGRAPH";
1188
- NodeType2["TEXT"] = "TEXT";
1189
- NodeType2["HEADING"] = "HEADING";
1190
- NodeType2["BULLETED_LIST"] = "BULLETED_LIST";
1191
- NodeType2["ORDERED_LIST"] = "ORDERED_LIST";
1192
- NodeType2["LIST_ITEM"] = "LIST_ITEM";
1193
- NodeType2["BLOCKQUOTE"] = "BLOCKQUOTE";
1194
- NodeType2["CODE_BLOCK"] = "CODE_BLOCK";
1195
- NodeType2["VIDEO"] = "VIDEO";
1196
- NodeType2["DIVIDER"] = "DIVIDER";
1197
- NodeType2["FILE"] = "FILE";
1198
- NodeType2["GALLERY"] = "GALLERY";
1199
- NodeType2["GIF"] = "GIF";
1200
- NodeType2["HTML"] = "HTML";
1201
- NodeType2["IMAGE"] = "IMAGE";
1202
- NodeType2["LINK_PREVIEW"] = "LINK_PREVIEW";
1203
- NodeType2["MAP"] = "MAP";
1204
- NodeType2["POLL"] = "POLL";
1205
- NodeType2["APP_EMBED"] = "APP_EMBED";
1206
- NodeType2["BUTTON"] = "BUTTON";
1207
- NodeType2["COLLAPSIBLE_LIST"] = "COLLAPSIBLE_LIST";
1208
- NodeType2["TABLE"] = "TABLE";
1209
- NodeType2["EMBED"] = "EMBED";
1210
- NodeType2["COLLAPSIBLE_ITEM"] = "COLLAPSIBLE_ITEM";
1211
- NodeType2["COLLAPSIBLE_ITEM_TITLE"] = "COLLAPSIBLE_ITEM_TITLE";
1212
- NodeType2["COLLAPSIBLE_ITEM_BODY"] = "COLLAPSIBLE_ITEM_BODY";
1213
- NodeType2["TABLE_CELL"] = "TABLE_CELL";
1214
- NodeType2["TABLE_ROW"] = "TABLE_ROW";
1215
- NodeType2["EXTERNAL"] = "EXTERNAL";
1216
- NodeType2["AUDIO"] = "AUDIO";
1217
- NodeType2["CAPTION"] = "CAPTION";
1218
- NodeType2["LAYOUT"] = "LAYOUT";
1219
- NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
1220
- NodeType2["SHAPE"] = "SHAPE";
1221
- NodeType2["CARD"] = "CARD";
1222
- NodeType2["TOC"] = "TOC";
1223
- NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
1224
- NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
1225
- NodeType2["CHECKBOX_LIST"] = "CHECKBOX_LIST";
1226
- return NodeType2;
1227
- })(NodeType || {});
1228
- var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
1229
- BackgroundType2["COLOR"] = "COLOR";
1230
- BackgroundType2["GRADIENT"] = "GRADIENT";
1231
- return BackgroundType2;
1232
- })(BackgroundType || {});
1233
- var GradientType = /* @__PURE__ */ ((GradientType2) => {
1234
- GradientType2["LINEAR"] = "LINEAR";
1235
- GradientType2["RADIAL"] = "RADIAL";
1236
- return GradientType2;
1237
- })(GradientType || {});
1238
- var WidthType = /* @__PURE__ */ ((WidthType2) => {
1239
- WidthType2["CONTENT"] = "CONTENT";
1240
- WidthType2["SMALL"] = "SMALL";
1241
- WidthType2["ORIGINAL"] = "ORIGINAL";
1242
- WidthType2["FULL_WIDTH"] = "FULL_WIDTH";
1243
- return WidthType2;
1244
- })(WidthType || {});
1245
- var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignment2) => {
1246
- PluginContainerDataAlignment2["CENTER"] = "CENTER";
1247
- PluginContainerDataAlignment2["LEFT"] = "LEFT";
1248
- PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
1249
- return PluginContainerDataAlignment2;
1250
- })(PluginContainerDataAlignment || {});
1251
- var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
1252
- ButtonDataType2["LINK"] = "LINK";
1253
- ButtonDataType2["ACTION"] = "ACTION";
1254
- return ButtonDataType2;
1255
- })(ButtonDataType || {});
1256
- var Target = /* @__PURE__ */ ((Target2) => {
1257
- Target2["SELF"] = "SELF";
1258
- Target2["BLANK"] = "BLANK";
1259
- Target2["PARENT"] = "PARENT";
1260
- Target2["TOP"] = "TOP";
1261
- return Target2;
1262
- })(Target || {});
1263
- var Type = /* @__PURE__ */ ((Type2) => {
1264
- Type2["VIEW"] = "VIEW";
1265
- Type2["POINTER"] = "POINTER";
1266
- return Type2;
1267
- })(Type || {});
1268
- var EntranceEffectType = /* @__PURE__ */ ((EntranceEffectType2) => {
1269
- EntranceEffectType2["FADE"] = "FADE";
1270
- EntranceEffectType2["ARC"] = "ARC";
1271
- EntranceEffectType2["BLUR"] = "BLUR";
1272
- EntranceEffectType2["BOUNCE"] = "BOUNCE";
1273
- EntranceEffectType2["DROP"] = "DROP";
1274
- EntranceEffectType2["EXPAND"] = "EXPAND";
1275
- EntranceEffectType2["FLIP"] = "FLIP";
1276
- EntranceEffectType2["FLOAT"] = "FLOAT";
1277
- EntranceEffectType2["FOLD"] = "FOLD";
1278
- EntranceEffectType2["GLIDE"] = "GLIDE";
1279
- EntranceEffectType2["REVEAL"] = "REVEAL";
1280
- EntranceEffectType2["SHAPE"] = "SHAPE";
1281
- EntranceEffectType2["SHUTTERS"] = "SHUTTERS";
1282
- EntranceEffectType2["SLIDE"] = "SLIDE";
1283
- EntranceEffectType2["SPIN"] = "SPIN";
1284
- EntranceEffectType2["TILT"] = "TILT";
1285
- EntranceEffectType2["TURN"] = "TURN";
1286
- EntranceEffectType2["WINK"] = "WINK";
1287
- return EntranceEffectType2;
1288
- })(EntranceEffectType || {});
1289
- var LoopEffectType = /* @__PURE__ */ ((LoopEffectType2) => {
1290
- LoopEffectType2["BOUNCE"] = "BOUNCE";
1291
- LoopEffectType2["BREATHE"] = "BREATHE";
1292
- LoopEffectType2["CROSS"] = "CROSS";
1293
- LoopEffectType2["FLASH"] = "FLASH";
1294
- LoopEffectType2["FLIP"] = "FLIP";
1295
- LoopEffectType2["FOLD"] = "FOLD";
1296
- LoopEffectType2["JELLO"] = "JELLO";
1297
- LoopEffectType2["POKE"] = "POKE";
1298
- LoopEffectType2["PULSE"] = "PULSE";
1299
- LoopEffectType2["RUBBER"] = "RUBBER";
1300
- LoopEffectType2["SPIN"] = "SPIN";
1301
- LoopEffectType2["SWING"] = "SWING";
1302
- LoopEffectType2["WIGGLE"] = "WIGGLE";
1303
- return LoopEffectType2;
1304
- })(LoopEffectType || {});
1305
- var PointerEffectType = /* @__PURE__ */ ((PointerEffectType2) => {
1306
- PointerEffectType2["AIRY"] = "AIRY";
1307
- PointerEffectType2["BLOB"] = "BLOB";
1308
- PointerEffectType2["BLUR"] = "BLUR";
1309
- PointerEffectType2["SCALE"] = "SCALE";
1310
- PointerEffectType2["SKEW"] = "SKEW";
1311
- PointerEffectType2["SWIVEL"] = "SWIVEL";
1312
- PointerEffectType2["TILT_3D"] = "TILT_3D";
1313
- PointerEffectType2["TRACK"] = "TRACK";
1314
- PointerEffectType2["TRACK_3D"] = "TRACK_3D";
1315
- return PointerEffectType2;
1316
- })(PointerEffectType || {});
1317
- var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
1318
- TextAlignment2["AUTO"] = "AUTO";
1319
- TextAlignment2["LEFT"] = "LEFT";
1320
- TextAlignment2["RIGHT"] = "RIGHT";
1321
- TextAlignment2["CENTER"] = "CENTER";
1322
- TextAlignment2["JUSTIFY"] = "JUSTIFY";
1323
- return TextAlignment2;
1324
- })(TextAlignment || {});
1325
- var LineCap = /* @__PURE__ */ ((LineCap2) => {
1326
- LineCap2["SQUARE"] = "SQUARE";
1327
- LineCap2["ROUND"] = "ROUND";
1328
- return LineCap2;
1329
- })(LineCap || {});
1330
- var LineStyle = /* @__PURE__ */ ((LineStyle2) => {
1331
- LineStyle2["SINGLE"] = "SINGLE";
1332
- LineStyle2["DOUBLE"] = "DOUBLE";
1333
- LineStyle2["DASHED"] = "DASHED";
1334
- LineStyle2["DOTTED"] = "DOTTED";
1335
- return LineStyle2;
1336
- })(LineStyle || {});
1337
- var Width = /* @__PURE__ */ ((Width2) => {
1338
- Width2["LARGE"] = "LARGE";
1339
- Width2["MEDIUM"] = "MEDIUM";
1340
- Width2["SMALL"] = "SMALL";
1341
- return Width2;
1342
- })(Width || {});
1343
- var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
1344
- DividerDataAlignment2["CENTER"] = "CENTER";
1345
- DividerDataAlignment2["LEFT"] = "LEFT";
1346
- DividerDataAlignment2["RIGHT"] = "RIGHT";
1347
- return DividerDataAlignment2;
1348
- })(DividerDataAlignment || {});
1349
- var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
1350
- ViewMode2["NONE"] = "NONE";
1351
- ViewMode2["FULL"] = "FULL";
1352
- ViewMode2["MINI"] = "MINI";
1353
- return ViewMode2;
1354
- })(ViewMode || {});
1355
- var LayoutType = /* @__PURE__ */ ((LayoutType2) => {
1356
- LayoutType2["COLLAGE"] = "COLLAGE";
1357
- LayoutType2["MASONRY"] = "MASONRY";
1358
- LayoutType2["GRID"] = "GRID";
1359
- LayoutType2["THUMBNAIL"] = "THUMBNAIL";
1360
- LayoutType2["SLIDER"] = "SLIDER";
1361
- LayoutType2["SLIDESHOW"] = "SLIDESHOW";
1362
- LayoutType2["PANORAMA"] = "PANORAMA";
1363
- LayoutType2["COLUMN"] = "COLUMN";
1364
- LayoutType2["MAGIC"] = "MAGIC";
1365
- LayoutType2["FULLSIZE"] = "FULLSIZE";
1366
- return LayoutType2;
1367
- })(LayoutType || {});
1368
- var Orientation = /* @__PURE__ */ ((Orientation2) => {
1369
- Orientation2["ROWS"] = "ROWS";
1370
- Orientation2["COLUMNS"] = "COLUMNS";
1371
- return Orientation2;
1372
- })(Orientation || {});
1373
- var Crop = /* @__PURE__ */ ((Crop2) => {
1374
- Crop2["FILL"] = "FILL";
1375
- Crop2["FIT"] = "FIT";
1376
- return Crop2;
1377
- })(Crop || {});
1378
- var ThumbnailsAlignment = /* @__PURE__ */ ((ThumbnailsAlignment2) => {
1379
- ThumbnailsAlignment2["TOP"] = "TOP";
1380
- ThumbnailsAlignment2["RIGHT"] = "RIGHT";
1381
- ThumbnailsAlignment2["BOTTOM"] = "BOTTOM";
1382
- ThumbnailsAlignment2["LEFT"] = "LEFT";
1383
- ThumbnailsAlignment2["NONE"] = "NONE";
1384
- return ThumbnailsAlignment2;
1385
- })(ThumbnailsAlignment || {});
1386
- var GIFType = /* @__PURE__ */ ((GIFType2) => {
1387
- GIFType2["NORMAL"] = "NORMAL";
1388
- GIFType2["STICKER"] = "STICKER";
1389
- return GIFType2;
1390
- })(GIFType || {});
1391
- var Source = /* @__PURE__ */ ((Source2) => {
1392
- Source2["HTML"] = "HTML";
1393
- Source2["ADSENSE"] = "ADSENSE";
1394
- Source2["AI"] = "AI";
1395
- Source2["AI_WIDGET"] = "AI_WIDGET";
1396
- return Source2;
1397
- })(Source || {});
1398
- var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
1399
- StylesPosition2["START"] = "START";
1400
- StylesPosition2["END"] = "END";
1401
- StylesPosition2["TOP"] = "TOP";
1402
- StylesPosition2["HIDDEN"] = "HIDDEN";
1403
- return StylesPosition2;
1404
- })(StylesPosition || {});
1405
- var MapType = /* @__PURE__ */ ((MapType2) => {
1406
- MapType2["ROADMAP"] = "ROADMAP";
1407
- MapType2["SATELITE"] = "SATELITE";
1408
- MapType2["HYBRID"] = "HYBRID";
1409
- MapType2["TERRAIN"] = "TERRAIN";
1410
- return MapType2;
1411
- })(MapType || {});
1412
- var ViewRole = /* @__PURE__ */ ((ViewRole2) => {
1413
- ViewRole2["CREATOR"] = "CREATOR";
1414
- ViewRole2["VOTERS"] = "VOTERS";
1415
- ViewRole2["EVERYONE"] = "EVERYONE";
1416
- return ViewRole2;
1417
- })(ViewRole || {});
1418
- var VoteRole = /* @__PURE__ */ ((VoteRole2) => {
1419
- VoteRole2["SITE_MEMBERS"] = "SITE_MEMBERS";
1420
- VoteRole2["ALL"] = "ALL";
1421
- return VoteRole2;
1422
- })(VoteRole || {});
1423
- var PollLayoutType = /* @__PURE__ */ ((PollLayoutType2) => {
1424
- PollLayoutType2["LIST"] = "LIST";
1425
- PollLayoutType2["GRID"] = "GRID";
1426
- return PollLayoutType2;
1427
- })(PollLayoutType || {});
1428
- var PollLayoutDirection = /* @__PURE__ */ ((PollLayoutDirection2) => {
1429
- PollLayoutDirection2["LTR"] = "LTR";
1430
- PollLayoutDirection2["RTL"] = "RTL";
1431
- return PollLayoutDirection2;
1432
- })(PollLayoutDirection || {});
1433
- var PollDesignBackgroundType = /* @__PURE__ */ ((PollDesignBackgroundType2) => {
1434
- PollDesignBackgroundType2["COLOR"] = "COLOR";
1435
- PollDesignBackgroundType2["IMAGE"] = "IMAGE";
1436
- PollDesignBackgroundType2["GRADIENT"] = "GRADIENT";
1437
- return PollDesignBackgroundType2;
1438
- })(PollDesignBackgroundType || {});
1439
- var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
1440
- DecorationType2["BOLD"] = "BOLD";
1441
- DecorationType2["ITALIC"] = "ITALIC";
1442
- DecorationType2["UNDERLINE"] = "UNDERLINE";
1443
- DecorationType2["SPOILER"] = "SPOILER";
1444
- DecorationType2["ANCHOR"] = "ANCHOR";
1445
- DecorationType2["MENTION"] = "MENTION";
1446
- DecorationType2["LINK"] = "LINK";
1447
- DecorationType2["COLOR"] = "COLOR";
1448
- DecorationType2["FONT_SIZE"] = "FONT_SIZE";
1449
- DecorationType2["EXTERNAL"] = "EXTERNAL";
1450
- DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
1451
- DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
1452
- DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
1453
- DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
1454
- DecorationType2["SKETCH"] = "SKETCH";
1455
- return DecorationType2;
1456
- })(DecorationType || {});
1457
- var FontType = /* @__PURE__ */ ((FontType2) => {
1458
- FontType2["PX"] = "PX";
1459
- FontType2["EM"] = "EM";
1460
- return FontType2;
1461
- })(FontType || {});
1462
- var Variant = /* @__PURE__ */ ((Variant2) => {
1463
- Variant2["UNDERLINE"] = "UNDERLINE";
1464
- Variant2["BOX"] = "BOX";
1465
- Variant2["CIRCLE"] = "CIRCLE";
1466
- Variant2["HIGHLIGHT"] = "HIGHLIGHT";
1467
- Variant2["STRIKETHROUGH"] = "STRIKETHROUGH";
1468
- Variant2["CROSSED_OFF"] = "CROSSED_OFF";
1469
- return Variant2;
1470
- })(Variant || {});
1471
- var Position = /* @__PURE__ */ ((Position2) => {
1472
- Position2["START"] = "START";
1473
- Position2["END"] = "END";
1474
- Position2["TOP"] = "TOP";
1475
- return Position2;
1476
- })(Position || {});
1477
- var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
1478
- AspectRatio2["SQUARE"] = "SQUARE";
1479
- AspectRatio2["RECTANGLE"] = "RECTANGLE";
1480
- return AspectRatio2;
1481
- })(AspectRatio || {});
1482
- var Resizing = /* @__PURE__ */ ((Resizing2) => {
1483
- Resizing2["FILL"] = "FILL";
1484
- Resizing2["FIT"] = "FIT";
1485
- return Resizing2;
1486
- })(Resizing || {});
1487
- var Placement = /* @__PURE__ */ ((Placement2) => {
1488
- Placement2["IMAGE"] = "IMAGE";
1489
- Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
1490
- return Placement2;
1491
- })(Placement || {});
1492
- var CardStylesType = /* @__PURE__ */ ((CardStylesType2) => {
1493
- CardStylesType2["CONTAINED"] = "CONTAINED";
1494
- CardStylesType2["FRAMELESS"] = "FRAMELESS";
1495
- return CardStylesType2;
1496
- })(CardStylesType || {});
1497
- var Alignment = /* @__PURE__ */ ((Alignment2) => {
1498
- Alignment2["START"] = "START";
1499
- Alignment2["CENTER"] = "CENTER";
1500
- Alignment2["END"] = "END";
1501
- return Alignment2;
1502
- })(Alignment || {});
1503
- var Layout = /* @__PURE__ */ ((Layout2) => {
1504
- Layout2["STACKED"] = "STACKED";
1505
- Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
1506
- return Layout2;
1507
- })(Layout || {});
1508
- var AppType = /* @__PURE__ */ ((AppType2) => {
1509
- AppType2["PRODUCT"] = "PRODUCT";
1510
- AppType2["EVENT"] = "EVENT";
1511
- AppType2["BOOKING"] = "BOOKING";
1512
- return AppType2;
1513
- })(AppType || {});
1514
- var InitialExpandedItems = /* @__PURE__ */ ((InitialExpandedItems2) => {
1515
- InitialExpandedItems2["FIRST"] = "FIRST";
1516
- InitialExpandedItems2["ALL"] = "ALL";
1517
- InitialExpandedItems2["NONE"] = "NONE";
1518
- return InitialExpandedItems2;
1519
- })(InitialExpandedItems || {});
1520
- var Direction = /* @__PURE__ */ ((Direction2) => {
1521
- Direction2["LTR"] = "LTR";
1522
- Direction2["RTL"] = "RTL";
1523
- return Direction2;
1524
- })(Direction || {});
1525
- var VerticalAlignment = /* @__PURE__ */ ((VerticalAlignment2) => {
1526
- VerticalAlignment2["TOP"] = "TOP";
1527
- VerticalAlignment2["MIDDLE"] = "MIDDLE";
1528
- VerticalAlignment2["BOTTOM"] = "BOTTOM";
1529
- return VerticalAlignment2;
1530
- })(VerticalAlignment || {});
1531
- var NullValue = /* @__PURE__ */ ((NullValue2) => {
1532
- NullValue2["NULL_VALUE"] = "NULL_VALUE";
1533
- return NullValue2;
1534
- })(NullValue || {});
1535
- var ImageScalingScaling = /* @__PURE__ */ ((ImageScalingScaling2) => {
1536
- ImageScalingScaling2["AUTO"] = "AUTO";
1537
- ImageScalingScaling2["CONTAIN"] = "CONTAIN";
1538
- ImageScalingScaling2["COVER"] = "COVER";
1539
- return ImageScalingScaling2;
1540
- })(ImageScalingScaling || {});
1541
- var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
1542
- ImagePosition2["CENTER"] = "CENTER";
1543
- ImagePosition2["CENTER_LEFT"] = "CENTER_LEFT";
1544
- ImagePosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
1545
- ImagePosition2["TOP"] = "TOP";
1546
- ImagePosition2["TOP_LEFT"] = "TOP_LEFT";
1547
- ImagePosition2["TOP_RIGHT"] = "TOP_RIGHT";
1548
- ImagePosition2["BOTTOM"] = "BOTTOM";
1549
- ImagePosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
1550
- ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
1551
- return ImagePosition2;
1552
- })(ImagePosition || {});
1553
- var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
1554
- LayoutDataBackgroundType2["COLOR"] = "COLOR";
1555
- LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
1556
- return LayoutDataBackgroundType2;
1557
- })(LayoutDataBackgroundType || {});
1558
- var Origin = /* @__PURE__ */ ((Origin2) => {
1559
- Origin2["IMAGE"] = "IMAGE";
1560
- Origin2["LAYOUT"] = "LAYOUT";
1561
- return Origin2;
1562
- })(Origin || {});
1563
- var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
1564
- BannerPosition2["TOP"] = "TOP";
1565
- BannerPosition2["BOTTOM"] = "BOTTOM";
1566
- return BannerPosition2;
1567
- })(BannerPosition || {});
1568
- var LayerEffect = /* @__PURE__ */ ((LayerEffect2) => {
1569
- LayerEffect2["CENTER"] = "CENTER";
1570
- LayerEffect2["FADE_TO_TOP"] = "FADE_TO_TOP";
1571
- LayerEffect2["FADE_TO_BOTTOM"] = "FADE_TO_BOTTOM";
1572
- return LayerEffect2;
1573
- })(LayerEffect || {});
1574
- var Shape = /* @__PURE__ */ ((Shape2) => {
1575
- Shape2["ELLIPSE"] = "ELLIPSE";
1576
- Shape2["TILT"] = "TILT";
1577
- Shape2["LIQUID"] = "LIQUID";
1578
- Shape2["LEFT_WAVE"] = "LEFT_WAVE";
1579
- Shape2["PAINT_SCRIBBLE"] = "PAINT_SCRIBBLE";
1580
- Shape2["INVERTED_ELLIPSE"] = "INVERTED_ELLIPSE";
1581
- Shape2["RIGHT_WAVE"] = "RIGHT_WAVE";
1582
- Shape2["DUNES"] = "DUNES";
1583
- Shape2["WAVES"] = "WAVES";
1584
- Shape2["TRIANGLE"] = "TRIANGLE";
1585
- Shape2["SEMI_ELLIPSE"] = "SEMI_ELLIPSE";
1586
- Shape2["PLANTS"] = "PLANTS";
1587
- Shape2["LAYERED_ELLIPSE"] = "LAYERED_ELLIPSE";
1588
- Shape2["PIXELS"] = "PIXELS";
1589
- Shape2["PAINT"] = "PAINT";
1590
- Shape2["CLOUDS"] = "CLOUDS";
1591
- Shape2["OPTICAL_ILLUSION"] = "OPTICAL_ILLUSION";
1592
- Shape2["STRIPES"] = "STRIPES";
1593
- Shape2["BLOBS"] = "BLOBS";
1594
- Shape2["SEMI_CIRCLES"] = "SEMI_CIRCLES";
1595
- Shape2["HILL"] = "HILL";
1596
- Shape2["BRUSH"] = "BRUSH";
1597
- Shape2["PEAKS"] = "PEAKS";
1598
- Shape2["ANGLED_TRIANGLE"] = "ANGLED_TRIANGLE";
1599
- return Shape2;
1600
- })(Shape || {});
1601
- var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
1602
- BackdropType2["COLOR"] = "COLOR";
1603
- BackdropType2["GRADIENT"] = "GRADIENT";
1604
- return BackdropType2;
1605
- })(BackdropType || {});
1606
- var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
1607
- VerticalAlignmentAlignment2["TOP"] = "TOP";
1608
- VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
1609
- VerticalAlignmentAlignment2["BOTTOM"] = "BOTTOM";
1610
- return VerticalAlignmentAlignment2;
1611
- })(VerticalAlignmentAlignment || {});
1612
- var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
1613
- ResponsivenessBehaviour2["STACK"] = "STACK";
1614
- ResponsivenessBehaviour2["WRAP"] = "WRAP";
1615
- return ResponsivenessBehaviour2;
1616
- })(ResponsivenessBehaviour || {});
1617
- var DesignTarget = /* @__PURE__ */ ((DesignTarget2) => {
1618
- DesignTarget2["LAYOUT"] = "LAYOUT";
1619
- DesignTarget2["CELL"] = "CELL";
1620
- return DesignTarget2;
1621
- })(DesignTarget || {});
1622
- var Scaling = /* @__PURE__ */ ((Scaling2) => {
1623
- Scaling2["AUTO"] = "AUTO";
1624
- Scaling2["CONTAIN"] = "CONTAIN";
1625
- Scaling2["COVER"] = "COVER";
1626
- return Scaling2;
1627
- })(Scaling || {});
1628
- var ImagePositionPosition = /* @__PURE__ */ ((ImagePositionPosition2) => {
1629
- ImagePositionPosition2["CENTER"] = "CENTER";
1630
- ImagePositionPosition2["CENTER_LEFT"] = "CENTER_LEFT";
1631
- ImagePositionPosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
1632
- ImagePositionPosition2["TOP"] = "TOP";
1633
- ImagePositionPosition2["TOP_LEFT"] = "TOP_LEFT";
1634
- ImagePositionPosition2["TOP_RIGHT"] = "TOP_RIGHT";
1635
- ImagePositionPosition2["BOTTOM"] = "BOTTOM";
1636
- ImagePositionPosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
1637
- ImagePositionPosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
1638
- return ImagePositionPosition2;
1639
- })(ImagePositionPosition || {});
1640
- var CardDataBackgroundType = /* @__PURE__ */ ((CardDataBackgroundType2) => {
1641
- CardDataBackgroundType2["COLOR"] = "COLOR";
1642
- CardDataBackgroundType2["GRADIENT"] = "GRADIENT";
1643
- return CardDataBackgroundType2;
1644
- })(CardDataBackgroundType || {});
1645
- var ListStyle = /* @__PURE__ */ ((ListStyle2) => {
1646
- ListStyle2["PLAIN"] = "PLAIN";
1647
- ListStyle2["NUMBERED"] = "NUMBERED";
1648
- ListStyle2["LETTERS"] = "LETTERS";
1649
- ListStyle2["ROMAN"] = "ROMAN";
1650
- ListStyle2["BULLETED"] = "BULLETED";
1651
- ListStyle2["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
1652
- ListStyle2["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
1653
- return ListStyle2;
1654
- })(ListStyle || {});
1655
- var Indentation = /* @__PURE__ */ ((Indentation2) => {
1656
- Indentation2["NESTED"] = "NESTED";
1657
- Indentation2["FLAT"] = "FLAT";
1658
- return Indentation2;
1659
- })(Indentation || {});
1660
- var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
1661
- SmartBlockDataType2["SOLID_BOXES"] = "SOLID_BOXES";
1662
- SmartBlockDataType2["NUMBERED_BOXES"] = "NUMBERED_BOXES";
1663
- SmartBlockDataType2["STATS"] = "STATS";
1664
- SmartBlockDataType2["CIRCLE_STATS"] = "CIRCLE_STATS";
1665
- SmartBlockDataType2["SOLID_BOXES_ALTERNATING"] = "SOLID_BOXES_ALTERNATING";
1666
- SmartBlockDataType2["SOLID_JOINED_BOXES"] = "SOLID_JOINED_BOXES";
1667
- SmartBlockDataType2["SIDE_LINE_TEXT"] = "SIDE_LINE_TEXT";
1668
- SmartBlockDataType2["TOP_LINE_TEXT"] = "TOP_LINE_TEXT";
1669
- SmartBlockDataType2["OUTLINE_BOXES_WITH_TOP_CIRCLE"] = "OUTLINE_BOXES_WITH_TOP_CIRCLE";
1670
- SmartBlockDataType2["BIG_BULLETS"] = "BIG_BULLETS";
1671
- SmartBlockDataType2["SMALL_BULLETS"] = "SMALL_BULLETS";
1672
- SmartBlockDataType2["ARROW_BULLETS"] = "ARROW_BULLETS";
1673
- SmartBlockDataType2["PROCESS_STEPS"] = "PROCESS_STEPS";
1674
- SmartBlockDataType2["BAR_STATS"] = "BAR_STATS";
1675
- SmartBlockDataType2["TIMELINE"] = "TIMELINE";
1676
- SmartBlockDataType2["MINIMAL_TIMELINE"] = "MINIMAL_TIMELINE";
1677
- SmartBlockDataType2["PILLS"] = "PILLS";
1678
- SmartBlockDataType2["STAR_RATING"] = "STAR_RATING";
1679
- SmartBlockDataType2["QUOTE_BOXES"] = "QUOTE_BOXES";
1680
- SmartBlockDataType2["CIRCLE"] = "CIRCLE";
1681
- SmartBlockDataType2["PYRAMID"] = "PYRAMID";
1682
- SmartBlockDataType2["STAIRCASE"] = "STAIRCASE";
1683
- SmartBlockDataType2["VERTICAL_FUNNEL"] = "VERTICAL_FUNNEL";
1684
- return SmartBlockDataType2;
1685
- })(SmartBlockDataType || {});
1686
- var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {
1687
- ColumnSize2["SMALL"] = "SMALL";
1688
- ColumnSize2["MEDIUM"] = "MEDIUM";
1689
- ColumnSize2["LARGE"] = "LARGE";
1690
- ColumnSize2["EXTRA_LARGE"] = "EXTRA_LARGE";
1691
- return ColumnSize2;
1692
- })(ColumnSize || {});
1693
- var Status = /* @__PURE__ */ ((Status2) => {
1694
- Status2["UNKNOWN"] = "UNKNOWN";
1695
- Status2["APPROVED"] = "APPROVED";
1696
- Status2["REJECTED"] = "REJECTED";
1697
- return Status2;
1698
- })(Status || {});
1699
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1700
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1701
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1702
- WebhookIdentityType2["MEMBER"] = "MEMBER";
1703
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1704
- WebhookIdentityType2["APP"] = "APP";
1705
- return WebhookIdentityType2;
1706
- })(WebhookIdentityType || {});
1707
- var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
1708
- QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
1709
- QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
1710
- QueryPublicationsCountStatsRequestOrder2["NEWEST"] = "NEWEST";
1711
- return QueryPublicationsCountStatsRequestOrder2;
1712
- })(QueryPublicationsCountStatsRequestOrder || {});
1713
- var Order = /* @__PURE__ */ ((Order2) => {
1714
- Order2["UNKNOWN"] = "UNKNOWN";
1715
- Order2["OLDEST"] = "OLDEST";
1716
- Order2["NEWEST"] = "NEWEST";
1717
- return Order2;
1718
- })(Order || {});
1719
- var GetPostsSort = /* @__PURE__ */ ((GetPostsSort2) => {
1720
- GetPostsSort2["FEED"] = "FEED";
1721
- GetPostsSort2["PUBLISHED_DATE_ASC"] = "PUBLISHED_DATE_ASC";
1722
- GetPostsSort2["PUBLISHED_DATE_DESC"] = "PUBLISHED_DATE_DESC";
1723
- GetPostsSort2["VIEW_COUNT"] = "VIEW_COUNT";
1724
- GetPostsSort2["LIKE_COUNT"] = "LIKE_COUNT";
1725
- GetPostsSort2["TITLE_ASC"] = "TITLE_ASC";
1726
- GetPostsSort2["TITLE_DESC"] = "TITLE_DESC";
1727
- GetPostsSort2["RATING"] = "RATING";
1728
- return GetPostsSort2;
1729
- })(GetPostsSort || {});
1730
- var PostFieldField = /* @__PURE__ */ ((PostFieldField2) => {
1731
- PostFieldField2["UNKNOWN"] = "UNKNOWN";
1732
- PostFieldField2["COUNTERS"] = "COUNTERS";
1733
- PostFieldField2["URL"] = "URL";
1734
- PostFieldField2["CONTENT_TEXT"] = "CONTENT_TEXT";
1735
- PostFieldField2["METRICS"] = "METRICS";
1736
- PostFieldField2["SEO"] = "SEO";
1737
- PostFieldField2["CONTENT"] = "CONTENT";
1738
- PostFieldField2["INTERNAL_ID"] = "INTERNAL_ID";
1739
- PostFieldField2["CONTACT_ID"] = "CONTACT_ID";
1740
- PostFieldField2["RICH_CONTENT"] = "RICH_CONTENT";
1741
- PostFieldField2["RICH_CONTENT_STRING"] = "RICH_CONTENT_STRING";
1742
- PostFieldField2["RICH_CONTENT_COMPRESSED"] = "RICH_CONTENT_COMPRESSED";
1743
- PostFieldField2["TRANSLATIONS"] = "TRANSLATIONS";
1744
- PostFieldField2["REFERENCE_ID"] = "REFERENCE_ID";
1745
- PostFieldField2["EXCLUDE_PAID_CONTENT"] = "EXCLUDE_PAID_CONTENT";
1746
- PostFieldField2["SEO_DATA"] = "SEO_DATA";
1747
- PostFieldField2["OWNER"] = "OWNER";
1748
- PostFieldField2["HAS_UNPUBLISHED_CHANGES"] = "HAS_UNPUBLISHED_CHANGES";
1749
- PostFieldField2["HEADING"] = "HEADING";
1750
- PostFieldField2["IMAGE"] = "IMAGE";
1751
- return PostFieldField2;
1752
- })(PostFieldField || {});
1753
- var Field = /* @__PURE__ */ ((Field2) => {
1754
- Field2["UNKNOWN"] = "UNKNOWN";
1755
- Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
1756
- Field2["LIKE_COUNT"] = "LIKE_COUNT";
1757
- Field2["VIEW_COUNT"] = "VIEW_COUNT";
1758
- Field2["RATING_COUNT"] = "RATING_COUNT";
1759
- return Field2;
1760
- })(Field || {});
1761
- var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
1762
- SortOrder2["ASC"] = "ASC";
1763
- SortOrder2["DESC"] = "DESC";
1764
- return SortOrder2;
1765
- })(SortOrder || {});
1766
-
1767
- // src/blog-v3-post-posts.meta.ts
1768
- function queryPostCountStats2() {
1769
- const payload = {};
1770
- const getRequestOptions = queryPostCountStats(payload);
1771
- const getUrl = (context) => {
1772
- const { url } = getRequestOptions(context);
1773
- return url;
1774
- };
1775
- return {
1776
- getUrl,
1777
- httpMethod: "GET",
1778
- path: "/v2/stats/post/count",
1779
- pathParams: {},
1780
- __requestType: null,
1781
- __originalRequestType: null,
1782
- __responseType: null,
1783
- __originalResponseType: null
1784
- };
1785
- }
1786
- function getTotalPosts2() {
1787
- const payload = {};
1788
- const getRequestOptions = getTotalPosts(payload);
1789
- const getUrl = (context) => {
1790
- const { url } = getRequestOptions(context);
1791
- return url;
1792
- };
1793
- return {
1794
- getUrl,
1795
- httpMethod: "GET",
1796
- path: "/v2/stats/posts/total",
1797
- pathParams: {},
1798
- __requestType: null,
1799
- __originalRequestType: null,
1800
- __responseType: null,
1801
- __originalResponseType: null
1802
- };
1803
- }
1804
- function getPost2() {
1805
- const payload = { postId: ":postId" };
1806
- const getRequestOptions = getPost(payload);
1807
- const getUrl = (context) => {
1808
- const { url } = getRequestOptions(context);
1809
- return url;
1810
- };
1811
- return {
1812
- getUrl,
1813
- httpMethod: "GET",
1814
- path: "/v3/posts/{postId}",
1815
- pathParams: { postId: "postId" },
1816
- __requestType: null,
1817
- __originalRequestType: null,
1818
- __responseType: null,
1819
- __originalResponseType: null
1820
- };
1821
- }
1822
- function getPostBySlug2() {
1823
- const payload = { slug: ":slug" };
1824
- const getRequestOptions = getPostBySlug(payload);
1825
- const getUrl = (context) => {
1826
- const { url } = getRequestOptions(context);
1827
- return url;
1828
- };
1829
- return {
1830
- getUrl,
1831
- httpMethod: "GET",
1832
- path: "/v3/posts/slugs/{slug}",
1833
- pathParams: { slug: "slug" },
1834
- __requestType: null,
1835
- __originalRequestType: null,
1836
- __responseType: null,
1837
- __originalResponseType: null
1838
- };
1839
- }
1840
- function listPosts2() {
1841
- const payload = {};
1842
- const getRequestOptions = listPosts(payload);
1843
- const getUrl = (context) => {
1844
- const { url } = getRequestOptions(context);
1845
- return url;
1846
- };
1847
- return {
1848
- getUrl,
1849
- httpMethod: "GET",
1850
- path: "/v3/posts",
1851
- pathParams: {},
1852
- __requestType: null,
1853
- __originalRequestType: null,
1854
- __responseType: null,
1855
- __originalResponseType: null
1856
- };
1857
- }
1858
- function queryPosts2() {
1859
- const payload = {};
1860
- const getRequestOptions = queryPosts(payload);
1861
- const getUrl = (context) => {
1862
- const { url } = getRequestOptions(context);
1863
- return url;
1864
- };
1865
- return {
1866
- getUrl,
1867
- httpMethod: "POST",
1868
- path: "/v3/posts/query",
1869
- pathParams: {},
1870
- __requestType: null,
1871
- __originalRequestType: null,
1872
- __responseType: null,
1873
- __originalResponseType: null
1874
- };
1875
- }
1876
- function getPostMetrics2() {
1877
- const payload = { postId: ":postId" };
1878
- const getRequestOptions = getPostMetrics(payload);
1879
- const getUrl = (context) => {
1880
- const { url } = getRequestOptions(context);
1881
- return url;
1882
- };
1883
- return {
1884
- getUrl,
1885
- httpMethod: "GET",
1886
- path: "/v3/posts/{postId}/metrics",
1887
- pathParams: { postId: "postId" },
1888
- __requestType: null,
1889
- __originalRequestType: null,
1890
- __responseType: null,
1891
- __originalResponseType: null
1892
- };
1893
- }
1894
- // Annotate the CommonJS export names for ESM import in node:
1895
- 0 && (module.exports = {
1896
- AlignmentOriginal,
1897
- AppTypeOriginal,
1898
- AspectRatioOriginal,
1899
- BackdropTypeOriginal,
1900
- BackgroundTypeOriginal,
1901
- BannerPositionOriginal,
1902
- ButtonDataTypeOriginal,
1903
- CardDataBackgroundTypeOriginal,
1904
- CardStylesTypeOriginal,
1905
- ColumnSizeOriginal,
1906
- CropOriginal,
1907
- DecorationTypeOriginal,
1908
- DesignTargetOriginal,
1909
- DirectionOriginal,
1910
- DividerDataAlignmentOriginal,
1911
- EntranceEffectTypeOriginal,
1912
- FieldOriginal,
1913
- FontTypeOriginal,
1914
- GIFTypeOriginal,
1915
- GetPostsSortOriginal,
1916
- GradientTypeOriginal,
1917
- ImagePositionOriginal,
1918
- ImagePositionPositionOriginal,
1919
- ImageScalingScalingOriginal,
1920
- IndentationOriginal,
1921
- InitialExpandedItemsOriginal,
1922
- LayerEffectOriginal,
1923
- LayoutDataBackgroundTypeOriginal,
1924
- LayoutOriginal,
1925
- LayoutTypeOriginal,
1926
- LineCapOriginal,
1927
- LineStyleOriginal,
1928
- ListStyleOriginal,
1929
- LoopEffectTypeOriginal,
1930
- MapTypeOriginal,
1931
- NodeTypeOriginal,
1932
- NullValueOriginal,
1933
- OrderOriginal,
1934
- OrientationOriginal,
1935
- OriginOriginal,
1936
- PlacementOriginal,
1937
- PluginContainerDataAlignmentOriginal,
1938
- PointerEffectTypeOriginal,
1939
- PollDesignBackgroundTypeOriginal,
1940
- PollLayoutDirectionOriginal,
1941
- PollLayoutTypeOriginal,
1942
- PositionOriginal,
1943
- PostFieldFieldOriginal,
1944
- QueryPublicationsCountStatsRequestOrderOriginal,
1945
- ResizingOriginal,
1946
- ResponsivenessBehaviourOriginal,
1947
- ScalingOriginal,
1948
- ShapeOriginal,
1949
- SmartBlockDataTypeOriginal,
1950
- SortOrderOriginal,
1951
- SourceOriginal,
1952
- StatusOriginal,
1953
- StylesPositionOriginal,
1954
- TargetOriginal,
1955
- TextAlignmentOriginal,
1956
- ThumbnailsAlignmentOriginal,
1957
- TypeOriginal,
1958
- VariantOriginal,
1959
- VerticalAlignmentAlignmentOriginal,
1960
- VerticalAlignmentOriginal,
1961
- ViewModeOriginal,
1962
- ViewRoleOriginal,
1963
- VoteRoleOriginal,
1964
- WebhookIdentityTypeOriginal,
1965
- WidthOriginal,
1966
- WidthTypeOriginal,
1967
- getPost,
1968
- getPostBySlug,
1969
- getPostMetrics,
1970
- getTotalPosts,
1971
- listPosts,
1972
- queryPostCountStats,
1973
- queryPosts
1974
- });
1975
- //# sourceMappingURL=meta.js.map