@noildm/contracts 1.0.13 → 1.0.14
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/dist/gen/user.d.ts +1 -1
- package/gen/user.ts +1 -1
- package/package.json +1 -1
- package/proto/user.proto +5 -4
package/dist/gen/user.d.ts
CHANGED
|
@@ -9,10 +9,10 @@ export interface User {
|
|
|
9
9
|
updatedAt: number;
|
|
10
10
|
}
|
|
11
11
|
export interface CreateUserRequest {
|
|
12
|
+
email: string;
|
|
12
13
|
userName: string;
|
|
13
14
|
telegramId?: string | undefined;
|
|
14
15
|
userImage?: string | undefined;
|
|
15
|
-
email: string;
|
|
16
16
|
}
|
|
17
17
|
export interface GetUserByIdRequest {
|
|
18
18
|
id: string;
|
package/gen/user.ts
CHANGED
package/package.json
CHANGED
package/proto/user.proto
CHANGED
|
@@ -21,10 +21,11 @@ message User {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
message CreateUserRequest {
|
|
24
|
-
string
|
|
25
|
-
|
|
26
|
-
optional string
|
|
27
|
-
string
|
|
24
|
+
string email= 1;
|
|
25
|
+
string user_name = 2;
|
|
26
|
+
optional string telegram_id = 3;
|
|
27
|
+
optional string user_image = 4;
|
|
28
|
+
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
message GetUserByIdRequest {
|