| 1234567891011121314 |
- import * as collectionClient from "@/client/collection.client"
- export async function add(paperId: number, title: string): Promise<number> {
- return collectionClient.add(paperId, title)
- }
- export async function remove(id: number): Promise<boolean> {
- return collectionClient.remove(id)
- }
- export async function isCollected(paperId: number): Promise<number> {
- return collectionClient.isCollected(paperId)
- }
|