@hedia/types 2.1.52-alpha.3 → 2.1.53-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { StatusCode } from "../../enums";
|
|
2
1
|
export declare namespace AuthService {
|
|
3
2
|
namespace Types {
|
|
4
3
|
interface IAuthRequest {
|
|
@@ -9,10 +8,8 @@ export declare namespace AuthService {
|
|
|
9
8
|
password: string;
|
|
10
9
|
}
|
|
11
10
|
interface ILoginResponse {
|
|
12
|
-
id: number;
|
|
13
11
|
token: string;
|
|
14
|
-
|
|
15
|
-
message: string;
|
|
12
|
+
message?: string;
|
|
16
13
|
}
|
|
17
14
|
type IRegisterRequest = ILoginRequest;
|
|
18
15
|
type IRegisterResponse = ILoginResponse;
|
package/package.json
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { StatusCode } from "../../enums";
|
|
2
|
-
|
|
3
1
|
export namespace AuthService {
|
|
4
2
|
export namespace Types {
|
|
5
3
|
export interface IAuthRequest {
|
|
@@ -12,10 +10,8 @@ export namespace AuthService {
|
|
|
12
10
|
}
|
|
13
11
|
|
|
14
12
|
export interface ILoginResponse {
|
|
15
|
-
id: number;
|
|
16
13
|
token: string;
|
|
17
|
-
|
|
18
|
-
message: string;
|
|
14
|
+
message?: string;
|
|
19
15
|
}
|
|
20
16
|
|
|
21
17
|
export type IRegisterRequest = ILoginRequest;
|