From 37e59bb8a52ab693548642701c5a84f8938448c7 Mon Sep 17 00:00:00 2001 From: James Collins Date: Fri, 24 Feb 2023 14:23:18 +1000 Subject: [PATCH] updated types --- resources/js/helpers/api.types.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/js/helpers/api.types.ts b/resources/js/helpers/api.types.ts index a72d3e8..12c74c4 100644 --- a/resources/js/helpers/api.types.ts +++ b/resources/js/helpers/api.types.ts @@ -12,7 +12,16 @@ export interface EventCollection { } export interface Media { + id: string; + user_id: string; + title: string; + name: string; + mime: string; + permission: Array; + size: number; url: string; + created_at: string; + updated_at: string; } export interface MediaResponse { @@ -32,6 +41,7 @@ export interface Post { content: string; publish_at: string; hero: string; + attachments: Array; } export interface PostResponse {