From b734a422a71aac040f7999caff87f7a08e2c8781 Mon Sep 17 00:00:00 2001 From: baldo Date: Thu, 28 Jul 2022 12:24:45 +0200 Subject: [PATCH] Make hostname typed in NodeFilter. --- server/services/nodeService.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/services/nodeService.ts b/server/services/nodeService.ts index 74adeaa..8807f8d 100644 --- a/server/services/nodeService.ts +++ b/server/services/nodeService.ts @@ -38,8 +38,7 @@ import util from "util"; const pglob = util.promisify(glob); type NodeFilter = { - // TODO: Newtype - hostname?: string, + hostname?: Hostname, mac?: MAC, key?: FastdKey, token?: Token,