This commit is contained in:
Janis
2023-01-29 20:56:59 +01:00
parent 0997e8fdb8
commit d3e5295832
120 changed files with 0 additions and 26885 deletions

View File

@@ -1,40 +0,0 @@
import { IContentTableEntry } from "./contentTable";
import { Prisma } from '@prisma/client';
export interface CreateArticle {
title: string;
markdown: string;
introduction: string;
categoryId: number;
contentTable: Prisma.JsonArray
imageId?: number;
}
export interface UpdateArticle {
id: string;
title?: string;
markdown?: string;
introduction?: string;
categoryId?: number;
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;
}