@wix/blog
Advanced tools
Comparing version 1.0.144 to 1.0.145
@@ -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); |
@@ -8,2 +8,2 @@ import { HttpClient } from '@wix/sdk-types'; | ||
export { Field, SortOrder } from './blog-v3-tag.universal'; | ||
export { Tag, SeoSchema, SeoSchemaTag, Settings, InitialTagsCopied, GetOrCreateTagRequest, GetOrCreateTagResponse, CreateTagRequest, CreateTagResponse, UpdateTagRequest, UpdateTagResponse, BulkCreateTagsRequest, BulkCreateTagsResponse, BulkTagResult, ItemMetadata, ApplicationError, BulkActionMetadata, GetTagByLabelRequest, GetTagByLabelResponse, GetTagRequest, GetTagResponse, GetTagBySlugRequest, GetTagBySlugResponse, QueryTagsRequest, Sorting, Paging, TagsFieldSet, PlatformQuery, PlatformQueryPagingMethodOneOf, CursorPaging, QueryTagsResponse, MetaData, PagingMetadataV2, Cursors, ListTagsRequest, ListTagsRequestPagingMethodOneOf, ListTagsResponse, DeleteTagRequest, DeleteTagResponse, GetTagByLabelOptions, GetTagOptions, GetTagBySlugOptions, QueryTagsOptions, TagsQueryResult, TagsQueryBuilder, } from './blog-v3-tag.universal'; | ||
export { Tag, InitialTagsCopied, GetOrCreateTagRequest, GetOrCreateTagResponse, CreateTagRequest, CreateTagResponse, UpdateTagRequest, UpdateTagResponse, BulkCreateTagsRequest, BulkCreateTagsResponse, BulkTagResult, ItemMetadata, ApplicationError, BulkActionMetadata, GetTagByLabelRequest, GetTagByLabelResponse, GetTagRequest, GetTagResponse, GetTagBySlugRequest, GetTagBySlugResponse, QueryTagsRequest, Sorting, Paging, TagsFieldSet, PlatformQuery, PlatformQueryPagingMethodOneOf, CursorPaging, QueryTagsResponse, MetaData, PagingMetadataV2, Cursors, ListTagsRequest, ListTagsRequestPagingMethodOneOf, ListTagsResponse, DeleteTagRequest, DeleteTagResponse, GetTagByLabelOptions, GetTagOptions, GetTagBySlugOptions, QueryTagsOptions, TagsQueryResult, TagsQueryBuilder, } from './blog-v3-tag.universal'; |
@@ -1,2 +0,2 @@ | ||
export interface BlogTag { | ||
export interface Tag { | ||
/** | ||
@@ -58,4 +58,2 @@ * Tag ID. | ||
language?: string | null; | ||
/** SEO data. */ | ||
seoData?: SeoSchema; | ||
} | ||
@@ -68,44 +66,2 @@ export interface PageUrl { | ||
} | ||
/** | ||
* The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines. | ||
* The search engines use this information for ranking purposes, or to display snippets in the search results. | ||
* This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself. | ||
*/ | ||
export interface SeoSchema { | ||
/** SEO tags information. */ | ||
tags?: Tag[]; | ||
/** SEO general settings. */ | ||
settings?: Settings; | ||
} | ||
export interface Tag { | ||
/** | ||
* SEO tag type. | ||
* | ||
* | ||
* Supported values: `title`, `meta`, `script`, `link`. | ||
*/ | ||
type?: string; | ||
/** | ||
* A `{'key':'value'} pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value. | ||
* For example: `{'name': 'description', 'content': 'the description itself'}`. | ||
*/ | ||
props?: Record<string, any> | null; | ||
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */ | ||
meta?: Record<string, any> | null; | ||
/** SEO tag inner content. For example, `<title> inner content </title>`. */ | ||
children?: string; | ||
/** Whether the tag is a custom tag. */ | ||
custom?: boolean; | ||
/** Whether the tag is disabled. */ | ||
disabled?: boolean; | ||
} | ||
export interface Settings { | ||
/** | ||
* Whether the auto redirects feature creating `301 redirects` on a slug change is enabled. | ||
* | ||
* | ||
* Default: enabled | ||
*/ | ||
preventAutoRedirect?: boolean; | ||
} | ||
export interface InitialTagsCopied { | ||
@@ -126,4 +82,2 @@ /** Number of tags copied. */ | ||
fieldsets?: Field[]; | ||
/** SEO data. */ | ||
seoData?: SeoSchema; | ||
} | ||
@@ -133,9 +87,7 @@ export declare enum Field { | ||
/** Includes Tag URL when present. */ | ||
URL = "URL", | ||
/** Includes SEO data. */ | ||
SEO = "SEO" | ||
URL = "URL" | ||
} | ||
export interface GetOrCreateTagResponse { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
@@ -159,12 +111,10 @@ export interface CreateTagRequest { | ||
fieldsets?: Field[]; | ||
/** SEO data. */ | ||
seoData?: SeoSchema; | ||
} | ||
export interface CreateTagResponse { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
export interface UpdateTagRequest { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
/** Field mask of fields to update. */ | ||
@@ -181,7 +131,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. */ | ||
@@ -206,3 +156,3 @@ returnFullEntity?: boolean; | ||
/** Optional created tag. */ | ||
item?: BlogTag; | ||
item?: Tag; | ||
} | ||
@@ -258,3 +208,3 @@ export interface ItemMetadata { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
@@ -280,3 +230,3 @@ export interface GetTagRequest { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
@@ -302,3 +252,3 @@ export interface GetTagBySlugRequest { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
@@ -363,4 +313,2 @@ export interface QueryTagsRequest { | ||
includeUrl?: boolean; | ||
/** Includes SEO data. */ | ||
includeSeo?: boolean; | ||
} | ||
@@ -408,3 +356,3 @@ export interface PlatformQuery extends PlatformQueryPagingMethodOneOf { | ||
/** List of tags. */ | ||
tags?: BlogTag[]; | ||
tags?: Tag[]; | ||
/** | ||
@@ -471,3 +419,3 @@ * __Deprecated.__ Use `pagingMetadata` instead. | ||
/** List of tags. */ | ||
tags?: BlogTag[]; | ||
tags?: Tag[]; | ||
/** Details on the paged set of results returned. */ | ||
@@ -474,0 +422,0 @@ metaData?: MetaData; |
@@ -9,4 +9,2 @@ "use strict"; | ||
Field["URL"] = "URL"; | ||
/** Includes SEO data. */ | ||
Field["SEO"] = "SEO"; | ||
})(Field = exports.Field || (exports.Field = {})); | ||
@@ -13,0 +11,0 @@ var SortOrder; |
@@ -70,47 +70,3 @@ export declare const __debug: { | ||
language?: string | null; | ||
/** SEO data. */ | ||
seoData?: SeoSchema; | ||
} | ||
/** | ||
* The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines. | ||
* The search engines use this information for ranking purposes, or to display snippets in the search results. | ||
* This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself. | ||
*/ | ||
export interface SeoSchema { | ||
/** SEO tags information. */ | ||
tags?: SeoSchemaTag[]; | ||
/** SEO general settings. */ | ||
settings?: Settings; | ||
} | ||
export interface SeoSchemaTag { | ||
/** | ||
* SEO tag type. | ||
* | ||
* | ||
* Supported values: `title`, `meta`, `script`, `link`. | ||
*/ | ||
type?: string; | ||
/** | ||
* A `{'key':'value'} pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value. | ||
* For example: `{'name': 'description', 'content': 'the description itself'}`. | ||
*/ | ||
props?: Record<string, any> | null; | ||
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */ | ||
meta?: Record<string, any> | null; | ||
/** SEO tag inner content. For example, `<title> inner content </title>`. */ | ||
children?: string; | ||
/** Whether the tag is a custom tag. */ | ||
custom?: boolean; | ||
/** Whether the tag is disabled. */ | ||
disabled?: boolean; | ||
} | ||
export interface Settings { | ||
/** | ||
* Whether the auto redirects feature creating `301 redirects` on a slug change is enabled. | ||
* | ||
* | ||
* Default: enabled | ||
*/ | ||
preventAutoRedirect?: boolean; | ||
} | ||
export interface InitialTagsCopied { | ||
@@ -131,4 +87,2 @@ /** Number of tags copied. */ | ||
fieldsets?: Field[]; | ||
/** SEO data. */ | ||
seoData?: SeoSchema; | ||
} | ||
@@ -138,5 +92,3 @@ export declare enum Field { | ||
/** Includes Tag URL when present. */ | ||
URL = "URL", | ||
/** Includes SEO data. */ | ||
SEO = "SEO" | ||
URL = "URL" | ||
} | ||
@@ -164,4 +116,2 @@ export interface GetOrCreateTagResponse { | ||
fieldsets?: Field[]; | ||
/** SEO data. */ | ||
seoData?: SeoSchema; | ||
} | ||
@@ -363,4 +313,2 @@ export interface CreateTagResponse { | ||
includeUrl?: boolean; | ||
/** Includes SEO data. */ | ||
includeSeo?: boolean; | ||
} | ||
@@ -367,0 +315,0 @@ export interface PlatformQuery extends PlatformQueryPagingMethodOneOf { |
@@ -56,4 +56,2 @@ "use strict"; | ||
Field["URL"] = "URL"; | ||
/** Includes SEO data. */ | ||
Field["SEO"] = "SEO"; | ||
})(Field = exports.Field || (exports.Field = {})); | ||
@@ -60,0 +58,0 @@ var SortOrder; |
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); |
@@ -8,2 +8,2 @@ import { HttpClient } from '@wix/sdk-types'; | ||
export { Field, SortOrder } from './blog-v3-tag.universal'; | ||
export { Tag, SeoSchema, SeoSchemaTag, Settings, InitialTagsCopied, GetOrCreateTagRequest, GetOrCreateTagResponse, CreateTagRequest, CreateTagResponse, UpdateTagRequest, UpdateTagResponse, BulkCreateTagsRequest, BulkCreateTagsResponse, BulkTagResult, ItemMetadata, ApplicationError, BulkActionMetadata, GetTagByLabelRequest, GetTagByLabelResponse, GetTagRequest, GetTagResponse, GetTagBySlugRequest, GetTagBySlugResponse, QueryTagsRequest, Sorting, Paging, TagsFieldSet, PlatformQuery, PlatformQueryPagingMethodOneOf, CursorPaging, QueryTagsResponse, MetaData, PagingMetadataV2, Cursors, ListTagsRequest, ListTagsRequestPagingMethodOneOf, ListTagsResponse, DeleteTagRequest, DeleteTagResponse, GetTagByLabelOptions, GetTagOptions, GetTagBySlugOptions, QueryTagsOptions, TagsQueryResult, TagsQueryBuilder, } from './blog-v3-tag.universal'; | ||
export { Tag, InitialTagsCopied, GetOrCreateTagRequest, GetOrCreateTagResponse, CreateTagRequest, CreateTagResponse, UpdateTagRequest, UpdateTagResponse, BulkCreateTagsRequest, BulkCreateTagsResponse, BulkTagResult, ItemMetadata, ApplicationError, BulkActionMetadata, GetTagByLabelRequest, GetTagByLabelResponse, GetTagRequest, GetTagResponse, GetTagBySlugRequest, GetTagBySlugResponse, QueryTagsRequest, Sorting, Paging, TagsFieldSet, PlatformQuery, PlatformQueryPagingMethodOneOf, CursorPaging, QueryTagsResponse, MetaData, PagingMetadataV2, Cursors, ListTagsRequest, ListTagsRequestPagingMethodOneOf, ListTagsResponse, DeleteTagRequest, DeleteTagResponse, GetTagByLabelOptions, GetTagOptions, GetTagBySlugOptions, QueryTagsOptions, TagsQueryResult, TagsQueryBuilder, } from './blog-v3-tag.universal'; |
@@ -1,2 +0,2 @@ | ||
export interface BlogTag { | ||
export interface Tag { | ||
/** | ||
@@ -58,4 +58,2 @@ * Tag ID. | ||
language?: string | null; | ||
/** SEO data. */ | ||
seoData?: SeoSchema; | ||
} | ||
@@ -68,44 +66,2 @@ export interface PageUrl { | ||
} | ||
/** | ||
* The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines. | ||
* The search engines use this information for ranking purposes, or to display snippets in the search results. | ||
* This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself. | ||
*/ | ||
export interface SeoSchema { | ||
/** SEO tags information. */ | ||
tags?: Tag[]; | ||
/** SEO general settings. */ | ||
settings?: Settings; | ||
} | ||
export interface Tag { | ||
/** | ||
* SEO tag type. | ||
* | ||
* | ||
* Supported values: `title`, `meta`, `script`, `link`. | ||
*/ | ||
type?: string; | ||
/** | ||
* A `{'key':'value'} pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value. | ||
* For example: `{'name': 'description', 'content': 'the description itself'}`. | ||
*/ | ||
props?: Record<string, any> | null; | ||
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */ | ||
meta?: Record<string, any> | null; | ||
/** SEO tag inner content. For example, `<title> inner content </title>`. */ | ||
children?: string; | ||
/** Whether the tag is a custom tag. */ | ||
custom?: boolean; | ||
/** Whether the tag is disabled. */ | ||
disabled?: boolean; | ||
} | ||
export interface Settings { | ||
/** | ||
* Whether the auto redirects feature creating `301 redirects` on a slug change is enabled. | ||
* | ||
* | ||
* Default: enabled | ||
*/ | ||
preventAutoRedirect?: boolean; | ||
} | ||
export interface InitialTagsCopied { | ||
@@ -126,4 +82,2 @@ /** Number of tags copied. */ | ||
fieldsets?: Field[]; | ||
/** SEO data. */ | ||
seoData?: SeoSchema; | ||
} | ||
@@ -133,9 +87,7 @@ export declare enum Field { | ||
/** Includes Tag URL when present. */ | ||
URL = "URL", | ||
/** Includes SEO data. */ | ||
SEO = "SEO" | ||
URL = "URL" | ||
} | ||
export interface GetOrCreateTagResponse { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
@@ -159,12 +111,10 @@ export interface CreateTagRequest { | ||
fieldsets?: Field[]; | ||
/** SEO data. */ | ||
seoData?: SeoSchema; | ||
} | ||
export interface CreateTagResponse { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
export interface UpdateTagRequest { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
/** Field mask of fields to update. */ | ||
@@ -181,7 +131,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. */ | ||
@@ -206,3 +156,3 @@ returnFullEntity?: boolean; | ||
/** Optional created tag. */ | ||
item?: BlogTag; | ||
item?: Tag; | ||
} | ||
@@ -258,3 +208,3 @@ export interface ItemMetadata { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
@@ -280,3 +230,3 @@ export interface GetTagRequest { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
@@ -302,3 +252,3 @@ export interface GetTagBySlugRequest { | ||
/** Tag info. */ | ||
tag?: BlogTag; | ||
tag?: Tag; | ||
} | ||
@@ -363,4 +313,2 @@ export interface QueryTagsRequest { | ||
includeUrl?: boolean; | ||
/** Includes SEO data. */ | ||
includeSeo?: boolean; | ||
} | ||
@@ -408,3 +356,3 @@ export interface PlatformQuery extends PlatformQueryPagingMethodOneOf { | ||
/** List of tags. */ | ||
tags?: BlogTag[]; | ||
tags?: Tag[]; | ||
/** | ||
@@ -471,3 +419,3 @@ * __Deprecated.__ Use `pagingMetadata` instead. | ||
/** List of tags. */ | ||
tags?: BlogTag[]; | ||
tags?: Tag[]; | ||
/** Details on the paged set of results returned. */ | ||
@@ -474,0 +422,0 @@ metaData?: MetaData; |
@@ -6,4 +6,2 @@ export var Field; | ||
Field["URL"] = "URL"; | ||
/** Includes SEO data. */ | ||
Field["SEO"] = "SEO"; | ||
})(Field || (Field = {})); | ||
@@ -10,0 +8,0 @@ export var SortOrder; |
@@ -70,47 +70,3 @@ export declare const __debug: { | ||
language?: string | null; | ||
/** SEO data. */ | ||
seoData?: SeoSchema; | ||
} | ||
/** | ||
* The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines. | ||
* The search engines use this information for ranking purposes, or to display snippets in the search results. | ||
* This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself. | ||
*/ | ||
export interface SeoSchema { | ||
/** SEO tags information. */ | ||
tags?: SeoSchemaTag[]; | ||
/** SEO general settings. */ | ||
settings?: Settings; | ||
} | ||
export interface SeoSchemaTag { | ||
/** | ||
* SEO tag type. | ||
* | ||
* | ||
* Supported values: `title`, `meta`, `script`, `link`. | ||
*/ | ||
type?: string; | ||
/** | ||
* A `{'key':'value'} pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value. | ||
* For example: `{'name': 'description', 'content': 'the description itself'}`. | ||
*/ | ||
props?: Record<string, any> | null; | ||
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */ | ||
meta?: Record<string, any> | null; | ||
/** SEO tag inner content. For example, `<title> inner content </title>`. */ | ||
children?: string; | ||
/** Whether the tag is a custom tag. */ | ||
custom?: boolean; | ||
/** Whether the tag is disabled. */ | ||
disabled?: boolean; | ||
} | ||
export interface Settings { | ||
/** | ||
* Whether the auto redirects feature creating `301 redirects` on a slug change is enabled. | ||
* | ||
* | ||
* Default: enabled | ||
*/ | ||
preventAutoRedirect?: boolean; | ||
} | ||
export interface InitialTagsCopied { | ||
@@ -131,4 +87,2 @@ /** Number of tags copied. */ | ||
fieldsets?: Field[]; | ||
/** SEO data. */ | ||
seoData?: SeoSchema; | ||
} | ||
@@ -138,5 +92,3 @@ export declare enum Field { | ||
/** Includes Tag URL when present. */ | ||
URL = "URL", | ||
/** Includes SEO data. */ | ||
SEO = "SEO" | ||
URL = "URL" | ||
} | ||
@@ -164,4 +116,2 @@ export interface GetOrCreateTagResponse { | ||
fieldsets?: Field[]; | ||
/** SEO data. */ | ||
seoData?: SeoSchema; | ||
} | ||
@@ -363,4 +313,2 @@ export interface CreateTagResponse { | ||
includeUrl?: boolean; | ||
/** Includes SEO data. */ | ||
includeSeo?: boolean; | ||
} | ||
@@ -367,0 +315,0 @@ export interface PlatformQuery extends PlatformQueryPagingMethodOneOf { |
@@ -34,4 +34,2 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
Field["URL"] = "URL"; | ||
/** Includes SEO data. */ | ||
Field["SEO"] = "SEO"; | ||
})(Field || (Field = {})); | ||
@@ -38,0 +36,0 @@ export var SortOrder; |
{ | ||
"name": "@wix/blog", | ||
"version": "1.0.144", | ||
"version": "1.0.145", | ||
"publishConfig": { | ||
@@ -17,8 +17,8 @@ "registry": "https://registry.npmjs.org/", | ||
"dependencies": { | ||
"@wix/metro-runtime": "^1.1451.0", | ||
"@wix/motion-edm-autogen-query-wrapper": "^1.0.9", | ||
"@wix/sdk-types": "^1.1.15" | ||
"@wix/metro-runtime": "^1.0.0", | ||
"@wix/motion-edm-autogen-query-wrapper": "^1.0.0", | ||
"@wix/sdk-types": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"@wix/typescript-to-service-json": "^1.118.0" | ||
"@wix/typescript-to-service-json": "^1.0.0" | ||
}, | ||
@@ -37,3 +37,3 @@ "scripts": { | ||
}, | ||
"falconPackageHash": "b103482bd1d7451496f58f04d94797fbe6eefcc9416a62f2a4928b2e" | ||
"falconPackageHash": "85c1ad70f4713f5c7f61119da4ea7c5fe15707d1181fafbd022d1d66" | ||
} |
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 not supported yet
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 not supported yet
975153
22616