automation-lib 5.3.31 → 5.3.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/index.d.mts +6 -4
- package/dist/index.d.ts +6 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4888,7 +4888,9 @@ declare namespace index$1 {
|
|
|
4888
4888
|
export type { index$1_IDataDiscussTaskJob as IDataDiscussTaskJob, index$1_IDataNotification as IDataNotification, index$1_IDataUser as IDataUser, index$1_IFilterStore as IFilterStore, index$1_IResponseLogin as IResponseLogin };
|
|
4889
4889
|
}
|
|
4890
4890
|
|
|
4891
|
-
interface IFindBaseDto {
|
|
4891
|
+
interface IFindBaseDto extends IBaseModel {
|
|
4892
|
+
createdBy: IUser | string;
|
|
4893
|
+
updatedBy: IUser | string;
|
|
4892
4894
|
department?: IDepartment;
|
|
4893
4895
|
departmentName?: string;
|
|
4894
4896
|
leader?: IUser;
|
|
@@ -10193,12 +10195,12 @@ interface FilterTeamDto extends IFilterBaseDto {
|
|
|
10193
10195
|
interface CreateRoleDto extends IRole {
|
|
10194
10196
|
name: string;
|
|
10195
10197
|
description: string;
|
|
10196
|
-
featuresRoles: Pick<IRoleFeature,
|
|
10198
|
+
featuresRoles: Pick<IRoleFeature, 'module' | 'submodule' | 'actions'>[];
|
|
10197
10199
|
}
|
|
10198
10200
|
interface UpdateRoleDto extends IRole {
|
|
10199
10201
|
name: string;
|
|
10200
10202
|
description: string;
|
|
10201
|
-
featureAdd: Array<Pick<IRoleFeature,
|
|
10203
|
+
featureAdd: Array<Pick<IRoleFeature, 'module' | 'submodule' | 'actions'>>;
|
|
10202
10204
|
featureRemove: string[];
|
|
10203
10205
|
}
|
|
10204
10206
|
interface FindOverviewRoleDto {
|
|
@@ -10264,7 +10266,7 @@ interface UpdateUserDto extends Partial<IUser> {
|
|
|
10264
10266
|
user_team?: string;
|
|
10265
10267
|
user_roles?: string[];
|
|
10266
10268
|
}
|
|
10267
|
-
interface FindUserDto extends IFindBaseDto
|
|
10269
|
+
interface FindUserDto extends IFindBaseDto {
|
|
10268
10270
|
isLeader: boolean;
|
|
10269
10271
|
departmentOfUser: string[];
|
|
10270
10272
|
teamsOfUser: string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -4888,7 +4888,9 @@ declare namespace index$1 {
|
|
|
4888
4888
|
export type { index$1_IDataDiscussTaskJob as IDataDiscussTaskJob, index$1_IDataNotification as IDataNotification, index$1_IDataUser as IDataUser, index$1_IFilterStore as IFilterStore, index$1_IResponseLogin as IResponseLogin };
|
|
4889
4889
|
}
|
|
4890
4890
|
|
|
4891
|
-
interface IFindBaseDto {
|
|
4891
|
+
interface IFindBaseDto extends IBaseModel {
|
|
4892
|
+
createdBy: IUser | string;
|
|
4893
|
+
updatedBy: IUser | string;
|
|
4892
4894
|
department?: IDepartment;
|
|
4893
4895
|
departmentName?: string;
|
|
4894
4896
|
leader?: IUser;
|
|
@@ -10193,12 +10195,12 @@ interface FilterTeamDto extends IFilterBaseDto {
|
|
|
10193
10195
|
interface CreateRoleDto extends IRole {
|
|
10194
10196
|
name: string;
|
|
10195
10197
|
description: string;
|
|
10196
|
-
featuresRoles: Pick<IRoleFeature,
|
|
10198
|
+
featuresRoles: Pick<IRoleFeature, 'module' | 'submodule' | 'actions'>[];
|
|
10197
10199
|
}
|
|
10198
10200
|
interface UpdateRoleDto extends IRole {
|
|
10199
10201
|
name: string;
|
|
10200
10202
|
description: string;
|
|
10201
|
-
featureAdd: Array<Pick<IRoleFeature,
|
|
10203
|
+
featureAdd: Array<Pick<IRoleFeature, 'module' | 'submodule' | 'actions'>>;
|
|
10202
10204
|
featureRemove: string[];
|
|
10203
10205
|
}
|
|
10204
10206
|
interface FindOverviewRoleDto {
|
|
@@ -10264,7 +10266,7 @@ interface UpdateUserDto extends Partial<IUser> {
|
|
|
10264
10266
|
user_team?: string;
|
|
10265
10267
|
user_roles?: string[];
|
|
10266
10268
|
}
|
|
10267
|
-
interface FindUserDto extends IFindBaseDto
|
|
10269
|
+
interface FindUserDto extends IFindBaseDto {
|
|
10268
10270
|
isLeader: boolean;
|
|
10269
10271
|
departmentOfUser: string[];
|
|
10270
10272
|
teamsOfUser: string[];
|