aboutsummaryrefslogtreecommitdiff
path: root/client-web/source/sw/protocol.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client-web/source/sw/protocol.ts')
-rw-r--r--client-web/source/sw/protocol.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/client-web/source/sw/protocol.ts b/client-web/source/sw/protocol.ts
new file mode 100644
index 0000000..7cca220
--- /dev/null
+++ b/client-web/source/sw/protocol.ts
@@ -0,0 +1,9 @@
+
+export interface SWMessage {
+ download?: { path: string, size: number }
+ check_version?: boolean,
+ update?: boolean,
+
+ version_info?: { installed_version: string, available_version: string }
+ updated?: boolean
+}