automation-lib 6.6.618 → 6.6.620
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/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2012,6 +2012,12 @@ interface UpdateUserDto extends Partial<IUser> {
|
|
|
2012
2012
|
}
|
|
2013
2013
|
interface FindUserDto extends IUser, IFindBaseDto {
|
|
2014
2014
|
isLeader: boolean;
|
|
2015
|
+
/**
|
|
2016
|
+
* Vị trí (derived) — precedence: Admin > SubAdmin > Leader > Member.
|
|
2017
|
+
* BE compute từ `user_isRootAdmin` / `user_isSubAdmin` / có là leader của bất kỳ team nào.
|
|
2018
|
+
* Expose ra để FE / agent có thể inspect mà không cần đoán từ flag boolean.
|
|
2019
|
+
*/
|
|
2020
|
+
position: EPositionUser;
|
|
2015
2021
|
departmentOfUser: string[];
|
|
2016
2022
|
teamsOfUser: string[];
|
|
2017
2023
|
teamsIdsOfUser: string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -2012,6 +2012,12 @@ interface UpdateUserDto extends Partial<IUser> {
|
|
|
2012
2012
|
}
|
|
2013
2013
|
interface FindUserDto extends IUser, IFindBaseDto {
|
|
2014
2014
|
isLeader: boolean;
|
|
2015
|
+
/**
|
|
2016
|
+
* Vị trí (derived) — precedence: Admin > SubAdmin > Leader > Member.
|
|
2017
|
+
* BE compute từ `user_isRootAdmin` / `user_isSubAdmin` / có là leader của bất kỳ team nào.
|
|
2018
|
+
* Expose ra để FE / agent có thể inspect mà không cần đoán từ flag boolean.
|
|
2019
|
+
*/
|
|
2020
|
+
position: EPositionUser;
|
|
2015
2021
|
departmentOfUser: string[];
|
|
2016
2022
|
teamsOfUser: string[];
|
|
2017
2023
|
teamsIdsOfUser: string[];
|