@gem-sdk/core 12.0.0-staging.55 → 12.0.0-staging.66
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/types/index.d.ts
CHANGED
|
@@ -44856,7 +44856,7 @@ type ProductVariantsWithSellingPlansSelectFragment = Pick<ProductVariant$1, 'id'
|
|
|
44856
44856
|
selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
|
|
44857
44857
|
media?: Maybe$1<Pick<Media$1, 'id' | 'baseID' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
44858
44858
|
sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup$1, 'id' | 'appID'> & {
|
|
44859
|
-
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan$1, 'id' | 'name' | 'baseID' | 'pricingPolicies' | 'updatedAt'>>>>;
|
|
44859
|
+
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan$1, 'id' | 'name' | 'baseID' | 'billingPolicy' | 'pricingPolicies' | 'updatedAt'>>>>;
|
|
44860
44860
|
}>>>;
|
|
44861
44861
|
};
|
|
44862
44862
|
|
|
@@ -44871,7 +44871,7 @@ type ProductsWithSellingPlansDetailFragment = Pick<Product$1, 'id' | 'title' | '
|
|
|
44871
44871
|
}>;
|
|
44872
44872
|
}>;
|
|
44873
44873
|
sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup$1, 'appID' | 'baseID' | 'id' | 'name'> & {
|
|
44874
|
-
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan$1, 'id' | 'name' | 'baseID' | 'pricingPolicies' | 'updatedAt'>>>>;
|
|
44874
|
+
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan$1, 'id' | 'name' | 'baseID' | 'billingPolicy' | 'pricingPolicies' | 'updatedAt'>>>>;
|
|
44875
44875
|
}>>>;
|
|
44876
44876
|
medias?: Maybe$1<{
|
|
44877
44877
|
edges: Array<Pick<MediaEdge$1, 'cursor'> & {
|
|
@@ -44885,7 +44885,7 @@ type ProductsWithSellingPlansDetailFragment = Pick<Product$1, 'id' | 'title' | '
|
|
|
44885
44885
|
selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
|
|
44886
44886
|
media?: Maybe$1<Pick<Media$1, 'id' | 'baseID' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
44887
44887
|
sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup$1, 'id' | 'appID'> & {
|
|
44888
|
-
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan$1, 'id' | 'name' | 'baseID' | 'pricingPolicies' | 'updatedAt'>>>>;
|
|
44888
|
+
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan$1, 'id' | 'name' | 'baseID' | 'billingPolicy' | 'pricingPolicies' | 'updatedAt'>>>>;
|
|
44889
44889
|
}>>>;
|
|
44890
44890
|
}>;
|
|
44891
44891
|
}>;
|
|
@@ -45475,7 +45475,7 @@ type ProductsWithSellingPlansQueryResponse = {
|
|
|
45475
45475
|
selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
|
|
45476
45476
|
media?: Maybe$1<Pick<Media$1, 'id' | 'baseID' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
45477
45477
|
sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup$1, 'id' | 'appID'> & {
|
|
45478
|
-
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan$1, 'id' | 'name' | 'baseID' | 'pricingPolicies' | 'updatedAt'>>>>;
|
|
45478
|
+
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan$1, 'id' | 'name' | 'baseID' | 'billingPolicy' | 'pricingPolicies' | 'updatedAt'>>>>;
|
|
45479
45479
|
}>>>;
|
|
45480
45480
|
}>;
|
|
45481
45481
|
}>;
|
|
@@ -45507,7 +45507,7 @@ type ProductVariantsWithSellingPlansQueryResponse = {
|
|
|
45507
45507
|
selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
|
|
45508
45508
|
media?: Maybe$1<Pick<Media$1, 'id' | 'baseID' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
45509
45509
|
sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup$1, 'id' | 'appID'> & {
|
|
45510
|
-
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan$1, 'id' | 'name' | 'baseID' | 'pricingPolicies' | 'updatedAt'>>>>;
|
|
45510
|
+
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan$1, 'id' | 'name' | 'baseID' | 'billingPolicy' | 'pricingPolicies' | 'updatedAt'>>>>;
|
|
45511
45511
|
}>>>;
|
|
45512
45512
|
}>;
|
|
45513
45513
|
}>;
|
|
@@ -58416,14 +58416,14 @@ declare const useVariants: () => Maybe$1<Pick<ProductVariant$1, "id" | "title" |
|
|
|
58416
58416
|
selectedOptions: Pick<SelectedOption$1, "name" | "value" | "optionType">[];
|
|
58417
58417
|
media?: Maybe$1<Pick<Media$1, "id" | "width" | "height" | "baseID" | "contentType" | "previewImage" | "src" | "alt">>;
|
|
58418
58418
|
sellingPlanGroups?: Maybe$1<Maybe$1<Pick<SellingPlanGroup$1, "id" | "appID"> & {
|
|
58419
|
-
sellingPlans?: Maybe$1<Maybe$1<Pick<SellingPlan$1, "name" | "id" | "updatedAt" | "baseID" | "pricingPolicies">>[]>;
|
|
58419
|
+
sellingPlans?: Maybe$1<Maybe$1<Pick<SellingPlan$1, "name" | "id" | "updatedAt" | "baseID" | "billingPolicy" | "pricingPolicies">>[]>;
|
|
58420
58420
|
}>[]>;
|
|
58421
58421
|
}>[];
|
|
58422
58422
|
declare const useVariant: (id: string) => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "price" | "width" | "length" | "weight" | "height" | "barcode" | "baseID" | "costPrice" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "lowInventoryAmount" | "manageInventory" | "mediaId" | "platform" | "salePrice" | "sku" | "soldIndividually"> & {
|
|
58423
58423
|
selectedOptions: Pick<SelectedOption$1, "name" | "value" | "optionType">[];
|
|
58424
58424
|
media?: Maybe$1<Pick<Media$1, "id" | "width" | "height" | "baseID" | "contentType" | "previewImage" | "src" | "alt">>;
|
|
58425
58425
|
sellingPlanGroups?: Maybe$1<Maybe$1<Pick<SellingPlanGroup$1, "id" | "appID"> & {
|
|
58426
|
-
sellingPlans?: Maybe$1<Maybe$1<Pick<SellingPlan$1, "name" | "id" | "updatedAt" | "baseID" | "pricingPolicies">>[]>;
|
|
58426
|
+
sellingPlans?: Maybe$1<Maybe$1<Pick<SellingPlan$1, "name" | "id" | "updatedAt" | "baseID" | "billingPolicy" | "pricingPolicies">>[]>;
|
|
58427
58427
|
}>[]>;
|
|
58428
58428
|
}>;
|
|
58429
58429
|
declare const useCurrentVariant: () => Maybe$1<VariantSelectFragment>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "12.0.0-staging.
|
|
3
|
+
"version": "12.0.0-staging.66",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"type-check": "yarn tsc --noEmit"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@gem-sdk/adapter-shopify": "12.0.0-staging.
|
|
32
|
-
"@gem-sdk/styles": "12.0.0-staging.
|
|
31
|
+
"@gem-sdk/adapter-shopify": "12.0.0-staging.66",
|
|
32
|
+
"@gem-sdk/styles": "12.0.0-staging.66",
|
|
33
33
|
"@types/classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|