@i4you/proto-files 1.0.4 → 1.0.5-beta.1
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/discovery/v1/discovery.d.ts +89 -0
- package/dist/discovery/v1/discovery.d.ts.map +1 -0
- package/dist/discovery/v1/discovery.js +420 -0
- package/dist/{generated/user → user}/v2/user.d.ts +86 -11
- package/dist/user/v2/user.d.ts.map +1 -0
- package/dist/user/v2/user.js +1730 -0
- package/package.json +13 -19
- package/buf.gen.yaml +0 -9
- package/buf.yaml +0 -8
- package/dist/generated/user/v2/user.d.ts.map +0 -1
- package/dist/generated/user/v2/user.js +0 -726
- package/dist/src/client/userClient.d.ts +0 -3
- package/dist/src/client/userClient.d.ts.map +0 -1
- package/dist/src/client/userClient.js +0 -9
- package/dist/src/server/userServer.d.ts +0 -5
- package/dist/src/server/userServer.d.ts.map +0 -1
- package/dist/src/server/userServer.js +0 -7
- package/generated/user/v2/user.ts +0 -960
- package/src/client/userClient.ts +0 -6
- package/src/proto/user/v1/user.proto +0 -21
- package/src/proto/user/v2/user.proto +0 -63
@@ -0,0 +1,89 @@
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
2
|
+
import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
3
|
+
export declare const protobufPackage = "discovery.v1";
|
4
|
+
export interface GetUserRequest {
|
5
|
+
id: Buffer;
|
6
|
+
}
|
7
|
+
export interface GetUserResponse {
|
8
|
+
id: Buffer;
|
9
|
+
name: string;
|
10
|
+
email: string;
|
11
|
+
phone: string;
|
12
|
+
address: string;
|
13
|
+
createdAt: string;
|
14
|
+
updatedAt: string;
|
15
|
+
}
|
16
|
+
export interface Match {
|
17
|
+
userId: string;
|
18
|
+
matchedUserId: string;
|
19
|
+
matchedAt: string;
|
20
|
+
}
|
21
|
+
export interface GetMatchesRequest {
|
22
|
+
id: string;
|
23
|
+
}
|
24
|
+
export interface GetMatchesResponse {
|
25
|
+
matches: Match[];
|
26
|
+
}
|
27
|
+
export declare const GetUserRequest: MessageFns<GetUserRequest>;
|
28
|
+
export declare const GetUserResponse: MessageFns<GetUserResponse>;
|
29
|
+
export declare const Match: MessageFns<Match>;
|
30
|
+
export declare const GetMatchesRequest: MessageFns<GetMatchesRequest>;
|
31
|
+
export declare const GetMatchesResponse: MessageFns<GetMatchesResponse>;
|
32
|
+
export type DiscoverServiceService = typeof DiscoverServiceService;
|
33
|
+
export declare const DiscoverServiceService: {
|
34
|
+
readonly getUser: {
|
35
|
+
readonly path: "/discovery.v1.DiscoverService/GetUser";
|
36
|
+
readonly requestStream: false;
|
37
|
+
readonly responseStream: false;
|
38
|
+
readonly requestSerialize: (value: GetUserRequest) => Buffer<ArrayBuffer>;
|
39
|
+
readonly requestDeserialize: (value: Buffer) => GetUserRequest;
|
40
|
+
readonly responseSerialize: (value: GetUserResponse) => Buffer<ArrayBuffer>;
|
41
|
+
readonly responseDeserialize: (value: Buffer) => GetUserResponse;
|
42
|
+
};
|
43
|
+
readonly getMatches: {
|
44
|
+
readonly path: "/discovery.v1.DiscoverService/GetMatches";
|
45
|
+
readonly requestStream: false;
|
46
|
+
readonly responseStream: false;
|
47
|
+
readonly requestSerialize: (value: GetMatchesRequest) => Buffer<ArrayBuffer>;
|
48
|
+
readonly requestDeserialize: (value: Buffer) => GetMatchesRequest;
|
49
|
+
readonly responseSerialize: (value: GetMatchesResponse) => Buffer<ArrayBuffer>;
|
50
|
+
readonly responseDeserialize: (value: Buffer) => GetMatchesResponse;
|
51
|
+
};
|
52
|
+
};
|
53
|
+
export interface DiscoverServiceServer extends UntypedServiceImplementation {
|
54
|
+
getUser: handleUnaryCall<GetUserRequest, GetUserResponse>;
|
55
|
+
getMatches: handleUnaryCall<GetMatchesRequest, GetMatchesResponse>;
|
56
|
+
}
|
57
|
+
export interface DiscoverServiceClient extends Client {
|
58
|
+
getUser(request: GetUserRequest, callback: (error: ServiceError | null, response: GetUserResponse) => void): ClientUnaryCall;
|
59
|
+
getUser(request: GetUserRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetUserResponse) => void): ClientUnaryCall;
|
60
|
+
getUser(request: GetUserRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetUserResponse) => void): ClientUnaryCall;
|
61
|
+
getMatches(request: GetMatchesRequest, callback: (error: ServiceError | null, response: GetMatchesResponse) => void): ClientUnaryCall;
|
62
|
+
getMatches(request: GetMatchesRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetMatchesResponse) => void): ClientUnaryCall;
|
63
|
+
getMatches(request: GetMatchesRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetMatchesResponse) => void): ClientUnaryCall;
|
64
|
+
}
|
65
|
+
export declare const DiscoverServiceClient: {
|
66
|
+
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): DiscoverServiceClient;
|
67
|
+
service: typeof DiscoverServiceService;
|
68
|
+
serviceName: string;
|
69
|
+
};
|
70
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
71
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
72
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
73
|
+
} : Partial<T>;
|
74
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
75
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
76
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
77
|
+
} & {
|
78
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
79
|
+
};
|
80
|
+
export interface MessageFns<T> {
|
81
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
82
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
83
|
+
fromJSON(object: any): T;
|
84
|
+
toJSON(message: T): unknown;
|
85
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
86
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
87
|
+
}
|
88
|
+
export {};
|
89
|
+
//# sourceMappingURL=discovery.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"discovery.d.ts","sourceRoot":"","sources":["../../../generated/discovery/v1/discovery.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EACL,KAAK,WAAW,EAChB,kBAAkB,EAClB,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,eAAe,EAEpB,QAAQ,EACR,KAAK,YAAY,EACjB,KAAK,4BAA4B,EAClC,MAAM,eAAe,CAAC;AAEvB,eAAO,MAAM,eAAe,iBAAiB,CAAC;AAE9C,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,KAAK,EAAE,CAAC;CAClB;AAMD,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,cAAc,CAoDrD,CAA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|
+
// protoc-gen-ts_proto v2.7.1
|
4
|
+
// protoc unknown
|
5
|
+
// source: discovery/v1/discovery.proto
|
6
|
+
/* eslint-disable */
|
7
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
8
|
+
import { makeGenericClientConstructor, } from "@grpc/grpc-js";
|
9
|
+
export const protobufPackage = "discovery.v1";
|
10
|
+
function createBaseGetUserRequest() {
|
11
|
+
return { id: Buffer.alloc(0) };
|
12
|
+
}
|
13
|
+
export const GetUserRequest = {
|
14
|
+
encode(message, writer = new BinaryWriter()) {
|
15
|
+
if (message.id.length !== 0) {
|
16
|
+
writer.uint32(10).bytes(message.id);
|
17
|
+
}
|
18
|
+
return writer;
|
19
|
+
},
|
20
|
+
decode(input, length) {
|
21
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
22
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
23
|
+
const message = createBaseGetUserRequest();
|
24
|
+
while (reader.pos < end) {
|
25
|
+
const tag = reader.uint32();
|
26
|
+
switch (tag >>> 3) {
|
27
|
+
case 1: {
|
28
|
+
if (tag !== 10) {
|
29
|
+
break;
|
30
|
+
}
|
31
|
+
message.id = Buffer.from(reader.bytes());
|
32
|
+
continue;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
if ((tag & 7) === 4 || tag === 0) {
|
36
|
+
break;
|
37
|
+
}
|
38
|
+
reader.skip(tag & 7);
|
39
|
+
}
|
40
|
+
return message;
|
41
|
+
},
|
42
|
+
fromJSON(object) {
|
43
|
+
return { id: isSet(object.id) ? Buffer.from(bytesFromBase64(object.id)) : Buffer.alloc(0) };
|
44
|
+
},
|
45
|
+
toJSON(message) {
|
46
|
+
const obj = {};
|
47
|
+
if (message.id.length !== 0) {
|
48
|
+
obj.id = base64FromBytes(message.id);
|
49
|
+
}
|
50
|
+
return obj;
|
51
|
+
},
|
52
|
+
create(base) {
|
53
|
+
return GetUserRequest.fromPartial(base ?? {});
|
54
|
+
},
|
55
|
+
fromPartial(object) {
|
56
|
+
const message = createBaseGetUserRequest();
|
57
|
+
message.id = object.id ?? Buffer.alloc(0);
|
58
|
+
return message;
|
59
|
+
},
|
60
|
+
};
|
61
|
+
function createBaseGetUserResponse() {
|
62
|
+
return { id: Buffer.alloc(0), name: "", email: "", phone: "", address: "", createdAt: "", updatedAt: "" };
|
63
|
+
}
|
64
|
+
export const GetUserResponse = {
|
65
|
+
encode(message, writer = new BinaryWriter()) {
|
66
|
+
if (message.id.length !== 0) {
|
67
|
+
writer.uint32(10).bytes(message.id);
|
68
|
+
}
|
69
|
+
if (message.name !== "") {
|
70
|
+
writer.uint32(18).string(message.name);
|
71
|
+
}
|
72
|
+
if (message.email !== "") {
|
73
|
+
writer.uint32(26).string(message.email);
|
74
|
+
}
|
75
|
+
if (message.phone !== "") {
|
76
|
+
writer.uint32(34).string(message.phone);
|
77
|
+
}
|
78
|
+
if (message.address !== "") {
|
79
|
+
writer.uint32(42).string(message.address);
|
80
|
+
}
|
81
|
+
if (message.createdAt !== "") {
|
82
|
+
writer.uint32(50).string(message.createdAt);
|
83
|
+
}
|
84
|
+
if (message.updatedAt !== "") {
|
85
|
+
writer.uint32(58).string(message.updatedAt);
|
86
|
+
}
|
87
|
+
return writer;
|
88
|
+
},
|
89
|
+
decode(input, length) {
|
90
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
91
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
92
|
+
const message = createBaseGetUserResponse();
|
93
|
+
while (reader.pos < end) {
|
94
|
+
const tag = reader.uint32();
|
95
|
+
switch (tag >>> 3) {
|
96
|
+
case 1: {
|
97
|
+
if (tag !== 10) {
|
98
|
+
break;
|
99
|
+
}
|
100
|
+
message.id = Buffer.from(reader.bytes());
|
101
|
+
continue;
|
102
|
+
}
|
103
|
+
case 2: {
|
104
|
+
if (tag !== 18) {
|
105
|
+
break;
|
106
|
+
}
|
107
|
+
message.name = reader.string();
|
108
|
+
continue;
|
109
|
+
}
|
110
|
+
case 3: {
|
111
|
+
if (tag !== 26) {
|
112
|
+
break;
|
113
|
+
}
|
114
|
+
message.email = reader.string();
|
115
|
+
continue;
|
116
|
+
}
|
117
|
+
case 4: {
|
118
|
+
if (tag !== 34) {
|
119
|
+
break;
|
120
|
+
}
|
121
|
+
message.phone = reader.string();
|
122
|
+
continue;
|
123
|
+
}
|
124
|
+
case 5: {
|
125
|
+
if (tag !== 42) {
|
126
|
+
break;
|
127
|
+
}
|
128
|
+
message.address = reader.string();
|
129
|
+
continue;
|
130
|
+
}
|
131
|
+
case 6: {
|
132
|
+
if (tag !== 50) {
|
133
|
+
break;
|
134
|
+
}
|
135
|
+
message.createdAt = reader.string();
|
136
|
+
continue;
|
137
|
+
}
|
138
|
+
case 7: {
|
139
|
+
if (tag !== 58) {
|
140
|
+
break;
|
141
|
+
}
|
142
|
+
message.updatedAt = reader.string();
|
143
|
+
continue;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
if ((tag & 7) === 4 || tag === 0) {
|
147
|
+
break;
|
148
|
+
}
|
149
|
+
reader.skip(tag & 7);
|
150
|
+
}
|
151
|
+
return message;
|
152
|
+
},
|
153
|
+
fromJSON(object) {
|
154
|
+
return {
|
155
|
+
id: isSet(object.id) ? Buffer.from(bytesFromBase64(object.id)) : Buffer.alloc(0),
|
156
|
+
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
157
|
+
email: isSet(object.email) ? globalThis.String(object.email) : "",
|
158
|
+
phone: isSet(object.phone) ? globalThis.String(object.phone) : "",
|
159
|
+
address: isSet(object.address) ? globalThis.String(object.address) : "",
|
160
|
+
createdAt: isSet(object.createdAt) ? globalThis.String(object.createdAt) : "",
|
161
|
+
updatedAt: isSet(object.updatedAt) ? globalThis.String(object.updatedAt) : "",
|
162
|
+
};
|
163
|
+
},
|
164
|
+
toJSON(message) {
|
165
|
+
const obj = {};
|
166
|
+
if (message.id.length !== 0) {
|
167
|
+
obj.id = base64FromBytes(message.id);
|
168
|
+
}
|
169
|
+
if (message.name !== "") {
|
170
|
+
obj.name = message.name;
|
171
|
+
}
|
172
|
+
if (message.email !== "") {
|
173
|
+
obj.email = message.email;
|
174
|
+
}
|
175
|
+
if (message.phone !== "") {
|
176
|
+
obj.phone = message.phone;
|
177
|
+
}
|
178
|
+
if (message.address !== "") {
|
179
|
+
obj.address = message.address;
|
180
|
+
}
|
181
|
+
if (message.createdAt !== "") {
|
182
|
+
obj.createdAt = message.createdAt;
|
183
|
+
}
|
184
|
+
if (message.updatedAt !== "") {
|
185
|
+
obj.updatedAt = message.updatedAt;
|
186
|
+
}
|
187
|
+
return obj;
|
188
|
+
},
|
189
|
+
create(base) {
|
190
|
+
return GetUserResponse.fromPartial(base ?? {});
|
191
|
+
},
|
192
|
+
fromPartial(object) {
|
193
|
+
const message = createBaseGetUserResponse();
|
194
|
+
message.id = object.id ?? Buffer.alloc(0);
|
195
|
+
message.name = object.name ?? "";
|
196
|
+
message.email = object.email ?? "";
|
197
|
+
message.phone = object.phone ?? "";
|
198
|
+
message.address = object.address ?? "";
|
199
|
+
message.createdAt = object.createdAt ?? "";
|
200
|
+
message.updatedAt = object.updatedAt ?? "";
|
201
|
+
return message;
|
202
|
+
},
|
203
|
+
};
|
204
|
+
function createBaseMatch() {
|
205
|
+
return { userId: "", matchedUserId: "", matchedAt: "" };
|
206
|
+
}
|
207
|
+
export const Match = {
|
208
|
+
encode(message, writer = new BinaryWriter()) {
|
209
|
+
if (message.userId !== "") {
|
210
|
+
writer.uint32(10).string(message.userId);
|
211
|
+
}
|
212
|
+
if (message.matchedUserId !== "") {
|
213
|
+
writer.uint32(18).string(message.matchedUserId);
|
214
|
+
}
|
215
|
+
if (message.matchedAt !== "") {
|
216
|
+
writer.uint32(26).string(message.matchedAt);
|
217
|
+
}
|
218
|
+
return writer;
|
219
|
+
},
|
220
|
+
decode(input, length) {
|
221
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
222
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
223
|
+
const message = createBaseMatch();
|
224
|
+
while (reader.pos < end) {
|
225
|
+
const tag = reader.uint32();
|
226
|
+
switch (tag >>> 3) {
|
227
|
+
case 1: {
|
228
|
+
if (tag !== 10) {
|
229
|
+
break;
|
230
|
+
}
|
231
|
+
message.userId = reader.string();
|
232
|
+
continue;
|
233
|
+
}
|
234
|
+
case 2: {
|
235
|
+
if (tag !== 18) {
|
236
|
+
break;
|
237
|
+
}
|
238
|
+
message.matchedUserId = reader.string();
|
239
|
+
continue;
|
240
|
+
}
|
241
|
+
case 3: {
|
242
|
+
if (tag !== 26) {
|
243
|
+
break;
|
244
|
+
}
|
245
|
+
message.matchedAt = reader.string();
|
246
|
+
continue;
|
247
|
+
}
|
248
|
+
}
|
249
|
+
if ((tag & 7) === 4 || tag === 0) {
|
250
|
+
break;
|
251
|
+
}
|
252
|
+
reader.skip(tag & 7);
|
253
|
+
}
|
254
|
+
return message;
|
255
|
+
},
|
256
|
+
fromJSON(object) {
|
257
|
+
return {
|
258
|
+
userId: isSet(object.userId) ? globalThis.String(object.userId) : "",
|
259
|
+
matchedUserId: isSet(object.matchedUserId) ? globalThis.String(object.matchedUserId) : "",
|
260
|
+
matchedAt: isSet(object.matchedAt) ? globalThis.String(object.matchedAt) : "",
|
261
|
+
};
|
262
|
+
},
|
263
|
+
toJSON(message) {
|
264
|
+
const obj = {};
|
265
|
+
if (message.userId !== "") {
|
266
|
+
obj.userId = message.userId;
|
267
|
+
}
|
268
|
+
if (message.matchedUserId !== "") {
|
269
|
+
obj.matchedUserId = message.matchedUserId;
|
270
|
+
}
|
271
|
+
if (message.matchedAt !== "") {
|
272
|
+
obj.matchedAt = message.matchedAt;
|
273
|
+
}
|
274
|
+
return obj;
|
275
|
+
},
|
276
|
+
create(base) {
|
277
|
+
return Match.fromPartial(base ?? {});
|
278
|
+
},
|
279
|
+
fromPartial(object) {
|
280
|
+
const message = createBaseMatch();
|
281
|
+
message.userId = object.userId ?? "";
|
282
|
+
message.matchedUserId = object.matchedUserId ?? "";
|
283
|
+
message.matchedAt = object.matchedAt ?? "";
|
284
|
+
return message;
|
285
|
+
},
|
286
|
+
};
|
287
|
+
function createBaseGetMatchesRequest() {
|
288
|
+
return { id: "" };
|
289
|
+
}
|
290
|
+
export const GetMatchesRequest = {
|
291
|
+
encode(message, writer = new BinaryWriter()) {
|
292
|
+
if (message.id !== "") {
|
293
|
+
writer.uint32(10).string(message.id);
|
294
|
+
}
|
295
|
+
return writer;
|
296
|
+
},
|
297
|
+
decode(input, length) {
|
298
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
299
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
300
|
+
const message = createBaseGetMatchesRequest();
|
301
|
+
while (reader.pos < end) {
|
302
|
+
const tag = reader.uint32();
|
303
|
+
switch (tag >>> 3) {
|
304
|
+
case 1: {
|
305
|
+
if (tag !== 10) {
|
306
|
+
break;
|
307
|
+
}
|
308
|
+
message.id = reader.string();
|
309
|
+
continue;
|
310
|
+
}
|
311
|
+
}
|
312
|
+
if ((tag & 7) === 4 || tag === 0) {
|
313
|
+
break;
|
314
|
+
}
|
315
|
+
reader.skip(tag & 7);
|
316
|
+
}
|
317
|
+
return message;
|
318
|
+
},
|
319
|
+
fromJSON(object) {
|
320
|
+
return { id: isSet(object.id) ? globalThis.String(object.id) : "" };
|
321
|
+
},
|
322
|
+
toJSON(message) {
|
323
|
+
const obj = {};
|
324
|
+
if (message.id !== "") {
|
325
|
+
obj.id = message.id;
|
326
|
+
}
|
327
|
+
return obj;
|
328
|
+
},
|
329
|
+
create(base) {
|
330
|
+
return GetMatchesRequest.fromPartial(base ?? {});
|
331
|
+
},
|
332
|
+
fromPartial(object) {
|
333
|
+
const message = createBaseGetMatchesRequest();
|
334
|
+
message.id = object.id ?? "";
|
335
|
+
return message;
|
336
|
+
},
|
337
|
+
};
|
338
|
+
function createBaseGetMatchesResponse() {
|
339
|
+
return { matches: [] };
|
340
|
+
}
|
341
|
+
export const GetMatchesResponse = {
|
342
|
+
encode(message, writer = new BinaryWriter()) {
|
343
|
+
for (const v of message.matches) {
|
344
|
+
Match.encode(v, writer.uint32(10).fork()).join();
|
345
|
+
}
|
346
|
+
return writer;
|
347
|
+
},
|
348
|
+
decode(input, length) {
|
349
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
350
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
351
|
+
const message = createBaseGetMatchesResponse();
|
352
|
+
while (reader.pos < end) {
|
353
|
+
const tag = reader.uint32();
|
354
|
+
switch (tag >>> 3) {
|
355
|
+
case 1: {
|
356
|
+
if (tag !== 10) {
|
357
|
+
break;
|
358
|
+
}
|
359
|
+
message.matches.push(Match.decode(reader, reader.uint32()));
|
360
|
+
continue;
|
361
|
+
}
|
362
|
+
}
|
363
|
+
if ((tag & 7) === 4 || tag === 0) {
|
364
|
+
break;
|
365
|
+
}
|
366
|
+
reader.skip(tag & 7);
|
367
|
+
}
|
368
|
+
return message;
|
369
|
+
},
|
370
|
+
fromJSON(object) {
|
371
|
+
return {
|
372
|
+
matches: globalThis.Array.isArray(object?.matches) ? object.matches.map((e) => Match.fromJSON(e)) : [],
|
373
|
+
};
|
374
|
+
},
|
375
|
+
toJSON(message) {
|
376
|
+
const obj = {};
|
377
|
+
if (message.matches?.length) {
|
378
|
+
obj.matches = message.matches.map((e) => Match.toJSON(e));
|
379
|
+
}
|
380
|
+
return obj;
|
381
|
+
},
|
382
|
+
create(base) {
|
383
|
+
return GetMatchesResponse.fromPartial(base ?? {});
|
384
|
+
},
|
385
|
+
fromPartial(object) {
|
386
|
+
const message = createBaseGetMatchesResponse();
|
387
|
+
message.matches = object.matches?.map((e) => Match.fromPartial(e)) || [];
|
388
|
+
return message;
|
389
|
+
},
|
390
|
+
};
|
391
|
+
export const DiscoverServiceService = {
|
392
|
+
getUser: {
|
393
|
+
path: "/discovery.v1.DiscoverService/GetUser",
|
394
|
+
requestStream: false,
|
395
|
+
responseStream: false,
|
396
|
+
requestSerialize: (value) => Buffer.from(GetUserRequest.encode(value).finish()),
|
397
|
+
requestDeserialize: (value) => GetUserRequest.decode(value),
|
398
|
+
responseSerialize: (value) => Buffer.from(GetUserResponse.encode(value).finish()),
|
399
|
+
responseDeserialize: (value) => GetUserResponse.decode(value),
|
400
|
+
},
|
401
|
+
getMatches: {
|
402
|
+
path: "/discovery.v1.DiscoverService/GetMatches",
|
403
|
+
requestStream: false,
|
404
|
+
responseStream: false,
|
405
|
+
requestSerialize: (value) => Buffer.from(GetMatchesRequest.encode(value).finish()),
|
406
|
+
requestDeserialize: (value) => GetMatchesRequest.decode(value),
|
407
|
+
responseSerialize: (value) => Buffer.from(GetMatchesResponse.encode(value).finish()),
|
408
|
+
responseDeserialize: (value) => GetMatchesResponse.decode(value),
|
409
|
+
},
|
410
|
+
};
|
411
|
+
export const DiscoverServiceClient = makeGenericClientConstructor(DiscoverServiceService, "discovery.v1.DiscoverService");
|
412
|
+
function bytesFromBase64(b64) {
|
413
|
+
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|
414
|
+
}
|
415
|
+
function base64FromBytes(arr) {
|
416
|
+
return globalThis.Buffer.from(arr).toString("base64");
|
417
|
+
}
|
418
|
+
function isSet(value) {
|
419
|
+
return value !== null && value !== undefined;
|
420
|
+
}
|
@@ -8,12 +8,34 @@ export interface GetUserByEmailRequest {
|
|
8
8
|
email: string;
|
9
9
|
}
|
10
10
|
export interface GetUserByIdResponse {
|
11
|
-
|
11
|
+
id: string;
|
12
|
+
name: string;
|
13
|
+
email: string;
|
14
|
+
password?: string | undefined;
|
15
|
+
age: number;
|
16
|
+
gender: string;
|
17
|
+
bio: string;
|
18
|
+
photos: string[];
|
19
|
+
interests: string[];
|
20
|
+
preferences?: GetUserByIdResponse_Preferences | undefined;
|
21
|
+
location?: GetUserByIdResponse_Location | undefined;
|
22
|
+
onboardingCompleted?: boolean | undefined;
|
23
|
+
status: string;
|
24
|
+
createdAt: string;
|
25
|
+
updatedAt: string;
|
12
26
|
}
|
13
|
-
export interface
|
14
|
-
|
27
|
+
export interface GetUserByIdResponse_Preferences {
|
28
|
+
ageRange: number[];
|
29
|
+
distance: number;
|
30
|
+
showMe: string;
|
31
|
+
lookingFor: string;
|
15
32
|
}
|
16
|
-
export interface
|
33
|
+
export interface GetUserByIdResponse_Location {
|
34
|
+
type: string;
|
35
|
+
coordinates: number[];
|
36
|
+
displayName: string;
|
37
|
+
}
|
38
|
+
export interface GetUserByEmailResponse {
|
17
39
|
id: string;
|
18
40
|
name: string;
|
19
41
|
email: string;
|
@@ -23,34 +45,74 @@ export interface User {
|
|
23
45
|
bio: string;
|
24
46
|
photos: string[];
|
25
47
|
interests: string[];
|
26
|
-
preferences?:
|
27
|
-
location?:
|
48
|
+
preferences?: GetUserByEmailResponse_Preferences | undefined;
|
49
|
+
location?: GetUserByEmailResponse_Location | undefined;
|
28
50
|
onboardingCompleted: boolean;
|
29
51
|
status: string;
|
30
52
|
createdAt: string;
|
31
53
|
updatedAt: string;
|
32
54
|
}
|
33
|
-
export interface
|
55
|
+
export interface GetUserByEmailResponse_Preferences {
|
34
56
|
/** [min, max] */
|
35
57
|
ageRange: number[];
|
36
58
|
distance: number;
|
37
59
|
showMe: string;
|
38
60
|
lookingFor: string;
|
39
61
|
}
|
40
|
-
export interface
|
62
|
+
export interface GetUserByEmailResponse_Location {
|
41
63
|
/** Always "Point" */
|
42
64
|
type: string;
|
43
65
|
/** [longitude, latitude] */
|
44
66
|
coordinates: number[];
|
45
67
|
displayName: string;
|
46
68
|
}
|
69
|
+
export interface Location {
|
70
|
+
type: string;
|
71
|
+
coordinates: number[];
|
72
|
+
displayName: string;
|
73
|
+
}
|
74
|
+
export interface CreateUserRequest {
|
75
|
+
id: string;
|
76
|
+
name: string;
|
77
|
+
email: string;
|
78
|
+
password: string;
|
79
|
+
age: number;
|
80
|
+
gender: string;
|
81
|
+
bio: string;
|
82
|
+
photos: string[];
|
83
|
+
interests: string[];
|
84
|
+
location?: Location | undefined;
|
85
|
+
onboardingCompleted: boolean;
|
86
|
+
status: string;
|
87
|
+
createdAt: string;
|
88
|
+
updatedAt: string;
|
89
|
+
}
|
90
|
+
export interface CreateUserResponse {
|
91
|
+
id: string;
|
92
|
+
name: string;
|
93
|
+
email: string;
|
94
|
+
password: string;
|
95
|
+
age: number;
|
96
|
+
gender: string;
|
97
|
+
bio: string;
|
98
|
+
photos: string[];
|
99
|
+
interests: string[];
|
100
|
+
onboardingCompleted: boolean;
|
101
|
+
status: string;
|
102
|
+
createdAt: string;
|
103
|
+
updatedAt: string;
|
104
|
+
}
|
47
105
|
export declare const GetUserByIdRequest: MessageFns<GetUserByIdRequest>;
|
48
106
|
export declare const GetUserByEmailRequest: MessageFns<GetUserByEmailRequest>;
|
49
107
|
export declare const GetUserByIdResponse: MessageFns<GetUserByIdResponse>;
|
108
|
+
export declare const GetUserByIdResponse_Preferences: MessageFns<GetUserByIdResponse_Preferences>;
|
109
|
+
export declare const GetUserByIdResponse_Location: MessageFns<GetUserByIdResponse_Location>;
|
50
110
|
export declare const GetUserByEmailResponse: MessageFns<GetUserByEmailResponse>;
|
51
|
-
export declare const
|
52
|
-
export declare const
|
53
|
-
export declare const
|
111
|
+
export declare const GetUserByEmailResponse_Preferences: MessageFns<GetUserByEmailResponse_Preferences>;
|
112
|
+
export declare const GetUserByEmailResponse_Location: MessageFns<GetUserByEmailResponse_Location>;
|
113
|
+
export declare const Location: MessageFns<Location>;
|
114
|
+
export declare const CreateUserRequest: MessageFns<CreateUserRequest>;
|
115
|
+
export declare const CreateUserResponse: MessageFns<CreateUserResponse>;
|
54
116
|
export type UserServiceService = typeof UserServiceService;
|
55
117
|
export declare const UserServiceService: {
|
56
118
|
readonly getUserById: {
|
@@ -71,10 +133,20 @@ export declare const UserServiceService: {
|
|
71
133
|
readonly responseSerialize: (value: GetUserByEmailResponse) => Buffer<ArrayBuffer>;
|
72
134
|
readonly responseDeserialize: (value: Buffer) => GetUserByEmailResponse;
|
73
135
|
};
|
136
|
+
readonly createUser: {
|
137
|
+
readonly path: "/user.v2.UserService/CreateUser";
|
138
|
+
readonly requestStream: false;
|
139
|
+
readonly responseStream: false;
|
140
|
+
readonly requestSerialize: (value: CreateUserRequest) => Buffer<ArrayBuffer>;
|
141
|
+
readonly requestDeserialize: (value: Buffer) => CreateUserRequest;
|
142
|
+
readonly responseSerialize: (value: CreateUserResponse) => Buffer<ArrayBuffer>;
|
143
|
+
readonly responseDeserialize: (value: Buffer) => CreateUserResponse;
|
144
|
+
};
|
74
145
|
};
|
75
146
|
export interface UserServiceServer extends UntypedServiceImplementation {
|
76
147
|
getUserById: handleUnaryCall<GetUserByIdRequest, GetUserByIdResponse>;
|
77
148
|
getUserByEmail: handleUnaryCall<GetUserByEmailRequest, GetUserByEmailResponse>;
|
149
|
+
createUser: handleUnaryCall<CreateUserRequest, CreateUserResponse>;
|
78
150
|
}
|
79
151
|
export interface UserServiceClient extends Client {
|
80
152
|
getUserById(request: GetUserByIdRequest, callback: (error: ServiceError | null, response: GetUserByIdResponse) => void): ClientUnaryCall;
|
@@ -83,6 +155,9 @@ export interface UserServiceClient extends Client {
|
|
83
155
|
getUserByEmail(request: GetUserByEmailRequest, callback: (error: ServiceError | null, response: GetUserByEmailResponse) => void): ClientUnaryCall;
|
84
156
|
getUserByEmail(request: GetUserByEmailRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetUserByEmailResponse) => void): ClientUnaryCall;
|
85
157
|
getUserByEmail(request: GetUserByEmailRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetUserByEmailResponse) => void): ClientUnaryCall;
|
158
|
+
createUser(request: CreateUserRequest, callback: (error: ServiceError | null, response: CreateUserResponse) => void): ClientUnaryCall;
|
159
|
+
createUser(request: CreateUserRequest, metadata: Metadata, callback: (error: ServiceError | null, response: CreateUserResponse) => void): ClientUnaryCall;
|
160
|
+
createUser(request: CreateUserRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: CreateUserResponse) => void): ClientUnaryCall;
|
86
161
|
}
|
87
162
|
export declare const UserServiceClient: {
|
88
163
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): UserServiceClient;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../generated/user/v2/user.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EACL,KAAK,WAAW,EAChB,kBAAkB,EAClB,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,eAAe,EAEpB,QAAQ,EACR,KAAK,YAAY,EACjB,KAAK,4BAA4B,EAClC,MAAM,eAAe,CAAC;AAEvB,eAAO,MAAM,eAAe,YAAY,CAAC;AAEzC,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,+BAA+B,GAAG,SAAS,CAAC;IAC1D,QAAQ,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IACpD,mBAAmB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1C,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,EAAE,MA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