Initial commit

This commit is contained in:
2025-01-16 00:24:42 +01:00
parent c804af2a92
commit a2a42437a5
58 changed files with 10919 additions and 0 deletions

26
gui/app/src/interfaces/index.d.ts vendored Normal file
View File

@@ -0,0 +1,26 @@
export interface ICategory {
id: number;
title: string;
}
export type IStatus = "published" | "draft" | "rejected";
export interface IPost {
id: number;
title: string;
content: string;
status: IStatus;
category: ICategory;
}
export type IType = "published" | "draft" | "rejected";
export interface IAccount {
id: number;
name: string;
type: IType;
}
export type Nullable<T> = {
[P in keyof T]: T[P] | null;
};