@overse/ui-extensions-utils
Version:
Utility functions for Shopify UI Extensions
17 lines • 1.11 kB
TypeScript
export { fetchApp } from './async/fetchApp';
export { fetchCustomerAccountApi } from './async/fetchCustomerAccountApi';
export { fetchStorefrontApi } from './async/fetchStorefrontApi';
export { useFetch } from './hooks/useFetch';
export { useFetchState } from './hooks/useFetchState';
export { CHECKOUT_EXTENSION_TARGET, CUSTOMER_ACCOUNT_EXTENSION_TARGET } from './constants/targets';
export { decodeGlobalID } from './string/decodeGlobalID';
export { encodeGlobalID } from './string/encodeGlobalID';
export { parseMetaobject } from './zod/parseMetaobject';
export { zodMetaobjectKeys } from './zod/zodMetaobjectKeys';
export type { SessionToken } from '@shopify/ui-extensions/customer-account';
export type { FetchCustomerAccountOptions, GraphQLResponse, RichGraphQLError } from './async/fetchCustomerAccountApi';
export type { StorefrontApiClient } from './async/fetchStorefrontApi';
export type { BaseFetchOptions, FetchFunction } from './hooks/useFetch';
export type { FetchState } from './hooks/useFetchState';
export type { ResourceName } from './string/encodeGlobalID';
//# sourceMappingURL=index.d.ts.map