mirror of
https://github.com/DerTyp7/explainegy-nextjs.git
synced 2025-10-29 21:02:13 +01:00
refactor
This commit is contained in:
@@ -5,9 +5,9 @@ export interface CreateArticle {
|
||||
title: string;
|
||||
markdown: string;
|
||||
introduction: string;
|
||||
categoryId: number;
|
||||
categoryId: string;
|
||||
contentTable: Prisma.JsonArray
|
||||
imageId?: number;
|
||||
imageUrl?: string;
|
||||
}
|
||||
|
||||
export interface UpdateArticle {
|
||||
@@ -15,9 +15,9 @@ export interface UpdateArticle {
|
||||
title?: string;
|
||||
markdown?: string;
|
||||
introduction?: string;
|
||||
categoryId?: number;
|
||||
categoryId?: string;
|
||||
contentTable?: Prisma.JsonArray
|
||||
imageId?: number;
|
||||
imageUrl?: string;
|
||||
}
|
||||
|
||||
export interface CreateCategory {
|
||||
|
||||
Reference in New Issue
Block a user