From f99e3f770539383e0bc331b68361a3e1e3957ec9 Mon Sep 17 00:00:00 2001 From: Duncan Stuart Date: Fri, 26 Apr 2024 21:01:51 +0200 Subject: [PATCH] Add Knee slap and config typecheck --- src/data/config.typecheck.ts | 8 ++++++++ src/data/test.json | 4 ++++ 2 files changed, 12 insertions(+) create mode 100644 src/data/config.typecheck.ts diff --git a/src/data/config.typecheck.ts b/src/data/config.typecheck.ts new file mode 100644 index 0000000..5e0b723 --- /dev/null +++ b/src/data/config.typecheck.ts @@ -0,0 +1,8 @@ +import teamLindy from "./teamLindy.json"; +import numbers from "./numbers.json"; +import balboa from "./balboa.json"; +import test from "./test.json"; +import { Config } from "./config"; + +// Check that all config files have the expected type: +export const configs: Config[] = [teamLindy, numbers, balboa, test]; diff --git a/src/data/test.json b/src/data/test.json index f0f3a30..6a3871f 100644 --- a/src/data/test.json +++ b/src/data/test.json @@ -35,6 +35,10 @@ "word": "Eagle slide", "description": "[Solo dance step]" }, + { + "word": "Knee slap", + "description": "[Solo dance step]" + }, { "word": "Texas Tommy", "description": "[Partnered dance step] swingout where leader puts follower in an armlock and follower spins out of it."