mezon-js 2.7.12 → 2.7.14

Sign up to get free protection for your applications and to get access to all the features.
package/api.gen.ts CHANGED
@@ -814,6 +814,8 @@ export interface ApiStorageObjects {
814
814
 
815
815
  /** Update a user's account details. */
816
816
  export interface ApiUpdateAccountRequest {
817
+ //
818
+ about_me?: string;
817
819
  //A URL for an avatar image.
818
820
  avatar_url?: string;
819
821
  //The display name of the user.
@@ -868,6 +870,8 @@ export interface ApiUploadAttachmentRequest {
868
870
 
869
871
  /** A user in the server. */
870
872
  export interface ApiUser {
873
+ //
874
+ about_me?: string;
871
875
  //The Apple Sign In ID in the user's account.
872
876
  apple_id?: string;
873
877
  //A URL for an avatar image.
package/client.ts CHANGED
@@ -1052,6 +1052,7 @@ export class Client {
1052
1052
  timezone: gu.user!.timezone,
1053
1053
  update_time: gu.user!.update_time,
1054
1054
  username: gu.user!.username,
1055
+ about_me: gu.user?.about_me,
1055
1056
  metadata: gu.user!.metadata ? JSON.parse(gu.user!.metadata!) : undefined
1056
1057
  },
1057
1058
  role_id: gu!.role_id,
package/dist/api.gen.d.ts CHANGED
@@ -471,6 +471,7 @@ export interface ApiStorageObjects {
471
471
  }
472
472
  /** Update a user's account details. */
473
473
  export interface ApiUpdateAccountRequest {
474
+ about_me?: string;
474
475
  avatar_url?: string;
475
476
  display_name?: string;
476
477
  lang_tag?: string;
@@ -503,6 +504,7 @@ export interface ApiUploadAttachmentRequest {
503
504
  }
504
505
  /** A user in the server. */
505
506
  export interface ApiUser {
507
+ about_me?: string;
506
508
  apple_id?: string;
507
509
  avatar_url?: string;
508
510
  create_time?: string;
@@ -4505,6 +4505,7 @@ var Client = class {
4505
4505
  return Promise.resolve(result);
4506
4506
  }
4507
4507
  response.channel_users.forEach((gu) => {
4508
+ var _a;
4508
4509
  result.channel_users.push({
4509
4510
  user: {
4510
4511
  avatar_url: gu.user.avatar_url,
@@ -4522,6 +4523,7 @@ var Client = class {
4522
4523
  timezone: gu.user.timezone,
4523
4524
  update_time: gu.user.update_time,
4524
4525
  username: gu.user.username,
4526
+ about_me: (_a = gu.user) == null ? void 0 : _a.about_me,
4525
4527
  metadata: gu.user.metadata ? JSON.parse(gu.user.metadata) : void 0
4526
4528
  },
4527
4529
  role_id: gu.role_id,
@@ -4477,6 +4477,7 @@ var Client = class {
4477
4477
  return Promise.resolve(result);
4478
4478
  }
4479
4479
  response.channel_users.forEach((gu) => {
4480
+ var _a;
4480
4481
  result.channel_users.push({
4481
4482
  user: {
4482
4483
  avatar_url: gu.user.avatar_url,
@@ -4494,6 +4495,7 @@ var Client = class {
4494
4495
  timezone: gu.user.timezone,
4495
4496
  update_time: gu.user.update_time,
4496
4497
  username: gu.user.username,
4498
+ about_me: (_a = gu.user) == null ? void 0 : _a.about_me,
4497
4499
  metadata: gu.user.metadata ? JSON.parse(gu.user.metadata) : void 0
4498
4500
  },
4499
4501
  role_id: gu.role_id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.7.12",
3
+ "version": "2.7.14",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },