mezon-js 2.7.99 → 2.8.2
Sign up to get free protection for your applications and to get access to all the features.
- package/api.gen.ts +1 -1
- package/client.ts +3 -1
- package/dist/api.gen.d.ts +1 -1
- package/dist/client.d.ts +2 -1
- package/dist/mezon-js.cjs.js +3 -1
- package/dist/mezon-js.esm.mjs +3 -1
- package/package.json +1 -1
package/api.gen.ts
CHANGED
@@ -23,7 +23,7 @@ export interface ChannelUserListChannelUser {
|
|
23
23
|
/** A single user-role pair. */
|
24
24
|
export interface ClanUserListClanUser {
|
25
25
|
//from the `nick_name` field in the `clan_desc_profile` table.
|
26
|
-
|
26
|
+
clan_nick?: string;
|
27
27
|
//Their relationship to the role.
|
28
28
|
role_id?: string;
|
29
29
|
//User.
|
package/client.ts
CHANGED
@@ -126,6 +126,7 @@ export enum ChannelType {
|
|
126
126
|
CHANNEL_TYPE_VOICE = 4,
|
127
127
|
CHANNEL_TYPE_FORUM = 5,
|
128
128
|
CHANNEL_TYPE_ANNOUNCEMENT = 6,
|
129
|
+
CHANNEL_TYPE_THREAD = 7,
|
129
130
|
}
|
130
131
|
export enum ChannelStreamMode {
|
131
132
|
STREAM_MODE_CHANNEL = 2,
|
@@ -1242,7 +1243,8 @@ export class Client {
|
|
1242
1243
|
username: gu.user!.username,
|
1243
1244
|
metadata: gu.user!.metadata ? JSON.parse(gu.user!.metadata!) : undefined
|
1244
1245
|
},
|
1245
|
-
role_id: gu!.role_id
|
1246
|
+
role_id: gu!.role_id,
|
1247
|
+
clan_nick: gu!.clan_nick
|
1246
1248
|
})
|
1247
1249
|
});
|
1248
1250
|
return Promise.resolve(result);
|
package/dist/api.gen.d.ts
CHANGED
package/dist/client.d.ts
CHANGED
@@ -23,7 +23,8 @@ export declare enum ChannelType {
|
|
23
23
|
CHANNEL_TYPE_DM = 3,
|
24
24
|
CHANNEL_TYPE_VOICE = 4,
|
25
25
|
CHANNEL_TYPE_FORUM = 5,
|
26
|
-
CHANNEL_TYPE_ANNOUNCEMENT = 6
|
26
|
+
CHANNEL_TYPE_ANNOUNCEMENT = 6,
|
27
|
+
CHANNEL_TYPE_THREAD = 7
|
27
28
|
}
|
28
29
|
export declare enum ChannelStreamMode {
|
29
30
|
STREAM_MODE_CHANNEL = 2,
|
package/dist/mezon-js.cjs.js
CHANGED
@@ -5196,6 +5196,7 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
5196
5196
|
ChannelType2[ChannelType2["CHANNEL_TYPE_VOICE"] = 4] = "CHANNEL_TYPE_VOICE";
|
5197
5197
|
ChannelType2[ChannelType2["CHANNEL_TYPE_FORUM"] = 5] = "CHANNEL_TYPE_FORUM";
|
5198
5198
|
ChannelType2[ChannelType2["CHANNEL_TYPE_ANNOUNCEMENT"] = 6] = "CHANNEL_TYPE_ANNOUNCEMENT";
|
5199
|
+
ChannelType2[ChannelType2["CHANNEL_TYPE_THREAD"] = 7] = "CHANNEL_TYPE_THREAD";
|
5199
5200
|
return ChannelType2;
|
5200
5201
|
})(ChannelType || {});
|
5201
5202
|
var ChannelStreamMode = /* @__PURE__ */ ((ChannelStreamMode2) => {
|
@@ -5867,7 +5868,8 @@ var Client = class {
|
|
5867
5868
|
username: gu.user.username,
|
5868
5869
|
metadata: gu.user.metadata ? JSON.parse(gu.user.metadata) : void 0
|
5869
5870
|
},
|
5870
|
-
role_id: gu.role_id
|
5871
|
+
role_id: gu.role_id,
|
5872
|
+
clan_nick: gu.clan_nick
|
5871
5873
|
});
|
5872
5874
|
});
|
5873
5875
|
return Promise.resolve(result);
|
package/dist/mezon-js.esm.mjs
CHANGED
@@ -5167,6 +5167,7 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
5167
5167
|
ChannelType2[ChannelType2["CHANNEL_TYPE_VOICE"] = 4] = "CHANNEL_TYPE_VOICE";
|
5168
5168
|
ChannelType2[ChannelType2["CHANNEL_TYPE_FORUM"] = 5] = "CHANNEL_TYPE_FORUM";
|
5169
5169
|
ChannelType2[ChannelType2["CHANNEL_TYPE_ANNOUNCEMENT"] = 6] = "CHANNEL_TYPE_ANNOUNCEMENT";
|
5170
|
+
ChannelType2[ChannelType2["CHANNEL_TYPE_THREAD"] = 7] = "CHANNEL_TYPE_THREAD";
|
5170
5171
|
return ChannelType2;
|
5171
5172
|
})(ChannelType || {});
|
5172
5173
|
var ChannelStreamMode = /* @__PURE__ */ ((ChannelStreamMode2) => {
|
@@ -5838,7 +5839,8 @@ var Client = class {
|
|
5838
5839
|
username: gu.user.username,
|
5839
5840
|
metadata: gu.user.metadata ? JSON.parse(gu.user.metadata) : void 0
|
5840
5841
|
},
|
5841
|
-
role_id: gu.role_id
|
5842
|
+
role_id: gu.role_id,
|
5843
|
+
clan_nick: gu.clan_nick
|
5842
5844
|
});
|
5843
5845
|
});
|
5844
5846
|
return Promise.resolve(result);
|