summaryrefslogtreecommitdiff
path: root/src/Actions/settings.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/Actions/settings.ts')
-rw-r--r--src/Actions/settings.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Actions/settings.ts b/src/Actions/settings.ts
new file mode 100644
index 0000000..8dfc3fc
--- /dev/null
+++ b/src/Actions/settings.ts
@@ -0,0 +1,11 @@
+const settings = {
+ 'setLevelFrom': (level: Number) => ({
+ type: 'setLevelFrom',
+ level
+ }),
+ 'setLevelTo': (level: Number) => ({
+ type: 'setLevelTo',
+ level
+ })
+}
+export default settings \ No newline at end of file