chore: perfect type definition (#1003)
This commit is contained in:
parent
16199e968e
commit
f9bec1edf8
35 changed files with 123 additions and 105 deletions
|
|
@ -8,13 +8,15 @@ export type AppBasicInfo = {
|
|||
icon_background: string
|
||||
}
|
||||
|
||||
export type AppCategory = 'Writing' | 'Translate' | 'HR' | 'Programming' | 'Assistant'
|
||||
|
||||
export type App = {
|
||||
app: AppBasicInfo
|
||||
app_id: string
|
||||
description: string
|
||||
copyright: string
|
||||
privacy_policy: string
|
||||
category: string
|
||||
category: AppCategory
|
||||
position: number
|
||||
is_listed: boolean
|
||||
install_count: number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue