From 3ed6fd79ac8dd3a496ef1d8602494fb43c8858da Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 29 Aug 2020 11:24:33 +0200 Subject: [PATCH] Seperate authtypes to own file --- src/types/auth.types.ts | 5 +++++ src/types/index.ts | 2 ++ src/types/types.ts | 6 ------ 3 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 src/types/auth.types.ts diff --git a/src/types/auth.types.ts b/src/types/auth.types.ts new file mode 100644 index 00000000..36c0a58b --- /dev/null +++ b/src/types/auth.types.ts @@ -0,0 +1,5 @@ +export interface AuthPayload { + url: string; + username: string; + password: string; +} diff --git a/src/types/index.ts b/src/types/index.ts index fcb073fe..a49f36ea 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -1 +1,3 @@ +export * from './auth.types'; + export * from './types'; diff --git a/src/types/types.ts b/src/types/types.ts index d10c5a75..d302fc86 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -1,9 +1,3 @@ -export interface AuthPayload { - url: string; - username: string; - password: string; -} - export interface BlacklistPayload { blacklist: Array; }