@wavezfm/api 0.7.33 → 0.7.34
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/types.d.ts +7 -3
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -210,9 +210,11 @@ export interface RoomActiveUser {
|
|
|
210
210
|
avatarFrameCount?: number;
|
|
211
211
|
guest?: boolean;
|
|
212
212
|
role?: RoomRoleName | string;
|
|
213
|
-
/**
|
|
213
|
+
/** Actual room assignment, independent of platform privileges. */
|
|
214
214
|
roomRole?: RoomRoleName | string;
|
|
215
215
|
assignedRoomRole?: RoomRoleName | string;
|
|
216
|
+
/** Authorization role including platform privileges; use for bot command checks. */
|
|
217
|
+
effectiveRoomRole?: RoomRoleName | string;
|
|
216
218
|
platformRole?: string | null;
|
|
217
219
|
platformRoles?: string[];
|
|
218
220
|
customGlobalRoles?: unknown[];
|
|
@@ -1618,11 +1620,13 @@ export interface BotPrivateCommand {
|
|
|
1618
1620
|
userId: string;
|
|
1619
1621
|
username: string;
|
|
1620
1622
|
displayUsername: string;
|
|
1621
|
-
/**
|
|
1623
|
+
/** Actual assigned room role. */
|
|
1622
1624
|
roomRole: string;
|
|
1623
|
-
/**
|
|
1625
|
+
/** Actual assigned room role alias. */
|
|
1624
1626
|
role?: string;
|
|
1625
1627
|
assignedRoomRole?: string;
|
|
1628
|
+
/** Admin/Developer >= Host; Ambassador >= Manager. */
|
|
1629
|
+
effectiveRoomRole?: string;
|
|
1626
1630
|
platformRole?: string;
|
|
1627
1631
|
platformRoles: string[];
|
|
1628
1632
|
isRoomOwner: boolean;
|