@swell/apps-sdk 1.0.182 → 1.0.183
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 +116 -91
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +116 -91
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +96 -71
- package/dist/index.mjs.map +4 -4
- package/dist/src/compatibility/drops/collections.d.ts +2 -0
- package/dist/src/liquid/filters/escape.d.ts +3 -0
- package/dist/src/liquid/filters/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -8,6 +8,8 @@ declare class CollectionsDrop extends Drop {
|
|
|
8
8
|
constructor(instance: ShopifyCompatibility);
|
|
9
9
|
liquidMethodMissing(key: unknown): unknown;
|
|
10
10
|
getCollection(slug: string): ShopifyResource<ShopifyCollectionType>;
|
|
11
|
+
getAllCollection(): ShopifyResource<ShopifyCollectionType>;
|
|
12
|
+
getAllCollectionsSize(): Promise<number> | number;
|
|
11
13
|
}
|
|
12
14
|
export default class Collections extends SwellStorefrontCollection<ShopifyCollectionType> {
|
|
13
15
|
#private;
|
|
@@ -18,6 +18,7 @@ import date from './date';
|
|
|
18
18
|
import default_errors from './default_errors';
|
|
19
19
|
import divided_by from './divided_by';
|
|
20
20
|
import embedded_content from './embedded_content';
|
|
21
|
+
import escape from './escape';
|
|
21
22
|
import font_face from './font_face';
|
|
22
23
|
import font_modify from './font_modify';
|
|
23
24
|
import font_url from './font_url';
|
|
@@ -69,6 +70,7 @@ export declare const filters: {
|
|
|
69
70
|
default_errors: typeof default_errors;
|
|
70
71
|
divided_by: typeof divided_by;
|
|
71
72
|
embedded_content: typeof embedded_content;
|
|
73
|
+
escape: typeof escape;
|
|
72
74
|
font_face: typeof font_face;
|
|
73
75
|
font_modify: typeof font_modify;
|
|
74
76
|
font_url: typeof font_url;
|