@wix/blog
Advanced tools
Comparing version 1.0.148 to 1.0.149
@@ -10,3 +10,5 @@ "use strict"; | ||
const _background = { image: '_v1Media' }; | ||
const _coverMedia = { image: '_image', video: '_video' }; | ||
const _commonImage = { urlExpirationDate: 'google.protobuf.Timestamp' }; | ||
const _commonVideo = { thumbnail: '_commonImage' }; | ||
const _coverMedia = { image: '_commonImage', video: '_commonVideo' }; | ||
const _design = { poll: '_pollDesign' }; | ||
@@ -23,8 +25,6 @@ const _galleryData = { items: '_item', options: '_galleryOptions' }; | ||
const _getTotalPostsResponse = {}; | ||
const _image = { urlExpirationDate: 'google.protobuf.Timestamp' }; | ||
const _image = { media: '_v1Media' }; | ||
const _imageData = { image: '_v1Media' }; | ||
const _item = { image: '_itemImage', video: '_itemVideo' }; | ||
const _itemImage = { media: '_v1Media' }; | ||
const _item = { image: '_image', video: '_video' }; | ||
const _itemStyle = { ratio: 'google.protobuf.DoubleValue' }; | ||
const _itemVideo = { media: '_v1Media', thumbnail: '_v1Media' }; | ||
const _listPostsRequest = {}; | ||
@@ -66,3 +66,3 @@ const _listPostsResponse = { posts: '_post' }; | ||
coverMedia: '_coverMedia', | ||
heroImage: '_image', | ||
heroImage: '_commonImage', | ||
metrics: '_metrics', | ||
@@ -82,7 +82,7 @@ richContent: '_richContent', | ||
const _v1Media = { duration: 'google.protobuf.DoubleValue' }; | ||
const _video = { thumbnail: '_image' }; | ||
const _video = { media: '_v1Media', thumbnail: '_v1Media' }; | ||
const _videoData = { video: '_v1Media', thumbnail: '_v1Media' }; | ||
const _videoResolution = { | ||
urlExpirationDate: 'google.protobuf.Timestamp', | ||
poster: '_image', | ||
poster: '_commonImage', | ||
}; | ||
@@ -92,5 +92,5 @@ const _videoV2 = { | ||
resolutions: '_videoResolution', | ||
posters: '_image', | ||
posters: '_commonImage', | ||
}; | ||
const _wixMedia = { image: '_image', videoV2: '_videoV2' }; | ||
const _wixMedia = { image: '_commonImage', videoV2: '_videoV2' }; | ||
function resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl(opts) { | ||
@@ -507,2 +507,4 @@ const domainToMappings = { | ||
_background, | ||
_commonImage, | ||
_commonVideo, | ||
_coverMedia, | ||
@@ -515,5 +517,3 @@ _design, | ||
_item, | ||
_itemImage, | ||
_itemStyle, | ||
_itemVideo, | ||
_mapData, | ||
@@ -571,2 +571,4 @@ _mapSettings, | ||
_background, | ||
_commonImage, | ||
_commonVideo, | ||
_coverMedia, | ||
@@ -579,5 +581,3 @@ _design, | ||
_item, | ||
_itemImage, | ||
_itemStyle, | ||
_itemVideo, | ||
_mapData, | ||
@@ -637,2 +637,4 @@ _mapSettings, | ||
_background, | ||
_commonImage, | ||
_commonVideo, | ||
_coverMedia, | ||
@@ -645,5 +647,3 @@ _design, | ||
_item, | ||
_itemImage, | ||
_itemStyle, | ||
_itemVideo, | ||
_mapData, | ||
@@ -713,2 +713,4 @@ _mapSettings, | ||
_background, | ||
_commonImage, | ||
_commonVideo, | ||
_coverMedia, | ||
@@ -721,5 +723,3 @@ _design, | ||
_item, | ||
_itemImage, | ||
_itemStyle, | ||
_itemVideo, | ||
_mapData, | ||
@@ -726,0 +726,0 @@ _mapSettings, |
@@ -7,14 +7,14 @@ "use strict"; | ||
const metro_runtime_2 = require("@wix/metro-runtime"); | ||
const _blogTag = { | ||
createdDate: 'google.protobuf.Timestamp', | ||
updatedDate: 'google.protobuf.Timestamp', | ||
}; | ||
const _getTagByLabelRequest = {}; | ||
const _getTagByLabelResponse = { tag: '_blogTag' }; | ||
const _getTagByLabelResponse = { tag: '_tag' }; | ||
const _getTagBySlugRequest = {}; | ||
const _getTagBySlugResponse = { tag: '_blogTag' }; | ||
const _getTagBySlugResponse = { tag: '_tag' }; | ||
const _getTagRequest = {}; | ||
const _getTagResponse = { tag: '_blogTag' }; | ||
const _getTagResponse = { tag: '_tag' }; | ||
const _queryTagsRequest = {}; | ||
const _queryTagsResponse = { tags: '_blogTag' }; | ||
const _queryTagsResponse = { tags: '_tag' }; | ||
const _tag = { | ||
createdDate: 'google.protobuf.Timestamp', | ||
updatedDate: 'google.protobuf.Timestamp', | ||
}; | ||
function resolveComWixpressNpmCommunitiesPlatformizedBlogTagServiceUrl(opts) { | ||
@@ -226,5 +226,3 @@ const domainToMappings = { | ||
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_getTagByLabelRequest, {}); | ||
const { fromJSON: fromRes } = ambassador_1.serializer(_getTagByLabelResponse, { | ||
_blogTag, | ||
}); | ||
const { fromJSON: fromRes } = ambassador_1.serializer(_getTagByLabelResponse, { _tag }); | ||
function __getTagByLabel({ host }) { | ||
@@ -256,3 +254,3 @@ const serializedData = toReq(payload); | ||
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_getTagRequest, {}); | ||
const { fromJSON: fromRes } = ambassador_1.serializer(_getTagResponse, { _blogTag }); | ||
const { fromJSON: fromRes } = ambassador_1.serializer(_getTagResponse, { _tag }); | ||
function __getTag({ host }) { | ||
@@ -286,3 +284,3 @@ const serializedData = toReq(payload); | ||
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_getTagBySlugRequest, {}); | ||
const { fromJSON: fromRes } = ambassador_1.serializer(_getTagBySlugResponse, { _blogTag }); | ||
const { fromJSON: fromRes } = ambassador_1.serializer(_getTagBySlugResponse, { _tag }); | ||
function __getTagBySlug({ host }) { | ||
@@ -324,3 +322,3 @@ const serializedData = toReq(payload); | ||
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_queryTagsRequest, {}); | ||
const { fromJSON: fromRes } = ambassador_1.serializer(_queryTagsResponse, { _blogTag }); | ||
const { fromJSON: fromRes } = ambassador_1.serializer(_queryTagsResponse, { _tag }); | ||
function __queryTags({ host }) { | ||
@@ -327,0 +325,0 @@ const serializedData = toReq(payload); |
@@ -1,2 +0,2 @@ | ||
export interface BlogTag { | ||
export interface Tag { | ||
/** | ||
@@ -74,7 +74,7 @@ * Tag ID. | ||
/** SEO tags information. */ | ||
tags?: Tag[]; | ||
tags?: SeoSchemaTag[]; | ||
/** SEO general settings. */ | ||
settings?: Settings; | ||
} | ||
export interface Tag { | ||
export interface SeoSchemaTag { | ||
/** | ||
@@ -137,3 +137,3 @@ * SEO tag type. | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
@@ -162,7 +162,7 @@ export interface CreateTagRequest { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
export interface UpdateTagRequest { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
/** Field mask of fields to update. */ | ||
@@ -179,7 +179,7 @@ fieldMask?: string[]; | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
export interface BulkCreateTagsRequest { | ||
/** Tags to create. */ | ||
tags?: BlogTag[]; | ||
tags?: Tag[]; | ||
/** Whether to return the full created tag entities in the response. */ | ||
@@ -204,3 +204,3 @@ returnFullEntity?: boolean; | ||
/** Optional created tag. */ | ||
item?: BlogTag; | ||
item?: Tag; | ||
} | ||
@@ -256,3 +256,3 @@ export interface ItemMetadata { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
@@ -278,3 +278,3 @@ export interface GetTagRequest { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
@@ -300,3 +300,3 @@ export interface GetTagBySlugRequest { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
@@ -405,3 +405,3 @@ export interface QueryTagsRequest { | ||
/** List of tags. */ | ||
tags?: BlogTag[]; | ||
tags?: Tag[]; | ||
/** | ||
@@ -468,3 +468,3 @@ * __Deprecated.__ Use `pagingMetadata` instead. | ||
/** List of tags. */ | ||
tags?: BlogTag[]; | ||
tags?: Tag[]; | ||
/** Details on the paged set of results returned. */ | ||
@@ -471,0 +471,0 @@ metaData?: MetaData; |
@@ -7,3 +7,5 @@ import { toURLSearchParams } from '@wix/metro-runtime'; | ||
const _background = { image: '_v1Media' }; | ||
const _coverMedia = { image: '_image', video: '_video' }; | ||
const _commonImage = { urlExpirationDate: 'google.protobuf.Timestamp' }; | ||
const _commonVideo = { thumbnail: '_commonImage' }; | ||
const _coverMedia = { image: '_commonImage', video: '_commonVideo' }; | ||
const _design = { poll: '_pollDesign' }; | ||
@@ -20,8 +22,6 @@ const _galleryData = { items: '_item', options: '_galleryOptions' }; | ||
const _getTotalPostsResponse = {}; | ||
const _image = { urlExpirationDate: 'google.protobuf.Timestamp' }; | ||
const _image = { media: '_v1Media' }; | ||
const _imageData = { image: '_v1Media' }; | ||
const _item = { image: '_itemImage', video: '_itemVideo' }; | ||
const _itemImage = { media: '_v1Media' }; | ||
const _item = { image: '_image', video: '_video' }; | ||
const _itemStyle = { ratio: 'google.protobuf.DoubleValue' }; | ||
const _itemVideo = { media: '_v1Media', thumbnail: '_v1Media' }; | ||
const _listPostsRequest = {}; | ||
@@ -63,3 +63,3 @@ const _listPostsResponse = { posts: '_post' }; | ||
coverMedia: '_coverMedia', | ||
heroImage: '_image', | ||
heroImage: '_commonImage', | ||
metrics: '_metrics', | ||
@@ -79,7 +79,7 @@ richContent: '_richContent', | ||
const _v1Media = { duration: 'google.protobuf.DoubleValue' }; | ||
const _video = { thumbnail: '_image' }; | ||
const _video = { media: '_v1Media', thumbnail: '_v1Media' }; | ||
const _videoData = { video: '_v1Media', thumbnail: '_v1Media' }; | ||
const _videoResolution = { | ||
urlExpirationDate: 'google.protobuf.Timestamp', | ||
poster: '_image', | ||
poster: '_commonImage', | ||
}; | ||
@@ -89,5 +89,5 @@ const _videoV2 = { | ||
resolutions: '_videoResolution', | ||
posters: '_image', | ||
posters: '_commonImage', | ||
}; | ||
const _wixMedia = { image: '_image', videoV2: '_videoV2' }; | ||
const _wixMedia = { image: '_commonImage', videoV2: '_videoV2' }; | ||
function resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl(opts) { | ||
@@ -504,2 +504,4 @@ const domainToMappings = { | ||
_background, | ||
_commonImage, | ||
_commonVideo, | ||
_coverMedia, | ||
@@ -512,5 +514,3 @@ _design, | ||
_item, | ||
_itemImage, | ||
_itemStyle, | ||
_itemVideo, | ||
_mapData, | ||
@@ -567,2 +567,4 @@ _mapSettings, | ||
_background, | ||
_commonImage, | ||
_commonVideo, | ||
_coverMedia, | ||
@@ -575,5 +577,3 @@ _design, | ||
_item, | ||
_itemImage, | ||
_itemStyle, | ||
_itemVideo, | ||
_mapData, | ||
@@ -632,2 +632,4 @@ _mapSettings, | ||
_background, | ||
_commonImage, | ||
_commonVideo, | ||
_coverMedia, | ||
@@ -640,5 +642,3 @@ _design, | ||
_item, | ||
_itemImage, | ||
_itemStyle, | ||
_itemVideo, | ||
_mapData, | ||
@@ -707,2 +707,4 @@ _mapSettings, | ||
_background, | ||
_commonImage, | ||
_commonVideo, | ||
_coverMedia, | ||
@@ -715,5 +717,3 @@ _design, | ||
_item, | ||
_itemImage, | ||
_itemStyle, | ||
_itemVideo, | ||
_mapData, | ||
@@ -720,0 +720,0 @@ _mapSettings, |
import { toURLSearchParams } from '@wix/metro-runtime'; | ||
import { serializer } from '@wix/metro-runtime/ambassador'; | ||
import { resolveUrl } from '@wix/metro-runtime'; | ||
const _blogTag = { | ||
createdDate: 'google.protobuf.Timestamp', | ||
updatedDate: 'google.protobuf.Timestamp', | ||
}; | ||
const _getTagByLabelRequest = {}; | ||
const _getTagByLabelResponse = { tag: '_blogTag' }; | ||
const _getTagByLabelResponse = { tag: '_tag' }; | ||
const _getTagBySlugRequest = {}; | ||
const _getTagBySlugResponse = { tag: '_blogTag' }; | ||
const _getTagBySlugResponse = { tag: '_tag' }; | ||
const _getTagRequest = {}; | ||
const _getTagResponse = { tag: '_blogTag' }; | ||
const _getTagResponse = { tag: '_tag' }; | ||
const _queryTagsRequest = {}; | ||
const _queryTagsResponse = { tags: '_blogTag' }; | ||
const _queryTagsResponse = { tags: '_tag' }; | ||
const _tag = { | ||
createdDate: 'google.protobuf.Timestamp', | ||
updatedDate: 'google.protobuf.Timestamp', | ||
}; | ||
function resolveComWixpressNpmCommunitiesPlatformizedBlogTagServiceUrl(opts) { | ||
@@ -222,5 +222,3 @@ const domainToMappings = { | ||
const { toJSON: toReq, fromJSON: fromReq } = serializer(_getTagByLabelRequest, {}); | ||
const { fromJSON: fromRes } = serializer(_getTagByLabelResponse, { | ||
_blogTag, | ||
}); | ||
const { fromJSON: fromRes } = serializer(_getTagByLabelResponse, { _tag }); | ||
function __getTagByLabel({ host }) { | ||
@@ -251,3 +249,3 @@ const serializedData = toReq(payload); | ||
const { toJSON: toReq, fromJSON: fromReq } = serializer(_getTagRequest, {}); | ||
const { fromJSON: fromRes } = serializer(_getTagResponse, { _blogTag }); | ||
const { fromJSON: fromRes } = serializer(_getTagResponse, { _tag }); | ||
function __getTag({ host }) { | ||
@@ -280,3 +278,3 @@ const serializedData = toReq(payload); | ||
const { toJSON: toReq, fromJSON: fromReq } = serializer(_getTagBySlugRequest, {}); | ||
const { fromJSON: fromRes } = serializer(_getTagBySlugResponse, { _blogTag }); | ||
const { fromJSON: fromRes } = serializer(_getTagBySlugResponse, { _tag }); | ||
function __getTagBySlug({ host }) { | ||
@@ -317,3 +315,3 @@ const serializedData = toReq(payload); | ||
const { toJSON: toReq, fromJSON: fromReq } = serializer(_queryTagsRequest, {}); | ||
const { fromJSON: fromRes } = serializer(_queryTagsResponse, { _blogTag }); | ||
const { fromJSON: fromRes } = serializer(_queryTagsResponse, { _tag }); | ||
function __queryTags({ host }) { | ||
@@ -320,0 +318,0 @@ const serializedData = toReq(payload); |
@@ -1,2 +0,2 @@ | ||
export interface BlogTag { | ||
export interface Tag { | ||
/** | ||
@@ -74,7 +74,7 @@ * Tag ID. | ||
/** SEO tags information. */ | ||
tags?: Tag[]; | ||
tags?: SeoSchemaTag[]; | ||
/** SEO general settings. */ | ||
settings?: Settings; | ||
} | ||
export interface Tag { | ||
export interface SeoSchemaTag { | ||
/** | ||
@@ -137,3 +137,3 @@ * SEO tag type. | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
@@ -162,7 +162,7 @@ export interface CreateTagRequest { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
export interface UpdateTagRequest { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
/** Field mask of fields to update. */ | ||
@@ -179,7 +179,7 @@ fieldMask?: string[]; | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
export interface BulkCreateTagsRequest { | ||
/** Tags to create. */ | ||
tags?: BlogTag[]; | ||
tags?: Tag[]; | ||
/** Whether to return the full created tag entities in the response. */ | ||
@@ -204,3 +204,3 @@ returnFullEntity?: boolean; | ||
/** Optional created tag. */ | ||
item?: BlogTag; | ||
item?: Tag; | ||
} | ||
@@ -256,3 +256,3 @@ export interface ItemMetadata { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
@@ -278,3 +278,3 @@ export interface GetTagRequest { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
@@ -300,3 +300,3 @@ export interface GetTagBySlugRequest { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
@@ -405,3 +405,3 @@ export interface QueryTagsRequest { | ||
/** List of tags. */ | ||
tags?: BlogTag[]; | ||
tags?: Tag[]; | ||
/** | ||
@@ -468,3 +468,3 @@ * __Deprecated.__ Use `pagingMetadata` instead. | ||
/** List of tags. */ | ||
tags?: BlogTag[]; | ||
tags?: Tag[]; | ||
/** Details on the paged set of results returned. */ | ||
@@ -471,0 +471,0 @@ metaData?: MetaData; |
{ | ||
"name": "@wix/blog", | ||
"version": "1.0.148", | ||
"version": "1.0.149", | ||
"publishConfig": { | ||
@@ -36,3 +36,3 @@ "registry": "https://registry.npmjs.org/", | ||
}, | ||
"falconPackageHash": "94c97a8af1592f65752d40688e1724e271a52189b69073445b62db62" | ||
"falconPackageHash": "4fda9dbac66adcbcbd4783e1ffb72290676fdf4c568cfb7919768644" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
986695
22936