@gem-sdk/core 2.5.10 → 2.5.12
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 +5 -0
- package/dist/cjs/helpers/third-party/appSetting.js +14 -0
- package/dist/esm/graphql/fragments/published-theme-page.generated.js +5 -0
- package/dist/esm/helpers/third-party/appSetting.js +14 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -285,6 +285,20 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
285
285
|
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
286
286
|
};
|
|
287
287
|
}
|
|
288
|
+
case 'SubifySubscriptionsApp':
|
|
289
|
+
{
|
|
290
|
+
return {
|
|
291
|
+
...currentSetting,
|
|
292
|
+
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
case 'RechargeSubscriptions':
|
|
296
|
+
{
|
|
297
|
+
return {
|
|
298
|
+
...currentSetting,
|
|
299
|
+
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
300
|
+
};
|
|
301
|
+
}
|
|
288
302
|
default:
|
|
289
303
|
return currentSetting;
|
|
290
304
|
}
|
|
@@ -283,6 +283,20 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
283
283
|
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
284
284
|
};
|
|
285
285
|
}
|
|
286
|
+
case 'SubifySubscriptionsApp':
|
|
287
|
+
{
|
|
288
|
+
return {
|
|
289
|
+
...currentSetting,
|
|
290
|
+
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
case 'RechargeSubscriptions':
|
|
294
|
+
{
|
|
295
|
+
return {
|
|
296
|
+
...currentSetting,
|
|
297
|
+
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
298
|
+
};
|
|
299
|
+
}
|
|
286
300
|
default:
|
|
287
301
|
return currentSetting;
|
|
288
302
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -36499,6 +36499,7 @@ type PublishedThemePagesQueryResponse = {
|
|
|
36499
36499
|
pageSections?: Maybe$1<Array<Maybe$1<Pick<PublishedPageSection$1, 'cid' | 'component' | 'id'>>>>;
|
|
36500
36500
|
themePageCustomSections?: Maybe$1<Array<Maybe$1<Pick<PublishedCustomSection$1, 'cid' | 'component' | 'id' | 'type'>>>>;
|
|
36501
36501
|
themePageDataSEO?: Maybe$1<Array<Maybe$1<Pick<DataSeo$1, 'id' | 'key' | 'value'>>>>;
|
|
36502
|
+
metafields?: Maybe$1<Array<Maybe$1<Pick<PublishedThemePageMeta$1, 'id' | 'key' | 'value'>>>>;
|
|
36502
36503
|
pageStyle?: Maybe$1<Pick<PublishedThemeStyle$1, 'id' | 'data' | 'name'>>;
|
|
36503
36504
|
themePageAnalytic?: Maybe$1<Pick<Analytic$1, 'fbPixelID' | 'gaTrackingID' | 'tiktokPixelID'>>;
|
|
36504
36505
|
themePageCustomCode?: Maybe$1<Pick<CustomCode$1, 'body' | 'header'>>;
|
|
@@ -44979,6 +44980,7 @@ declare const useSwatchesOptions: (options?: ProductOption$1[]) => ProductOption
|
|
|
44979
44980
|
type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name' | 'handle' | 'isMobile' | 'sectionPosition'> & {
|
|
44980
44981
|
pageSections?: Maybe$1<Array<Maybe$1<Pick<PublishedPageSection$1, 'cid' | 'component' | 'id'>>>>;
|
|
44981
44982
|
themePageCustomSections?: Maybe$1<Array<Maybe$1<Pick<PublishedCustomSection$1, 'cid' | 'component' | 'id' | 'type'>>>>;
|
|
44983
|
+
metafields?: Maybe$1<Array<Maybe$1<Pick<PublishedThemePageMeta$1, 'id' | 'key' | 'value'>>>>;
|
|
44982
44984
|
themePageDataSEO?: Maybe$1<Array<Maybe$1<Pick<DataSeo$1, 'id' | 'key' | 'value'>>>>;
|
|
44983
44985
|
pageStyle?: Maybe$1<Pick<PublishedThemeStyle$1, 'id' | 'data' | 'name'>>;
|
|
44984
44986
|
themePageAnalytic?: Maybe$1<Pick<Analytic$1, 'fbPixelID' | 'gaTrackingID' | 'tiktokPixelID'>>;
|