Template API typing.

This commit is contained in:
mike12345567 2024-12-04 14:32:27 +00:00
parent fdb328aaa1
commit 29d912e24e
1 changed files with 17 additions and 1 deletions

View File

@ -1,4 +1,20 @@
export interface FetchTemplateResponse {}
export enum TemplateType {
APP = "app",
}
export interface Template {
background: string
icon: string
category: string
description: string
name: string
url: string
type: TemplateType
key: string
image: string
}
export type FetchTemplateResponse = Template[]
export interface DownloadTemplateResponse {
message: string