@gem-sdk/core 12.0.0-dev.31 → 12.0.0-dev.32

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.
@@ -35,6 +35,7 @@
35
35
  name
36
36
  baseID
37
37
  pricingPolicies
38
+ updatedAt
38
39
  }
39
40
  }
40
41
  }
@@ -35,6 +35,7 @@ let ProductVariantsWithSellingPlansSelect=`
35
35
  name
36
36
  baseID
37
37
  pricingPolicies
38
+ updatedAt
38
39
  }
39
40
  }
40
41
  }
@@ -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' | 'pricingPolicies'>>>>;
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' | 'updatedAt'>>>>;
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' | 'pricingPolicies'>>>>;
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' | 'updatedAt'>>>>;
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' | 'pricingPolicies'>>>>;
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' | 'updatedAt'>>>>;
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;
@@ -35983,11 +35983,11 @@ type ProductsWithSellingPlansQueryVariables = Exact$1<{
35983
35983
  }>;
35984
35984
  type ProductsWithSellingPlansQueryResponse = {
35985
35985
  products?: Maybe$1<{
35986
- edges: Array<(Pick<ProductEdge$1, 'cursor'> & {
35987
- node?: Maybe$1<(Pick<Product$1, 'id' | 'title' | 'createdAt' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'requiresSellingPlan' | 'vendor' | 'tags'> & {
35988
- options?: Maybe$1<Array<(Pick<ProductOption$1, 'id' | 'name' | 'optionType'> & {
35986
+ edges: Array<Pick<ProductEdge$1, 'cursor'> & {
35987
+ node?: Maybe$1<Pick<Product$1, 'id' | 'title' | 'createdAt' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'requiresSellingPlan' | 'vendor' | 'tags'> & {
35988
+ options?: Maybe$1<Array<Pick<ProductOption$1, 'id' | 'name' | 'optionType'> & {
35989
35989
  values: Array<Pick<ProductOptionValue$1, 'id' | 'label' | 'isDefault' | 'baseID'>>;
35990
- })>>;
35990
+ }>>;
35991
35991
  featuredImage?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
35992
35992
  collections?: Maybe$1<{
35993
35993
  edges: Array<{
@@ -35996,25 +35996,25 @@ type ProductsWithSellingPlansQueryResponse = {
35996
35996
  }>;
35997
35997
  sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup, 'appID' | 'baseID' | 'id' | 'name'>>>>;
35998
35998
  medias?: Maybe$1<{
35999
- edges: Array<(Pick<MediaEdge$1, 'cursor'> & {
35999
+ edges: Array<Pick<MediaEdge$1, 'cursor'> & {
36000
36000
  node?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
36001
- })>;
36001
+ }>;
36002
36002
  pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage'>>;
36003
36003
  }>;
36004
36004
  variants?: Maybe$1<{
36005
- edges: Array<(Pick<ProductVariantEdge$1, 'cursor'> & {
36006
- 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
+ edges: Array<Pick<ProductVariantEdge$1, 'cursor'> & {
36006
+ 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'> & {
36007
36007
  selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
36008
36008
  media?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
36009
- sellingPlanGroups?: Maybe$1<Array<Maybe$1<(Pick<SellingPlanGroup, 'id' | 'appID'> & {
36010
- sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'pricingPolicies'>>>>;
36011
- })>>>;
36012
- })>;
36013
- })>;
36009
+ sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup, 'id' | 'appID'> & {
36010
+ sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'pricingPolicies' | 'updatedAt'>>>>;
36011
+ }>>>;
36012
+ }>;
36013
+ }>;
36014
36014
  pageInfo?: Maybe$1<Pick<PageInfo$1, 'hasNextPage' | 'endCursor'>>;
36015
36015
  }>;
36016
- })>;
36017
- })>;
36016
+ }>;
36017
+ }>;
36018
36018
  pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage'>>;
36019
36019
  }>;
36020
36020
  };
@@ -36032,20 +36032,20 @@ type ProductVariantsWithSellingPlansQueryVariables = Exact$1<{
36032
36032
  type ProductVariantsWithSellingPlansQueryResponse = {
36033
36033
  variants?: Maybe$1<{
36034
36034
  edges: Array<{
36035
- node?: Maybe$1<(Pick<Product$1, 'id'> & {
36035
+ node?: Maybe$1<Pick<Product$1, 'id'> & {
36036
36036
  variants?: Maybe$1<{
36037
- edges: Array<(Pick<ProductVariantEdge$1, 'cursor'> & {
36038
- 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
+ edges: Array<Pick<ProductVariantEdge$1, 'cursor'> & {
36038
+ 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'> & {
36039
36039
  selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
36040
36040
  media?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
36041
- sellingPlanGroups?: Maybe$1<Array<Maybe$1<(Pick<SellingPlanGroup, 'id' | 'appID'> & {
36042
- sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'pricingPolicies'>>>>;
36043
- })>>>;
36044
- })>;
36045
- })>;
36041
+ sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup, 'id' | 'appID'> & {
36042
+ sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'pricingPolicies' | 'updatedAt'>>>>;
36043
+ }>>>;
36044
+ }>;
36045
+ }>;
36046
36046
  pageInfo?: Maybe$1<Pick<PageInfo$1, 'hasNextPage' | 'endCursor'>>;
36047
36047
  }>;
36048
- })>;
36048
+ }>;
36049
36049
  }>;
36050
36050
  }>;
36051
36051
  };
@@ -48914,14 +48914,14 @@ declare const useVariants: () => Maybe$1<Pick<ProductVariant$1, "id" | "title" |
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" | "pricingPolicies">>[]>;
48917
+ sellingPlans?: Maybe$1<Maybe$1<Pick<SellingPlan, "name" | "id" | "updatedAt" | "baseID" | "pricingPolicies">>[]>;
48918
48918
  }>[]>;
48919
48919
  }>[];
48920
48920
  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"> & {
48921
48921
  selectedOptions: Pick<SelectedOption$1, "name" | "value" | "optionType">[];
48922
48922
  media?: Maybe$1<Pick<Media$1, "id" | "width" | "height" | "contentType" | "previewImage" | "src" | "alt">>;
48923
48923
  sellingPlanGroups?: Maybe$1<Maybe$1<Pick<SellingPlanGroup, "id" | "appID"> & {
48924
- sellingPlans?: Maybe$1<Maybe$1<Pick<SellingPlan, "name" | "id" | "baseID" | "pricingPolicies">>[]>;
48924
+ sellingPlans?: Maybe$1<Maybe$1<Pick<SellingPlan, "name" | "id" | "updatedAt" | "baseID" | "pricingPolicies">>[]>;
48925
48925
  }>[]>;
48926
48926
  }>;
48927
48927
  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-dev.31",
3
+ "version": "12.0.0-dev.32",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",