@gem-sdk/core 12.0.0-dev.29 → 12.0.0-dev.30
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
|
@@ -35384,46 +35384,46 @@ type CollectionSelectFragment = Pick<Collection$1, 'id' | 'createdAt' | 'updated
|
|
|
35384
35384
|
|
|
35385
35385
|
type MediaSelectFragment = Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>;
|
|
35386
35386
|
|
|
35387
|
-
type ProductVariantsWithSellingPlansSelectFragment = Pick<ProductVariant$1, 'id' | 'title' | 'barcode' | 'baseID' | 'costPrice' | 'height' | 'inventoryPolicy' | 'inventoryQuantity' | 'inventoryStatus' | 'isDigital' | 'length' | 'lowInventoryAmount' | 'manageInventory' | 'mediaId' | 'platform' | 'price' | 'salePrice' | 'sku' | 'soldIndividually' | 'weight' | 'width'> & {
|
|
35387
|
+
type ProductVariantsWithSellingPlansSelectFragment = (Pick<ProductVariant$1, 'id' | 'title' | 'barcode' | 'baseID' | 'costPrice' | 'height' | 'inventoryPolicy' | 'inventoryQuantity' | 'inventoryStatus' | 'isDigital' | 'length' | 'lowInventoryAmount' | 'manageInventory' | 'mediaId' | 'platform' | 'price' | 'salePrice' | 'sku' | 'soldIndividually' | 'weight' | 'width'> & {
|
|
35388
35388
|
selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
|
|
35389
35389
|
media?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
35390
|
-
sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup, 'id' | 'appID'> & {
|
|
35391
|
-
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID'>>>>;
|
|
35392
|
-
}>>>;
|
|
35393
|
-
};
|
|
35390
|
+
sellingPlanGroups?: Maybe$1<Array<Maybe$1<(Pick<SellingPlanGroup, 'id' | 'appID'> & {
|
|
35391
|
+
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'pricingPolicies'>>>>;
|
|
35392
|
+
})>>>;
|
|
35393
|
+
});
|
|
35394
35394
|
|
|
35395
|
-
type ProductsWithSellingPlansDetailFragment = Pick<Product$1, 'id' | 'title' | 'createdAt' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'requiresSellingPlan' | 'vendor' | 'tags'> & {
|
|
35396
|
-
options?: Maybe$1<Array<Pick<ProductOption$1, 'id' | 'name' | 'optionType'> & {
|
|
35395
|
+
type ProductsWithSellingPlansDetailFragment = (Pick<Product$1, 'id' | 'title' | 'createdAt' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'requiresSellingPlan' | 'vendor' | 'tags'> & {
|
|
35396
|
+
options?: Maybe$1<Array<(Pick<ProductOption$1, 'id' | 'name' | 'optionType'> & {
|
|
35397
35397
|
values: Array<Pick<ProductOptionValue$1, 'id' | 'label' | 'isDefault' | 'baseID'>>;
|
|
35398
|
-
}>>;
|
|
35398
|
+
})>>;
|
|
35399
35399
|
featuredImage?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
35400
35400
|
collections?: Maybe$1<{
|
|
35401
35401
|
edges: Array<{
|
|
35402
35402
|
node?: Maybe$1<Pick<Collection$1, 'id' | 'title'>>;
|
|
35403
35403
|
}>;
|
|
35404
35404
|
}>;
|
|
35405
|
-
sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup, 'appID' | 'baseID' | 'id' | 'name'> & {
|
|
35406
|
-
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID'>>>>;
|
|
35407
|
-
}>>>;
|
|
35405
|
+
sellingPlanGroups?: Maybe$1<Array<Maybe$1<(Pick<SellingPlanGroup, 'appID' | 'baseID' | 'id' | 'name'> & {
|
|
35406
|
+
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'pricingPolicies'>>>>;
|
|
35407
|
+
})>>>;
|
|
35408
35408
|
medias?: Maybe$1<{
|
|
35409
|
-
edges: Array<Pick<MediaEdge$1, 'cursor'> & {
|
|
35409
|
+
edges: Array<(Pick<MediaEdge$1, 'cursor'> & {
|
|
35410
35410
|
node?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
35411
|
-
}>;
|
|
35411
|
+
})>;
|
|
35412
35412
|
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage'>>;
|
|
35413
35413
|
}>;
|
|
35414
35414
|
variants?: Maybe$1<{
|
|
35415
|
-
edges: Array<Pick<ProductVariantEdge$1, 'cursor'> & {
|
|
35416
|
-
node?: Maybe$1<Pick<ProductVariant$1, 'id' | 'title' | 'barcode' | 'baseID' | 'costPrice' | 'height' | 'inventoryPolicy' | 'inventoryQuantity' | 'inventoryStatus' | 'isDigital' | 'length' | 'lowInventoryAmount' | 'manageInventory' | 'mediaId' | 'platform' | 'price' | 'salePrice' | 'sku' | 'soldIndividually' | 'weight' | 'width'> & {
|
|
35415
|
+
edges: Array<(Pick<ProductVariantEdge$1, 'cursor'> & {
|
|
35416
|
+
node?: Maybe$1<(Pick<ProductVariant$1, 'id' | 'title' | 'barcode' | 'baseID' | 'costPrice' | 'height' | 'inventoryPolicy' | 'inventoryQuantity' | 'inventoryStatus' | 'isDigital' | 'length' | 'lowInventoryAmount' | 'manageInventory' | 'mediaId' | 'platform' | 'price' | 'salePrice' | 'sku' | 'soldIndividually' | 'weight' | 'width'> & {
|
|
35417
35417
|
selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
|
|
35418
35418
|
media?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
35419
|
-
sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup, 'id' | 'appID'> & {
|
|
35420
|
-
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID'>>>>;
|
|
35421
|
-
}>>>;
|
|
35422
|
-
}>;
|
|
35423
|
-
}>;
|
|
35419
|
+
sellingPlanGroups?: Maybe$1<Array<Maybe$1<(Pick<SellingPlanGroup, 'id' | 'appID'> & {
|
|
35420
|
+
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'pricingPolicies'>>>>;
|
|
35421
|
+
})>>>;
|
|
35422
|
+
})>;
|
|
35423
|
+
})>;
|
|
35424
35424
|
pageInfo?: Maybe$1<Pick<PageInfo$1, 'hasNextPage' | 'endCursor'>>;
|
|
35425
35425
|
}>;
|
|
35426
|
-
};
|
|
35426
|
+
});
|
|
35427
35427
|
|
|
35428
35428
|
type AttributeProp = {
|
|
35429
35429
|
key: string;
|
|
@@ -35981,11 +35981,11 @@ type ProductsWithSellingPlansQueryVariables = Exact$1<{
|
|
|
35981
35981
|
}>;
|
|
35982
35982
|
type ProductsWithSellingPlansQueryResponse = {
|
|
35983
35983
|
products?: Maybe$1<{
|
|
35984
|
-
edges: Array<Pick<ProductEdge$1, 'cursor'> & {
|
|
35985
|
-
node?: Maybe$1<Pick<Product$1, 'id' | 'title' | 'createdAt' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'requiresSellingPlan' | 'vendor' | 'tags'> & {
|
|
35986
|
-
options?: Maybe$1<Array<Pick<ProductOption$1, 'id' | 'name' | 'optionType'> & {
|
|
35984
|
+
edges: Array<(Pick<ProductEdge$1, 'cursor'> & {
|
|
35985
|
+
node?: Maybe$1<(Pick<Product$1, 'id' | 'title' | 'createdAt' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'requiresSellingPlan' | 'vendor' | 'tags'> & {
|
|
35986
|
+
options?: Maybe$1<Array<(Pick<ProductOption$1, 'id' | 'name' | 'optionType'> & {
|
|
35987
35987
|
values: Array<Pick<ProductOptionValue$1, 'id' | 'label' | 'isDefault' | 'baseID'>>;
|
|
35988
|
-
}>>;
|
|
35988
|
+
})>>;
|
|
35989
35989
|
featuredImage?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
35990
35990
|
collections?: Maybe$1<{
|
|
35991
35991
|
edges: Array<{
|
|
@@ -35994,25 +35994,25 @@ type ProductsWithSellingPlansQueryResponse = {
|
|
|
35994
35994
|
}>;
|
|
35995
35995
|
sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup, 'appID' | 'baseID' | 'id' | 'name'>>>>;
|
|
35996
35996
|
medias?: Maybe$1<{
|
|
35997
|
-
edges: Array<Pick<MediaEdge$1, 'cursor'> & {
|
|
35997
|
+
edges: Array<(Pick<MediaEdge$1, 'cursor'> & {
|
|
35998
35998
|
node?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
35999
|
-
}>;
|
|
35999
|
+
})>;
|
|
36000
36000
|
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage'>>;
|
|
36001
36001
|
}>;
|
|
36002
36002
|
variants?: Maybe$1<{
|
|
36003
|
-
edges: Array<Pick<ProductVariantEdge$1, 'cursor'> & {
|
|
36004
|
-
node?: Maybe$1<Pick<ProductVariant$1, 'id' | 'title' | 'barcode' | 'baseID' | 'costPrice' | 'height' | 'inventoryPolicy' | 'inventoryQuantity' | 'inventoryStatus' | 'isDigital' | 'length' | 'lowInventoryAmount' | 'manageInventory' | 'mediaId' | 'platform' | 'price' | 'salePrice' | 'sku' | 'soldIndividually' | 'weight' | 'width'> & {
|
|
36003
|
+
edges: Array<(Pick<ProductVariantEdge$1, 'cursor'> & {
|
|
36004
|
+
node?: Maybe$1<(Pick<ProductVariant$1, 'id' | 'title' | 'barcode' | 'baseID' | 'costPrice' | 'height' | 'inventoryPolicy' | 'inventoryQuantity' | 'inventoryStatus' | 'isDigital' | 'length' | 'lowInventoryAmount' | 'manageInventory' | 'mediaId' | 'platform' | 'price' | 'salePrice' | 'sku' | 'soldIndividually' | 'weight' | 'width'> & {
|
|
36005
36005
|
selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
|
|
36006
36006
|
media?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
36007
|
-
sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup, 'id' | 'appID'> & {
|
|
36008
|
-
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID'>>>>;
|
|
36009
|
-
}>>>;
|
|
36010
|
-
}>;
|
|
36011
|
-
}>;
|
|
36007
|
+
sellingPlanGroups?: Maybe$1<Array<Maybe$1<(Pick<SellingPlanGroup, 'id' | 'appID'> & {
|
|
36008
|
+
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'pricingPolicies'>>>>;
|
|
36009
|
+
})>>>;
|
|
36010
|
+
})>;
|
|
36011
|
+
})>;
|
|
36012
36012
|
pageInfo?: Maybe$1<Pick<PageInfo$1, 'hasNextPage' | 'endCursor'>>;
|
|
36013
36013
|
}>;
|
|
36014
|
-
}>;
|
|
36015
|
-
}>;
|
|
36014
|
+
})>;
|
|
36015
|
+
})>;
|
|
36016
36016
|
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage'>>;
|
|
36017
36017
|
}>;
|
|
36018
36018
|
};
|
|
@@ -36030,20 +36030,20 @@ type ProductVariantsWithSellingPlansQueryVariables = Exact$1<{
|
|
|
36030
36030
|
type ProductVariantsWithSellingPlansQueryResponse = {
|
|
36031
36031
|
variants?: Maybe$1<{
|
|
36032
36032
|
edges: Array<{
|
|
36033
|
-
node?: Maybe$1<Pick<Product$1, 'id'> & {
|
|
36033
|
+
node?: Maybe$1<(Pick<Product$1, 'id'> & {
|
|
36034
36034
|
variants?: Maybe$1<{
|
|
36035
|
-
edges: Array<Pick<ProductVariantEdge$1, 'cursor'> & {
|
|
36036
|
-
node?: Maybe$1<Pick<ProductVariant$1, 'id' | 'title' | 'barcode' | 'baseID' | 'costPrice' | 'height' | 'inventoryPolicy' | 'inventoryQuantity' | 'inventoryStatus' | 'isDigital' | 'length' | 'lowInventoryAmount' | 'manageInventory' | 'mediaId' | 'platform' | 'price' | 'salePrice' | 'sku' | 'soldIndividually' | 'weight' | 'width'> & {
|
|
36035
|
+
edges: Array<(Pick<ProductVariantEdge$1, 'cursor'> & {
|
|
36036
|
+
node?: Maybe$1<(Pick<ProductVariant$1, 'id' | 'title' | 'barcode' | 'baseID' | 'costPrice' | 'height' | 'inventoryPolicy' | 'inventoryQuantity' | 'inventoryStatus' | 'isDigital' | 'length' | 'lowInventoryAmount' | 'manageInventory' | 'mediaId' | 'platform' | 'price' | 'salePrice' | 'sku' | 'soldIndividually' | 'weight' | 'width'> & {
|
|
36037
36037
|
selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
|
|
36038
36038
|
media?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
36039
|
-
sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup, 'id' | 'appID'> & {
|
|
36040
|
-
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID'>>>>;
|
|
36041
|
-
}>>>;
|
|
36042
|
-
}>;
|
|
36043
|
-
}>;
|
|
36039
|
+
sellingPlanGroups?: Maybe$1<Array<Maybe$1<(Pick<SellingPlanGroup, 'id' | 'appID'> & {
|
|
36040
|
+
sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'pricingPolicies'>>>>;
|
|
36041
|
+
})>>>;
|
|
36042
|
+
})>;
|
|
36043
|
+
})>;
|
|
36044
36044
|
pageInfo?: Maybe$1<Pick<PageInfo$1, 'hasNextPage' | 'endCursor'>>;
|
|
36045
36045
|
}>;
|
|
36046
|
-
}>;
|
|
36046
|
+
})>;
|
|
36047
36047
|
}>;
|
|
36048
36048
|
}>;
|
|
36049
36049
|
};
|
|
@@ -48907,14 +48907,14 @@ declare const useVariants: () => Maybe$1<Pick<ProductVariant$1, "id" | "title" |
|
|
|
48907
48907
|
selectedOptions: Pick<SelectedOption$1, "name" | "value" | "optionType">[];
|
|
48908
48908
|
media?: Maybe$1<Pick<Media$1, "id" | "width" | "height" | "contentType" | "previewImage" | "src" | "alt">>;
|
|
48909
48909
|
sellingPlanGroups?: Maybe$1<Maybe$1<Pick<SellingPlanGroup, "id" | "appID"> & {
|
|
48910
|
-
sellingPlans?: Maybe$1<Maybe$1<Pick<SellingPlan, "name" | "id" | "baseID">>[]>;
|
|
48910
|
+
sellingPlans?: Maybe$1<Maybe$1<Pick<SellingPlan, "name" | "id" | "baseID" | "pricingPolicies">>[]>;
|
|
48911
48911
|
}>[]>;
|
|
48912
48912
|
}>[];
|
|
48913
48913
|
declare const useVariant: (id: string) => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "price" | "width" | "length" | "weight" | "height" | "baseID" | "barcode" | "costPrice" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "lowInventoryAmount" | "manageInventory" | "mediaId" | "platform" | "salePrice" | "sku" | "soldIndividually"> & {
|
|
48914
48914
|
selectedOptions: Pick<SelectedOption$1, "name" | "value" | "optionType">[];
|
|
48915
48915
|
media?: Maybe$1<Pick<Media$1, "id" | "width" | "height" | "contentType" | "previewImage" | "src" | "alt">>;
|
|
48916
48916
|
sellingPlanGroups?: Maybe$1<Maybe$1<Pick<SellingPlanGroup, "id" | "appID"> & {
|
|
48917
|
-
sellingPlans?: Maybe$1<Maybe$1<Pick<SellingPlan, "name" | "id" | "baseID">>[]>;
|
|
48917
|
+
sellingPlans?: Maybe$1<Maybe$1<Pick<SellingPlan, "name" | "id" | "baseID" | "pricingPolicies">>[]>;
|
|
48918
48918
|
}>[]>;
|
|
48919
48919
|
}>;
|
|
48920
48920
|
declare const useCurrentVariant: () => Maybe$1<VariantSelectFragment>;
|