mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-11-04 08:10:28 +09:00
/api/category/[id], /api/category/create Endpoint 구현
This commit is contained in:
1 parent
f66421a5dc
commit
2993593770
10 files changed
+141
-7
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user