Add AppInfo type

pull/2720/head
Rob Pilling 2023-04-29 10:29:51 +01:00
parent dea770cb91
commit df50a4dd7b
1 changed files with 12 additions and 0 deletions

12
typescript/types/info.d.ts vendored Normal file
View File

@ -0,0 +1,12 @@
type AppInfo = {
src: string,
img: string,
icon: string,
name: string,
type: AppType,
sortorder?: number,
};
type AppType = "app" | "clock" | "widget" | "module" | "bootloader" |
"settings" | "clkinfo" | "RAM" | "launch" | "textinput" | "scheduler" |
"notify" | "locale";