Seperate authtypes to own file

This commit is contained in:
Matthias 2020-08-29 11:24:33 +02:00
parent 240dd06c0f
commit 3ed6fd79ac
3 changed files with 7 additions and 6 deletions

5
src/types/auth.types.ts Normal file
View File

@ -0,0 +1,5 @@
export interface AuthPayload {
url: string;
username: string;
password: string;
}

View File

@ -1 +1,3 @@
export * from './auth.types';
export * from './types';

View File

@ -1,9 +1,3 @@
export interface AuthPayload {
url: string;
username: string;
password: string;
}
export interface BlacklistPayload {
blacklist: Array<string>;
}