mirror of
https://github.com/vercel/commerce.git
synced 2025-07-28 20:51:23 +00:00
Divide fetcher with rest and graphql
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
export type Page = any
|
||||
export type GetPageResult = { page?: Page }
|
||||
|
||||
export type PageVariables = {
|
||||
id: number
|
||||
}
|
||||
|
||||
export default function getPageOperation() {
|
||||
function getPage(): Promise<GetPageResult> {
|
||||
return Promise.resolve({})
|
||||
}
|
||||
return getPage
|
||||
}
|
Reference in New Issue
Block a user