Started to work on media upload and organization
This commit is contained in:
6
frontend/interfaces/IPaginatedResponse.ts
Normal file
6
frontend/interfaces/IPaginatedResponse.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export default interface IPaginatedResponse<T> {
|
||||
page: number;
|
||||
limit: number;
|
||||
totalPages: number;
|
||||
items: T[];
|
||||
}
|
||||
8
frontend/interfaces/Media.ts
Normal file
8
frontend/interfaces/Media.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export default interface Media {
|
||||
id: string;
|
||||
url: string;
|
||||
path: string;
|
||||
alt: string;
|
||||
size: number;
|
||||
type: string;
|
||||
}
|
||||
Reference in New Issue
Block a user