diff options
| author | transtrike <transtrike@gmail.com> | 2021-02-12 19:04:53 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2021-02-12 19:04:53 +0200 |
| commit | bcd88af53b1a920d728ec98b45daa9ac2e2c0917 (patch) | |
| tree | fd27eef086822b0f02f74364cac0b940956d2458 /src/interfaces | |
| parent | 1d1f05e3f74d70a558b4847a9107afa7952131cf (diff) | |
| download | DevHive-Angular-bcd88af53b1a920d728ec98b45daa9ac2e2c0917.tar DevHive-Angular-bcd88af53b1a920d728ec98b45daa9ac2e2c0917.tar.gz DevHive-Angular-bcd88af53b1a920d728ec98b45daa9ac2e2c0917.zip | |
Moved from DevHive
Diffstat (limited to 'src/interfaces')
| -rw-r--r-- | src/interfaces/api-error.ts | 6 | ||||
| -rw-r--r-- | src/interfaces/jwt-payload.ts | 3 | ||||
| -rw-r--r-- | src/interfaces/user-credentials.ts | 6 |
3 files changed, 15 insertions, 0 deletions
diff --git a/src/interfaces/api-error.ts b/src/interfaces/api-error.ts new file mode 100644 index 0000000..4dd68f3 --- /dev/null +++ b/src/interfaces/api-error.ts @@ -0,0 +1,6 @@ +export interface IApiError { + type: string; + title: string; + status: number; + traceId: string; +} diff --git a/src/interfaces/jwt-payload.ts b/src/interfaces/jwt-payload.ts new file mode 100644 index 0000000..a2d0f0d --- /dev/null +++ b/src/interfaces/jwt-payload.ts @@ -0,0 +1,3 @@ +export interface IJWTPayload { + token: string; +} diff --git a/src/interfaces/user-credentials.ts b/src/interfaces/user-credentials.ts new file mode 100644 index 0000000..bb47540 --- /dev/null +++ b/src/interfaces/user-credentials.ts @@ -0,0 +1,6 @@ +import { Guid } from 'guid-typescript'; + +export interface IUserCredentials { + ID: Guid; + Username: string; +} |
