@shopkit/data-layer 1.0.0

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.
@@ -0,0 +1,22 @@
1
+ import { I as IShopifyConfig, S as ShopifyCommerceClient, a as ICustomConfig, C as CustomBackendClient } from '../service-NPmqCNGb.mjs';
2
+ import '../models/index.mjs';
3
+
4
+ /**
5
+ * Shopify adapter for the commerce library
6
+ */
7
+
8
+ declare function createShopifyClient(config: IShopifyConfig): ShopifyCommerceClient;
9
+
10
+ /**
11
+ * Custom Backend adapter for the commerce library
12
+ * This adapter connects to a custom backend with multiple microservices built on top of Shopify
13
+ */
14
+
15
+ /**
16
+ * Create a custom backend commerce client
17
+ * @param config Custom backend configuration
18
+ * @returns CustomBackendClient instance
19
+ */
20
+ declare function createCustomClient(config: ICustomConfig): CustomBackendClient;
21
+
22
+ export { createCustomClient, createShopifyClient };
@@ -0,0 +1,22 @@
1
+ import { I as IShopifyConfig, S as ShopifyCommerceClient, a as ICustomConfig, C as CustomBackendClient } from '../service-Q7zlmyFk.js';
2
+ import '../models/index.js';
3
+
4
+ /**
5
+ * Shopify adapter for the commerce library
6
+ */
7
+
8
+ declare function createShopifyClient(config: IShopifyConfig): ShopifyCommerceClient;
9
+
10
+ /**
11
+ * Custom Backend adapter for the commerce library
12
+ * This adapter connects to a custom backend with multiple microservices built on top of Shopify
13
+ */
14
+
15
+ /**
16
+ * Create a custom backend commerce client
17
+ * @param config Custom backend configuration
18
+ * @returns CustomBackendClient instance
19
+ */
20
+ declare function createCustomClient(config: ICustomConfig): CustomBackendClient;
21
+
22
+ export { createCustomClient, createShopifyClient };