This commit is contained in:
Janis
2023-01-29 17:33:37 +01:00
parent 92ec33fea4
commit 0491b673aa
18 changed files with 600 additions and 156 deletions

View File

@@ -19,3 +19,22 @@ export interface UpdateArticle {
contentTable?: Prisma.JsonArray
imageId?: number;
}
export interface CreateCategory {
title: string;
svg: {
path: string;
viewbox: string;
}
color: string;
}
export interface UpdateCategory {
id: string;
title?: string;
svg?: {
path?: string;
viewbox?: string;
}
color?: string;
}