✨ add apis
This commit is contained in:
16
src/types/image.d.ts
vendored
Normal file
16
src/types/image.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
export interface Image {
|
||||
id: number;
|
||||
file_name: string;
|
||||
url: string;
|
||||
width: number;
|
||||
height: number;
|
||||
created_at: string;
|
||||
thumbnail: string;
|
||||
}
|
||||
|
||||
export interface ImageRecord {
|
||||
date: string;
|
||||
list: Image[];
|
||||
}
|
||||
|
||||
export type ImageList = ImageRecord[];
|
Reference in New Issue
Block a user