@experts_hub/shared 1.0.112 → 1.0.114

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.
@@ -14,3 +14,4 @@ export * from './bank-details.entity';
14
14
  export * from './plan.entity';
15
15
  export * from './feature.entity';
16
16
  export * from './system-preference.entity';
17
+ export * from './rating.entity';
@@ -7,7 +7,7 @@ import { CompanyProfile } from "./company-profile.entity";
7
7
  import { Job } from "./job-entity";
8
8
  import { BankDetail } from "./bank-details.entity";
9
9
  import { SystemPreference } from "./system-preference.entity";
10
- import { Rating } from "./review.entity";
10
+ import { Rating } from "./rating.entity";
11
11
  export declare enum AccountType {
12
12
  ADMIN = "ADMIN",
13
13
  SUB_ADMIN = "SUB_ADMIN",
package/dist/index.d.mts CHANGED
@@ -753,6 +753,37 @@ declare const NOTIFICATION_PATTERN: {
753
753
  handleResetLinkNotification: string;
754
754
  };
755
755
 
756
+ declare const RATING_PATTERN: {
757
+ addRating: string;
758
+ fetchRating: string;
759
+ };
760
+
761
+ declare class CreateRatingDto {
762
+ revieweeId: number;
763
+ ratingType: RatingTypeEnum;
764
+ rating: number;
765
+ review?: string;
766
+ }
767
+
768
+ interface IAddRatingPayload {
769
+ reviewer_id: number;
770
+ reviewee_id: number;
771
+ ratingType: string;
772
+ rating: number;
773
+ review: string;
774
+ }
775
+ interface ICreateRatingResponse {
776
+ statusCode: number;
777
+ status: boolean;
778
+ message: string;
779
+ }
780
+ interface IFetchRatingResponse {
781
+ statusCode: number;
782
+ status: boolean;
783
+ message: string;
784
+ data: any;
785
+ }
786
+
756
787
  declare const UserTCPAdapter: () => MicroserviceOptions;
757
788
 
758
789
  declare const JobTCPAdapter: () => MicroserviceOptions;
@@ -803,4 +834,4 @@ declare class Plan extends BaseEntity {
803
834
  features: Feature[];
804
835
  }
805
836
 
806
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PLAN_PATTERN, PROFILE_PATTERN, Plan, Provider, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResetPasswordDto, ResumeParserLog, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
837
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, EmploymentType, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToSubAdminResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PLAN_PATTERN, PROFILE_PATTERN, Plan, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, ResumeParserLog, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.d.ts CHANGED
@@ -753,6 +753,37 @@ declare const NOTIFICATION_PATTERN: {
753
753
  handleResetLinkNotification: string;
754
754
  };
755
755
 
756
+ declare const RATING_PATTERN: {
757
+ addRating: string;
758
+ fetchRating: string;
759
+ };
760
+
761
+ declare class CreateRatingDto {
762
+ revieweeId: number;
763
+ ratingType: RatingTypeEnum;
764
+ rating: number;
765
+ review?: string;
766
+ }
767
+
768
+ interface IAddRatingPayload {
769
+ reviewer_id: number;
770
+ reviewee_id: number;
771
+ ratingType: string;
772
+ rating: number;
773
+ review: string;
774
+ }
775
+ interface ICreateRatingResponse {
776
+ statusCode: number;
777
+ status: boolean;
778
+ message: string;
779
+ }
780
+ interface IFetchRatingResponse {
781
+ statusCode: number;
782
+ status: boolean;
783
+ message: string;
784
+ data: any;
785
+ }
786
+
756
787
  declare const UserTCPAdapter: () => MicroserviceOptions;
757
788
 
758
789
  declare const JobTCPAdapter: () => MicroserviceOptions;
@@ -803,4 +834,4 @@ declare class Plan extends BaseEntity {
803
834
  features: Feature[];
804
835
  }
805
836
 
806
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PLAN_PATTERN, PROFILE_PATTERN, Plan, Provider, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResetPasswordDto, ResumeParserLog, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
837
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, EmploymentType, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToSubAdminResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PLAN_PATTERN, PROFILE_PATTERN, Plan, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, ResumeParserLog, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.js CHANGED
@@ -42,6 +42,7 @@ __export(index_exports, {
42
42
  ClientProfileQuestionDto: () => ClientProfileQuestionDto,
43
43
  CompanyProfile: () => CompanyProfile,
44
44
  CreateQuestionDto: () => CreateQuestionDto,
45
+ CreateRatingDto: () => CreateRatingDto,
45
46
  CreateSubAdminDto: () => CreateSubAdminDto,
46
47
  EmploymentType: () => EmploymentType,
47
48
  Feature: () => Feature,
@@ -91,7 +92,10 @@ __export(index_exports, {
91
92
  QUESTION_PATTERN: () => QUESTION_PATTERN,
92
93
  Question: () => Question,
93
94
  QuestionFor: () => QuestionFor,
95
+ RATING_PATTERN: () => RATING_PATTERN,
94
96
  RESUME_PARSER_PATTERN: () => RESUME_PARSER_PATTERN,
97
+ Rating: () => Rating,
98
+ RatingTypeEnum: () => RatingTypeEnum,
95
99
  RefreshDto: () => RefreshDto,
96
100
  RefreshToken: () => RefreshToken,
97
101
  ResetPasswordDto: () => ResetPasswordDto,
@@ -1069,7 +1073,7 @@ SystemPreference = __decorateClass([
1069
1073
  (0, import_typeorm10.Entity)("system_preferences")
1070
1074
  ], SystemPreference);
1071
1075
 
1072
- // src/entities/review.entity.ts
1076
+ // src/entities/rating.entity.ts
1073
1077
  var import_typeorm11 = require("typeorm");
1074
1078
  var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
1075
1079
  RatingTypeEnum2["FREELANCER_TO_CLIENT"] = "FREELANCER_TO_CLIENT";
@@ -1721,6 +1725,35 @@ var NOTIFICATION_PATTERN = {
1721
1725
  handleResetLinkNotification: "handle.reset.link.notification"
1722
1726
  };
1723
1727
 
1728
+ // src/modules/rating/pattern/pattern.ts
1729
+ var RATING_PATTERN = {
1730
+ addRating: "add.rating",
1731
+ fetchRating: "fetch.rating"
1732
+ };
1733
+
1734
+ // src/modules/rating/dto/add.rating.dto.ts
1735
+ var import_class_validator28 = require("class-validator");
1736
+ var CreateRatingDto = class {
1737
+ };
1738
+ __decorateClass([
1739
+ (0, import_class_validator28.IsInt)({ message: "Reviewee ID must be a valid integer" }),
1740
+ (0, import_class_validator28.IsNotEmpty)({ message: "Reviewee ID is required" })
1741
+ ], CreateRatingDto.prototype, "revieweeId", 2);
1742
+ __decorateClass([
1743
+ (0, import_class_validator28.IsEnum)(RatingTypeEnum, {
1744
+ message: `Rating type must be one of: ${Object.values(RatingTypeEnum).join(", ")}`
1745
+ })
1746
+ ], CreateRatingDto.prototype, "ratingType", 2);
1747
+ __decorateClass([
1748
+ (0, import_class_validator28.IsInt)({ message: "Rating must be an integer value" }),
1749
+ (0, import_class_validator28.Min)(1, { message: "Rating must be at least 1" }),
1750
+ (0, import_class_validator28.Max)(5, { message: "Rating must be at most 5" })
1751
+ ], CreateRatingDto.prototype, "rating", 2);
1752
+ __decorateClass([
1753
+ (0, import_class_validator28.IsOptional)(),
1754
+ (0, import_class_validator28.IsString)({ message: "Review must be a string" })
1755
+ ], CreateRatingDto.prototype, "review", 2);
1756
+
1724
1757
  // src/adapters/tcp/user.tcp.adapter.ts
1725
1758
  var import_dotenv = require("dotenv");
1726
1759
  var import_microservices = require("@nestjs/microservices");
@@ -2052,6 +2085,7 @@ Plan = __decorateClass([
2052
2085
  ClientProfileQuestionDto,
2053
2086
  CompanyProfile,
2054
2087
  CreateQuestionDto,
2088
+ CreateRatingDto,
2055
2089
  CreateSubAdminDto,
2056
2090
  EmploymentType,
2057
2091
  Feature,
@@ -2101,7 +2135,10 @@ Plan = __decorateClass([
2101
2135
  QUESTION_PATTERN,
2102
2136
  Question,
2103
2137
  QuestionFor,
2138
+ RATING_PATTERN,
2104
2139
  RESUME_PARSER_PATTERN,
2140
+ Rating,
2141
+ RatingTypeEnum,
2105
2142
  RefreshDto,
2106
2143
  RefreshToken,
2107
2144
  ResetPasswordDto,
package/dist/index.mjs CHANGED
@@ -1076,7 +1076,7 @@ SystemPreference = __decorateClass([
1076
1076
  Entity9("system_preferences")
1077
1077
  ], SystemPreference);
1078
1078
 
1079
- // src/entities/review.entity.ts
1079
+ // src/entities/rating.entity.ts
1080
1080
  import { Entity as Entity10, Column as Column11, ManyToOne as ManyToOne9, JoinColumn as JoinColumn9, Index as Index7 } from "typeorm";
1081
1081
  var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
1082
1082
  RatingTypeEnum2["FREELANCER_TO_CLIENT"] = "FREELANCER_TO_CLIENT";
@@ -1761,6 +1761,43 @@ var NOTIFICATION_PATTERN = {
1761
1761
  handleResetLinkNotification: "handle.reset.link.notification"
1762
1762
  };
1763
1763
 
1764
+ // src/modules/rating/pattern/pattern.ts
1765
+ var RATING_PATTERN = {
1766
+ addRating: "add.rating",
1767
+ fetchRating: "fetch.rating"
1768
+ };
1769
+
1770
+ // src/modules/rating/dto/add.rating.dto.ts
1771
+ import {
1772
+ IsEnum as IsEnum9,
1773
+ IsInt,
1774
+ IsNotEmpty as IsNotEmpty22,
1775
+ IsOptional as IsOptional9,
1776
+ IsString as IsString14,
1777
+ Max,
1778
+ Min as Min2
1779
+ } from "class-validator";
1780
+ var CreateRatingDto = class {
1781
+ };
1782
+ __decorateClass([
1783
+ IsInt({ message: "Reviewee ID must be a valid integer" }),
1784
+ IsNotEmpty22({ message: "Reviewee ID is required" })
1785
+ ], CreateRatingDto.prototype, "revieweeId", 2);
1786
+ __decorateClass([
1787
+ IsEnum9(RatingTypeEnum, {
1788
+ message: `Rating type must be one of: ${Object.values(RatingTypeEnum).join(", ")}`
1789
+ })
1790
+ ], CreateRatingDto.prototype, "ratingType", 2);
1791
+ __decorateClass([
1792
+ IsInt({ message: "Rating must be an integer value" }),
1793
+ Min2(1, { message: "Rating must be at least 1" }),
1794
+ Max(5, { message: "Rating must be at most 5" })
1795
+ ], CreateRatingDto.prototype, "rating", 2);
1796
+ __decorateClass([
1797
+ IsOptional9(),
1798
+ IsString14({ message: "Review must be a string" })
1799
+ ], CreateRatingDto.prototype, "review", 2);
1800
+
1764
1801
  // src/adapters/tcp/user.tcp.adapter.ts
1765
1802
  import { config } from "dotenv";
1766
1803
  import { Transport } from "@nestjs/microservices";
@@ -2091,6 +2128,7 @@ export {
2091
2128
  ClientProfileQuestionDto,
2092
2129
  CompanyProfile,
2093
2130
  CreateQuestionDto,
2131
+ CreateRatingDto,
2094
2132
  CreateSubAdminDto,
2095
2133
  EmploymentType,
2096
2134
  Feature,
@@ -2140,7 +2178,10 @@ export {
2140
2178
  QUESTION_PATTERN,
2141
2179
  Question,
2142
2180
  QuestionFor,
2181
+ RATING_PATTERN,
2143
2182
  RESUME_PARSER_PATTERN,
2183
+ Rating,
2184
+ RatingTypeEnum,
2144
2185
  RefreshDto,
2145
2186
  RefreshToken,
2146
2187
  ResetPasswordDto,
@@ -11,3 +11,4 @@ export * from './bank';
11
11
  export * from './plan';
12
12
  export * from './system-preference';
13
13
  export * from './notification';
14
+ export * from './rating';
@@ -0,0 +1,7 @@
1
+ import { RatingTypeEnum } from '../../../entities/rating.entity';
2
+ export declare class CreateRatingDto {
3
+ revieweeId: number;
4
+ ratingType: RatingTypeEnum;
5
+ rating: number;
6
+ review?: string;
7
+ }
@@ -0,0 +1 @@
1
+ export * from './add.rating.dto';
@@ -0,0 +1,3 @@
1
+ export * from './pattern/pattern';
2
+ export * from './dto';
3
+ export * from './rating.interface';
@@ -0,0 +1,4 @@
1
+ export declare const RATING_PATTERN: {
2
+ addRating: string;
3
+ fetchRating: string;
4
+ };
@@ -0,0 +1,18 @@
1
+ export interface IAddRatingPayload {
2
+ reviewer_id: number;
3
+ reviewee_id: number;
4
+ ratingType: string;
5
+ rating: number;
6
+ review: string;
7
+ }
8
+ export interface ICreateRatingResponse {
9
+ statusCode: number;
10
+ status: boolean;
11
+ message: string;
12
+ }
13
+ export interface IFetchRatingResponse {
14
+ statusCode: number;
15
+ status: boolean;
16
+ message: string;
17
+ data: any;
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.112",
3
+ "version": "1.0.114",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",