@wix/blog_categories
Advanced tools
Comparing version 1.0.23 to 1.0.24
@@ -10,6 +10,6 @@ import { HttpClient, EventDefinition } from '@wix/sdk-types'; | ||
export declare function queryCategories(httpClient: HttpClient): (options?: QueryCategoriesOptions) => import("./blog-v3-category-categories.universal").CategoriesQueryBuilder; | ||
export declare const onCategoryCreated: EventDefinition<CategoryCreatedEnvelope, "wix.blog.category_created">; | ||
export declare const onCategoryUpdated: EventDefinition<CategoryUpdatedEnvelope, "wix.blog.category_updated">; | ||
export declare const onCategoryDeleted: EventDefinition<CategoryDeletedEnvelope, "wix.blog.category_deleted">; | ||
export declare const onCategoryCreated: EventDefinition<CategoryCreatedEnvelope, "wix.blog.v3.category_created">; | ||
export declare const onCategoryUpdated: EventDefinition<CategoryUpdatedEnvelope, "wix.blog.v3.category_updated">; | ||
export declare const onCategoryDeleted: EventDefinition<CategoryDeletedEnvelope, "wix.blog.v3.category_deleted">; | ||
export { Field, SortOrder, WebhookIdentityType, } from './blog-v3-category-categories.universal'; | ||
export { Category, CoverMedia, CoverMediaMediaOneOf, SeoSchema, Keyword, Tag, Settings, CategoryTranslation, InitialCategoriesCopied, CreateCategoryRequest, CreateCategoryResponse, BulkCreateCategoriesRequest, BulkCreateCategoriesResponse, BulkCategoryResult, ItemMetadata, ApplicationError, BulkActionMetadata, BulkUpdateCategoriesRequest, MaskedCategory, BulkUpdateCategoriesResponse, UpdateCategoryRequest, UpdateCategoryResponse, GetCategoriesCountByLanguageRequest, GetCategoriesCountByLanguageResponse, CategoryLanguageCount, GetCategoryRequest, GetCategoryResponse, GetCategoryBySlugRequest, GetCategoryBySlugResponse, ListCategoriesRequest, BlogPaging, ListCategoriesResponse, MetaData, QueryCategoriesRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryCategoriesResponse, PagingMetadataV2, Cursors, BulkDeleteCategoryRequest, BulkDeleteCategoryResponse, DeleteCategoryRequest, DeleteCategoryResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, GetCategoryResponseNonNullableFields, GetCategoryBySlugResponseNonNullableFields, ListCategoriesResponseNonNullableFields, QueryCategoriesResponseNonNullableFields, BaseEventMetadata, EventMetadata, CategoryCreatedEnvelope, CategoryUpdatedEnvelope, CategoryDeletedEnvelope, GetCategoryOptions, GetCategoryBySlugOptions, ListCategoriesOptions, QueryCategoriesOptions, CategoriesQueryResult, CategoriesQueryBuilder, } from './blog-v3-category-categories.universal'; |
@@ -40,11 +40,11 @@ "use strict"; | ||
const _coverMedia = { image: 'wix.common.Image', video: 'wix.common.Video' }; | ||
exports.onCategoryCreated = (0, sdk_types_1.EventDefinition)('wix.blog.category_created', true, { | ||
exports.onCategoryCreated = (0, sdk_types_1.EventDefinition)('wix.blog.v3.category_created', true, { | ||
rootSchema: _category, | ||
depSchemas: { _categoryTranslation, _coverMedia }, | ||
})(); | ||
exports.onCategoryUpdated = (0, sdk_types_1.EventDefinition)('wix.blog.category_updated', true, { | ||
exports.onCategoryUpdated = (0, sdk_types_1.EventDefinition)('wix.blog.v3.category_updated', true, { | ||
rootSchema: _category, | ||
depSchemas: { _categoryTranslation, _coverMedia }, | ||
})(); | ||
exports.onCategoryDeleted = (0, sdk_types_1.EventDefinition)('wix.blog.category_deleted', true, { | ||
exports.onCategoryDeleted = (0, sdk_types_1.EventDefinition)('wix.blog.v3.category_deleted', true, { | ||
rootSchema: _category, | ||
@@ -51,0 +51,0 @@ depSchemas: { _categoryTranslation, _coverMedia }, |
@@ -836,3 +836,3 @@ export interface Category { | ||
* @webhook | ||
* @eventType wix.blog.category_created | ||
* @eventType wix.blog.v3.category_created | ||
*/ | ||
@@ -853,3 +853,3 @@ export declare function onCategoryCreated(handler: (event: CategoryCreatedEnvelope) => void | Promise<void>): void; | ||
* @webhook | ||
* @eventType wix.blog.category_updated | ||
* @eventType wix.blog.v3.category_updated | ||
*/ | ||
@@ -869,3 +869,3 @@ export declare function onCategoryUpdated(handler: (event: CategoryUpdatedEnvelope) => void | Promise<void>): void; | ||
* @webhook | ||
* @eventType wix.blog.category_deleted | ||
* @eventType wix.blog.v3.category_deleted | ||
*/ | ||
@@ -872,0 +872,0 @@ export declare function onCategoryDeleted(handler: (event: CategoryDeletedEnvelope) => void | Promise<void>): void; |
@@ -10,6 +10,6 @@ import { HttpClient, EventDefinition } from '@wix/sdk-types'; | ||
export declare function queryCategories(httpClient: HttpClient): (options?: QueryCategoriesOptions) => import("./blog-v3-category-categories.universal").CategoriesQueryBuilder; | ||
export declare const onCategoryCreated: EventDefinition<CategoryCreatedEnvelope, "wix.blog.category_created">; | ||
export declare const onCategoryUpdated: EventDefinition<CategoryUpdatedEnvelope, "wix.blog.category_updated">; | ||
export declare const onCategoryDeleted: EventDefinition<CategoryDeletedEnvelope, "wix.blog.category_deleted">; | ||
export declare const onCategoryCreated: EventDefinition<CategoryCreatedEnvelope, "wix.blog.v3.category_created">; | ||
export declare const onCategoryUpdated: EventDefinition<CategoryUpdatedEnvelope, "wix.blog.v3.category_updated">; | ||
export declare const onCategoryDeleted: EventDefinition<CategoryDeletedEnvelope, "wix.blog.v3.category_deleted">; | ||
export { Field, SortOrder, WebhookIdentityType, } from './blog-v3-category-categories.universal'; | ||
export { Category, CoverMedia, CoverMediaMediaOneOf, SeoSchema, Keyword, Tag, Settings, CategoryTranslation, InitialCategoriesCopied, CreateCategoryRequest, CreateCategoryResponse, BulkCreateCategoriesRequest, BulkCreateCategoriesResponse, BulkCategoryResult, ItemMetadata, ApplicationError, BulkActionMetadata, BulkUpdateCategoriesRequest, MaskedCategory, BulkUpdateCategoriesResponse, UpdateCategoryRequest, UpdateCategoryResponse, GetCategoriesCountByLanguageRequest, GetCategoriesCountByLanguageResponse, CategoryLanguageCount, GetCategoryRequest, GetCategoryResponse, GetCategoryBySlugRequest, GetCategoryBySlugResponse, ListCategoriesRequest, BlogPaging, ListCategoriesResponse, MetaData, QueryCategoriesRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryCategoriesResponse, PagingMetadataV2, Cursors, BulkDeleteCategoryRequest, BulkDeleteCategoryResponse, DeleteCategoryRequest, DeleteCategoryResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, GetCategoryResponseNonNullableFields, GetCategoryBySlugResponseNonNullableFields, ListCategoriesResponseNonNullableFields, QueryCategoriesResponseNonNullableFields, BaseEventMetadata, EventMetadata, CategoryCreatedEnvelope, CategoryUpdatedEnvelope, CategoryDeletedEnvelope, GetCategoryOptions, GetCategoryBySlugOptions, ListCategoriesOptions, QueryCategoriesOptions, CategoriesQueryResult, CategoriesQueryBuilder, } from './blog-v3-category-categories.universal'; |
@@ -33,11 +33,11 @@ import { EventDefinition } from '@wix/sdk-types'; | ||
const _coverMedia = { image: 'wix.common.Image', video: 'wix.common.Video' }; | ||
export const onCategoryCreated = EventDefinition('wix.blog.category_created', true, { | ||
export const onCategoryCreated = EventDefinition('wix.blog.v3.category_created', true, { | ||
rootSchema: _category, | ||
depSchemas: { _categoryTranslation, _coverMedia }, | ||
})(); | ||
export const onCategoryUpdated = EventDefinition('wix.blog.category_updated', true, { | ||
export const onCategoryUpdated = EventDefinition('wix.blog.v3.category_updated', true, { | ||
rootSchema: _category, | ||
depSchemas: { _categoryTranslation, _coverMedia }, | ||
})(); | ||
export const onCategoryDeleted = EventDefinition('wix.blog.category_deleted', true, { | ||
export const onCategoryDeleted = EventDefinition('wix.blog.v3.category_deleted', true, { | ||
rootSchema: _category, | ||
@@ -44,0 +44,0 @@ depSchemas: { _categoryTranslation, _coverMedia }, |
@@ -836,3 +836,3 @@ export interface Category { | ||
* @webhook | ||
* @eventType wix.blog.category_created | ||
* @eventType wix.blog.v3.category_created | ||
*/ | ||
@@ -853,3 +853,3 @@ export declare function onCategoryCreated(handler: (event: CategoryCreatedEnvelope) => void | Promise<void>): void; | ||
* @webhook | ||
* @eventType wix.blog.category_updated | ||
* @eventType wix.blog.v3.category_updated | ||
*/ | ||
@@ -869,3 +869,3 @@ export declare function onCategoryUpdated(handler: (event: CategoryUpdatedEnvelope) => void | Promise<void>): void; | ||
* @webhook | ||
* @eventType wix.blog.category_deleted | ||
* @eventType wix.blog.v3.category_deleted | ||
*/ | ||
@@ -872,0 +872,0 @@ export declare function onCategoryDeleted(handler: (event: CategoryDeletedEnvelope) => void | Promise<void>): void; |
{ | ||
"name": "@wix/blog_categories", | ||
"version": "1.0.23", | ||
"version": "1.0.24", | ||
"publishConfig": { | ||
@@ -42,3 +42,3 @@ "registry": "https://registry.npmjs.org/", | ||
}, | ||
"falconPackageHash": "0bfa1d9a329bb08b89c8b32c675989255d986038df7720594fe86260" | ||
"falconPackageHash": "7daae5661a9e260713496522a0c21bca38adbc51164c5d7ab4bd23c1" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
282055