updated types
This commit is contained in:
@@ -12,7 +12,16 @@ export interface EventCollection {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface Media {
|
export interface Media {
|
||||||
|
id: string;
|
||||||
|
user_id: string;
|
||||||
|
title: string;
|
||||||
|
name: string;
|
||||||
|
mime: string;
|
||||||
|
permission: Array<string>;
|
||||||
|
size: number;
|
||||||
url: string;
|
url: string;
|
||||||
|
created_at: string;
|
||||||
|
updated_at: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface MediaResponse {
|
export interface MediaResponse {
|
||||||
@@ -32,6 +41,7 @@ export interface Post {
|
|||||||
content: string;
|
content: string;
|
||||||
publish_at: string;
|
publish_at: string;
|
||||||
hero: string;
|
hero: string;
|
||||||
|
attachments: Array<Media>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PostResponse {
|
export interface PostResponse {
|
||||||
|
|||||||
Reference in New Issue
Block a user