@experts_hub/shared 1.0.70 → 1.0.71
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.
|
@@ -21,8 +21,9 @@ export declare class CompanyProfile extends BaseEntity {
|
|
|
21
21
|
user: User;
|
|
22
22
|
companyName: string;
|
|
23
23
|
bio: string;
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
webSite: string;
|
|
25
|
+
aboutCompany: string;
|
|
26
|
+
serviceAgreement: boolean;
|
|
26
27
|
skills: string[];
|
|
27
28
|
requiredFreelancer: string;
|
|
28
29
|
kindOfHiring: KindOfHire;
|
package/dist/index.d.mts
CHANGED
|
@@ -377,8 +377,9 @@ declare class CompanyProfile extends BaseEntity {
|
|
|
377
377
|
user: User;
|
|
378
378
|
companyName: string;
|
|
379
379
|
bio: string;
|
|
380
|
-
|
|
381
|
-
|
|
380
|
+
webSite: string;
|
|
381
|
+
aboutCompany: string;
|
|
382
|
+
serviceAgreement: boolean;
|
|
382
383
|
skills: string[];
|
|
383
384
|
requiredFreelancer: string;
|
|
384
385
|
kindOfHiring: KindOfHire;
|
|
@@ -400,7 +401,7 @@ declare class UpdateCompanyProfileDto {
|
|
|
400
401
|
}
|
|
401
402
|
|
|
402
403
|
declare class UpdateCompanyLogoDto {
|
|
403
|
-
|
|
404
|
+
uuid: string;
|
|
404
405
|
}
|
|
405
406
|
|
|
406
407
|
interface IFetchClientProfileQuery {
|
package/dist/index.d.ts
CHANGED
|
@@ -377,8 +377,9 @@ declare class CompanyProfile extends BaseEntity {
|
|
|
377
377
|
user: User;
|
|
378
378
|
companyName: string;
|
|
379
379
|
bio: string;
|
|
380
|
-
|
|
381
|
-
|
|
380
|
+
webSite: string;
|
|
381
|
+
aboutCompany: string;
|
|
382
|
+
serviceAgreement: boolean;
|
|
382
383
|
skills: string[];
|
|
383
384
|
requiredFreelancer: string;
|
|
384
385
|
kindOfHiring: KindOfHire;
|
|
@@ -400,7 +401,7 @@ declare class UpdateCompanyProfileDto {
|
|
|
400
401
|
}
|
|
401
402
|
|
|
402
403
|
declare class UpdateCompanyLogoDto {
|
|
403
|
-
|
|
404
|
+
uuid: string;
|
|
404
405
|
}
|
|
405
406
|
|
|
406
407
|
interface IFetchClientProfileQuery {
|
package/dist/index.js
CHANGED
|
@@ -893,11 +893,14 @@ __decorateClass([
|
|
|
893
893
|
(0, import_typeorm8.Column)({ name: "bio", type: "varchar", nullable: true })
|
|
894
894
|
], CompanyProfile.prototype, "bio", 2);
|
|
895
895
|
__decorateClass([
|
|
896
|
-
(0, import_typeorm8.Column)({ name: "
|
|
897
|
-
], CompanyProfile.prototype, "
|
|
896
|
+
(0, import_typeorm8.Column)({ name: "website", type: "varchar" })
|
|
897
|
+
], CompanyProfile.prototype, "webSite", 2);
|
|
898
898
|
__decorateClass([
|
|
899
|
-
(0, import_typeorm8.Column)({ name: "
|
|
900
|
-
], CompanyProfile.prototype, "
|
|
899
|
+
(0, import_typeorm8.Column)({ name: "about_company", type: "varchar" })
|
|
900
|
+
], CompanyProfile.prototype, "aboutCompany", 2);
|
|
901
|
+
__decorateClass([
|
|
902
|
+
(0, import_typeorm8.Column)({ name: "service_agreement", type: "boolean", default: false })
|
|
903
|
+
], CompanyProfile.prototype, "serviceAgreement", 2);
|
|
901
904
|
__decorateClass([
|
|
902
905
|
(0, import_typeorm8.Column)({ name: "skills", type: "text", nullable: true })
|
|
903
906
|
], CompanyProfile.prototype, "skills", 2);
|
|
@@ -985,8 +988,9 @@ var import_class_validator16 = require("class-validator");
|
|
|
985
988
|
var UpdateCompanyLogoDto = class {
|
|
986
989
|
};
|
|
987
990
|
__decorateClass([
|
|
988
|
-
(0, import_class_validator16.
|
|
989
|
-
|
|
991
|
+
(0, import_class_validator16.IsNotEmpty)({ message: "Please enter uuid." }),
|
|
992
|
+
(0, import_class_validator16.IsUUID)()
|
|
993
|
+
], UpdateCompanyLogoDto.prototype, "uuid", 2);
|
|
990
994
|
|
|
991
995
|
// src/modules/question/pattern/pattern.ts
|
|
992
996
|
var QUESTION_PATTERN = {
|
package/dist/index.mjs
CHANGED
|
@@ -911,11 +911,14 @@ __decorateClass([
|
|
|
911
911
|
Column8({ name: "bio", type: "varchar", nullable: true })
|
|
912
912
|
], CompanyProfile.prototype, "bio", 2);
|
|
913
913
|
__decorateClass([
|
|
914
|
-
Column8({ name: "
|
|
915
|
-
], CompanyProfile.prototype, "
|
|
914
|
+
Column8({ name: "website", type: "varchar" })
|
|
915
|
+
], CompanyProfile.prototype, "webSite", 2);
|
|
916
916
|
__decorateClass([
|
|
917
|
-
Column8({ name: "
|
|
918
|
-
], CompanyProfile.prototype, "
|
|
917
|
+
Column8({ name: "about_company", type: "varchar" })
|
|
918
|
+
], CompanyProfile.prototype, "aboutCompany", 2);
|
|
919
|
+
__decorateClass([
|
|
920
|
+
Column8({ name: "service_agreement", type: "boolean", default: false })
|
|
921
|
+
], CompanyProfile.prototype, "serviceAgreement", 2);
|
|
919
922
|
__decorateClass([
|
|
920
923
|
Column8({ name: "skills", type: "text", nullable: true })
|
|
921
924
|
], CompanyProfile.prototype, "skills", 2);
|
|
@@ -999,12 +1002,13 @@ __decorateClass([
|
|
|
999
1002
|
], UpdateCompanyProfileDto.prototype, "foundUsOn", 2);
|
|
1000
1003
|
|
|
1001
1004
|
// src/modules/user/client-profile/dto/update-client-logo.dto.ts
|
|
1002
|
-
import {
|
|
1005
|
+
import { IsNotEmpty as IsNotEmpty13, IsUUID as IsUUID6 } from "class-validator";
|
|
1003
1006
|
var UpdateCompanyLogoDto = class {
|
|
1004
1007
|
};
|
|
1005
1008
|
__decorateClass([
|
|
1006
|
-
|
|
1007
|
-
|
|
1009
|
+
IsNotEmpty13({ message: "Please enter uuid." }),
|
|
1010
|
+
IsUUID6()
|
|
1011
|
+
], UpdateCompanyLogoDto.prototype, "uuid", 2);
|
|
1008
1012
|
|
|
1009
1013
|
// src/modules/question/pattern/pattern.ts
|
|
1010
1014
|
var QUESTION_PATTERN = {
|
|
@@ -1013,23 +1017,23 @@ var QUESTION_PATTERN = {
|
|
|
1013
1017
|
|
|
1014
1018
|
// src/modules/question/dto/create-question.dto.ts
|
|
1015
1019
|
import {
|
|
1016
|
-
IsNotEmpty as
|
|
1020
|
+
IsNotEmpty as IsNotEmpty14,
|
|
1017
1021
|
IsOptional as IsOptional5,
|
|
1018
1022
|
IsBoolean as IsBoolean4
|
|
1019
1023
|
} from "class-validator";
|
|
1020
1024
|
var CreateQuestionDto = class {
|
|
1021
1025
|
};
|
|
1022
1026
|
__decorateClass([
|
|
1023
|
-
|
|
1027
|
+
IsNotEmpty14({ message: "Please enter unique id." })
|
|
1024
1028
|
], CreateQuestionDto.prototype, "questionId", 2);
|
|
1025
1029
|
__decorateClass([
|
|
1026
|
-
|
|
1030
|
+
IsNotEmpty14({ message: "Please enter question." })
|
|
1027
1031
|
], CreateQuestionDto.prototype, "question", 2);
|
|
1028
1032
|
__decorateClass([
|
|
1029
|
-
|
|
1033
|
+
IsNotEmpty14({ message: "Please enter for whom the question is." })
|
|
1030
1034
|
], CreateQuestionDto.prototype, "questionFor", 2);
|
|
1031
1035
|
__decorateClass([
|
|
1032
|
-
|
|
1036
|
+
IsNotEmpty14({ message: "Please enter options." })
|
|
1033
1037
|
], CreateQuestionDto.prototype, "options", 2);
|
|
1034
1038
|
__decorateClass([
|
|
1035
1039
|
IsOptional5(),
|