sanity-plugin-shopify-assets

2.0.182.0.19
dist/index.d.ts
~dist/index.d.tsModified
+10−10
Index: package/dist/index.d.ts
===================================================================
--- package/dist/index.d.ts
+++ package/dist/index.d.ts
@@ -1,47 +1,47 @@
 import "@sanity/ui/styles.css";
 import { ObjectDefinition, ObjectSchemaType } from "sanity";
-interface PluginConfig {
+export interface PluginConfig {
   /**
    * Your *.myshopify.com domain. Do not include https:// or any path.
    */
   shopifyDomain: string;
 }
-interface ObjectSchemaWithOptions extends ObjectSchemaType {
+export interface ObjectSchemaWithOptions extends ObjectSchemaType {
   options: {
     shopifyDomain: string;
   };
 }
 type PossibleFileTypes = 'file' | 'image' | 'video';
-interface AssetPreviewImage {
+export interface AssetPreviewImage {
   height: number;
   url: string;
   width: number;
 }
-interface AssetMeta {
+export interface AssetMeta {
   alt?: string;
   duration?: number;
   fileSize?: number;
   height?: number;
   width?: number;
 }
-interface ShopifyFile {
+export interface ShopifyFile {
   meta: AssetMeta;
   preview: AssetPreviewImage;
   id: string;
   type: PossibleFileTypes;
   url: string;
 }
-interface Asset extends ShopifyFile {
+export interface Asset extends ShopifyFile {
   _type?: string;
   _key?: string;
   filename?: string;
 }
-interface PageInfo {
+export interface PageInfo {
   hasNextPage: boolean;
   cursor: string;
 }
-interface ShopifyAPIResponse {
+export interface ShopifyAPIResponse {
   pageInfo: PageInfo;
   assets: ShopifyFile[];
 }
 declare module 'sanity' {
@@ -56,7 +56,7 @@
       'shopify.asset': ShopifyAssetTypeDef;
     }
   }
 }
-declare const shopifyAssets: import("sanity").Plugin<PluginConfig>;
-export { Asset, AssetMeta, AssetPreviewImage, ObjectSchemaWithOptions, PageInfo, PluginConfig, ShopifyAPIResponse, ShopifyFile, shopifyAssets };
+export declare const shopifyAssets: import("sanity").Plugin<PluginConfig>;
+export {};
 //# sourceMappingURL=index.d.ts.map
\ No newline at end of file