({ ids }: { ids: TagId[] })
| 100 | }, |
| 101 | |
| 102 | async removeMany({ ids }: { ids: TagId[] }) { |
| 103 | const userId = await getAuthedUserId() |
| 104 | return await db.delete(userTags).where(and(eq(userTags.userId, userId), inArray(userTags.id, ids))).returning() |
| 105 | }, |
| 106 | |
| 107 | /** 获取所有标签的名称 */ |
| 108 | async getAllNames() { |
nothing calls this directly
no test coverage detected