/api/category/[id], /api/category/create Endpoint 구현

This commit is contained in:
static committed 2025-01-21 14:35:34 +09:00
1 parent f66421a5dc
commit 2993593770
10 files changed
+141 -7

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import { IntegrityError } from "./error";
import db from "./kysely";
import type { Ciphertext } from "./schema";
type CategoryId = "root" | number;
export type CategoryId = "root" | number;
interface Category {
id: number;
+1 -1
View File
@@ -3,7 +3,7 @@ import { IntegrityError } from "./error";
import db from "./kysely";
import type { Ciphertext } from "./schema";
type DirectoryId = "root" | number;
export type DirectoryId = "root" | number;
interface Directory {
id: number;