@ikas/storefront-api 4.12.0-beta.31 → 4.12.0-beta.32
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.
|
@@ -5,6 +5,7 @@ export default listHTMLMetaData;
|
|
|
5
5
|
export declare type QueryParams = {
|
|
6
6
|
id?: StringFilterInput | null;
|
|
7
7
|
includeDeleted?: boolean | null;
|
|
8
|
+
locale?: string | null;
|
|
8
9
|
pagination?: PaginationInput | null;
|
|
9
10
|
slug?: StringFilterInput | null;
|
|
10
11
|
targetId?: StringFilterInput | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as a,APIResponse as n,fetchQuery as i}from"@ikas/fe-api-client";var r,
|
|
1
|
+
import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as a,APIResponse as n,fetchQuery as i}from"@ikas/fe-api-client";var r,l=function(r,l,T){return t(void 0,void 0,void 0,(function(){var t,s,o,E;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,i({operationName:"listHTMLMetaData",config:T,variables:r,allReturnFields:d,fields:l,query:function(t){return"\n\t\t\t\tquery listHTMLMetaData (\n\t\t\t\t\t$id: StringFilterInput,\n\t\t\t\t\t$includeDeleted: Boolean,\n \t$locale: String,\n\t\t\t\t\t$pagination: PaginationInput,\n\t\t\t\t\t$slug: StringFilterInput,\n\t\t\t\t\t$targetId: StringFilterInput,\n\t\t\t\t\t$targetType: HTMLMetaDataTargetTypeEnumFilter,\n\t\t\t\t) {\n\t\t\t\t\tlistHTMLMetaData (\n\t\t\t\t\t\tid: $id,\n\t\t\t\t\t\tincludeDeleted: $includeDeleted,\n locale: $locale,\n\t\t\t\t\t\tpagination: $pagination,\n\t\t\t\t\t\tslug: $slug,\n\t\t\t\t\t\ttargetId: $targetId,\n\t\t\t\t\t\ttargetType: $targetType,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=e.sent(),s=t.data,o=t.errors,[2,new n(null==s?void 0:s.listHTMLMetaData,o)];case 2:return E=e.sent(),[2,a(E)];case 3:return[2]}}))}))},d="{canonicals createdAt deleted description disableIndex id metadataOverrides {description language pageTitle storefrontId storefrontRegionId } pageTitle redirectTo slug targetId targetType translations {description locale pageTitle slug } updatedAt }";!function(t){t.CANONICALS="canonicals",t.CREATED_AT="createdAt",t.DELETED="deleted",t.DESCRIPTION="description",t.DISABLE_INDEX="disableIndex",t.ID="id",t.METADATA_OVERRIDES__DESCRIPTION="metadataOverrides.description",t.METADATA_OVERRIDES__LANGUAGE="metadataOverrides.language",t.METADATA_OVERRIDES__PAGE_TITLE="metadataOverrides.pageTitle",t.METADATA_OVERRIDES__STOREFRONT_ID="metadataOverrides.storefrontId",t.METADATA_OVERRIDES__STOREFRONT_REGION_ID="metadataOverrides.storefrontRegionId",t.PAGE_TITLE="pageTitle",t.REDIRECT_TO="redirectTo",t.SLUG="slug",t.TARGET_ID="targetId",t.TARGET_TYPE="targetType",t.TRANSLATIONS__DESCRIPTION="translations.description",t.TRANSLATIONS__LOCALE="translations.locale",t.TRANSLATIONS__PAGE_TITLE="translations.pageTitle",t.TRANSLATIONS__SLUG="translations.slug",t.UPDATED_AT="updatedAt"}(r||(r={}));export{r as ResponseField,l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as r,__generator as t}from'./../../ext/tslib/tslib.es6.js';import{APIResponse as
|
|
1
|
+
import{__awaiter as r,__generator as t,__assign as e}from'./../../ext/tslib/tslib.es6.js';import{APIResponse as o}from"@ikas/fe-api-client";import{initIkasHTMLMetaData as i}from"@ikas/storefront-models";import{IkasStorefrontConfig as n}from"@ikas/storefront-config";function s(s){return r(this,void 0,void 0,(function(){var r,a;return t(this,(function(t){switch(t.label){case 0:return[4,import("../../__api/queries/listHTMLMetaData.js")];case 1:return[4,(0,t.sent().default)(e(e({},s),{locale:n.getCurrentLocale()}))];case 2:return r=t.sent(),(a=r.data||[]).forEach((function(r){return i(r,n.getCurrentLocale())})),[2,new o(a,r.graphQLErrors)]}}))}))}export{s as listHTMLMetaData};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront-api",
|
|
3
|
-
"version": "4.12.0-beta.
|
|
3
|
+
"version": "4.12.0-beta.32",
|
|
4
4
|
"author": "ikas",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"description": "API functions that returns models from the ikas-storefront-models package.",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
20
|
-
"@ikas/storefront-config": "^4.12.0-beta.
|
|
21
|
-
"@ikas/storefront-models": "^4.12.0-beta.
|
|
20
|
+
"@ikas/storefront-config": "^4.12.0-beta.32",
|
|
21
|
+
"@ikas/storefront-models": "^4.12.0-beta.32",
|
|
22
22
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
23
23
|
"rollup-plugin-rename-node-modules": "^1.2.0",
|
|
24
24
|
"prettier": "^2.2.1",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@ikas/fe-api-client": "^1.0.19"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@ikas/storefront-config": "^4.12.0-beta.
|
|
38
|
-
"@ikas/storefront-models": "^4.12.0-beta.
|
|
37
|
+
"@ikas/storefront-config": "^4.12.0-beta.32",
|
|
38
|
+
"@ikas/storefront-models": "^4.12.0-beta.32",
|
|
39
39
|
"@ikas/fe-api-client": "^1.0.18",
|
|
40
40
|
"axios": "^0.26.0",
|
|
41
41
|
"ts-essentials": "^7.0.1"
|