import type { Collection } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' const getCollections = (http: HttpClient) => ({ query: (): Promise> => { return http.get('v3/admin/collections') }, }) export default getCollections