Move away from browser as a main plataform
This commit is contained in:
@@ -43,9 +43,8 @@ export type WindowMessage =
|
||||
| { type: "focus"; focused: boolean }
|
||||
// whether the window can be seen
|
||||
| { type: "shown"; shown: boolean }
|
||||
// answers, by the id they were asked with
|
||||
// the answer to read_clipboard, by the id it was asked with
|
||||
| { type: "clipboard"; id: number; text: string }
|
||||
| { type: "answer"; id: number; yes: boolean }
|
||||
// sources that played to their end, see web_audio.ts
|
||||
| { type: "audio_ended"; sources: number[] };
|
||||
|
||||
@@ -55,8 +54,6 @@ export type ClientMessage =
|
||||
// start the client over at page, see Platform.restart
|
||||
| { type: "restart"; page: string }
|
||||
| { type: "fatal"; message: string }
|
||||
// a question with a yes and a no, answered with "answer"
|
||||
| { type: "ask"; id: number; title: string; text: string; yes: string; no: string }
|
||||
| { type: "read_clipboard"; id: number }
|
||||
| { type: "write_clipboard"; text: string }
|
||||
| { type: "store"; key: string; value: string }
|
||||
|
||||
Reference in New Issue
Block a user