mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 05:31: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
|