@vsniksnet/contracts 1.2.7 → 1.2.8
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/users.ts +2 -15
- package/package.json +1 -1
- package/proto/users.proto +2 -13
package/gen/users.ts
CHANGED
|
@@ -10,19 +10,6 @@ import { Observable } from "rxjs";
|
|
|
10
10
|
|
|
11
11
|
export const protobufPackage = "users.v1";
|
|
12
12
|
|
|
13
|
-
export enum Gender {
|
|
14
|
-
MALE = 0,
|
|
15
|
-
FAMALE = 1,
|
|
16
|
-
UNRECOGNIZED = -1,
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export enum Status {
|
|
20
|
-
SINGLE = 0,
|
|
21
|
-
RELATIONS = 1,
|
|
22
|
-
MARRIED = 2,
|
|
23
|
-
UNRECOGNIZED = -1,
|
|
24
|
-
}
|
|
25
|
-
|
|
26
13
|
export interface CreateUserRequest {
|
|
27
14
|
id: string;
|
|
28
15
|
email: string;
|
|
@@ -68,8 +55,8 @@ export interface UpdateUserRequest {
|
|
|
68
55
|
avatar?: string | undefined;
|
|
69
56
|
cover?: string | undefined;
|
|
70
57
|
bio?: string | undefined;
|
|
71
|
-
gender?:
|
|
72
|
-
status?:
|
|
58
|
+
gender?: string | undefined;
|
|
59
|
+
status?: string | undefined;
|
|
73
60
|
country?: string | undefined;
|
|
74
61
|
birdhDay?: string | undefined;
|
|
75
62
|
}
|
package/package.json
CHANGED
package/proto/users.proto
CHANGED
|
@@ -61,8 +61,8 @@ message UpdateUserRequest {
|
|
|
61
61
|
optional string avatar = 3;
|
|
62
62
|
optional string cover = 4;
|
|
63
63
|
optional string bio = 5;
|
|
64
|
-
optional
|
|
65
|
-
optional
|
|
64
|
+
optional string gender = 6;
|
|
65
|
+
optional string status = 7;
|
|
66
66
|
optional string country = 8;
|
|
67
67
|
optional string birdh_day = 9;
|
|
68
68
|
}
|
|
@@ -89,14 +89,3 @@ message Profile {
|
|
|
89
89
|
string country = 8;
|
|
90
90
|
string birdh_day = 9;
|
|
91
91
|
}
|
|
92
|
-
|
|
93
|
-
enum Gender {
|
|
94
|
-
MALE = 0;
|
|
95
|
-
FAMALE = 1;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
enum Status {
|
|
99
|
-
SINGLE = 0;
|
|
100
|
-
RELATIONS = 1;
|
|
101
|
-
MARRIED = 2;
|
|
102
|
-
}
|