@swell/apps-sdk 1.0.178 → 1.0.180
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 +20 -17
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +16 -15
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +18 -16
- package/dist/index.mjs.map +2 -2
- package/dist/src/easyblocks/index.d.ts +1 -1
- package/dist/src/easyblocks/utils.d.ts +1 -0
- package/dist/src/liquid/filters/image_url.d.ts +1 -0
- package/dist/src/liquid/filters/shopify/img_url.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './config';
|
|
2
|
-
export { getThemeSettingsFromProps, getSectionSettingsFromProps, } from './utils';
|
|
2
|
+
export { getThemeSettingsFromProps, getSectionSettingsFromProps, toBlockId, } from './utils';
|
|
@@ -19,4 +19,5 @@ interface PageSectionComponentProps {
|
|
|
19
19
|
export declare function getSectionSettingsFromProps(props: PageSectionComponentProps, sectionSchema?: ThemeSectionSchema): ThemeSectionBase | undefined;
|
|
20
20
|
export declare function toEasyblocksFieldId(fieldId?: string): string;
|
|
21
21
|
export declare function toSchemaFieldId(fieldId?: string): string;
|
|
22
|
+
export declare function toBlockId(id: string): string;
|
|
22
23
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { LiquidSwell } from '..';
|
|
2
2
|
import type { FilterHandler } from 'liquidjs/dist/template';
|
|
3
|
+
export declare function getImageUrlFromInput(input: unknown, liquidSwell: LiquidSwell): Promise<unknown>;
|
|
3
4
|
declare const filterDefinition: {
|
|
4
5
|
bind(liquidSwell: LiquidSwell): FilterHandler;
|
|
5
6
|
resolve: string[][];
|