@readytomog/contracts 1.1.1 → 1.1.2
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.
- package/gen/auth.ts +2 -1
- package/package.json +1 -1
- package/proto/auth.proto +5 -4
package/gen/auth.ts
CHANGED
|
@@ -17,13 +17,14 @@ export interface LoginRequest {
|
|
|
17
17
|
|
|
18
18
|
export interface LoginResponse {
|
|
19
19
|
accessToken: string;
|
|
20
|
+
refreshToken: string;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
export interface RegistrationRequest {
|
|
23
|
-
id: string;
|
|
24
24
|
email: string;
|
|
25
25
|
name: string;
|
|
26
26
|
surname: string;
|
|
27
|
+
password: string;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
export interface RegistrationResponse {
|
package/package.json
CHANGED
package/proto/auth.proto
CHANGED
|
@@ -17,13 +17,14 @@ message LoginRequest {
|
|
|
17
17
|
|
|
18
18
|
message LoginResponse {
|
|
19
19
|
string accessToken = 1;
|
|
20
|
+
string refreshToken = 2;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
message RegistrationRequest {
|
|
23
|
-
string
|
|
24
|
-
string
|
|
25
|
-
string
|
|
26
|
-
string
|
|
24
|
+
string email = 1;
|
|
25
|
+
string name = 2;
|
|
26
|
+
string surname = 3;
|
|
27
|
+
string password = 4;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
message RegistrationResponse {
|