@gem-sdk/core 1.36.23 → 1.37.1
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/cjs/graphql/fragments/published-theme-page.generated.js +28 -0
- package/dist/cjs/graphql/queries/preview-page.generated.js +2 -2
- package/dist/esm/graphql/fragments/published-theme-page.generated.js +28 -1
- package/dist/esm/graphql/queries/preview-page.generated.js +3 -3
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -30,5 +30,33 @@
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
`;
|
|
33
|
+
const PreviewThemePageSelect = `
|
|
34
|
+
fragment PreviewThemePageSelect on PublishedThemePage {
|
|
35
|
+
id
|
|
36
|
+
name
|
|
37
|
+
handle
|
|
38
|
+
isMobile
|
|
39
|
+
sectionPosition
|
|
40
|
+
pageSections {
|
|
41
|
+
...PublishedPageSectionSelect
|
|
42
|
+
}
|
|
43
|
+
themePageCustomSections {
|
|
44
|
+
...PublishedCustomSectionSelect
|
|
45
|
+
}
|
|
46
|
+
themePageDataSEO {
|
|
47
|
+
...DataSEOSelect
|
|
48
|
+
}
|
|
49
|
+
pageStyle {
|
|
50
|
+
...PublishedThemeStyleSelect
|
|
51
|
+
}
|
|
52
|
+
themePageAnalytic {
|
|
53
|
+
...AnalyticSelect
|
|
54
|
+
}
|
|
55
|
+
themePageCustomCode {
|
|
56
|
+
...CustomCodeSelect
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
`;
|
|
33
60
|
|
|
61
|
+
exports.PreviewThemePageSelect = PreviewThemePageSelect;
|
|
34
62
|
exports.PublishedThemePageSelect = PublishedThemePageSelect;
|
|
@@ -11,10 +11,10 @@ var customCode_generated = require('../fragments/custom-code.generated.js');
|
|
|
11
11
|
const PreviewPageDocument = `
|
|
12
12
|
query previewPage($handleURL: String, $pageType: PublishedThemePageType!) {
|
|
13
13
|
previewPage(handleURL: $handleURL, pageType: $pageType) {
|
|
14
|
-
...
|
|
14
|
+
...PreviewThemePageSelect
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
${publishedThemePage_generated.
|
|
17
|
+
${publishedThemePage_generated.PreviewThemePageSelect}
|
|
18
18
|
${publishedPageSection_generated.PublishedPageSectionSelect}
|
|
19
19
|
${publishedCustomSection_generated.PublishedCustomSectionSelect}
|
|
20
20
|
${dataSeo_generated.DataSeoSelect}
|
|
@@ -28,5 +28,32 @@
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
`;
|
|
31
|
+
const PreviewThemePageSelect = `
|
|
32
|
+
fragment PreviewThemePageSelect on PublishedThemePage {
|
|
33
|
+
id
|
|
34
|
+
name
|
|
35
|
+
handle
|
|
36
|
+
isMobile
|
|
37
|
+
sectionPosition
|
|
38
|
+
pageSections {
|
|
39
|
+
...PublishedPageSectionSelect
|
|
40
|
+
}
|
|
41
|
+
themePageCustomSections {
|
|
42
|
+
...PublishedCustomSectionSelect
|
|
43
|
+
}
|
|
44
|
+
themePageDataSEO {
|
|
45
|
+
...DataSEOSelect
|
|
46
|
+
}
|
|
47
|
+
pageStyle {
|
|
48
|
+
...PublishedThemeStyleSelect
|
|
49
|
+
}
|
|
50
|
+
themePageAnalytic {
|
|
51
|
+
...AnalyticSelect
|
|
52
|
+
}
|
|
53
|
+
themePageCustomCode {
|
|
54
|
+
...CustomCodeSelect
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
`;
|
|
31
58
|
|
|
32
|
-
export { PublishedThemePageSelect };
|
|
59
|
+
export { PreviewThemePageSelect, PublishedThemePageSelect };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PreviewThemePageSelect } from '../fragments/published-theme-page.generated.js';
|
|
2
2
|
import { PublishedPageSectionSelect } from '../fragments/published-page-section.generated.js';
|
|
3
3
|
import { PublishedCustomSectionSelect } from '../fragments/published-custom-section.generated.js';
|
|
4
4
|
import { DataSeoSelect } from '../fragments/data-seo.generated.js';
|
|
@@ -9,10 +9,10 @@ import { CustomCodeSelect } from '../fragments/custom-code.generated.js';
|
|
|
9
9
|
const PreviewPageDocument = `
|
|
10
10
|
query previewPage($handleURL: String, $pageType: PublishedThemePageType!) {
|
|
11
11
|
previewPage(handleURL: $handleURL, pageType: $pageType) {
|
|
12
|
-
...
|
|
12
|
+
...PreviewThemePageSelect
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
${
|
|
15
|
+
${PreviewThemePageSelect}
|
|
16
16
|
${PublishedPageSectionSelect}
|
|
17
17
|
${PublishedCustomSectionSelect}
|
|
18
18
|
${DataSeoSelect}
|
package/dist/types/index.d.ts
CHANGED