사소한 리팩토링

This commit is contained in:
static committed 2026-01-11 14:35:30 +09:00
1 parent 57c27b76be
commit 2801eed556
22 files changed
+26 -37

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
import type { Generated } from "kysely";
import type { Ciphertext } from "./util";
import type { Ciphertext } from "./utils";
interface CategoryTable {
id: Generated<number>;
+1 -1
View File
@@ -1,5 +1,5 @@
import type { ColumnType, Generated } from "kysely";
import type { Ciphertext } from "./util";
import type { Ciphertext } from "./utils";
interface DirectoryTable {
id: Generated<number>;
+1 -1
View File
@@ -7,7 +7,7 @@ export * from "./mek";
export * from "./session";
export * from "./upload";
export * from "./user";
export * from "./util";
export * from "./utils";
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
export interface Database {}
+1 -1
View File
@@ -1,5 +1,5 @@
import type { Generated } from "kysely";
import type { Ciphertext } from "./util";
import type { Ciphertext } from "./utils";
interface UploadSessionTable {
id: Generated<string>;
File renamed without changes.
-3
View File
@@ -1,3 +0,0 @@
import { z } from "zod";
export const categoryIdSchema = z.union([z.literal("root"), z.int().positive()]);
-3
View File
@@ -1,3 +0,0 @@
import { z } from "zod";
export const directoryIdSchema = z.union([z.literal("root"), z.int().positive()]);
-7
View File
@@ -1,7 +0,0 @@
import { z } from "zod";
export const fileThumbnailUploadRequest = z.object({
dekVersion: z.iso.datetime(),
contentIv: z.base64().nonempty(),
});
export type FileThumbnailUploadRequest = z.input<typeof fileThumbnailUploadRequest>;
-3
View File
@@ -1,3 +0,0 @@
export * from "./category";
export * from "./directory";
export * from "./file";