2023-05-13 14:38:56 +00:00
|
|
|
/* tslint:disable */
|
|
|
|
/**
|
2023-07-28 15:02:19 +00:00
|
|
|
* This file was automatically generated by Payload CMS.
|
2023-05-13 14:38:56 +00:00
|
|
|
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
|
|
|
|
* and re-run `payload generate:types` to regenerate this file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
export interface Config {
|
|
|
|
collections: {
|
|
|
|
posts: Post;
|
|
|
|
users: User;
|
2023-05-15 14:52:29 +00:00
|
|
|
media: Media;
|
2023-05-13 14:38:56 +00:00
|
|
|
};
|
|
|
|
globals: {};
|
|
|
|
}
|
|
|
|
export interface Post {
|
|
|
|
id: string;
|
|
|
|
title?: string;
|
2023-05-19 12:35:46 +00:00
|
|
|
hallo?: string;
|
2023-05-13 14:38:56 +00:00
|
|
|
publishedDate?: string;
|
|
|
|
content?: {
|
|
|
|
[k: string]: unknown;
|
|
|
|
}[];
|
|
|
|
status?: 'draft' | 'published';
|
|
|
|
updatedAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
}
|
|
|
|
export interface User {
|
|
|
|
id: string;
|
|
|
|
name?: string;
|
|
|
|
updatedAt: string;
|
|
|
|
createdAt: string;
|
2023-07-28 15:02:19 +00:00
|
|
|
email?: string;
|
2023-05-13 14:38:56 +00:00
|
|
|
resetPasswordToken?: string;
|
|
|
|
resetPasswordExpiration?: string;
|
|
|
|
loginAttempts?: number;
|
|
|
|
lockUntil?: string;
|
|
|
|
password?: string;
|
|
|
|
}
|
2023-05-15 14:52:29 +00:00
|
|
|
export interface Media {
|
2023-05-13 14:38:56 +00:00
|
|
|
id: string;
|
2023-05-19 12:35:46 +00:00
|
|
|
alt?: string;
|
2023-05-15 14:52:29 +00:00
|
|
|
updatedAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
url?: string;
|
|
|
|
filename?: string;
|
|
|
|
mimeType?: string;
|
|
|
|
filesize?: number;
|
|
|
|
width?: number;
|
|
|
|
height?: number;
|
2023-05-13 14:38:56 +00:00
|
|
|
}
|