add: working JSON data insert
This commit is contained in:
@@ -123,29 +123,33 @@ export interface UserAuthOperations {
|
||||
*/
|
||||
export interface Paper {
|
||||
id: number;
|
||||
title: string;
|
||||
year: string;
|
||||
issue: string;
|
||||
goal: string;
|
||||
result: string;
|
||||
published?: boolean | null;
|
||||
title?: string | null;
|
||||
department?: ('WI' | 'CI' | 'MD') | null;
|
||||
year?: string | null;
|
||||
issue?: string | null;
|
||||
goal?: string | null;
|
||||
result?: string | null;
|
||||
technologies?:
|
||||
| {
|
||||
technology: number | Technology;
|
||||
description: string;
|
||||
description?: string | null;
|
||||
id?: string | null;
|
||||
}[]
|
||||
| null;
|
||||
prototype: {
|
||||
image: number | Media;
|
||||
description: string;
|
||||
prototype?: {
|
||||
image?: (number | null) | Media;
|
||||
description?: string | null;
|
||||
};
|
||||
authors: {
|
||||
profilePicture: number | Media;
|
||||
user: string | User;
|
||||
position: 'leader' | 'member';
|
||||
description: string;
|
||||
id?: string | null;
|
||||
}[];
|
||||
mentor?: string | null;
|
||||
authors?:
|
||||
| {
|
||||
name: string;
|
||||
position: 'leader' | 'member';
|
||||
description?: string | null;
|
||||
id?: string | null;
|
||||
}[]
|
||||
| null;
|
||||
updatedAt: string;
|
||||
createdAt: string;
|
||||
}
|
||||
@@ -356,7 +360,9 @@ export interface PayloadMigration {
|
||||
* via the `definition` "papers_select".
|
||||
*/
|
||||
export interface PapersSelect<T extends boolean = true> {
|
||||
published?: T;
|
||||
title?: T;
|
||||
department?: T;
|
||||
year?: T;
|
||||
issue?: T;
|
||||
goal?: T;
|
||||
@@ -374,11 +380,11 @@ export interface PapersSelect<T extends boolean = true> {
|
||||
image?: T;
|
||||
description?: T;
|
||||
};
|
||||
mentor?: T;
|
||||
authors?:
|
||||
| T
|
||||
| {
|
||||
profilePicture?: T;
|
||||
user?: T;
|
||||
name?: T;
|
||||
position?: T;
|
||||
description?: T;
|
||||
id?: T;
|
||||
|
||||
Reference in New Issue
Block a user