@commercetools-frontend/application-shell-connectors 22.28.0 → 22.30.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.
@@ -81,7 +81,7 @@ var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construc
81
81
  var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
82
82
 
83
83
  // NOTE: This string will be replaced on build time with the package version.
84
- var version = "22.28.0";
84
+ var version = "22.30.0";
85
85
 
86
86
  // From https://github.com/acdlite/recompose/blob/master/src/packages/recompose/getDisplayName.js
87
87
  const getDisplayName = Component => {
@@ -330,7 +330,8 @@ const mapProjectToApplicationContextProject = project => {
330
330
  ownerId: project.owner.id,
331
331
  ownerName: project.owner.name,
332
332
  sampleDataImportDataset: project.sampleDataImportDataset,
333
- isUserAdminOfCurrentProject: project.isUserAdminOfCurrentProject
333
+ isUserAdminOfCurrentProject: project.isUserAdminOfCurrentProject,
334
+ isProductionProject: project.isProductionProject
334
335
  };
335
336
  };
336
337
  const createApplicationContext = (environment, user, project, projectDataLocale) => ({
@@ -79,7 +79,7 @@ var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construc
79
79
  var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
80
80
 
81
81
  // NOTE: This string will be replaced on build time with the package version.
82
- var version = "22.28.0";
82
+ var version = "22.30.0";
83
83
 
84
84
  // From https://github.com/acdlite/recompose/blob/master/src/packages/recompose/getDisplayName.js
85
85
  const getDisplayName = Component => {
@@ -328,7 +328,8 @@ const mapProjectToApplicationContextProject = project => {
328
328
  ownerId: project.owner.id,
329
329
  ownerName: project.owner.name,
330
330
  sampleDataImportDataset: project.sampleDataImportDataset,
331
- isUserAdminOfCurrentProject: project.isUserAdminOfCurrentProject
331
+ isUserAdminOfCurrentProject: project.isUserAdminOfCurrentProject,
332
+ isProductionProject: project.isProductionProject
332
333
  };
333
334
  };
334
335
  const createApplicationContext = (environment, user, project, projectDataLocale) => ({
@@ -46,7 +46,7 @@ import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringif
46
46
  import { RetryLink } from '@apollo/client/link/retry';
47
47
 
48
48
  // NOTE: This string will be replaced on build time with the package version.
49
- var version = "22.28.0";
49
+ var version = "22.30.0";
50
50
 
51
51
  // From https://github.com/acdlite/recompose/blob/master/src/packages/recompose/getDisplayName.js
52
52
  const getDisplayName = Component => {
@@ -295,7 +295,8 @@ const mapProjectToApplicationContextProject = project => {
295
295
  ownerId: project.owner.id,
296
296
  ownerName: project.owner.name,
297
297
  sampleDataImportDataset: project.sampleDataImportDataset,
298
- isUserAdminOfCurrentProject: project.isUserAdminOfCurrentProject
298
+ isUserAdminOfCurrentProject: project.isUserAdminOfCurrentProject,
299
+ isProductionProject: project.isProductionProject
299
300
  };
300
301
  };
301
302
  const createApplicationContext = (environment, user, project, projectDataLocale) => ({
@@ -60,6 +60,7 @@ export declare const mapProjectToApplicationContextProject: (project?: TFetchedP
60
60
  ownerName: string;
61
61
  sampleDataImportDataset: string | null | undefined;
62
62
  isUserAdminOfCurrentProject: boolean | null | undefined;
63
+ isProductionProject: boolean;
63
64
  } | null;
64
65
  export type TApplicationContext<AdditionalEnvironmentProperties extends {}> = {
65
66
  environment: AdditionalEnvironmentProperties & TApplicationContextEnvironment;
@@ -1924,6 +1924,20 @@ export type TFetchProjectExtensionsNavbarQuery = {
1924
1924
  }>;
1925
1925
  } | null;
1926
1926
  };
1927
+ export type TCreateCustomApplicationDeploymentPreviewMutationVariables = Exact<{
1928
+ organizationId: Scalars['String'];
1929
+ applicationId: Scalars['ID'];
1930
+ data: TCustomApplicationDeploymentPreviewCreateInput;
1931
+ }>;
1932
+ export type TCreateCustomApplicationDeploymentPreviewMutation = {
1933
+ __typename?: 'Mutation';
1934
+ createCustomApplicationDeploymentPreview: {
1935
+ __typename?: 'CustomApplicationDeploymentPreview';
1936
+ id: string;
1937
+ alias?: string | null;
1938
+ url: string;
1939
+ };
1940
+ };
1927
1941
  export type TCreateCustomApplicationFromCliMutationVariables = Exact<{
1928
1942
  organizationId: Scalars['String'];
1929
1943
  data: TCustomApplicationDraftDataInput;
@@ -1946,6 +1960,17 @@ export type TCreateCustomViewFromCliMutation = {
1946
1960
  id: string;
1947
1961
  } | null;
1948
1962
  };
1963
+ export type TDeleteCustomApplicationDeploymentPreviewMutationVariables = Exact<{
1964
+ organizationId: Scalars['String'];
1965
+ deploymentId: Scalars['ID'];
1966
+ }>;
1967
+ export type TDeleteCustomApplicationDeploymentPreviewMutation = {
1968
+ __typename?: 'Mutation';
1969
+ deleteCustomApplicationDeploymentPreview: {
1970
+ __typename?: 'CustomApplicationDeploymentPreview';
1971
+ id: string;
1972
+ };
1973
+ };
1949
1974
  export type TFetchCustomApplicationFromCliQueryVariables = Exact<{
1950
1975
  entryPointUriPath: Scalars['String'];
1951
1976
  }>;
@@ -1988,6 +2013,12 @@ export type TFetchCustomApplicationFromCliQuery = {
1988
2013
  value: string;
1989
2014
  }>;
1990
2015
  }>;
2016
+ deployments: Array<{
2017
+ __typename?: 'CustomApplicationDeploymentPreview';
2018
+ id: string;
2019
+ url: string;
2020
+ alias?: string | null;
2021
+ }>;
1991
2022
  };
1992
2023
  } | null;
1993
2024
  };
@@ -2023,6 +2054,20 @@ export type TFetchCustomViewFromCliQuery = {
2023
2054
  } | null;
2024
2055
  } | null;
2025
2056
  };
2057
+ export type TUpdateCustomApplicationDeploymentPreviewMutationVariables = Exact<{
2058
+ organizationId: Scalars['String'];
2059
+ deploymentId: Scalars['ID'];
2060
+ data: TCustomApplicationDeploymentPreviewUpdateInput;
2061
+ }>;
2062
+ export type TUpdateCustomApplicationDeploymentPreviewMutation = {
2063
+ __typename?: 'Mutation';
2064
+ updateCustomApplicationDeploymentPreview: {
2065
+ __typename?: 'CustomApplicationDeploymentPreview';
2066
+ id: string;
2067
+ alias?: string | null;
2068
+ url: string;
2069
+ };
2070
+ };
2026
2071
  export type TUpdateCustomApplicationFromCliMutationVariables = Exact<{
2027
2072
  organizationId: Scalars['String'];
2028
2073
  data: TCustomApplicationDraftDataInput;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/application-shell-connectors",
3
- "version": "22.28.0",
3
+ "version": "22.30.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,17 +37,17 @@
37
37
  "dependencies": {
38
38
  "@babel/runtime": "^7.22.15",
39
39
  "@babel/runtime-corejs3": "^7.22.15",
40
- "@commercetools-frontend/application-config": "22.28.0",
41
- "@commercetools-frontend/browser-history": "22.28.0",
42
- "@commercetools-frontend/constants": "22.28.0",
43
- "@commercetools-frontend/sentry": "22.28.0",
40
+ "@commercetools-frontend/application-config": "22.30.0",
41
+ "@commercetools-frontend/browser-history": "22.30.0",
42
+ "@commercetools-frontend/constants": "22.30.0",
43
+ "@commercetools-frontend/sentry": "22.30.0",
44
44
  "@commercetools/http-user-agent": "3.0.0",
45
45
  "@emotion/react": "^11.11.4",
46
46
  "@types/lodash": "^4.14.198",
47
47
  "@types/prop-types": "^15.7.5",
48
48
  "@types/react": "^17.0.80",
49
49
  "apollo-link-logger": "2.0.1",
50
- "graphql": "16.8.1",
50
+ "graphql": "16.8.2",
51
51
  "lodash": "4.17.21",
52
52
  "moment-timezone": "^0.5.40",
53
53
  "omit-empty-es": "1.2.0",