@experts_hub/shared 1.0.64 → 1.0.66
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/entities/index.d.ts +1 -0
- package/dist/entities/job-role.entity.d.ts +6 -0
- package/dist/index.d.mts +20 -1
- package/dist/index.d.ts +20 -1
- package/dist/index.js +26 -0
- package/dist/index.mjs +24 -0
- package/dist/modules/index.d.ts +1 -0
- package/dist/modules/job/index.d.ts +2 -0
- package/dist/modules/job/job.interface.d.ts +8 -0
- package/dist/modules/job/pattern/pattern.d.ts +3 -0
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -232,6 +232,19 @@ interface IFetchQuestionResponse {
|
|
|
232
232
|
data: any;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
+
declare const JOB_PATTERN: {
|
|
236
|
+
fetchJobRoles: string;
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
interface IFetchJobRoleQuery {
|
|
240
|
+
}
|
|
241
|
+
interface IFetchJobRoleResponse {
|
|
242
|
+
statusCode: number;
|
|
243
|
+
status: boolean;
|
|
244
|
+
message: string;
|
|
245
|
+
data: any;
|
|
246
|
+
}
|
|
247
|
+
|
|
235
248
|
declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
236
249
|
|
|
237
250
|
declare const JobTCPAdapter: () => MicroserviceOptions;
|
|
@@ -400,4 +413,10 @@ declare class Question extends BaseEntity {
|
|
|
400
413
|
isActive: boolean;
|
|
401
414
|
}
|
|
402
415
|
|
|
403
|
-
|
|
416
|
+
declare class JobRoles extends BaseEntity {
|
|
417
|
+
slug: string;
|
|
418
|
+
jobName: string;
|
|
419
|
+
isActive: boolean;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchJobRoleQuery, type IFetchJobRoleResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JobRMQAdapter, JobRoles, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.d.ts
CHANGED
|
@@ -232,6 +232,19 @@ interface IFetchQuestionResponse {
|
|
|
232
232
|
data: any;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
+
declare const JOB_PATTERN: {
|
|
236
|
+
fetchJobRoles: string;
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
interface IFetchJobRoleQuery {
|
|
240
|
+
}
|
|
241
|
+
interface IFetchJobRoleResponse {
|
|
242
|
+
statusCode: number;
|
|
243
|
+
status: boolean;
|
|
244
|
+
message: string;
|
|
245
|
+
data: any;
|
|
246
|
+
}
|
|
247
|
+
|
|
235
248
|
declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
236
249
|
|
|
237
250
|
declare const JobTCPAdapter: () => MicroserviceOptions;
|
|
@@ -400,4 +413,10 @@ declare class Question extends BaseEntity {
|
|
|
400
413
|
isActive: boolean;
|
|
401
414
|
}
|
|
402
415
|
|
|
403
|
-
|
|
416
|
+
declare class JobRoles extends BaseEntity {
|
|
417
|
+
slug: string;
|
|
418
|
+
jobName: string;
|
|
419
|
+
isActive: boolean;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchJobRoleQuery, type IFetchJobRoleResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JobRMQAdapter, JobRoles, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.js
CHANGED
|
@@ -43,7 +43,9 @@ __export(index_exports, {
|
|
|
43
43
|
FreelancerUploadResumeDto: () => FreelancerUploadResumeDto,
|
|
44
44
|
FreelancerWorkShowcaseDto: () => FreelancerWorkShowcaseDto,
|
|
45
45
|
FromUsOn: () => FromUsOn,
|
|
46
|
+
JOB_PATTERN: () => JOB_PATTERN,
|
|
46
47
|
JobRMQAdapter: () => JobRMQAdapter,
|
|
48
|
+
JobRoles: () => JobRoles,
|
|
47
49
|
JobTCPAdapter: () => JobTCPAdapter,
|
|
48
50
|
KindOfHire: () => KindOfHire,
|
|
49
51
|
LoginDto: () => LoginDto,
|
|
@@ -427,6 +429,11 @@ __decorateClass([
|
|
|
427
429
|
(0, import_class_validator15.IsBoolean)({ message: "Whether the question status active" })
|
|
428
430
|
], CreateQuestionDto.prototype, "isActive", 2);
|
|
429
431
|
|
|
432
|
+
// src/modules/job/pattern/pattern.ts
|
|
433
|
+
var JOB_PATTERN = {
|
|
434
|
+
fetchJobRoles: "fetch.jobs.roles"
|
|
435
|
+
};
|
|
436
|
+
|
|
430
437
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
431
438
|
var import_dotenv = require("dotenv");
|
|
432
439
|
var import_microservices = require("@nestjs/microservices");
|
|
@@ -1031,6 +1038,23 @@ __decorateClass([
|
|
|
1031
1038
|
Question = __decorateClass([
|
|
1032
1039
|
(0, import_typeorm8.Entity)("questions")
|
|
1033
1040
|
], Question);
|
|
1041
|
+
|
|
1042
|
+
// src/entities/job-role.entity.ts
|
|
1043
|
+
var import_typeorm9 = require("typeorm");
|
|
1044
|
+
var JobRoles = class extends BaseEntity {
|
|
1045
|
+
};
|
|
1046
|
+
__decorateClass([
|
|
1047
|
+
(0, import_typeorm9.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
1048
|
+
], JobRoles.prototype, "slug", 2);
|
|
1049
|
+
__decorateClass([
|
|
1050
|
+
(0, import_typeorm9.Column)({ name: "job_name", type: "varchar" })
|
|
1051
|
+
], JobRoles.prototype, "jobName", 2);
|
|
1052
|
+
__decorateClass([
|
|
1053
|
+
(0, import_typeorm9.Column)({ name: "is_active", type: "boolean", default: true })
|
|
1054
|
+
], JobRoles.prototype, "isActive", 2);
|
|
1055
|
+
JobRoles = __decorateClass([
|
|
1056
|
+
(0, import_typeorm9.Entity)("job_roles")
|
|
1057
|
+
], JobRoles);
|
|
1034
1058
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1035
1059
|
0 && (module.exports = {
|
|
1036
1060
|
AUTHENTICATION_PATTERN,
|
|
@@ -1049,7 +1073,9 @@ Question = __decorateClass([
|
|
|
1049
1073
|
FreelancerUploadResumeDto,
|
|
1050
1074
|
FreelancerWorkShowcaseDto,
|
|
1051
1075
|
FromUsOn,
|
|
1076
|
+
JOB_PATTERN,
|
|
1052
1077
|
JobRMQAdapter,
|
|
1078
|
+
JobRoles,
|
|
1053
1079
|
JobTCPAdapter,
|
|
1054
1080
|
KindOfHire,
|
|
1055
1081
|
LoginDto,
|
package/dist/index.mjs
CHANGED
|
@@ -410,6 +410,11 @@ __decorateClass([
|
|
|
410
410
|
IsBoolean4({ message: "Whether the question status active" })
|
|
411
411
|
], CreateQuestionDto.prototype, "isActive", 2);
|
|
412
412
|
|
|
413
|
+
// src/modules/job/pattern/pattern.ts
|
|
414
|
+
var JOB_PATTERN = {
|
|
415
|
+
fetchJobRoles: "fetch.jobs.roles"
|
|
416
|
+
};
|
|
417
|
+
|
|
413
418
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
414
419
|
import { config } from "dotenv";
|
|
415
420
|
import { Transport } from "@nestjs/microservices";
|
|
@@ -1056,6 +1061,23 @@ __decorateClass([
|
|
|
1056
1061
|
Question = __decorateClass([
|
|
1057
1062
|
Entity7("questions")
|
|
1058
1063
|
], Question);
|
|
1064
|
+
|
|
1065
|
+
// src/entities/job-role.entity.ts
|
|
1066
|
+
import { Entity as Entity8, Column as Column9 } from "typeorm";
|
|
1067
|
+
var JobRoles = class extends BaseEntity {
|
|
1068
|
+
};
|
|
1069
|
+
__decorateClass([
|
|
1070
|
+
Column9({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
1071
|
+
], JobRoles.prototype, "slug", 2);
|
|
1072
|
+
__decorateClass([
|
|
1073
|
+
Column9({ name: "job_name", type: "varchar" })
|
|
1074
|
+
], JobRoles.prototype, "jobName", 2);
|
|
1075
|
+
__decorateClass([
|
|
1076
|
+
Column9({ name: "is_active", type: "boolean", default: true })
|
|
1077
|
+
], JobRoles.prototype, "isActive", 2);
|
|
1078
|
+
JobRoles = __decorateClass([
|
|
1079
|
+
Entity8("job_roles")
|
|
1080
|
+
], JobRoles);
|
|
1059
1081
|
export {
|
|
1060
1082
|
AUTHENTICATION_PATTERN,
|
|
1061
1083
|
AccountStatus,
|
|
@@ -1073,7 +1095,9 @@ export {
|
|
|
1073
1095
|
FreelancerUploadResumeDto,
|
|
1074
1096
|
FreelancerWorkShowcaseDto,
|
|
1075
1097
|
FromUsOn,
|
|
1098
|
+
JOB_PATTERN,
|
|
1076
1099
|
JobRMQAdapter,
|
|
1100
|
+
JobRoles,
|
|
1077
1101
|
JobTCPAdapter,
|
|
1078
1102
|
KindOfHire,
|
|
1079
1103
|
LoginDto,
|
package/dist/modules/index.d.ts
CHANGED