@thejob/schema 1.0.46 → 1.0.48

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.
@@ -1 +1 @@
1
- {"version":3,"file":"common.types.d.ts","sourceRoot":"","sources":["../../../src/common/common.types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,CAAC,GAAG;IAClC,GAAG,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,QAAQ,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AAElD,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAUF,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAA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AC,cAAc,EAAE,iBAAiB,CAAC,CAC1C,CAAC"}
@@ -147,14 +147,7 @@ export interface IAiPromptJobApplicationSummary {
147
147
  value: "others" | (string | undefined)[];
148
148
  otherValue: string | string[];
149
149
  } | undefined;
150
- skills?: ({
151
- logo?: string | undefined;
152
- id: string;
153
- name: string;
154
- } | {
155
- value: "others" | (string | undefined)[];
156
- otherValue: string | string[];
157
- } | undefined)[] | undefined;
150
+ skills?: (string | undefined)[] | undefined;
158
151
  bookmarks?: {
159
152
  createdAt: string;
160
153
  userId: string;
@@ -265,11 +258,11 @@ export interface IAiPromptJobApplicationSummary {
265
258
  ratePerHour?: number | undefined;
266
259
  isPromoted?: boolean | undefined;
267
260
  salaryRange?: {
268
- min?: number | undefined;
269
- max?: number | undefined;
261
+ min?: number | null | undefined;
262
+ max?: number | null | undefined;
263
+ compensationType?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").CompensationType | null | undefined;
270
264
  currency: string;
271
- compensationType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").CompensationType | undefined>;
272
- isNegotiable: boolean;
265
+ isNegotiable: boolean | null;
273
266
  } | null | undefined;
274
267
  reports?: {
275
268
  createdAt: string;
@@ -830,14 +823,7 @@ export interface IJobSchema {
830
823
  value: "others" | (string | undefined)[];
831
824
  otherValue: string | string[];
832
825
  } | undefined;
833
- skills?: ({
834
- logo?: string | undefined;
835
- id: string;
836
- name: string;
837
- } | {
838
- value: "others" | (string | undefined)[];
839
- otherValue: string | string[];
840
- } | undefined)[] | undefined;
826
+ skills?: (string | undefined)[] | undefined;
841
827
  bookmarks?: {
842
828
  createdAt: string;
843
829
  userId: string;
@@ -948,11 +934,11 @@ export interface IJobSchema {
948
934
  ratePerHour?: number | undefined;
949
935
  isPromoted?: boolean | undefined;
950
936
  salaryRange?: {
951
- min?: number | undefined;
952
- max?: number | undefined;
937
+ min?: number | null | undefined;
938
+ max?: number | null | undefined;
939
+ compensationType?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").CompensationType | null | undefined;
953
940
  currency: string;
954
- compensationType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").CompensationType | undefined>;
955
- isNegotiable: boolean;
941
+ isNegotiable: boolean | null;
956
942
  } | null | undefined;
957
943
  reports?: {
958
944
  createdAt: string;
@@ -1406,14 +1392,7 @@ export interface IJobRoleTemplateSchema {
1406
1392
  value: "others" | (string | undefined)[];
1407
1393
  otherValue: string | string[];
1408
1394
  } | undefined;
1409
- skills?: ({
1410
- logo?: string | undefined;
1411
- id: string;
1412
- name: string;
1413
- } | {
1414
- value: "others" | (string | undefined)[];
1415
- otherValue: string | string[];
1416
- } | undefined)[] | undefined;
1395
+ skills?: (string | undefined)[] | undefined;
1417
1396
  tags?: any[] | undefined;
1418
1397
  questionnaire?: ({
1419
1398
  label?: string | undefined;