mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Add files to providers
This commit is contained in:
1
framework/bigcommerce/api/endpoints/customer/address.ts
Normal file
1
framework/bigcommerce/api/endpoints/customer/address.ts
Normal file
@@ -0,0 +1 @@
|
||||
export default function noopApi(...args: any[]): void {}
|
1
framework/bigcommerce/api/endpoints/customer/card.ts
Normal file
1
framework/bigcommerce/api/endpoints/customer/card.ts
Normal file
@@ -0,0 +1 @@
|
||||
export default function noopApi(...args: any[]): void {}
|
12
framework/bigcommerce/checkout/use-checkout.tsx
Normal file
12
framework/bigcommerce/checkout/use-checkout.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { SWRHook } from '@commerce/utils/types'
|
||||
import useCheckout, { UseCheckout } from '@commerce/checkout/use-checkout'
|
||||
|
||||
export default useCheckout as UseCheckout<typeof handler>
|
||||
|
||||
export const handler: SWRHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ useData }) => async (input) => ({})
|
||||
}
|
12
framework/bigcommerce/customer/address/use-add-item.tsx
Normal file
12
framework/bigcommerce/customer/address/use-add-item.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import useAddItem, { UseAddItem } from '@commerce/customer/address/use-add-item'
|
||||
import { MutationHook } from '@commerce/utils/types'
|
||||
|
||||
export default useAddItem as UseAddItem<typeof handler>
|
||||
|
||||
export const handler: MutationHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ fetch }) => () => async () => ({})
|
||||
}
|
12
framework/bigcommerce/customer/card/use-add-item.tsx
Normal file
12
framework/bigcommerce/customer/card/use-add-item.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import useAddItem, { UseAddItem } from '@commerce/customer/card/use-add-item'
|
||||
import { MutationHook } from '@commerce/utils/types'
|
||||
|
||||
export default useAddItem as UseAddItem<typeof handler>
|
||||
|
||||
export const handler: MutationHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ fetch }) => () => async () => ({})
|
||||
}
|
1
framework/local/api/endpoints/customer/address.ts
Normal file
1
framework/local/api/endpoints/customer/address.ts
Normal file
@@ -0,0 +1 @@
|
||||
export default function noopApi(...args: any[]): void {}
|
1
framework/local/api/endpoints/customer/card.ts
Normal file
1
framework/local/api/endpoints/customer/card.ts
Normal file
@@ -0,0 +1 @@
|
||||
export default function noopApi(...args: any[]): void {}
|
12
framework/local/checkout/use-checkout.tsx
Normal file
12
framework/local/checkout/use-checkout.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { SWRHook } from '@commerce/utils/types'
|
||||
import useCheckout, { UseCheckout } from '@commerce/checkout/use-checkout'
|
||||
|
||||
export default useCheckout as UseCheckout<typeof handler>
|
||||
|
||||
export const handler: SWRHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ useData }) => async (input) => ({})
|
||||
}
|
12
framework/local/customer/address/use-add-item.tsx
Normal file
12
framework/local/customer/address/use-add-item.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import useAddItem, { UseAddItem } from '@commerce/customer/address/use-add-item'
|
||||
import { MutationHook } from '@commerce/utils/types'
|
||||
|
||||
export default useAddItem as UseAddItem<typeof handler>
|
||||
|
||||
export const handler: MutationHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ fetch }) => () => async () => ({})
|
||||
}
|
12
framework/local/customer/card/use-add-item.tsx
Normal file
12
framework/local/customer/card/use-add-item.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import useAddItem, { UseAddItem } from '@commerce/customer/card/use-add-item'
|
||||
import { MutationHook } from '@commerce/utils/types'
|
||||
|
||||
export default useAddItem as UseAddItem<typeof handler>
|
||||
|
||||
export const handler: MutationHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ fetch }) => () => async () => ({})
|
||||
}
|
@@ -1 +0,0 @@
|
||||
export default function (_commerce: any) {}
|
1
framework/saleor/api/endpoints/customer/address.ts
Normal file
1
framework/saleor/api/endpoints/customer/address.ts
Normal file
@@ -0,0 +1 @@
|
||||
export default function noopApi(...args: any[]): void {}
|
1
framework/saleor/api/endpoints/customer/card.ts
Normal file
1
framework/saleor/api/endpoints/customer/card.ts
Normal file
@@ -0,0 +1 @@
|
||||
export default function noopApi(...args: any[]): void {}
|
1
framework/saleor/api/endpoints/customer/index.ts
Normal file
1
framework/saleor/api/endpoints/customer/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export default function noopApi(...args: any[]): void {}
|
12
framework/saleor/checkout/use-checkout.tsx
Normal file
12
framework/saleor/checkout/use-checkout.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { SWRHook } from '@commerce/utils/types'
|
||||
import useCheckout, { UseCheckout } from '@commerce/checkout/use-checkout'
|
||||
|
||||
export default useCheckout as UseCheckout<typeof handler>
|
||||
|
||||
export const handler: SWRHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ useData }) => async (input) => ({})
|
||||
}
|
12
framework/saleor/customer/address/use-add-item.tsx
Normal file
12
framework/saleor/customer/address/use-add-item.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import useAddItem, { UseAddItem } from '@commerce/customer/address/use-add-item'
|
||||
import { MutationHook } from '@commerce/utils/types'
|
||||
|
||||
export default useAddItem as UseAddItem<typeof handler>
|
||||
|
||||
export const handler: MutationHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ fetch }) => () => async () => ({})
|
||||
}
|
12
framework/saleor/customer/card/use-add-item.tsx
Normal file
12
framework/saleor/customer/card/use-add-item.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import useAddItem, { UseAddItem } from '@commerce/customer/card/use-add-item'
|
||||
import { MutationHook } from '@commerce/utils/types'
|
||||
|
||||
export default useAddItem as UseAddItem<typeof handler>
|
||||
|
||||
export const handler: MutationHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ fetch }) => () => async () => ({})
|
||||
}
|
@@ -1 +0,0 @@
|
||||
export default function (_commerce: any) {}
|
1
framework/shopify/api/endpoints/customer/address.ts
Normal file
1
framework/shopify/api/endpoints/customer/address.ts
Normal file
@@ -0,0 +1 @@
|
||||
export default function noopApi(...args: any[]): void {}
|
1
framework/shopify/api/endpoints/customer/card.ts
Normal file
1
framework/shopify/api/endpoints/customer/card.ts
Normal file
@@ -0,0 +1 @@
|
||||
export default function noopApi(...args: any[]): void {}
|
1
framework/shopify/api/endpoints/customer/index.ts
Normal file
1
framework/shopify/api/endpoints/customer/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export default function noopApi(...args: any[]): void {}
|
12
framework/shopify/checkout/use-checkout.tsx
Normal file
12
framework/shopify/checkout/use-checkout.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { SWRHook } from '@commerce/utils/types'
|
||||
import useCheckout, { UseCheckout } from '@commerce/checkout/use-checkout'
|
||||
|
||||
export default useCheckout as UseCheckout<typeof handler>
|
||||
|
||||
export const handler: SWRHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ useData }) => async (input) => ({})
|
||||
}
|
12
framework/shopify/customer/address/use-add-item.tsx
Normal file
12
framework/shopify/customer/address/use-add-item.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import useAddItem, { UseAddItem } from '@commerce/customer/address/use-add-item'
|
||||
import { MutationHook } from '@commerce/utils/types'
|
||||
|
||||
export default useAddItem as UseAddItem<typeof handler>
|
||||
|
||||
export const handler: MutationHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ fetch }) => () => async () => ({})
|
||||
}
|
12
framework/shopify/customer/card/use-add-item.tsx
Normal file
12
framework/shopify/customer/card/use-add-item.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import useAddItem, { UseAddItem } from '@commerce/customer/card/use-add-item'
|
||||
import { MutationHook } from '@commerce/utils/types'
|
||||
|
||||
export default useAddItem as UseAddItem<typeof handler>
|
||||
|
||||
export const handler: MutationHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ fetch }) => () => async () => ({})
|
||||
}
|
@@ -1 +0,0 @@
|
||||
export default function (_commerce: any) {}
|
1
framework/swell/api/endpoints/customer/address.ts
Normal file
1
framework/swell/api/endpoints/customer/address.ts
Normal file
@@ -0,0 +1 @@
|
||||
export default function noopApi(...args: any[]): void {}
|
1
framework/swell/api/endpoints/customer/card.ts
Normal file
1
framework/swell/api/endpoints/customer/card.ts
Normal file
@@ -0,0 +1 @@
|
||||
export default function noopApi(...args: any[]): void {}
|
1
framework/swell/api/endpoints/customer/index.ts
Normal file
1
framework/swell/api/endpoints/customer/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export default function noopApi(...args: any[]): void {}
|
12
framework/swell/checkout/use-checkout.tsx
Normal file
12
framework/swell/checkout/use-checkout.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { SWRHook } from '@commerce/utils/types'
|
||||
import useCheckout, { UseCheckout } from '@commerce/checkout/use-checkout'
|
||||
|
||||
export default useCheckout as UseCheckout<typeof handler>
|
||||
|
||||
export const handler: SWRHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ useData }) => async (input) => ({})
|
||||
}
|
12
framework/swell/customer/address/use-add-item.tsx
Normal file
12
framework/swell/customer/address/use-add-item.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import useAddItem, { UseAddItem } from '@commerce/customer/address/use-add-item'
|
||||
import { MutationHook } from '@commerce/utils/types'
|
||||
|
||||
export default useAddItem as UseAddItem<typeof handler>
|
||||
|
||||
export const handler: MutationHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ fetch }) => () => async () => ({})
|
||||
}
|
12
framework/swell/customer/card/use-add-item.tsx
Normal file
12
framework/swell/customer/card/use-add-item.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import useAddItem, { UseAddItem } from '@commerce/customer/card/use-add-item'
|
||||
import { MutationHook } from '@commerce/utils/types'
|
||||
|
||||
export default useAddItem as UseAddItem<typeof handler>
|
||||
|
||||
export const handler: MutationHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ fetch }) => () => async () => ({})
|
||||
}
|
1
framework/vendure/api/endpoints/customer/address.ts
Normal file
1
framework/vendure/api/endpoints/customer/address.ts
Normal file
@@ -0,0 +1 @@
|
||||
export default function noopApi(...args: any[]): void {}
|
1
framework/vendure/api/endpoints/customer/card.ts
Normal file
1
framework/vendure/api/endpoints/customer/card.ts
Normal file
@@ -0,0 +1 @@
|
||||
export default function noopApi(...args: any[]): void {}
|
12
framework/vendure/checkout/use-checkout.tsx
Normal file
12
framework/vendure/checkout/use-checkout.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { SWRHook } from '@commerce/utils/types'
|
||||
import useCheckout, { UseCheckout } from '@commerce/checkout/use-checkout'
|
||||
|
||||
export default useCheckout as UseCheckout<typeof handler>
|
||||
|
||||
export const handler: SWRHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ useData }) => async (input) => ({})
|
||||
}
|
12
framework/vendure/customer/address/use-add-item.tsx
Normal file
12
framework/vendure/customer/address/use-add-item.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import useAddItem, { UseAddItem } from '@commerce/customer/address/use-add-item'
|
||||
import { MutationHook } from '@commerce/utils/types'
|
||||
|
||||
export default useAddItem as UseAddItem<typeof handler>
|
||||
|
||||
export const handler: MutationHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ fetch }) => () => async () => ({})
|
||||
}
|
12
framework/vendure/customer/card/use-add-item.tsx
Normal file
12
framework/vendure/customer/card/use-add-item.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import useAddItem, { UseAddItem } from '@commerce/customer/card/use-add-item'
|
||||
import { MutationHook } from '@commerce/utils/types'
|
||||
|
||||
export default useAddItem as UseAddItem<typeof handler>
|
||||
|
||||
export const handler: MutationHook<any> = {
|
||||
fetchOptions: {
|
||||
query: '',
|
||||
},
|
||||
async fetcher({ input, options, fetch }) {},
|
||||
useHook: ({ fetch }) => () => async () => ({})
|
||||
}
|
Reference in New Issue
Block a user