Template API typing.
This commit is contained in:
parent
fdb328aaa1
commit
29d912e24e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue