@plasmicpkgs/commerce-shopify 0.0.4 → 0.0.7
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/LICENSE.md +21 -0
- package/dist/commerce-shopify.cjs.development.js +591 -633
- package/dist/commerce-shopify.cjs.development.js.map +1 -1
- package/dist/commerce-shopify.cjs.production.min.js +1 -1
- package/dist/commerce-shopify.cjs.production.min.js.map +1 -1
- package/dist/commerce-shopify.esm.js +591 -633
- package/dist/commerce-shopify.esm.js.map +1 -1
- package/dist/registerCommerceProvider.d.ts +5 -5
- package/dist/utils/queries/get-all-products-query.d.ts +1 -1
- package/package.json +5 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
1
|
import { Registerable } from "./registerable";
|
|
3
2
|
import React from "react";
|
|
3
|
+
import { GlobalContextMeta } from "@plasmicapp/host";
|
|
4
4
|
interface CommerceProviderProps {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
|
-
storeDomain
|
|
7
|
-
accessToken
|
|
6
|
+
storeDomain: string;
|
|
7
|
+
accessToken: string;
|
|
8
8
|
}
|
|
9
|
-
export declare const commerceProviderMeta:
|
|
10
|
-
export declare function registerCommerceProvider(loader?: Registerable, customCommerceProviderMeta?:
|
|
9
|
+
export declare const commerceProviderMeta: GlobalContextMeta<CommerceProviderProps>;
|
|
10
|
+
export declare function registerCommerceProvider(loader?: Registerable, customCommerceProviderMeta?: GlobalContextMeta<CommerceProviderProps>): void;
|
|
11
11
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const productConnectionFragment = "\n fragment productConnection on ProductConnection {\n pageInfo {\n hasNextPage\n hasPreviousPage\n }\n edges {\n node {\n id\n title\n vendor\n handle\n priceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n }\n options {\n id\n name\n values\n }\n variants(first: 250) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n }\n edges {\n node {\n id\n title\n sku\n availableForSale\n requiresShipping\n selectedOptions {\n name\n value\n }\n priceV2 {\n amount\n currencyCode\n }\n compareAtPriceV2 {\n amount\n currencyCode\n }\n }\n }\n }\n images(first: 250) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n }\n edges {\n node {\n originalSrc\n altText\n width\n height\n }\n }\n }\n }\n }\n }\n";
|
|
1
|
+
export declare const productConnectionFragment = "\n fragment productConnection on ProductConnection {\n pageInfo {\n hasNextPage\n hasPreviousPage\n }\n edges {\n node {\n id\n title\n vendor\n handle\n description\n descriptionHtml\n priceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n }\n options {\n id\n name\n values\n }\n variants(first: 250) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n }\n edges {\n node {\n id\n title\n sku\n availableForSale\n requiresShipping\n selectedOptions {\n name\n value\n }\n priceV2 {\n amount\n currencyCode\n }\n compareAtPriceV2 {\n amount\n currencyCode\n }\n }\n }\n }\n images(first: 250) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n }\n edges {\n node {\n originalSrc\n altText\n width\n height\n }\n }\n }\n }\n }\n }\n";
|
|
2
2
|
declare const getAllProductsQuery: string;
|
|
3
3
|
export default getAllProductsQuery;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicpkgs/commerce-shopify",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Plasmic registration calls for shopify commerce provider",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -36,6 +36,8 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@plasmicpkgs/commerce": "^0.0.5",
|
|
38
38
|
"@types/react": "^17.0.40",
|
|
39
|
-
"lodash": "^4.17.21"
|
|
40
|
-
|
|
39
|
+
"lodash": "^4.17.21",
|
|
40
|
+
"lodash-es": "^4.17.21"
|
|
41
|
+
},
|
|
42
|
+
"gitHead": "a04b0746cd28b1e82f1742db195ffddaa7a2dd2d"
|
|
41
43
|
}
|