@experts_hub/shared 1.0.280 → 1.0.281
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
CHANGED
|
@@ -195,6 +195,7 @@ declare class CreateSubAdminDto {
|
|
|
195
195
|
mobileCode: string;
|
|
196
196
|
mobile: string;
|
|
197
197
|
password: string;
|
|
198
|
+
roleIds: string;
|
|
198
199
|
}
|
|
199
200
|
|
|
200
201
|
declare class UpdateSubAdminAccountStatusDto {
|
|
@@ -209,6 +210,7 @@ declare class UpdateSubAdminDto {
|
|
|
209
210
|
mobileCode: string;
|
|
210
211
|
mobile: string;
|
|
211
212
|
password: string;
|
|
213
|
+
roleIds: string;
|
|
212
214
|
}
|
|
213
215
|
|
|
214
216
|
interface IFetchSubAdminQuery {
|
package/dist/index.d.ts
CHANGED
|
@@ -195,6 +195,7 @@ declare class CreateSubAdminDto {
|
|
|
195
195
|
mobileCode: string;
|
|
196
196
|
mobile: string;
|
|
197
197
|
password: string;
|
|
198
|
+
roleIds: string;
|
|
198
199
|
}
|
|
199
200
|
|
|
200
201
|
declare class UpdateSubAdminAccountStatusDto {
|
|
@@ -209,6 +210,7 @@ declare class UpdateSubAdminDto {
|
|
|
209
210
|
mobileCode: string;
|
|
210
211
|
mobile: string;
|
|
211
212
|
password: string;
|
|
213
|
+
roleIds: string;
|
|
212
214
|
}
|
|
213
215
|
|
|
214
216
|
interface IFetchSubAdminQuery {
|
package/dist/index.js
CHANGED
|
@@ -772,6 +772,9 @@ __decorateClass([
|
|
|
772
772
|
__decorateClass([
|
|
773
773
|
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter the password." })
|
|
774
774
|
], CreateSubAdminDto.prototype, "password", 2);
|
|
775
|
+
__decorateClass([
|
|
776
|
+
(0, import_class_validator23.IsNotEmpty)({ message: "Please Select Roles." })
|
|
777
|
+
], CreateSubAdminDto.prototype, "roleIds", 2);
|
|
775
778
|
|
|
776
779
|
// src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
|
|
777
780
|
var import_class_validator24 = require("class-validator");
|
|
@@ -806,6 +809,9 @@ __decorateClass([
|
|
|
806
809
|
__decorateClass([
|
|
807
810
|
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter the password." })
|
|
808
811
|
], UpdateSubAdminDto.prototype, "password", 2);
|
|
812
|
+
__decorateClass([
|
|
813
|
+
(0, import_class_validator25.IsNotEmpty)({ message: "Please Select Roles." })
|
|
814
|
+
], UpdateSubAdminDto.prototype, "roleIds", 2);
|
|
809
815
|
|
|
810
816
|
// src/modules/user/client-profile/pattern/pattern.ts
|
|
811
817
|
var CLIENT_PROFILE_PATTERN = {
|
package/dist/index.mjs
CHANGED
|
@@ -602,6 +602,9 @@ __decorateClass([
|
|
|
602
602
|
__decorateClass([
|
|
603
603
|
IsNotEmpty21({ message: "Please enter the password." })
|
|
604
604
|
], CreateSubAdminDto.prototype, "password", 2);
|
|
605
|
+
__decorateClass([
|
|
606
|
+
IsNotEmpty21({ message: "Please Select Roles." })
|
|
607
|
+
], CreateSubAdminDto.prototype, "roleIds", 2);
|
|
605
608
|
|
|
606
609
|
// src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
|
|
607
610
|
import { IsString as IsString8 } from "class-validator";
|
|
@@ -636,6 +639,9 @@ __decorateClass([
|
|
|
636
639
|
__decorateClass([
|
|
637
640
|
IsNotEmpty22({ message: "Please enter the password." })
|
|
638
641
|
], UpdateSubAdminDto.prototype, "password", 2);
|
|
642
|
+
__decorateClass([
|
|
643
|
+
IsNotEmpty22({ message: "Please Select Roles." })
|
|
644
|
+
], UpdateSubAdminDto.prototype, "roleIds", 2);
|
|
639
645
|
|
|
640
646
|
// src/modules/user/client-profile/pattern/pattern.ts
|
|
641
647
|
var CLIENT_PROFILE_PATTERN = {
|