@wix/blog_categories
Advanced tools
Comparing version 1.0.16 to 1.0.17
@@ -12,2 +12,1 @@ import { HttpClient } from '@wix/sdk-types'; | ||
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, DomainCreatedEvent, DomainDeletedEvent, DomainUpdatedEvent, DomainActionEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, GetCategoryResponseNonNullableFields, GetCategoryBySlugResponseNonNullableFields, ListCategoriesResponseNonNullableFields, QueryCategoriesResponseNonNullableFields, GetCategoryOptions, GetCategoryBySlugOptions, ListCategoriesOptions, QueryCategoriesOptions, CategoriesQueryResult, CategoriesQueryBuilder, } from './blog-v3-category-categories.universal'; | ||
export { onCategoryCreated, onCategoryUpdated, onCategoryDeleted, } from './blog-v3-category-categories.universal'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.onCategoryDeleted = exports.onCategoryUpdated = exports.onCategoryCreated = exports.SortOrder = exports.Field = exports.queryCategories = exports.listCategories = exports.getCategoryBySlug = exports.getCategory = exports.__metadata = void 0; | ||
exports.SortOrder = exports.Field = exports.queryCategories = exports.listCategories = exports.getCategoryBySlug = exports.getCategory = exports.__metadata = void 0; | ||
const blog_v3_category_categories_universal_1 = require("./blog-v3-category-categories.universal"); | ||
@@ -33,6 +33,2 @@ exports.__metadata = { PACKAGE_NAME: '@wix/blog' }; | ||
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return blog_v3_category_categories_universal_2.SortOrder; } }); | ||
var blog_v3_category_categories_universal_3 = require("./blog-v3-category-categories.universal"); | ||
Object.defineProperty(exports, "onCategoryCreated", { enumerable: true, get: function () { return blog_v3_category_categories_universal_3.onCategoryCreated; } }); | ||
Object.defineProperty(exports, "onCategoryUpdated", { enumerable: true, get: function () { return blog_v3_category_categories_universal_3.onCategoryUpdated; } }); | ||
Object.defineProperty(exports, "onCategoryDeleted", { enumerable: true, get: function () { return blog_v3_category_categories_universal_3.onCategoryDeleted; } }); | ||
//# sourceMappingURL=blog-v3-category-categories.public.js.map |
@@ -1,2 +0,1 @@ | ||
import { EventDefinition } from '@wix/sdk-types'; | ||
export interface Category { | ||
@@ -8,3 +7,3 @@ /** | ||
_id?: string; | ||
/** Category label. Displayed in the Category Menu. ****/ | ||
/** Category label. Displayed in the Category Menu. */ | ||
label?: string; | ||
@@ -740,5 +739,2 @@ /** | ||
} | ||
export declare const onCategoryCreated: EventDefinition<DomainCreatedEvent<Category>, "wix.blog.category_created">; | ||
export declare const onCategoryUpdated: EventDefinition<DomainUpdatedEvent<Category>, "wix.blog.category_updated">; | ||
export declare const onCategoryDeleted: EventDefinition<DomainDeletedEvent<Category>, "wix.blog.category_deleted">; | ||
/** | ||
@@ -745,0 +741,0 @@ * Gets a category by the specified ID. |
@@ -26,7 +26,6 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.queryCategories = exports.listCategories = exports.getCategoryBySlug = exports.getCategory = exports.onCategoryDeleted = exports.onCategoryUpdated = exports.onCategoryCreated = exports.SortOrder = exports.Field = void 0; | ||
exports.queryCategories = exports.listCategories = exports.getCategoryBySlug = exports.getCategory = exports.SortOrder = exports.Field = void 0; | ||
const velo_1 = require("@wix/metro-runtime/velo"); | ||
const transform_error_1 = require("@wix/sdk-runtime/transform-error"); | ||
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys"); | ||
const sdk_types_1 = require("@wix/sdk-types"); | ||
const ambassadorWixBlogV3Category = __importStar(require("./blog-v3-category-categories.http")); | ||
@@ -71,14 +70,2 @@ // @ts-ignore | ||
const _queryCategoriesResponse = { categories: '_category' }; | ||
exports.onCategoryCreated = (0, sdk_types_1.EventDefinition)('wix.blog.category_created', true, { | ||
rootSchema: _category, | ||
depSchemas: { _categoryTranslation, _coverMedia }, | ||
})(); | ||
exports.onCategoryUpdated = (0, sdk_types_1.EventDefinition)('wix.blog.category_updated', true, { | ||
rootSchema: _category, | ||
depSchemas: { _categoryTranslation, _coverMedia }, | ||
})(); | ||
exports.onCategoryDeleted = (0, sdk_types_1.EventDefinition)('wix.blog.category_deleted', true, { | ||
rootSchema: _category, | ||
depSchemas: { _categoryTranslation, _coverMedia }, | ||
})(); | ||
/** | ||
@@ -85,0 +72,0 @@ * Gets a category by the specified ID. |
@@ -12,2 +12,1 @@ import { HttpClient } from '@wix/sdk-types'; | ||
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, DomainCreatedEvent, DomainDeletedEvent, DomainUpdatedEvent, DomainActionEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, GetCategoryResponseNonNullableFields, GetCategoryBySlugResponseNonNullableFields, ListCategoriesResponseNonNullableFields, QueryCategoriesResponseNonNullableFields, GetCategoryOptions, GetCategoryBySlugOptions, ListCategoriesOptions, QueryCategoriesOptions, CategoriesQueryResult, CategoriesQueryBuilder, } from './blog-v3-category-categories.universal'; | ||
export { onCategoryCreated, onCategoryUpdated, onCategoryDeleted, } from './blog-v3-category-categories.universal'; |
@@ -24,3 +24,2 @@ import { getCategory as universalGetCategory, getCategoryBySlug as universalGetCategoryBySlug, listCategories as universalListCategories, queryCategories as universalQueryCategories, } from './blog-v3-category-categories.universal'; | ||
export { Field, SortOrder } from './blog-v3-category-categories.universal'; | ||
export { onCategoryCreated, onCategoryUpdated, onCategoryDeleted, } from './blog-v3-category-categories.universal'; | ||
//# sourceMappingURL=blog-v3-category-categories.public.js.map |
@@ -1,2 +0,1 @@ | ||
import { EventDefinition } from '@wix/sdk-types'; | ||
export interface Category { | ||
@@ -8,3 +7,3 @@ /** | ||
_id?: string; | ||
/** Category label. Displayed in the Category Menu. ****/ | ||
/** Category label. Displayed in the Category Menu. */ | ||
label?: string; | ||
@@ -740,5 +739,2 @@ /** | ||
} | ||
export declare const onCategoryCreated: EventDefinition<DomainCreatedEvent<Category>, "wix.blog.category_created">; | ||
export declare const onCategoryUpdated: EventDefinition<DomainUpdatedEvent<Category>, "wix.blog.category_updated">; | ||
export declare const onCategoryDeleted: EventDefinition<DomainDeletedEvent<Category>, "wix.blog.category_deleted">; | ||
/** | ||
@@ -745,0 +741,0 @@ * Gets a category by the specified ID. |
import { serializer, transformError, resolveQueryFieldsTransformationPaths, } from '@wix/metro-runtime/velo'; | ||
import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error'; | ||
import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys'; | ||
import { EventDefinition } from '@wix/sdk-types'; | ||
import * as ambassadorWixBlogV3Category from './blog-v3-category-categories.http'; | ||
@@ -44,14 +43,2 @@ // @ts-ignore | ||
const _queryCategoriesResponse = { categories: '_category' }; | ||
export const onCategoryCreated = EventDefinition('wix.blog.category_created', true, { | ||
rootSchema: _category, | ||
depSchemas: { _categoryTranslation, _coverMedia }, | ||
})(); | ||
export const onCategoryUpdated = EventDefinition('wix.blog.category_updated', true, { | ||
rootSchema: _category, | ||
depSchemas: { _categoryTranslation, _coverMedia }, | ||
})(); | ||
export const onCategoryDeleted = EventDefinition('wix.blog.category_deleted', true, { | ||
rootSchema: _category, | ||
depSchemas: { _categoryTranslation, _coverMedia }, | ||
})(); | ||
/** | ||
@@ -58,0 +45,0 @@ * Gets a category by the specified ID. |
{ | ||
"name": "@wix/blog_categories", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"publishConfig": { | ||
@@ -22,3 +22,3 @@ "registry": "https://registry.npmjs.org/", | ||
"@wix/sdk-runtime": "^0.2.10", | ||
"@wix/sdk-types": "^1.5.11" | ||
"@wix/sdk-types": "^1.6.0" | ||
}, | ||
@@ -43,3 +43,3 @@ "devDependencies": { | ||
}, | ||
"falconPackageHash": "97cda765a89459a53e4889d23bd69ed01bd131e82753b7bc88bb2301" | ||
"falconPackageHash": "55d1c7f4ab24089b5e1f9569ebaee737024da30a1f01cb13e03f0a74" | ||
} |
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
262685
5806
8
1
Updated@wix/sdk-types@^1.6.0