From d2cd24be44e07ae143a297977e38393da12484e0 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Sun, 2 Jul 2023 20:46:44 -0400 Subject: [PATCH] fix(striker-ui-api): add string boolean type --- striker-ui-api/src/types/ApiHost.d.ts | 1 + striker-ui-api/src/types/StringBoolean.d.ts | 1 + 2 files changed, 2 insertions(+) create mode 100644 striker-ui-api/src/types/StringBoolean.d.ts diff --git a/striker-ui-api/src/types/ApiHost.d.ts b/striker-ui-api/src/types/ApiHost.d.ts index 9b35e8af..8b2681a2 100644 --- a/striker-ui-api/src/types/ApiHost.d.ts +++ b/striker-ui-api/src/types/ApiHost.d.ts @@ -48,6 +48,7 @@ type HostOverview = { }; type InitializeStrikerNetworkForm = { + createBridge?: StringBoolean; interfaces: Array; ipAddress: string; name: string; diff --git a/striker-ui-api/src/types/StringBoolean.d.ts b/striker-ui-api/src/types/StringBoolean.d.ts new file mode 100644 index 00000000..30abef23 --- /dev/null +++ b/striker-ui-api/src/types/StringBoolean.d.ts @@ -0,0 +1 @@ +type StringBoolean = '0' | '1';