@experts_hub/shared 1.0.597 → 1.0.598

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
@@ -3529,7 +3529,7 @@ declare class CustomQuestionItemDto {
3529
3529
  declare class AiQuestionItemDto {
3530
3530
  uuid?: string;
3531
3531
  question: string;
3532
- concepts?: string;
3532
+ concepts?: string[];
3533
3533
  }
3534
3534
  declare class CreateInterviewQuestionsDto {
3535
3535
  questions?: CustomQuestionItemDto[];
@@ -3603,7 +3603,7 @@ declare enum ContractTypeEnumDto {
3603
3603
  MSA = "MSA"
3604
3604
  }
3605
3605
  declare class GenerateContractDto {
3606
- jobId: string;
3606
+ jobId: number;
3607
3607
  freelancerId: number;
3608
3608
  contractType?: ContractTypeEnumDto;
3609
3609
  contractStartDate?: string;
package/dist/index.d.ts CHANGED
@@ -3529,7 +3529,7 @@ declare class CustomQuestionItemDto {
3529
3529
  declare class AiQuestionItemDto {
3530
3530
  uuid?: string;
3531
3531
  question: string;
3532
- concepts?: string;
3532
+ concepts?: string[];
3533
3533
  }
3534
3534
  declare class CreateInterviewQuestionsDto {
3535
3535
  questions?: CustomQuestionItemDto[];
@@ -3603,7 +3603,7 @@ declare enum ContractTypeEnumDto {
3603
3603
  MSA = "MSA"
3604
3604
  }
3605
3605
  declare class GenerateContractDto {
3606
- jobId: string;
3606
+ jobId: number;
3607
3607
  freelancerId: number;
3608
3608
  contractType?: ContractTypeEnumDto;
3609
3609
  contractStartDate?: string;
package/dist/index.js CHANGED
@@ -9183,7 +9183,8 @@ __decorateClass([
9183
9183
  ], AiQuestionItemDto.prototype, "question", 2);
9184
9184
  __decorateClass([
9185
9185
  (0, import_class_validator106.IsOptional)(),
9186
- (0, import_class_validator106.IsString)({ message: "Concepts must be a string." })
9186
+ (0, import_class_validator106.IsArray)({ message: "Concepts must be an array." }),
9187
+ (0, import_class_validator106.IsString)({ each: true, message: "Each concept must be a string." })
9187
9188
  ], AiQuestionItemDto.prototype, "concepts", 2);
9188
9189
  var CreateInterviewQuestionsDto = class {
9189
9190
  };
@@ -9327,7 +9328,7 @@ var ContractTypeEnumDto = /* @__PURE__ */ ((ContractTypeEnumDto2) => {
9327
9328
  var GenerateContractDto = class {
9328
9329
  };
9329
9330
  __decorateClass([
9330
- (0, import_class_validator110.IsUUID)("4", { message: "Job ID must be a valid UUID." }),
9331
+ (0, import_class_validator110.IsNumber)({}, { message: "Job ID must be a number." }),
9331
9332
  (0, import_class_validator110.IsNotEmpty)({ message: "Job ID is required." })
9332
9333
  ], GenerateContractDto.prototype, "jobId", 2);
9333
9334
  __decorateClass([
package/dist/index.mjs CHANGED
@@ -9271,7 +9271,8 @@ __decorateClass([
9271
9271
  ], AiQuestionItemDto.prototype, "question", 2);
9272
9272
  __decorateClass([
9273
9273
  IsOptional63(),
9274
- IsString65({ message: "Concepts must be a string." })
9274
+ IsArray23({ message: "Concepts must be an array." }),
9275
+ IsString65({ each: true, message: "Each concept must be a string." })
9275
9276
  ], AiQuestionItemDto.prototype, "concepts", 2);
9276
9277
  var CreateInterviewQuestionsDto = class {
9277
9278
  };
@@ -9427,7 +9428,7 @@ var ContractTypeEnumDto = /* @__PURE__ */ ((ContractTypeEnumDto2) => {
9427
9428
  var GenerateContractDto = class {
9428
9429
  };
9429
9430
  __decorateClass([
9430
- IsUUID23("4", { message: "Job ID must be a valid UUID." }),
9431
+ IsNumber22({}, { message: "Job ID must be a number." }),
9431
9432
  IsNotEmpty90({ message: "Job ID is required." })
9432
9433
  ], GenerateContractDto.prototype, "jobId", 2);
9433
9434
  __decorateClass([
@@ -10,7 +10,7 @@ export declare enum ContractTypeEnumDto {
10
10
  MSA = "MSA"
11
11
  }
12
12
  export declare class GenerateContractDto {
13
- jobId: string;
13
+ jobId: number;
14
14
  freelancerId: number;
15
15
  contractType?: ContractTypeEnumDto;
16
16
  contractStartDate?: string;
@@ -5,7 +5,7 @@ export declare class CustomQuestionItemDto {
5
5
  export declare class AiQuestionItemDto {
6
6
  uuid?: string;
7
7
  question: string;
8
- concepts?: string;
8
+ concepts?: string[];
9
9
  }
10
10
  export declare class CreateInterviewQuestionsDto {
11
11
  questions?: CustomQuestionItemDto[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.597",
3
+ "version": "1.0.598",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",