diff options
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; +} |
