@commercetools-frontend/application-shell-connectors 20.9.0 → 20.10.3
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 +142 -139
- package/dist/declarations/src/components/application-context/index.d.ts +10 -10
- package/dist/declarations/src/components/application-context/normalizers.d.ts +30 -30
- package/dist/declarations/src/components/project-extension-image-regex/index.d.ts +1 -1
- package/dist/declarations/src/components/project-extension-image-regex/project-extension-image-regex.d.ts +30 -30
- package/dist/declarations/src/export-types.d.ts +7 -7
- package/dist/declarations/src/index.d.ts +4 -4
- package/dist/declarations/src/test-utils/index.d.ts +1 -1
- package/dist/declarations/src/test-utils/test-utils.d.ts +97 -95
- package/dist/declarations/src/types/generated/mc.d.ts +746 -695
- package/dist/declarations/src/types/generated/settings.d.ts +3258 -3229
- package/dist/declarations/src/utils/get-display-name.d.ts +3 -3
- package/dist/declarations/src/utils/get-mc-api-url/get-mc-api-url.d.ts +5 -5
- package/dist/declarations/src/utils/get-mc-api-url/index.d.ts +1 -1
- package/dist/declarations/src/version.d.ts +2 -2
- package/package.json +10 -10
|
@@ -1,95 +1,97 @@
|
|
|
1
|
-
import type { Maybe, TFetchProjectExtensionImageRegexQuery } from '../types/generated/settings';
|
|
2
|
-
export declare const createGraphqlResponseForProjectExtensionImageRegexQuery: (customResponse?: Partial<TFetchProjectExtensionImageRegexQuery>) => {
|
|
3
|
-
__typename?: "Query" | undefined;
|
|
4
|
-
projectExtension:
|
|
5
|
-
__typename?: "ProjectExtension" | undefined;
|
|
6
|
-
|
|
7
|
-
imageRegex: Maybe<{
|
|
8
|
-
__typename?: "ImageRegex" | undefined;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
small: Maybe<{
|
|
16
|
-
__typename?: "ImageRegexOptions" | undefined;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
thumb: Maybe<{
|
|
58
|
-
__typename?: "ImageRegexOptions" | undefined;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
};
|
|
1
|
+
import type { Maybe, TFetchProjectExtensionImageRegexQuery } from '../types/generated/settings';
|
|
2
|
+
export declare const createGraphqlResponseForProjectExtensionImageRegexQuery: (customResponse?: Partial<TFetchProjectExtensionImageRegexQuery>) => {
|
|
3
|
+
__typename?: "Query" | undefined;
|
|
4
|
+
projectExtension: {
|
|
5
|
+
__typename?: "ProjectExtension" | undefined;
|
|
6
|
+
id: string;
|
|
7
|
+
imageRegex: Maybe<{
|
|
8
|
+
__typename?: "ImageRegex" | undefined;
|
|
9
|
+
thumb: Maybe<{
|
|
10
|
+
__typename?: "ImageRegexOptions" | undefined;
|
|
11
|
+
flag: string;
|
|
12
|
+
search: string;
|
|
13
|
+
replace: string;
|
|
14
|
+
}>;
|
|
15
|
+
small: Maybe<{
|
|
16
|
+
__typename?: "ImageRegexOptions" | undefined;
|
|
17
|
+
flag: string;
|
|
18
|
+
search: string;
|
|
19
|
+
replace: string;
|
|
20
|
+
}>;
|
|
21
|
+
}>;
|
|
22
|
+
} | {
|
|
23
|
+
__typename: string;
|
|
24
|
+
id: string;
|
|
25
|
+
imageRegex: {
|
|
26
|
+
__typename: string;
|
|
27
|
+
thumb: {
|
|
28
|
+
__typename: string;
|
|
29
|
+
flag: string;
|
|
30
|
+
replace: string;
|
|
31
|
+
search: string;
|
|
32
|
+
};
|
|
33
|
+
small: {
|
|
34
|
+
__typename: string;
|
|
35
|
+
flag: string;
|
|
36
|
+
replace: string;
|
|
37
|
+
search: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare const createFetchProjectExtensionImageRegexMock: (customMock?: Partial<{
|
|
43
|
+
result: Maybe<{
|
|
44
|
+
data: Maybe<ReturnType<typeof createGraphqlResponseForProjectExtensionImageRegexQuery>>;
|
|
45
|
+
}>;
|
|
46
|
+
}>) => {
|
|
47
|
+
result: {
|
|
48
|
+
data: Maybe<ReturnType<typeof createGraphqlResponseForProjectExtensionImageRegexQuery>>;
|
|
49
|
+
} | {
|
|
50
|
+
data: {
|
|
51
|
+
__typename?: "Query" | undefined;
|
|
52
|
+
projectExtension: {
|
|
53
|
+
__typename?: "ProjectExtension" | undefined;
|
|
54
|
+
id: string;
|
|
55
|
+
imageRegex: Maybe<{
|
|
56
|
+
__typename?: "ImageRegex" | undefined;
|
|
57
|
+
thumb: Maybe<{
|
|
58
|
+
__typename?: "ImageRegexOptions" | undefined;
|
|
59
|
+
flag: string;
|
|
60
|
+
search: string;
|
|
61
|
+
replace: string;
|
|
62
|
+
}>;
|
|
63
|
+
small: Maybe<{
|
|
64
|
+
__typename?: "ImageRegexOptions" | undefined;
|
|
65
|
+
flag: string;
|
|
66
|
+
search: string;
|
|
67
|
+
replace: string;
|
|
68
|
+
}>;
|
|
69
|
+
}>;
|
|
70
|
+
} | {
|
|
71
|
+
__typename: string;
|
|
72
|
+
id: string;
|
|
73
|
+
imageRegex: {
|
|
74
|
+
__typename: string;
|
|
75
|
+
thumb: {
|
|
76
|
+
__typename: string;
|
|
77
|
+
flag: string;
|
|
78
|
+
replace: string;
|
|
79
|
+
search: string;
|
|
80
|
+
};
|
|
81
|
+
small: {
|
|
82
|
+
__typename: string;
|
|
83
|
+
flag: string;
|
|
84
|
+
replace: string;
|
|
85
|
+
search: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
request: {
|
|
92
|
+
query: import("graphql").DocumentNode;
|
|
93
|
+
context: {
|
|
94
|
+
target: "settings";
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|