@commercetools-frontend/application-shell-connectors 26.0.1 → 26.1.0

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.
@@ -78,7 +78,7 @@ var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construc
78
78
  var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
79
79
 
80
80
  // NOTE: This string will be replaced on build time with the package version.
81
- var version = "26.0.1";
81
+ var version = "26.1.0";
82
82
 
83
83
  // From https://github.com/acdlite/recompose/blob/master/src/packages/recompose/getDisplayName.js
84
84
  const getDisplayName = Component => {
@@ -314,7 +314,8 @@ const mapProjectToApplicationContextProject = project => {
314
314
  ownerName: project.owner.name,
315
315
  sampleDataImportDataset: project.sampleDataImportDataset,
316
316
  isUserAdminOfCurrentProject: project.isUserAdminOfCurrentProject,
317
- isProductionProject: project.isProductionProject
317
+ isProductionProject: project.isProductionProject,
318
+ productCatalogModel: project.productCatalogModel
318
319
  };
319
320
  };
320
321
  const createApplicationContext = (environment, user, project, projectDataLocale) => ({
@@ -77,7 +77,7 @@ var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construc
77
77
  var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
78
78
 
79
79
  // NOTE: This string will be replaced on build time with the package version.
80
- var version = "26.0.1";
80
+ var version = "26.1.0";
81
81
 
82
82
  // From https://github.com/acdlite/recompose/blob/master/src/packages/recompose/getDisplayName.js
83
83
  const getDisplayName = Component => {
@@ -313,7 +313,8 @@ const mapProjectToApplicationContextProject = project => {
313
313
  ownerName: project.owner.name,
314
314
  sampleDataImportDataset: project.sampleDataImportDataset,
315
315
  isUserAdminOfCurrentProject: project.isUserAdminOfCurrentProject,
316
- isProductionProject: project.isProductionProject
316
+ isProductionProject: project.isProductionProject,
317
+ productCatalogModel: project.productCatalogModel
317
318
  };
318
319
  };
319
320
  const createApplicationContext = (environment, user, project, projectDataLocale) => ({
@@ -44,7 +44,7 @@ import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringif
44
44
  import { RetryLink } from '@apollo/client/link/retry';
45
45
 
46
46
  // NOTE: This string will be replaced on build time with the package version.
47
- var version = "26.0.1";
47
+ var version = "26.1.0";
48
48
 
49
49
  // From https://github.com/acdlite/recompose/blob/master/src/packages/recompose/getDisplayName.js
50
50
  const getDisplayName = Component => {
@@ -280,7 +280,8 @@ const mapProjectToApplicationContextProject = project => {
280
280
  ownerName: project.owner.name,
281
281
  sampleDataImportDataset: project.sampleDataImportDataset,
282
282
  isUserAdminOfCurrentProject: project.isUserAdminOfCurrentProject,
283
- isProductionProject: project.isProductionProject
283
+ isProductionProject: project.isProductionProject,
284
+ productCatalogModel: project.productCatalogModel
284
285
  };
285
286
  };
286
287
  const createApplicationContext = (environment, user, project, projectDataLocale) => ({
@@ -71,6 +71,7 @@ export declare const mapProjectToApplicationContextProject: (project?: TFetchedP
71
71
  sampleDataImportDataset: string | null | undefined;
72
72
  isUserAdminOfCurrentProject: boolean | null | undefined;
73
73
  isProductionProject: boolean;
74
+ productCatalogModel: import("../../types/generated/mc.js").TProductCatalogModel | null | undefined;
74
75
  } | null;
75
76
  export type TApplicationContext<AdditionalEnvironmentProperties extends {}> = {
76
77
  environment: AdditionalEnvironmentProperties & TApplicationContextEnvironment;
@@ -270,6 +270,10 @@ export type TOrganizationTeamsCreated = {
270
270
  id: Scalars['String'];
271
271
  name: Scalars['String'];
272
272
  };
273
+ export declare enum TProductCatalogModel {
274
+ Classic = "Classic",
275
+ Modular = "Modular"
276
+ }
273
277
  export type TProject = TMetaData & {
274
278
  __typename?: 'Project';
275
279
  allAppliedActionRights: Array<TAppliedActionRight>;
@@ -292,6 +296,7 @@ export type TProject = TMetaData & {
292
296
  name: Scalars['String'];
293
297
  owner: TOrganization;
294
298
  plan: Scalars['String'];
299
+ productCatalogModel?: Maybe<TProductCatalogModel>;
295
300
  sampleDataImportDataset?: Maybe<Scalars['String']>;
296
301
  shippingRateInputType?: Maybe<TShippingRateInputType>;
297
302
  suspension: TProjectSuspension;
@@ -591,6 +596,7 @@ export type TFetchProjectQuery = {
591
596
  isProductionProject: boolean;
592
597
  sampleDataImportDataset?: string | null;
593
598
  isUserAdminOfCurrentProject?: boolean | null;
599
+ productCatalogModel?: TProductCatalogModel | null;
594
600
  expiry: {
595
601
  __typename?: 'ProjectExpiry';
596
602
  isActive: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/application-shell-connectors",
3
- "version": "26.0.1",
3
+ "version": "26.1.0",
4
4
  "description": "Contains complementary tools for @commercetools-frontend/application-shell",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -37,10 +37,10 @@
37
37
  "dependencies": {
38
38
  "@babel/runtime": "^7.22.15",
39
39
  "@babel/runtime-corejs3": "^7.22.15",
40
- "@commercetools-frontend/application-config": "26.0.1",
41
- "@commercetools-frontend/browser-history": "26.0.1",
42
- "@commercetools-frontend/constants": "26.0.1",
43
- "@commercetools-frontend/sentry": "26.0.1",
40
+ "@commercetools-frontend/application-config": "26.1.0",
41
+ "@commercetools-frontend/browser-history": "26.1.0",
42
+ "@commercetools-frontend/constants": "26.1.0",
43
+ "@commercetools-frontend/sentry": "26.1.0",
44
44
  "@commercetools/http-user-agent": "3.0.0",
45
45
  "@emotion/react": "^11.14.0",
46
46
  "@types/lodash": "^4.14.198",