@ikas/storefront 0.0.134 → 0.0.135
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.
|
@@ -20,14 +20,6 @@ export interface listBlog_listBlog_data_category {
|
|
|
20
20
|
name: string;
|
|
21
21
|
metadata: listBlog_listBlog_data_category_metadata;
|
|
22
22
|
}
|
|
23
|
-
export interface listBlog_listBlog_data_blogContent {
|
|
24
|
-
__typename: "BlogContent";
|
|
25
|
-
content: string;
|
|
26
|
-
createdAt: any | null;
|
|
27
|
-
deleted: boolean | null;
|
|
28
|
-
id: string;
|
|
29
|
-
updatedAt: any | null;
|
|
30
|
-
}
|
|
31
23
|
export interface listBlog_listBlog_data_tags {
|
|
32
24
|
__typename: "BlogTag";
|
|
33
25
|
createdAt: any | null;
|
|
@@ -58,7 +50,6 @@ export interface listBlog_listBlog_data {
|
|
|
58
50
|
title: string;
|
|
59
51
|
categoryId: string;
|
|
60
52
|
category: listBlog_listBlog_data_category;
|
|
61
|
-
blogContent: listBlog_listBlog_data_blogContent;
|
|
62
53
|
tags: listBlog_listBlog_data_tags[] | null;
|
|
63
54
|
createdAt: any | null;
|
|
64
55
|
deleted: boolean | null;
|
package/build/index.es.js
CHANGED
|
@@ -25811,6 +25811,16 @@ var IkasBlog = /** @class */ (function () {
|
|
|
25811
25811
|
this.image = data.imageId ? new IkasImage(data.imageId) : null;
|
|
25812
25812
|
makeAutoObservable(this);
|
|
25813
25813
|
}
|
|
25814
|
+
Object.defineProperty(IkasBlog.prototype, "href", {
|
|
25815
|
+
get: function () {
|
|
25816
|
+
var _a;
|
|
25817
|
+
if (!((_a = this.metadata) === null || _a === void 0 ? void 0 : _a.slug))
|
|
25818
|
+
return "";
|
|
25819
|
+
return "/blog/" + this.metadata.slug;
|
|
25820
|
+
},
|
|
25821
|
+
enumerable: false,
|
|
25822
|
+
configurable: true
|
|
25823
|
+
});
|
|
25814
25824
|
return IkasBlog;
|
|
25815
25825
|
}());
|
|
25816
25826
|
var IkasBlogContent = /** @class */ (function () {
|
|
@@ -25867,6 +25877,16 @@ var IkasBlogCategory = /** @class */ (function () {
|
|
|
25867
25877
|
this.metadata = data.metadata ? new IkasBlogMetaData(data.metadata) : null;
|
|
25868
25878
|
makeAutoObservable(this);
|
|
25869
25879
|
}
|
|
25880
|
+
Object.defineProperty(IkasBlogCategory.prototype, "href", {
|
|
25881
|
+
get: function () {
|
|
25882
|
+
var _a;
|
|
25883
|
+
if (!((_a = this.metadata) === null || _a === void 0 ? void 0 : _a.slug))
|
|
25884
|
+
return "";
|
|
25885
|
+
return "/blog/" + this.metadata.slug;
|
|
25886
|
+
},
|
|
25887
|
+
enumerable: false,
|
|
25888
|
+
configurable: true
|
|
25889
|
+
});
|
|
25870
25890
|
return IkasBlogCategory;
|
|
25871
25891
|
}());
|
|
25872
25892
|
var IkasBlogTag = /** @class */ (function () {
|
|
@@ -25891,7 +25911,7 @@ var IkasBlogAPI = /** @class */ (function () {
|
|
|
25891
25911
|
return __generator(this, function (_b) {
|
|
25892
25912
|
switch (_b.label) {
|
|
25893
25913
|
case 0:
|
|
25894
|
-
QUERY = src(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query listBlog(\n $id: StringFilterInput\n $categoryId: StringFilterInput\n $pagination: PaginationInput\n $storefrontId: StringFilterInput\n $tagId: StringFilterInput\n $title: StringFilterInput\n ) {\n listBlog(\n id: $id\n categoryId: $categoryId\n pagination: $pagination\n storefrontId: $storefrontId\n tagId: $tagId\n title: $title\n ) {\n count\n data {\n title\n categoryId\n category {\n createdAt\n deleted\n id\n imageId\n name\n metadata {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n }\n
|
|
25914
|
+
QUERY = src(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query listBlog(\n $id: StringFilterInput\n $categoryId: StringFilterInput\n $pagination: PaginationInput\n $storefrontId: StringFilterInput\n $tagId: StringFilterInput\n $title: StringFilterInput\n ) {\n listBlog(\n id: $id\n categoryId: $categoryId\n pagination: $pagination\n storefrontId: $storefrontId\n tagId: $tagId\n title: $title\n ) {\n count\n data {\n title\n categoryId\n category {\n createdAt\n deleted\n id\n imageId\n name\n metadata {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n }\n tags {\n createdAt\n id\n name\n deleted\n updatedAt\n }\n createdAt\n deleted\n id\n imageId\n isPublished\n metadata {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n writer {\n firstName\n lastName\n }\n publishedAt\n shortDescription\n storefrontId\n tagIds\n updatedAt\n }\n hasNext\n limit\n page\n }\n }\n "], ["\n query listBlog(\n $id: StringFilterInput\n $categoryId: StringFilterInput\n $pagination: PaginationInput\n $storefrontId: StringFilterInput\n $tagId: StringFilterInput\n $title: StringFilterInput\n ) {\n listBlog(\n id: $id\n categoryId: $categoryId\n pagination: $pagination\n storefrontId: $storefrontId\n tagId: $tagId\n title: $title\n ) {\n count\n data {\n title\n categoryId\n category {\n createdAt\n deleted\n id\n imageId\n name\n metadata {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n }\n tags {\n createdAt\n id\n name\n deleted\n updatedAt\n }\n createdAt\n deleted\n id\n imageId\n isPublished\n metadata {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n writer {\n firstName\n lastName\n }\n publishedAt\n shortDescription\n storefrontId\n tagIds\n updatedAt\n }\n hasNext\n limit\n page\n }\n }\n "])));
|
|
25895
25915
|
_b.label = 1;
|
|
25896
25916
|
case 1:
|
|
25897
25917
|
_b.trys.push([1, 3, , 4]);
|
package/build/index.js
CHANGED
|
@@ -25790,6 +25790,16 @@ var IkasBlog = /** @class */ (function () {
|
|
|
25790
25790
|
this.image = data.imageId ? new IkasImage(data.imageId) : null;
|
|
25791
25791
|
mobx.makeAutoObservable(this);
|
|
25792
25792
|
}
|
|
25793
|
+
Object.defineProperty(IkasBlog.prototype, "href", {
|
|
25794
|
+
get: function () {
|
|
25795
|
+
var _a;
|
|
25796
|
+
if (!((_a = this.metadata) === null || _a === void 0 ? void 0 : _a.slug))
|
|
25797
|
+
return "";
|
|
25798
|
+
return "/blog/" + this.metadata.slug;
|
|
25799
|
+
},
|
|
25800
|
+
enumerable: false,
|
|
25801
|
+
configurable: true
|
|
25802
|
+
});
|
|
25793
25803
|
return IkasBlog;
|
|
25794
25804
|
}());
|
|
25795
25805
|
var IkasBlogContent = /** @class */ (function () {
|
|
@@ -25845,6 +25855,16 @@ var IkasBlogCategory = /** @class */ (function () {
|
|
|
25845
25855
|
this.metadata = data.metadata ? new IkasBlogMetaData(data.metadata) : null;
|
|
25846
25856
|
mobx.makeAutoObservable(this);
|
|
25847
25857
|
}
|
|
25858
|
+
Object.defineProperty(IkasBlogCategory.prototype, "href", {
|
|
25859
|
+
get: function () {
|
|
25860
|
+
var _a;
|
|
25861
|
+
if (!((_a = this.metadata) === null || _a === void 0 ? void 0 : _a.slug))
|
|
25862
|
+
return "";
|
|
25863
|
+
return "/blog/" + this.metadata.slug;
|
|
25864
|
+
},
|
|
25865
|
+
enumerable: false,
|
|
25866
|
+
configurable: true
|
|
25867
|
+
});
|
|
25848
25868
|
return IkasBlogCategory;
|
|
25849
25869
|
}());
|
|
25850
25870
|
var IkasBlogTag = /** @class */ (function () {
|
|
@@ -25869,7 +25889,7 @@ var IkasBlogAPI = /** @class */ (function () {
|
|
|
25869
25889
|
return __generator(this, function (_b) {
|
|
25870
25890
|
switch (_b.label) {
|
|
25871
25891
|
case 0:
|
|
25872
|
-
QUERY = src(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query listBlog(\n $id: StringFilterInput\n $categoryId: StringFilterInput\n $pagination: PaginationInput\n $storefrontId: StringFilterInput\n $tagId: StringFilterInput\n $title: StringFilterInput\n ) {\n listBlog(\n id: $id\n categoryId: $categoryId\n pagination: $pagination\n storefrontId: $storefrontId\n tagId: $tagId\n title: $title\n ) {\n count\n data {\n title\n categoryId\n category {\n createdAt\n deleted\n id\n imageId\n name\n metadata {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n }\n
|
|
25892
|
+
QUERY = src(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query listBlog(\n $id: StringFilterInput\n $categoryId: StringFilterInput\n $pagination: PaginationInput\n $storefrontId: StringFilterInput\n $tagId: StringFilterInput\n $title: StringFilterInput\n ) {\n listBlog(\n id: $id\n categoryId: $categoryId\n pagination: $pagination\n storefrontId: $storefrontId\n tagId: $tagId\n title: $title\n ) {\n count\n data {\n title\n categoryId\n category {\n createdAt\n deleted\n id\n imageId\n name\n metadata {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n }\n tags {\n createdAt\n id\n name\n deleted\n updatedAt\n }\n createdAt\n deleted\n id\n imageId\n isPublished\n metadata {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n writer {\n firstName\n lastName\n }\n publishedAt\n shortDescription\n storefrontId\n tagIds\n updatedAt\n }\n hasNext\n limit\n page\n }\n }\n "], ["\n query listBlog(\n $id: StringFilterInput\n $categoryId: StringFilterInput\n $pagination: PaginationInput\n $storefrontId: StringFilterInput\n $tagId: StringFilterInput\n $title: StringFilterInput\n ) {\n listBlog(\n id: $id\n categoryId: $categoryId\n pagination: $pagination\n storefrontId: $storefrontId\n tagId: $tagId\n title: $title\n ) {\n count\n data {\n title\n categoryId\n category {\n createdAt\n deleted\n id\n imageId\n name\n metadata {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n }\n tags {\n createdAt\n id\n name\n deleted\n updatedAt\n }\n createdAt\n deleted\n id\n imageId\n isPublished\n metadata {\n createdAt\n deleted\n description\n id\n pageTitle\n slug\n targetId\n targetType\n updatedAt\n }\n writer {\n firstName\n lastName\n }\n publishedAt\n shortDescription\n storefrontId\n tagIds\n updatedAt\n }\n hasNext\n limit\n page\n }\n }\n "])));
|
|
25873
25893
|
_b.label = 1;
|
|
25874
25894
|
case 1:
|
|
25875
25895
|
_b.trys.push([1, 3, , 4]);
|
|
@@ -17,6 +17,7 @@ export declare class IkasBlog {
|
|
|
17
17
|
metadata: IkasBlogMetaData | null;
|
|
18
18
|
image: IkasImage | null;
|
|
19
19
|
constructor(data?: Partial<IkasBlog>);
|
|
20
|
+
get href(): string;
|
|
20
21
|
}
|
|
21
22
|
export declare class IkasBlogContent {
|
|
22
23
|
id: string;
|
|
@@ -54,6 +55,7 @@ export declare class IkasBlogCategory {
|
|
|
54
55
|
imageId: string;
|
|
55
56
|
metadata: IkasBlogMetaData | null;
|
|
56
57
|
constructor(data?: Partial<IkasBlogCategory>);
|
|
58
|
+
get href(): string;
|
|
57
59
|
}
|
|
58
60
|
export declare class IkasBlogTag {
|
|
59
61
|
id: string;
|