mirror of
https://github.com/vercel/commerce.git
synced 2025-07-01 02:41:22 +00:00
18 lines
282 B
TypeScript
18 lines
282 B
TypeScript
interface CollectionEdge {
|
|
entityId: string
|
|
name: string
|
|
path: string
|
|
}
|
|
|
|
interface GetAllCollections {
|
|
categories: CollectionEdge[]
|
|
}
|
|
|
|
const getAllCollections = async (): Promise<GetAllCollections> => {
|
|
return {
|
|
categories: [],
|
|
}
|
|
}
|
|
|
|
export default getAllCollections
|