@experts_hub/shared 1.0.152 → 1.0.153
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/permission.entity.d.ts +7 -0
- package/dist/index.d.mts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +23 -0
- package/dist/index.mjs +22 -0
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1233,4 +1233,11 @@ declare class Plan extends BaseEntity {
|
|
|
1233
1233
|
features: Feature[];
|
|
1234
1234
|
}
|
|
1235
1235
|
|
|
1236
|
-
|
|
1236
|
+
declare class Permission extends BaseEntity {
|
|
1237
|
+
name: string;
|
|
1238
|
+
slug: string;
|
|
1239
|
+
description: string;
|
|
1240
|
+
isActive: boolean;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.d.ts
CHANGED
|
@@ -1233,4 +1233,11 @@ declare class Plan extends BaseEntity {
|
|
|
1233
1233
|
features: Feature[];
|
|
1234
1234
|
}
|
|
1235
1235
|
|
|
1236
|
-
|
|
1236
|
+
declare class Permission extends BaseEntity {
|
|
1237
|
+
name: string;
|
|
1238
|
+
slug: string;
|
|
1239
|
+
description: string;
|
|
1240
|
+
isActive: boolean;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.js
CHANGED
|
@@ -112,6 +112,7 @@ __export(index_exports, {
|
|
|
112
112
|
Otp: () => Otp,
|
|
113
113
|
PLAN_PATTERN: () => PLAN_PATTERN,
|
|
114
114
|
PROFILE_PATTERN: () => PROFILE_PATTERN,
|
|
115
|
+
Permission: () => Permission,
|
|
115
116
|
Plan: () => Plan,
|
|
116
117
|
ProjectDto: () => ProjectDto,
|
|
117
118
|
Provider: () => Provider,
|
|
@@ -2876,6 +2877,27 @@ __decorateClass([
|
|
|
2876
2877
|
Plan = __decorateClass([
|
|
2877
2878
|
(0, import_typeorm25.Entity)("plans")
|
|
2878
2879
|
], Plan);
|
|
2880
|
+
|
|
2881
|
+
// src/entities/permission.entity.ts
|
|
2882
|
+
var import_typeorm26 = require("typeorm");
|
|
2883
|
+
var Permission = class extends BaseEntity {
|
|
2884
|
+
};
|
|
2885
|
+
__decorateClass([
|
|
2886
|
+
(0, import_typeorm26.Column)({ name: "name", type: "varchar", nullable: true })
|
|
2887
|
+
], Permission.prototype, "name", 2);
|
|
2888
|
+
__decorateClass([
|
|
2889
|
+
(0, import_typeorm26.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
|
|
2890
|
+
(0, import_typeorm26.Index)()
|
|
2891
|
+
], Permission.prototype, "slug", 2);
|
|
2892
|
+
__decorateClass([
|
|
2893
|
+
(0, import_typeorm26.Column)({ name: "description", type: "text", nullable: true })
|
|
2894
|
+
], Permission.prototype, "description", 2);
|
|
2895
|
+
__decorateClass([
|
|
2896
|
+
(0, import_typeorm26.Column)({ name: "is_active", type: "boolean", default: true })
|
|
2897
|
+
], Permission.prototype, "isActive", 2);
|
|
2898
|
+
Permission = __decorateClass([
|
|
2899
|
+
(0, import_typeorm26.Entity)("permissions")
|
|
2900
|
+
], Permission);
|
|
2879
2901
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2880
2902
|
0 && (module.exports = {
|
|
2881
2903
|
AUTHENTICATION_PATTERN,
|
|
@@ -2963,6 +2985,7 @@ Plan = __decorateClass([
|
|
|
2963
2985
|
Otp,
|
|
2964
2986
|
PLAN_PATTERN,
|
|
2965
2987
|
PROFILE_PATTERN,
|
|
2988
|
+
Permission,
|
|
2966
2989
|
Plan,
|
|
2967
2990
|
ProjectDto,
|
|
2968
2991
|
Provider,
|
package/dist/index.mjs
CHANGED
|
@@ -2937,6 +2937,27 @@ __decorateClass([
|
|
|
2937
2937
|
Plan = __decorateClass([
|
|
2938
2938
|
Entity24("plans")
|
|
2939
2939
|
], Plan);
|
|
2940
|
+
|
|
2941
|
+
// src/entities/permission.entity.ts
|
|
2942
|
+
import { Column as Column26, Entity as Entity25, Index as Index18 } from "typeorm";
|
|
2943
|
+
var Permission = class extends BaseEntity {
|
|
2944
|
+
};
|
|
2945
|
+
__decorateClass([
|
|
2946
|
+
Column26({ name: "name", type: "varchar", nullable: true })
|
|
2947
|
+
], Permission.prototype, "name", 2);
|
|
2948
|
+
__decorateClass([
|
|
2949
|
+
Column26({ name: "slug", type: "varchar", nullable: true, unique: true }),
|
|
2950
|
+
Index18()
|
|
2951
|
+
], Permission.prototype, "slug", 2);
|
|
2952
|
+
__decorateClass([
|
|
2953
|
+
Column26({ name: "description", type: "text", nullable: true })
|
|
2954
|
+
], Permission.prototype, "description", 2);
|
|
2955
|
+
__decorateClass([
|
|
2956
|
+
Column26({ name: "is_active", type: "boolean", default: true })
|
|
2957
|
+
], Permission.prototype, "isActive", 2);
|
|
2958
|
+
Permission = __decorateClass([
|
|
2959
|
+
Entity25("permissions")
|
|
2960
|
+
], Permission);
|
|
2940
2961
|
export {
|
|
2941
2962
|
AUTHENTICATION_PATTERN,
|
|
2942
2963
|
AccountStatus,
|
|
@@ -3023,6 +3044,7 @@ export {
|
|
|
3023
3044
|
Otp,
|
|
3024
3045
|
PLAN_PATTERN,
|
|
3025
3046
|
PROFILE_PATTERN,
|
|
3047
|
+
Permission,
|
|
3026
3048
|
Plan,
|
|
3027
3049
|
ProjectDto,
|
|
3028
3050
|
Provider,
|