@gem-sdk/core 19.0.0-staging.0 → 19.0.0-staging.5
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 +2 -2
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -55251,14 +55251,14 @@ declare const useSelectedOption: () => {
|
|
|
55251
55251
|
setSelectedOption: (optionId?: Maybe$1<string>, optionValue?: Maybe$1<string>, productId?: Maybe$1<string>, noEmit?: boolean) => void;
|
|
55252
55252
|
forceSelectedOption: (selectedOption?: Record<string, string>, productId?: Maybe$1<string>, noEmit?: boolean, isManualChange?: boolean) => void;
|
|
55253
55253
|
};
|
|
55254
|
-
declare const useVariants: () => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "baseID" | "sku" | "barcode" | "costPrice" | "height" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "
|
|
55254
|
+
declare const useVariants: () => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "baseID" | "sku" | "length" | "barcode" | "costPrice" | "height" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "lowInventoryAmount" | "manageInventory" | "mediaId" | "platform" | "price" | "salePrice" | "soldIndividually" | "weight" | "width"> & {
|
|
55255
55255
|
selectedOptions: Array<Pick<SelectedOption$1, "name" | "value" | "optionType">>;
|
|
55256
55256
|
media?: Maybe$1<Pick<Media$1, "id" | "baseID" | "contentType" | "previewImage" | "src" | "width" | "height" | "alt">>;
|
|
55257
55257
|
sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup$1, "id" | "appID"> & {
|
|
55258
55258
|
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan$1, "id" | "name" | "baseID" | "billingPolicy" | "deliveryPolicy" | "pricingPolicies" | "updatedAt">>>>;
|
|
55259
55259
|
}>>>;
|
|
55260
55260
|
}>[];
|
|
55261
|
-
declare const useVariant: (id: string) => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "baseID" | "sku" | "barcode" | "costPrice" | "height" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "
|
|
55261
|
+
declare const useVariant: (id: string) => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "baseID" | "sku" | "length" | "barcode" | "costPrice" | "height" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "lowInventoryAmount" | "manageInventory" | "mediaId" | "platform" | "price" | "salePrice" | "soldIndividually" | "weight" | "width"> & {
|
|
55262
55262
|
selectedOptions: Array<Pick<SelectedOption$1, "name" | "value" | "optionType">>;
|
|
55263
55263
|
media?: Maybe$1<Pick<Media$1, "id" | "baseID" | "contentType" | "previewImage" | "src" | "width" | "height" | "alt">>;
|
|
55264
55264
|
sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup$1, "id" | "appID"> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "19.0.0-staging.
|
|
3
|
+
"version": "19.0.0-staging.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@gem-sdk/adapter-shopify": "19.0.0-staging.0",
|
|
32
|
-
"@gem-sdk/styles": "19.0.0-staging.
|
|
32
|
+
"@gem-sdk/styles": "19.0.0-staging.1",
|
|
33
33
|
"@types/classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|