@swell/apps-sdk 1.0.113 → 1.0.114
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 +12 -12
- package/dist/index.cjs.map +3 -3
- package/dist/index.js +12 -12
- package/dist/index.js.map +3 -3
- package/dist/index.mjs +12 -12
- package/dist/index.mjs.map +3 -3
- package/dist/src/compatibility/shopify.d.ts +6 -0
- package/dist/types/shopify.d.ts +4 -0
- package/package.json +1 -1
|
@@ -60,11 +60,17 @@ export declare class ShopifyCompatibility {
|
|
|
60
60
|
} | undefined>, config: ShopifySettingsData): {
|
|
61
61
|
current: ThemeSettings;
|
|
62
62
|
presets: Record<string, import("../../types/shopify").ShopifySettingsDataPreset>;
|
|
63
|
+
platform_customizations: {
|
|
64
|
+
custom_css: any[];
|
|
65
|
+
};
|
|
63
66
|
} | {
|
|
64
67
|
current: string;
|
|
65
68
|
presets: {
|
|
66
69
|
[x: string]: import("../../types/shopify").ShopifySettingsDataPreset | ThemeSettings;
|
|
67
70
|
};
|
|
71
|
+
platform_customizations: {
|
|
72
|
+
custom_css: any[];
|
|
73
|
+
};
|
|
68
74
|
};
|
|
69
75
|
adaptPageData(pageData: SwellData): void;
|
|
70
76
|
adaptObjectData(objectData: SwellData): void;
|
package/dist/types/shopify.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ export type ShopifySettingsSchema = ShopifySettingSection[];
|
|
|
59
59
|
export interface ShopifySettingsData {
|
|
60
60
|
current: Record<string, any> | string;
|
|
61
61
|
presets: Record<string, ShopifySettingsDataPreset>;
|
|
62
|
+
platform_customizations: PlatformCustomizations;
|
|
62
63
|
}
|
|
63
64
|
export interface ShopifySettingsDataPreset {
|
|
64
65
|
[key: string]: any;
|
|
@@ -110,6 +111,9 @@ export interface ShopifySectionSchema {
|
|
|
110
111
|
presets?: ShopifySectionPresetSchema[];
|
|
111
112
|
default?: ShopifySectionPresetSchema;
|
|
112
113
|
}
|
|
114
|
+
export interface PlatformCustomizations {
|
|
115
|
+
custom_css?: string[];
|
|
116
|
+
}
|
|
113
117
|
export interface ShopifyPageResource {
|
|
114
118
|
from: string;
|
|
115
119
|
to: string;
|