@anker-in/shopify-react 1.3.0-beta.13 → 1.3.0-beta.15

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.
@@ -1,7 +1,7 @@
1
1
  import * as swr_mutation from 'swr/mutation';
2
2
  import { SWRMutationConfiguration } from 'swr/mutation';
3
3
  import * as _anker_in_shopify_sdk from '@anker-in/shopify-sdk';
4
- import { CartLineInput, BuyerIdentityInput, NormalizedCart, NormalizedProduct, NormalizedProductVariant, NormalizedLineItem, UpdateCartLinesOptions, HasMetafieldsIdentifier, Media, NormalizedCollection, CollectionsConnection, NormalizedBlog, NormalizedArticle, NormalizedShop, NormalizedAttribute } from '@anker-in/shopify-sdk';
4
+ import { CartLineInput, BuyerIdentityInput, NormalizedCart, NormalizedProduct, NormalizedProductVariant, NormalizedLineItem, UpdateCartLinesOptions, HasMetafieldsIdentifier, MetafieldIdentifier, Media, NormalizedCollection, CollectionsConnection, NormalizedBlog, NormalizedArticle, NormalizedShop, NormalizedAttribute } from '@anker-in/shopify-sdk';
5
5
  import { h as UseAddToCartOptions, g as AddToCartInput, A as AddToCartLineItem, G as GtmParams, C as BuyNowTrackConfig, e as UseScriptAutoFreeGiftResult, m as PlusMemberShippingMethodConfig, n as PlusMemberSettingsMetafields, D as DeliveryPlusType, o as SelectedPlusMemberVariant } from '../types-C0UyuPrG.mjs';
6
6
  export { p as DeliveryCustomData, P as PLUS_MEMBER_TYPE, j as PlusMemberMode, l as PlusMemberShippingMethodMetafields, S as ScriptAutoFreeGiftConfig, k as ShippingMethodMode, U as UseAutoRemoveFreeGiftsOptions, a as UseAutoRemoveFreeGiftsResult, d as isAnyGift, c as isBuyGetGift, i as isFunctionGift, b as isScriptGift, u as useAutoRemoveFreeGifts, f as useScriptAutoFreeGift } from '../types-C0UyuPrG.mjs';
7
7
  import * as swr from 'swr';
@@ -841,10 +841,10 @@ declare const formatFunctionAutoFreeGift: ({ qualifyingGift, giftProductsResult,
841
841
 
842
842
  interface UseProductOptions extends SWRConfiguration<NormalizedProduct | undefined> {
843
843
  handle?: string;
844
- metafieldIdentifiers?: Array<{
845
- namespace: string;
846
- key: string;
847
- }>;
844
+ metafieldIdentifiers?: {
845
+ product?: MetafieldIdentifier[];
846
+ variant?: MetafieldIdentifier[];
847
+ };
848
848
  }
849
849
  /**
850
850
  * Hook to fetch a single product by handle
@@ -880,10 +880,10 @@ interface UseAllProductsOptions extends SWRConfiguration<NormalizedProduct[]> {
880
880
  query?: string;
881
881
  sortKey?: 'TITLE' | 'PRODUCT_TYPE' | 'VENDOR' | 'UPDATED_AT' | 'CREATED_AT' | 'BEST_SELLING' | 'PRICE' | 'RELEVANCE';
882
882
  reverse?: boolean;
883
- metafieldIdentifiers?: Array<{
884
- namespace: string;
885
- key: string;
886
- }>;
883
+ metafieldIdentifiers?: {
884
+ product?: MetafieldIdentifier[];
885
+ variant?: MetafieldIdentifier[];
886
+ };
887
887
  }
888
888
  /**
889
889
  * Hook to fetch all products
@@ -923,8 +923,8 @@ declare function useAllProducts(options?: UseAllProductsOptions): swr.SWRRespons
923
923
  interface UseProductsByHandlesOptions extends SWRConfiguration<(NormalizedProduct | undefined)[]> {
924
924
  handles?: string[];
925
925
  metafieldIdentifiers?: {
926
- product: HasMetafieldsIdentifier[];
927
- variant: HasMetafieldsIdentifier[];
926
+ product?: MetafieldIdentifier[];
927
+ variant?: MetafieldIdentifier[];
928
928
  };
929
929
  }
930
930
  /**
@@ -1236,10 +1236,11 @@ declare function useVariantMedia({ product, variant, }: {
1236
1236
 
1237
1237
  interface UseCollectionOptions extends SWRConfiguration<NormalizedCollection | undefined> {
1238
1238
  handle?: string;
1239
- metafieldIdentifiers?: Array<{
1240
- namespace: string;
1241
- key: string;
1242
- }>;
1239
+ metafieldIdentifiers?: {
1240
+ collection?: MetafieldIdentifier[];
1241
+ product?: MetafieldIdentifier[];
1242
+ variant?: MetafieldIdentifier[];
1243
+ };
1243
1244
  }
1244
1245
  declare function useCollection(options?: UseCollectionOptions): swr.SWRResponse<NormalizedCollection | undefined, any, SWRConfiguration<NormalizedCollection | undefined, any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedCollection | undefined>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedCollection | undefined>)> | undefined>;
1245
1246
 
@@ -1248,10 +1249,11 @@ interface UseAllCollectionsOptions extends SWRConfiguration<NormalizedCollection
1248
1249
  query?: string;
1249
1250
  sortKey?: 'TITLE' | 'UPDATED_AT' | 'ID' | 'RELEVANCE';
1250
1251
  reverse?: boolean;
1251
- metafieldIdentifiers?: Array<{
1252
- namespace: string;
1253
- key: string;
1254
- }>;
1252
+ metafieldIdentifiers?: {
1253
+ collection?: MetafieldIdentifier[];
1254
+ product?: MetafieldIdentifier[];
1255
+ variant?: MetafieldIdentifier[];
1256
+ };
1255
1257
  }
1256
1258
  declare function useAllCollections(options?: UseAllCollectionsOptions): swr.SWRResponse<NormalizedCollection[], any, SWRConfiguration<NormalizedCollection[], any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedCollection[]>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedCollection[]>)> | undefined>;
1257
1259
 
@@ -1261,39 +1263,40 @@ interface UseCollectionsOptions extends SWRConfiguration<CollectionsConnection>
1261
1263
  query?: string;
1262
1264
  sortKey?: 'TITLE' | 'UPDATED_AT' | 'ID' | 'RELEVANCE';
1263
1265
  reverse?: boolean;
1264
- metafieldIdentifiers?: Array<{
1265
- namespace: string;
1266
- key: string;
1267
- }>;
1266
+ metafieldIdentifiers?: {
1267
+ product: MetafieldIdentifier[];
1268
+ variant: MetafieldIdentifier[];
1269
+ collection: MetafieldIdentifier[];
1270
+ };
1268
1271
  }
1269
1272
  declare function useCollections(options?: UseCollectionsOptions): swr.SWRResponse<CollectionsConnection, any, SWRConfiguration<CollectionsConnection, any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<CollectionsConnection>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<CollectionsConnection>)> | undefined>;
1270
1273
 
1271
1274
  interface UseBlogOptions extends SWRConfiguration<NormalizedBlog | undefined> {
1272
1275
  handle?: string;
1273
- metafieldIdentifiers?: Array<{
1274
- namespace: string;
1275
- key: string;
1276
- }>;
1276
+ metafieldIdentifiers?: {
1277
+ blog?: MetafieldIdentifier[];
1278
+ article?: MetafieldIdentifier[];
1279
+ };
1277
1280
  }
1278
1281
  declare function useBlog(options?: UseBlogOptions): swr.SWRResponse<NormalizedBlog | undefined, any, SWRConfiguration<NormalizedBlog | undefined, any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedBlog | undefined>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedBlog | undefined>)> | undefined>;
1279
1282
 
1280
1283
  interface UseAllBlogsOptions extends SWRConfiguration<NormalizedBlog[]> {
1281
1284
  first?: number;
1282
1285
  query?: string;
1283
- metafieldIdentifiers?: Array<{
1284
- namespace: string;
1285
- key: string;
1286
- }>;
1286
+ metafieldIdentifiers?: {
1287
+ blog?: MetafieldIdentifier[];
1288
+ article?: MetafieldIdentifier[];
1289
+ };
1287
1290
  }
1288
1291
  declare function useAllBlogs(options?: UseAllBlogsOptions): swr.SWRResponse<NormalizedBlog[], any, SWRConfiguration<NormalizedBlog[], any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedBlog[]>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedBlog[]>)> | undefined>;
1289
1292
 
1290
1293
  interface UseArticleOptions extends SWRConfiguration<NormalizedArticle | undefined> {
1291
1294
  blogHandle?: string;
1292
1295
  articleHandle?: string;
1293
- metafieldIdentifiers?: Array<{
1294
- namespace: string;
1295
- key: string;
1296
- }>;
1296
+ metafieldIdentifiers?: {
1297
+ blog?: MetafieldIdentifier[];
1298
+ article?: MetafieldIdentifier[];
1299
+ };
1297
1300
  }
1298
1301
  declare function useArticle(options?: UseArticleOptions): swr.SWRResponse<NormalizedArticle | undefined, any, SWRConfiguration<NormalizedArticle | undefined, any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedArticle | undefined>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedArticle | undefined>)> | undefined>;
1299
1302
 
@@ -1302,10 +1305,10 @@ interface UseArticlesOptions extends SWRConfiguration<NormalizedArticle[]> {
1302
1305
  query?: string;
1303
1306
  sortKey?: 'PUBLISHED_AT' | 'UPDATED_AT' | 'TITLE' | 'ID' | 'RELEVANCE';
1304
1307
  reverse?: boolean;
1305
- metafieldIdentifiers?: Array<{
1306
- namespace: string;
1307
- key: string;
1308
- }>;
1308
+ metafieldIdentifiers?: {
1309
+ blog?: MetafieldIdentifier[];
1310
+ article?: MetafieldIdentifier[];
1311
+ };
1309
1312
  }
1310
1313
  declare function useArticles(options?: UseArticlesOptions): swr.SWRResponse<NormalizedArticle[], any, SWRConfiguration<NormalizedArticle[], any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedArticle[]>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedArticle[]>)> | undefined>;
1311
1314
 
@@ -1314,10 +1317,10 @@ interface UseArticlesInBlogOptions extends SWRConfiguration<NormalizedArticle[]>
1314
1317
  first?: number;
1315
1318
  sortKey?: 'PUBLISHED_AT' | 'UPDATED_AT' | 'TITLE' | 'ID' | 'RELEVANCE';
1316
1319
  reverse?: boolean;
1317
- metafieldIdentifiers?: Array<{
1318
- namespace: string;
1319
- key: string;
1320
- }>;
1320
+ metafieldIdentifiers?: {
1321
+ blog?: MetafieldIdentifier[];
1322
+ article?: MetafieldIdentifier[];
1323
+ };
1321
1324
  }
1322
1325
  declare function useArticlesInBlog(options?: UseArticlesInBlogOptions): swr.SWRResponse<NormalizedArticle[], any, SWRConfiguration<NormalizedArticle[], any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedArticle[]>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedArticle[]>)> | undefined>;
1323
1326
 
@@ -1352,10 +1355,9 @@ declare function useSearch(options?: UseSearchOptions): swr.SWRResponse<SearchRe
1352
1355
 
1353
1356
  type SiteInfo = NormalizedShop;
1354
1357
  interface UseSiteOptions extends SWRConfiguration<SiteInfo | undefined> {
1355
- metafieldIdentifiers?: Array<{
1356
- namespace: string;
1357
- key: string;
1358
- }>;
1358
+ metafieldIdentifiers?: {
1359
+ shop?: MetafieldIdentifier[];
1360
+ };
1359
1361
  }
1360
1362
  declare function useSite(options?: UseSiteOptions): swr.SWRResponse<NormalizedShop | undefined, any, SWRConfiguration<NormalizedShop | undefined, any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedShop | undefined>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedShop | undefined>)> | undefined>;
1361
1363
 
@@ -1,7 +1,7 @@
1
1
  import * as swr_mutation from 'swr/mutation';
2
2
  import { SWRMutationConfiguration } from 'swr/mutation';
3
3
  import * as _anker_in_shopify_sdk from '@anker-in/shopify-sdk';
4
- import { CartLineInput, BuyerIdentityInput, NormalizedCart, NormalizedProduct, NormalizedProductVariant, NormalizedLineItem, UpdateCartLinesOptions, HasMetafieldsIdentifier, Media, NormalizedCollection, CollectionsConnection, NormalizedBlog, NormalizedArticle, NormalizedShop, NormalizedAttribute } from '@anker-in/shopify-sdk';
4
+ import { CartLineInput, BuyerIdentityInput, NormalizedCart, NormalizedProduct, NormalizedProductVariant, NormalizedLineItem, UpdateCartLinesOptions, HasMetafieldsIdentifier, MetafieldIdentifier, Media, NormalizedCollection, CollectionsConnection, NormalizedBlog, NormalizedArticle, NormalizedShop, NormalizedAttribute } from '@anker-in/shopify-sdk';
5
5
  import { h as UseAddToCartOptions, g as AddToCartInput, A as AddToCartLineItem, G as GtmParams, C as BuyNowTrackConfig, e as UseScriptAutoFreeGiftResult, m as PlusMemberShippingMethodConfig, n as PlusMemberSettingsMetafields, D as DeliveryPlusType, o as SelectedPlusMemberVariant } from '../types-C0UyuPrG.js';
6
6
  export { p as DeliveryCustomData, P as PLUS_MEMBER_TYPE, j as PlusMemberMode, l as PlusMemberShippingMethodMetafields, S as ScriptAutoFreeGiftConfig, k as ShippingMethodMode, U as UseAutoRemoveFreeGiftsOptions, a as UseAutoRemoveFreeGiftsResult, d as isAnyGift, c as isBuyGetGift, i as isFunctionGift, b as isScriptGift, u as useAutoRemoveFreeGifts, f as useScriptAutoFreeGift } from '../types-C0UyuPrG.js';
7
7
  import * as swr from 'swr';
@@ -841,10 +841,10 @@ declare const formatFunctionAutoFreeGift: ({ qualifyingGift, giftProductsResult,
841
841
 
842
842
  interface UseProductOptions extends SWRConfiguration<NormalizedProduct | undefined> {
843
843
  handle?: string;
844
- metafieldIdentifiers?: Array<{
845
- namespace: string;
846
- key: string;
847
- }>;
844
+ metafieldIdentifiers?: {
845
+ product?: MetafieldIdentifier[];
846
+ variant?: MetafieldIdentifier[];
847
+ };
848
848
  }
849
849
  /**
850
850
  * Hook to fetch a single product by handle
@@ -880,10 +880,10 @@ interface UseAllProductsOptions extends SWRConfiguration<NormalizedProduct[]> {
880
880
  query?: string;
881
881
  sortKey?: 'TITLE' | 'PRODUCT_TYPE' | 'VENDOR' | 'UPDATED_AT' | 'CREATED_AT' | 'BEST_SELLING' | 'PRICE' | 'RELEVANCE';
882
882
  reverse?: boolean;
883
- metafieldIdentifiers?: Array<{
884
- namespace: string;
885
- key: string;
886
- }>;
883
+ metafieldIdentifiers?: {
884
+ product?: MetafieldIdentifier[];
885
+ variant?: MetafieldIdentifier[];
886
+ };
887
887
  }
888
888
  /**
889
889
  * Hook to fetch all products
@@ -923,8 +923,8 @@ declare function useAllProducts(options?: UseAllProductsOptions): swr.SWRRespons
923
923
  interface UseProductsByHandlesOptions extends SWRConfiguration<(NormalizedProduct | undefined)[]> {
924
924
  handles?: string[];
925
925
  metafieldIdentifiers?: {
926
- product: HasMetafieldsIdentifier[];
927
- variant: HasMetafieldsIdentifier[];
926
+ product?: MetafieldIdentifier[];
927
+ variant?: MetafieldIdentifier[];
928
928
  };
929
929
  }
930
930
  /**
@@ -1236,10 +1236,11 @@ declare function useVariantMedia({ product, variant, }: {
1236
1236
 
1237
1237
  interface UseCollectionOptions extends SWRConfiguration<NormalizedCollection | undefined> {
1238
1238
  handle?: string;
1239
- metafieldIdentifiers?: Array<{
1240
- namespace: string;
1241
- key: string;
1242
- }>;
1239
+ metafieldIdentifiers?: {
1240
+ collection?: MetafieldIdentifier[];
1241
+ product?: MetafieldIdentifier[];
1242
+ variant?: MetafieldIdentifier[];
1243
+ };
1243
1244
  }
1244
1245
  declare function useCollection(options?: UseCollectionOptions): swr.SWRResponse<NormalizedCollection | undefined, any, SWRConfiguration<NormalizedCollection | undefined, any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedCollection | undefined>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedCollection | undefined>)> | undefined>;
1245
1246
 
@@ -1248,10 +1249,11 @@ interface UseAllCollectionsOptions extends SWRConfiguration<NormalizedCollection
1248
1249
  query?: string;
1249
1250
  sortKey?: 'TITLE' | 'UPDATED_AT' | 'ID' | 'RELEVANCE';
1250
1251
  reverse?: boolean;
1251
- metafieldIdentifiers?: Array<{
1252
- namespace: string;
1253
- key: string;
1254
- }>;
1252
+ metafieldIdentifiers?: {
1253
+ collection?: MetafieldIdentifier[];
1254
+ product?: MetafieldIdentifier[];
1255
+ variant?: MetafieldIdentifier[];
1256
+ };
1255
1257
  }
1256
1258
  declare function useAllCollections(options?: UseAllCollectionsOptions): swr.SWRResponse<NormalizedCollection[], any, SWRConfiguration<NormalizedCollection[], any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedCollection[]>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedCollection[]>)> | undefined>;
1257
1259
 
@@ -1261,39 +1263,40 @@ interface UseCollectionsOptions extends SWRConfiguration<CollectionsConnection>
1261
1263
  query?: string;
1262
1264
  sortKey?: 'TITLE' | 'UPDATED_AT' | 'ID' | 'RELEVANCE';
1263
1265
  reverse?: boolean;
1264
- metafieldIdentifiers?: Array<{
1265
- namespace: string;
1266
- key: string;
1267
- }>;
1266
+ metafieldIdentifiers?: {
1267
+ product: MetafieldIdentifier[];
1268
+ variant: MetafieldIdentifier[];
1269
+ collection: MetafieldIdentifier[];
1270
+ };
1268
1271
  }
1269
1272
  declare function useCollections(options?: UseCollectionsOptions): swr.SWRResponse<CollectionsConnection, any, SWRConfiguration<CollectionsConnection, any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<CollectionsConnection>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<CollectionsConnection>)> | undefined>;
1270
1273
 
1271
1274
  interface UseBlogOptions extends SWRConfiguration<NormalizedBlog | undefined> {
1272
1275
  handle?: string;
1273
- metafieldIdentifiers?: Array<{
1274
- namespace: string;
1275
- key: string;
1276
- }>;
1276
+ metafieldIdentifiers?: {
1277
+ blog?: MetafieldIdentifier[];
1278
+ article?: MetafieldIdentifier[];
1279
+ };
1277
1280
  }
1278
1281
  declare function useBlog(options?: UseBlogOptions): swr.SWRResponse<NormalizedBlog | undefined, any, SWRConfiguration<NormalizedBlog | undefined, any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedBlog | undefined>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedBlog | undefined>)> | undefined>;
1279
1282
 
1280
1283
  interface UseAllBlogsOptions extends SWRConfiguration<NormalizedBlog[]> {
1281
1284
  first?: number;
1282
1285
  query?: string;
1283
- metafieldIdentifiers?: Array<{
1284
- namespace: string;
1285
- key: string;
1286
- }>;
1286
+ metafieldIdentifiers?: {
1287
+ blog?: MetafieldIdentifier[];
1288
+ article?: MetafieldIdentifier[];
1289
+ };
1287
1290
  }
1288
1291
  declare function useAllBlogs(options?: UseAllBlogsOptions): swr.SWRResponse<NormalizedBlog[], any, SWRConfiguration<NormalizedBlog[], any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedBlog[]>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedBlog[]>)> | undefined>;
1289
1292
 
1290
1293
  interface UseArticleOptions extends SWRConfiguration<NormalizedArticle | undefined> {
1291
1294
  blogHandle?: string;
1292
1295
  articleHandle?: string;
1293
- metafieldIdentifiers?: Array<{
1294
- namespace: string;
1295
- key: string;
1296
- }>;
1296
+ metafieldIdentifiers?: {
1297
+ blog?: MetafieldIdentifier[];
1298
+ article?: MetafieldIdentifier[];
1299
+ };
1297
1300
  }
1298
1301
  declare function useArticle(options?: UseArticleOptions): swr.SWRResponse<NormalizedArticle | undefined, any, SWRConfiguration<NormalizedArticle | undefined, any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedArticle | undefined>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedArticle | undefined>)> | undefined>;
1299
1302
 
@@ -1302,10 +1305,10 @@ interface UseArticlesOptions extends SWRConfiguration<NormalizedArticle[]> {
1302
1305
  query?: string;
1303
1306
  sortKey?: 'PUBLISHED_AT' | 'UPDATED_AT' | 'TITLE' | 'ID' | 'RELEVANCE';
1304
1307
  reverse?: boolean;
1305
- metafieldIdentifiers?: Array<{
1306
- namespace: string;
1307
- key: string;
1308
- }>;
1308
+ metafieldIdentifiers?: {
1309
+ blog?: MetafieldIdentifier[];
1310
+ article?: MetafieldIdentifier[];
1311
+ };
1309
1312
  }
1310
1313
  declare function useArticles(options?: UseArticlesOptions): swr.SWRResponse<NormalizedArticle[], any, SWRConfiguration<NormalizedArticle[], any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedArticle[]>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedArticle[]>)> | undefined>;
1311
1314
 
@@ -1314,10 +1317,10 @@ interface UseArticlesInBlogOptions extends SWRConfiguration<NormalizedArticle[]>
1314
1317
  first?: number;
1315
1318
  sortKey?: 'PUBLISHED_AT' | 'UPDATED_AT' | 'TITLE' | 'ID' | 'RELEVANCE';
1316
1319
  reverse?: boolean;
1317
- metafieldIdentifiers?: Array<{
1318
- namespace: string;
1319
- key: string;
1320
- }>;
1320
+ metafieldIdentifiers?: {
1321
+ blog?: MetafieldIdentifier[];
1322
+ article?: MetafieldIdentifier[];
1323
+ };
1321
1324
  }
1322
1325
  declare function useArticlesInBlog(options?: UseArticlesInBlogOptions): swr.SWRResponse<NormalizedArticle[], any, SWRConfiguration<NormalizedArticle[], any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedArticle[]>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedArticle[]>)> | undefined>;
1323
1326
 
@@ -1352,10 +1355,9 @@ declare function useSearch(options?: UseSearchOptions): swr.SWRResponse<SearchRe
1352
1355
 
1353
1356
  type SiteInfo = NormalizedShop;
1354
1357
  interface UseSiteOptions extends SWRConfiguration<SiteInfo | undefined> {
1355
- metafieldIdentifiers?: Array<{
1356
- namespace: string;
1357
- key: string;
1358
- }>;
1358
+ metafieldIdentifiers?: {
1359
+ shop?: MetafieldIdentifier[];
1360
+ };
1359
1361
  }
1360
1362
  declare function useSite(options?: UseSiteOptions): swr.SWRResponse<NormalizedShop | undefined, any, SWRConfiguration<NormalizedShop | undefined, any, ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedShop | undefined>) | ((arg: readonly [any, ...unknown[]]) => swr__internal.FetcherResponse<NormalizedShop | undefined>)> | undefined>;
1361
1363