geniebox-shared-lib 1.0.18 → 1.0.20

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.
@@ -29,14 +29,14 @@ export interface User {
29
29
  authentication?: UserAuthentication | undefined;
30
30
  }
31
31
  export interface CreateUserPersonal {
32
- photoUrl: string;
32
+ photoUrl?: string | undefined;
33
33
  firstName: string;
34
- lastName: string;
35
- birthday: string;
34
+ lastName?: string | undefined;
35
+ birthday?: string | undefined;
36
36
  /** "male" | "female" */
37
- gender: string;
38
- email: string;
39
- phoneNumber: string;
37
+ gender?: string | undefined;
38
+ email?: string | undefined;
39
+ phoneNumber?: string | undefined;
40
40
  }
41
41
  export interface CreateUserAuthentication {
42
42
  password?: string | undefined;
@@ -275,29 +275,29 @@ exports.User = {
275
275
  },
276
276
  };
277
277
  function createBaseCreateUserPersonal() {
278
- return { photoUrl: "", firstName: "", lastName: "", birthday: "", gender: "", email: "", phoneNumber: "" };
278
+ return { firstName: "" };
279
279
  }
280
280
  exports.CreateUserPersonal = {
281
281
  encode(message, writer = new wire_1.BinaryWriter()) {
282
- if (message.photoUrl !== "") {
282
+ if (message.photoUrl !== undefined) {
283
283
  writer.uint32(10).string(message.photoUrl);
284
284
  }
285
285
  if (message.firstName !== "") {
286
286
  writer.uint32(18).string(message.firstName);
287
287
  }
288
- if (message.lastName !== "") {
288
+ if (message.lastName !== undefined) {
289
289
  writer.uint32(26).string(message.lastName);
290
290
  }
291
- if (message.birthday !== "") {
291
+ if (message.birthday !== undefined) {
292
292
  writer.uint32(34).string(message.birthday);
293
293
  }
294
- if (message.gender !== "") {
294
+ if (message.gender !== undefined) {
295
295
  writer.uint32(42).string(message.gender);
296
296
  }
297
- if (message.email !== "") {
297
+ if (message.email !== undefined) {
298
298
  writer.uint32(50).string(message.email);
299
299
  }
300
- if (message.phoneNumber !== "") {
300
+ if (message.phoneNumber !== undefined) {
301
301
  writer.uint32(58).string(message.phoneNumber);
302
302
  }
303
303
  return writer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geniebox-shared-lib",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "description": "Shared NestJS library with gRPC clients",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",