@swell/apps-sdk 1.0.62 → 1.0.64
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/index.cjs +10 -10
- package/dist/index.cjs.map +3 -3
- package/dist/index.js +10 -10
- package/dist/index.js.map +3 -3
- package/dist/index.mjs +11 -11
- package/dist/index.mjs.map +3 -3
- package/dist/src/compatibility/shopify.d.ts +1 -0
- package/dist/types/swell.d.ts +3 -0
- package/package.json +1 -1
|
@@ -117,6 +117,7 @@ export declare class ShopifyCompatibility {
|
|
|
117
117
|
getQueryParamsMap(): ShopifyQueryParamsMap;
|
|
118
118
|
getAllCountryOptionTags(geoSettings: SwellRecord): any;
|
|
119
119
|
isScriptFormActionUrl(url: string): boolean;
|
|
120
|
+
isScriptUrl(url: string): boolean;
|
|
120
121
|
needRedirectToPageStart(formId: string): boolean;
|
|
121
122
|
isCheckoutForm(formId: string): boolean;
|
|
122
123
|
}
|
package/dist/types/swell.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export interface SwellAppShopifyCompatibilityConfig {
|
|
|
40
40
|
checkout_form?: string;
|
|
41
41
|
redirect_to_page_start_forms?: string[];
|
|
42
42
|
script_actions_routes?: Record<string, string>;
|
|
43
|
+
script_routes?: Record<string, string>;
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
export interface SwellAppStorefrontThemePage {
|
|
@@ -145,6 +146,7 @@ export interface ThemeSettings {
|
|
|
145
146
|
export interface ThemeSettingsBlock {
|
|
146
147
|
type: string;
|
|
147
148
|
settings: ThemeSettings;
|
|
149
|
+
disabled?: boolean;
|
|
148
150
|
}
|
|
149
151
|
export interface ThemeSectionBase {
|
|
150
152
|
id: string;
|
|
@@ -153,6 +155,7 @@ export interface ThemeSectionBase {
|
|
|
153
155
|
blocks?: ThemeSettingsBlock[];
|
|
154
156
|
block_order?: string[];
|
|
155
157
|
custom_css?: string;
|
|
158
|
+
disabled?: boolean;
|
|
156
159
|
}
|
|
157
160
|
export interface ThemeSectionSettings extends ThemeSettings {
|
|
158
161
|
section: ThemeSectionBase;
|