sanity-plugin-shopify-assets

2.0.202.1.0
dist/index.d.ts
~dist/index.d.tsModified
+8
Index: package/dist/index.d.ts
===================================================================
--- package/dist/index.d.ts
+++ package/dist/index.d.ts
@@ -4,12 +4,19 @@
   /**
    * Your *.myshopify.com domain. Do not include https:// or any path.
    */
   shopifyDomain: string;
+  /**
+   * Dataset that holds the Sanity Connect Shopify sync.
+   * When omitted, asset requests use the active Studio dataset.
+   * A field-level `options.dataset` overrides this value.
+   */
+  dataset?: string;
 }
 export interface ObjectSchemaWithOptions extends ObjectSchemaType {
   options: {
     shopifyDomain: string;
+    dataset?: string;
   };
 }
 type PossibleFileTypes = 'file' | 'image' | 'video';
 export interface AssetPreviewImage {
@@ -49,8 +56,9 @@
     type ShopifyAssetTypeDef = Omit<ObjectDefinition, 'type' | 'fields'> & {
       type: 'shopify.asset';
       options?: {
         shopifyDomain?: string;
+        dataset?: string;
       };
     };
     interface IntrinsicTypeDefinition {
       'shopify.asset': ShopifyAssetTypeDef;