fp/services/next/app/lib/toys.ts

20 lines
589 B
TypeScript

import { ITag, ITagResponse, ITagsResponse } from '@/app/lib/tags'
import { IMeta } from '@futureporn/types';
/** This endpoint doesn't exist at the moment, but definitely could in the future */
// export function getUrl(toy: IToy): string {
// return `${siteUrl}/toy/${toy.name}`
// }
// export function getToysForVtuber(vtuberId: number, page: number = 1, pageSize: number = 25): Promise<IToys> {
// const tvrs = await getTagVodRelationsForVtuber(vtuberId, page, pageNumber);
// return {
// data: tvrs.data.
// pagination: tvrs.pagination
// }
// }