🚧 Add CRUD endpoints and tables for labels

This commit is contained in:
Fred KISSIE
2026-05-05 20:53:16 +02:00
parent c8e7e0ee1e
commit 3253d60900
8 changed files with 531 additions and 16 deletions

View File

@@ -0,0 +1,10 @@
import type { Label } from "@server/db";
import type { PaginatedResponse } from "@server/types/Pagination";
export type ListOrgLabelsResponse = PaginatedResponse<{
labels: Omit<Label, "orgId">[];
}>;
export type CreateOrEditLabelResponse = {
label: Label;
};