@iconicompany/imarketplacetypes 1.0.20 → 1.0.22
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/dictionary/index.d.ts +1 -0
- package/dist/entities/dictionary/offerRejectCause/index.d.ts +1 -0
- package/dist/entities/dictionary/offerRejectCause/index.js +1 -0
- package/dist/entities/dictionary/offerRejectCause/model.d.ts +7 -0
- package/dist/entities/dictionary/offerRejectCause/model.js +1 -0
- package/dist/entities/index.d.ts +1 -1
- package/dist/entities/offer/index.d.ts +1 -1
- package/dist/entities/offer/model.d.ts +4 -2
- package/dist/services/offer-service.d.ts +2 -0
- package/package.json +2 -2
- package/src/entities/dictionary/index.ts +1 -0
- package/src/entities/dictionary/offerRejectCause/index.ts +1 -0
- package/src/entities/dictionary/offerRejectCause/model.ts +7 -0
- package/src/entities/index.ts +1 -1
- package/src/entities/offer/index.ts +1 -1
- package/src/entities/offer/model.ts +5 -1
- package/src/services/offer-service.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { OfferRejectCause } from './model';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ export type { Company } from "./company";
|
|
|
2
2
|
export type * from "./dictionary";
|
|
3
3
|
export type * from "./user";
|
|
4
4
|
export type { Specialist } from "./specialist";
|
|
5
|
-
export type { Offer, OfferCreatedBy } from "./offer";
|
|
5
|
+
export type { Offer, OfferCreatedBy, OfferRejectCause } from "./offer";
|
|
6
6
|
export type { Job, JobCreatedBy } from "./job";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { Offer, OfferCreatedBy } from './model';
|
|
1
|
+
export type { Offer, OfferCreatedBy, OfferRejectCause } from './model';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { Specialist } from "@/entities/specialist";
|
|
2
2
|
import type { Job } from "@/entities/job";
|
|
3
3
|
import type { User } from "@/entities/user";
|
|
4
|
-
import type { OfferStatus } from "@/entities/dictionary";
|
|
4
|
+
import type { OfferStatus, OfferRejectCause } from "@/entities/dictionary";
|
|
5
5
|
import { Company } from "../company";
|
|
6
|
+
export type { OfferRejectCause };
|
|
6
7
|
export type OfferCreatedBy = "user" | "databaseСomparison" | "loader" | "cosineSimilarity" | "importByLink" | "headhunter" | "system" | "skill";
|
|
7
8
|
interface OfferRequirement {
|
|
8
9
|
id?: string | null;
|
|
@@ -34,6 +35,8 @@ interface DefaultOffer {
|
|
|
34
35
|
matched?: number | null;
|
|
35
36
|
comment?: string | null;
|
|
36
37
|
assessmentOfRequirements?: string | null;
|
|
38
|
+
rejectComment?: string | null;
|
|
39
|
+
rejectCause?: string | OfferRejectCause | null;
|
|
37
40
|
createdBy?: OfferCreatedBy | null;
|
|
38
41
|
respondedAt?: string | null;
|
|
39
42
|
matchedBatch?: number | null;
|
|
@@ -42,4 +45,3 @@ interface DefaultOffer {
|
|
|
42
45
|
createdAt: string;
|
|
43
46
|
}
|
|
44
47
|
export type Offer<TOverride extends Partial<DefaultOffer> = {}> = Omit<DefaultOffer, keyof TOverride> & TOverride;
|
|
45
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iconicompany/imarketplacetypes",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.22",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"build": "tsc"
|
|
9
|
+
"build": "npx tsc"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"typescript": "^5.0.0"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { OfferRejectCause } from './model';
|
package/src/entities/index.ts
CHANGED
|
@@ -2,5 +2,5 @@ export type { Company } from "./company";
|
|
|
2
2
|
export type * from "./dictionary";
|
|
3
3
|
export type * from "./user";
|
|
4
4
|
export type { Specialist } from "./specialist";
|
|
5
|
-
export type { Offer, OfferCreatedBy } from "./offer";
|
|
5
|
+
export type { Offer, OfferCreatedBy, OfferRejectCause } from "./offer";
|
|
6
6
|
export type { Job, JobCreatedBy } from "./job";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { Offer, OfferCreatedBy } from './model';
|
|
1
|
+
export type { Offer, OfferCreatedBy, OfferRejectCause } from './model';
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { Specialist } from "@/entities/specialist";
|
|
2
2
|
import type { Job } from "@/entities/job";
|
|
3
3
|
import type { User } from "@/entities/user";
|
|
4
|
-
import type { OfferStatus } from "@/entities/dictionary";
|
|
4
|
+
import type { OfferStatus, OfferRejectCause } from "@/entities/dictionary";
|
|
5
5
|
import { Company } from "../company";
|
|
6
6
|
|
|
7
|
+
export type { OfferRejectCause };
|
|
8
|
+
|
|
7
9
|
export type OfferCreatedBy =
|
|
8
10
|
| "user"
|
|
9
11
|
| "databaseСomparison"
|
|
@@ -48,6 +50,8 @@ interface DefaultOffer {
|
|
|
48
50
|
matched?: number | null;
|
|
49
51
|
comment?: string | null;
|
|
50
52
|
assessmentOfRequirements?: string | null;
|
|
53
|
+
rejectComment?: string | null;
|
|
54
|
+
rejectCause?: string | OfferRejectCause | null;
|
|
51
55
|
createdBy?: OfferCreatedBy | null;
|
|
52
56
|
respondedAt?: string | null;
|
|
53
57
|
matchedBatch?: number | null;
|