mirror of
https://github.com/DerTyp7/explainegy-nextjs.git
synced 2025-10-29 21:02:13 +01:00
z
This commit is contained in:
19
types/api.ts
19
types/api.ts
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user