@swell/apps-sdk 1.0.155 → 1.0.157
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 +240 -162
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +207 -127
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +224 -145
- package/dist/index.mjs.map +4 -4
- package/dist/src/liquid/filters/date_next_interval.d.ts +3 -0
- package/dist/src/liquid/filters/index.d.ts +2 -0
- package/dist/src/resources/index.d.ts +34 -4
- package/package.json +1 -1
- package/dist/src/resources/product_recommendations.d.ts +0 -6
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { LiquidSwell } from '..';
|
|
2
|
+
export default function bind(_liquidSwell: LiquidSwell): (dateValue: string, interval: string | number, intervalCount: string | number) => string;
|
|
3
|
+
export declare function getNextIntervalDate(date: Date, interval: string | number, intervalCount: number): number | undefined;
|
|
@@ -13,6 +13,7 @@ import color_saturate from './color_saturate';
|
|
|
13
13
|
import color_to_hex from './color_to_hex';
|
|
14
14
|
import color_to_hsl from './color_to_hsl';
|
|
15
15
|
import color_to_rgb from './color_to_rgb';
|
|
16
|
+
import date_next_interval from './date_next_interval';
|
|
16
17
|
import date from './date';
|
|
17
18
|
import default_errors from './default_errors';
|
|
18
19
|
import divided_by from './divided_by';
|
|
@@ -61,6 +62,7 @@ export declare const filters: {
|
|
|
61
62
|
color_to_hex: typeof color_to_hex;
|
|
62
63
|
color_to_hsl: typeof color_to_hsl;
|
|
63
64
|
color_to_rgb: typeof color_to_rgb;
|
|
65
|
+
date_next_interval: typeof date_next_interval;
|
|
64
66
|
date: typeof date;
|
|
65
67
|
default_errors: typeof default_errors;
|
|
66
68
|
divided_by: typeof divided_by;
|
|
@@ -1,18 +1,48 @@
|
|
|
1
1
|
import SwellAccount from './account';
|
|
2
2
|
import SwellAddresses from './addresses';
|
|
3
|
-
import SwellBlogCategory from './blog_category';
|
|
4
3
|
import SwellBlog from './blog';
|
|
4
|
+
import SwellBlogCategory from './blog_category';
|
|
5
5
|
import SwellCart from './cart';
|
|
6
|
-
import SwellCategories from './categories';
|
|
7
6
|
import SwellCategory from './category';
|
|
7
|
+
import SwellCategories from './categories';
|
|
8
8
|
import SwellOrder from './order';
|
|
9
9
|
import SwellOrders from './orders';
|
|
10
10
|
import SwellPage from './page';
|
|
11
11
|
import SwellPredictiveSearch from './predictive_search';
|
|
12
12
|
import SwellProduct from './product';
|
|
13
|
-
import SwellProductRecommendations from './product_recommendations';
|
|
14
13
|
import SwellSearch from './search';
|
|
15
14
|
import SwellSubscription from './subscription';
|
|
16
15
|
import SwellSubscriptions from './subscriptions';
|
|
17
16
|
import SwellVariant from './variant';
|
|
18
|
-
export
|
|
17
|
+
export declare class AccountResource extends SwellAccount {
|
|
18
|
+
}
|
|
19
|
+
export declare class AccountAddressesResource extends SwellAddresses {
|
|
20
|
+
}
|
|
21
|
+
export declare class BlogResource extends SwellBlog {
|
|
22
|
+
}
|
|
23
|
+
export declare class BlogCategoryResource extends SwellBlogCategory {
|
|
24
|
+
}
|
|
25
|
+
export declare class CartResource extends SwellCart {
|
|
26
|
+
}
|
|
27
|
+
export declare class CategoryResource extends SwellCategory {
|
|
28
|
+
}
|
|
29
|
+
export declare class CategoriesResource extends SwellCategories {
|
|
30
|
+
}
|
|
31
|
+
export declare class AccountOrderResource extends SwellOrder {
|
|
32
|
+
}
|
|
33
|
+
export declare class AccountOrdersResource extends SwellOrders {
|
|
34
|
+
}
|
|
35
|
+
export declare class PageResource extends SwellPage {
|
|
36
|
+
}
|
|
37
|
+
export declare class PredictiveSearchResource extends SwellPredictiveSearch {
|
|
38
|
+
}
|
|
39
|
+
export declare class ProductResource extends SwellProduct {
|
|
40
|
+
}
|
|
41
|
+
export declare class SearchResource extends SwellSearch {
|
|
42
|
+
}
|
|
43
|
+
export declare class AccountSubscriptionResource extends SwellSubscription {
|
|
44
|
+
}
|
|
45
|
+
export declare class AccountSubscriptionsResource extends SwellSubscriptions {
|
|
46
|
+
}
|
|
47
|
+
export declare class VariantResource extends SwellVariant {
|
|
48
|
+
}
|
package/package.json
CHANGED