@commercetools-frontend/application-shell-connectors 20.10.6 → 20.11.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.
- package/dist/commercetools-frontend-application-shell-connectors.cjs.dev.js +1 -1
- package/dist/commercetools-frontend-application-shell-connectors.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-application-shell-connectors.esm.js +1 -1
- package/dist/declarations/src/components/application-context/application-context.d.ts +2 -2
- package/dist/declarations/src/components/project-extension-image-regex/project-extension-image-regex.d.ts +3 -3
- package/dist/declarations/src/test-utils/test-utils.d.ts +15 -15
- package/dist/declarations/src/types/generated/mc.d.ts +189 -195
- package/dist/declarations/src/types/generated/settings.d.ts +1425 -2504
- package/package.json +3 -3
|
@@ -45,7 +45,7 @@ var _valuesInstanceProperty__default = /*#__PURE__*/_interopDefault(_valuesInsta
|
|
|
45
45
|
var _URL__default = /*#__PURE__*/_interopDefault(_URL);
|
|
46
46
|
|
|
47
47
|
// NOTE: This string will be replaced on build time with the package version.
|
|
48
|
-
var version = "20.
|
|
48
|
+
var version = "20.11.0";
|
|
49
49
|
|
|
50
50
|
// From https://github.com/acdlite/recompose/blob/master/src/packages/recompose/getDisplayName.js
|
|
51
51
|
var getDisplayName = function getDisplayName(Component) {
|
|
@@ -44,7 +44,7 @@ var _valuesInstanceProperty__default = /*#__PURE__*/_interopDefault(_valuesInsta
|
|
|
44
44
|
var _URL__default = /*#__PURE__*/_interopDefault(_URL);
|
|
45
45
|
|
|
46
46
|
// NOTE: This string will be replaced on build time with the package version.
|
|
47
|
-
var version = "20.
|
|
47
|
+
var version = "20.11.0";
|
|
48
48
|
|
|
49
49
|
// From https://github.com/acdlite/recompose/blob/master/src/packages/recompose/getDisplayName.js
|
|
50
50
|
var getDisplayName = function getDisplayName(Component) {
|
|
@@ -23,7 +23,7 @@ import { GRAPHQL_TARGETS } from '@commercetools-frontend/constants';
|
|
|
23
23
|
import { reportErrorToSentry } from '@commercetools-frontend/sentry';
|
|
24
24
|
|
|
25
25
|
// NOTE: This string will be replaced on build time with the package version.
|
|
26
|
-
var version = "20.
|
|
26
|
+
var version = "20.11.0";
|
|
27
27
|
|
|
28
28
|
// From https://github.com/acdlite/recompose/blob/master/src/packages/recompose/getDisplayName.js
|
|
29
29
|
var getDisplayName = function getDisplayName(Component) {
|
|
@@ -29,7 +29,7 @@ export declare const mapUserToApplicationContextUser: (user?: TFetchedUser) => {
|
|
|
29
29
|
email: string;
|
|
30
30
|
firstName: string;
|
|
31
31
|
lastName: string;
|
|
32
|
-
businessRole:
|
|
32
|
+
businessRole: string | null | undefined;
|
|
33
33
|
locale: string;
|
|
34
34
|
timeZone: string;
|
|
35
35
|
projects: {
|
|
@@ -97,7 +97,7 @@ export declare const mapEnvironmentToApplicationContextEnvironment: <AdditionalE
|
|
|
97
97
|
};
|
|
98
98
|
export declare const mapProjectToApplicationContextProject: (project?: TFetchedProject) => {
|
|
99
99
|
key: string;
|
|
100
|
-
version:
|
|
100
|
+
version: number | null | undefined;
|
|
101
101
|
name: string;
|
|
102
102
|
countries: string[];
|
|
103
103
|
currencies: string[];
|
|
@@ -3,9 +3,9 @@ import { ComponentType, ReactNode } from 'react';
|
|
|
3
3
|
export declare type TImageRegexContext = {
|
|
4
4
|
isLoading: boolean;
|
|
5
5
|
imageRegex?: {
|
|
6
|
-
small?: Pick<TImageRegexOptions, 'flag' | 'replace' | 'search'
|
|
7
|
-
thumb?: Pick<TImageRegexOptions, 'flag' | 'replace' | 'search'
|
|
8
|
-
};
|
|
6
|
+
small?: Pick<TImageRegexOptions, 'flag' | 'replace' | 'search'> | null;
|
|
7
|
+
thumb?: Pick<TImageRegexOptions, 'flag' | 'replace' | 'search'> | null;
|
|
8
|
+
} | null;
|
|
9
9
|
};
|
|
10
10
|
declare type ProviderProps = {
|
|
11
11
|
skip?: boolean;
|
|
@@ -4,21 +4,21 @@ export declare const createGraphqlResponseForProjectExtensionImageRegexQuery: (c
|
|
|
4
4
|
projectExtension: {
|
|
5
5
|
__typename?: "ProjectExtension" | undefined;
|
|
6
6
|
id: string;
|
|
7
|
-
imageRegex
|
|
7
|
+
imageRegex?: {
|
|
8
8
|
__typename?: "ImageRegex" | undefined;
|
|
9
|
-
thumb
|
|
9
|
+
thumb?: {
|
|
10
10
|
__typename?: "ImageRegexOptions" | undefined;
|
|
11
11
|
flag: string;
|
|
12
12
|
search: string;
|
|
13
13
|
replace: string;
|
|
14
|
-
}
|
|
15
|
-
small
|
|
14
|
+
} | null | undefined;
|
|
15
|
+
small?: {
|
|
16
16
|
__typename?: "ImageRegexOptions" | undefined;
|
|
17
17
|
flag: string;
|
|
18
18
|
search: string;
|
|
19
19
|
replace: string;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
20
|
+
} | null | undefined;
|
|
21
|
+
} | null | undefined;
|
|
22
22
|
} | {
|
|
23
23
|
__typename: string;
|
|
24
24
|
id: string;
|
|
@@ -37,7 +37,7 @@ export declare const createGraphqlResponseForProjectExtensionImageRegexQuery: (c
|
|
|
37
37
|
search: string;
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
|
-
};
|
|
40
|
+
} | null;
|
|
41
41
|
};
|
|
42
42
|
export declare const createFetchProjectExtensionImageRegexMock: (customMock?: Partial<{
|
|
43
43
|
result: Maybe<{
|
|
@@ -52,21 +52,21 @@ export declare const createFetchProjectExtensionImageRegexMock: (customMock?: Pa
|
|
|
52
52
|
projectExtension: {
|
|
53
53
|
__typename?: "ProjectExtension" | undefined;
|
|
54
54
|
id: string;
|
|
55
|
-
imageRegex
|
|
55
|
+
imageRegex?: {
|
|
56
56
|
__typename?: "ImageRegex" | undefined;
|
|
57
|
-
thumb
|
|
57
|
+
thumb?: {
|
|
58
58
|
__typename?: "ImageRegexOptions" | undefined;
|
|
59
59
|
flag: string;
|
|
60
60
|
search: string;
|
|
61
61
|
replace: string;
|
|
62
|
-
}
|
|
63
|
-
small
|
|
62
|
+
} | null | undefined;
|
|
63
|
+
small?: {
|
|
64
64
|
__typename?: "ImageRegexOptions" | undefined;
|
|
65
65
|
flag: string;
|
|
66
66
|
search: string;
|
|
67
67
|
replace: string;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
68
|
+
} | null | undefined;
|
|
69
|
+
} | null | undefined;
|
|
70
70
|
} | {
|
|
71
71
|
__typename: string;
|
|
72
72
|
id: string;
|
|
@@ -85,9 +85,9 @@ export declare const createFetchProjectExtensionImageRegexMock: (customMock?: Pa
|
|
|
85
85
|
search: string;
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
|
-
};
|
|
88
|
+
} | null;
|
|
89
89
|
};
|
|
90
|
-
};
|
|
90
|
+
} | null;
|
|
91
91
|
request: {
|
|
92
92
|
query: import("graphql").DocumentNode;
|
|
93
93
|
context: {
|