@iconicompany/imarketplacetypes 1.0.7 → 1.0.9

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.
@@ -7,6 +7,7 @@ on:
7
7
 
8
8
 
9
9
  permissions:
10
+ id-token: write # Required for OIDC https://docs.npmjs.com/trusted-publishers
10
11
  contents: write # нужно для пуша
11
12
 
12
13
  jobs:
@@ -14,29 +15,22 @@ jobs:
14
15
  runs-on: ubuntu-latest
15
16
 
16
17
  steps:
17
- - uses: actions/checkout@v3
18
- - uses: actions/setup-node@v3
18
+ - uses: actions/checkout@v4
19
+ - uses: actions/setup-node@v4
19
20
  with:
20
21
  node-version: 20
21
22
  registry-url: https://registry.npmjs.org/
22
-
23
- - name: Install dependencies
24
- run: npm ci
25
-
26
- - name: Build
27
- run: npm run build
28
-
23
+ # Ensure npm 11.5.1 or later is installed
24
+ - run: npm install -g npm@latest
25
+ - run: npm ci
26
+ - run: npm run build
29
27
  - name: Bump version
30
28
  run: |
31
29
  git config --global user.name "github-actions"
32
30
  git config --global user.email "github-actions@github.com"
33
31
  npm version patch --force
34
-
35
32
  - name: Publish to NPM
36
33
  run: npm publish --access public
37
- env:
38
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
39
-
40
34
  - name: Commit and push
41
35
  run: |
42
36
  git push
@@ -10,7 +10,7 @@ export interface OfferContract {
10
10
  };
11
11
  result: getPaginatedOffersResult;
12
12
  };
13
- getCandidate: {
13
+ getOffer: {
14
14
  params: {
15
15
  id: string;
16
16
  };
@@ -27,6 +27,7 @@ interface DefaultCompany {
27
27
  telegramChatId?: string | null;
28
28
  telegramChatNotificationId?: string | null;
29
29
  isSpecialistNotificationSub?: boolean | null;
30
+ theme?: string | null;
30
31
  updatedAt: string;
31
32
  createdAt: string;
32
33
  }
@@ -36,6 +36,7 @@ interface DefaultOffer {
36
36
  createdBy?: ("user" | "databaseСomparison" | "loader" | "cosineSimilarity" | "importByLink") | null;
37
37
  respondedAt?: string | null;
38
38
  matchedBatch?: number | null;
39
+ liked?: boolean | null;
39
40
  updatedAt: string;
40
41
  createdAt: string;
41
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iconicompany/imarketplacetypes",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "module": "dist/index.js",
@@ -22,3 +22,4 @@ export interface JobContract {
22
22
  result: getJobSelectResult;
23
23
  };
24
24
  }
25
+
@@ -11,7 +11,7 @@ export interface OfferContract {
11
11
  };
12
12
 
13
13
  // /offers/:id
14
- getCandidate: {
14
+ getOffer: {
15
15
  params: { id: string };
16
16
  result: DetailedOffer | undefined;
17
17
  };
@@ -21,15 +21,16 @@ interface DefaultCompany {
21
21
  };
22
22
  services?: (string | Service)[] | null;
23
23
  dossier?:
24
- | {
25
- code: 'CV' | 'CHECKLIST';
26
- content?: (string | null) | Media;
27
- id?: string | null;
28
- }[]
29
- | null;
24
+ | {
25
+ code: 'CV' | 'CHECKLIST';
26
+ content?: (string | null) | Media;
27
+ id?: string | null;
28
+ }[]
29
+ | null;
30
30
  telegramChatId?: string | null;
31
31
  telegramChatNotificationId?: string | null;
32
32
  isSpecialistNotificationSub?: boolean | null;
33
+ theme?: string | null;
33
34
  updatedAt: string;
34
35
  createdAt: string;
35
36
  }
@@ -11,12 +11,12 @@ interface OfferRequirement {
11
11
  matched: number;
12
12
  comment?: string | null;
13
13
  questions?:
14
- | {
15
- question?: string | null;
16
- answer?: string | null;
17
- id?: string | null;
18
- }[]
19
- | null;
14
+ | {
15
+ question?: string | null;
16
+ answer?: string | null;
17
+ id?: string | null;
18
+ }[]
19
+ | null;
20
20
  }
21
21
 
22
22
  interface DefaultOffer {
@@ -38,16 +38,18 @@ interface DefaultOffer {
38
38
  comment?: string | null;
39
39
  assessmentOfRequirements?: string | null;
40
40
  createdBy?:
41
- | (
42
- | "user"
43
- | "databaseСomparison"
44
- | "loader"
45
- | "cosineSimilarity"
46
- | "importByLink"
47
- )
48
- | null;
41
+ | (
42
+ | "user"
43
+ | "databaseСomparison"
44
+ | "loader"
45
+ | "cosineSimilarity"
46
+ | "importByLink"
47
+ )
48
+ | null;
49
49
  respondedAt?: string | null;
50
50
  matchedBatch?: number | null;
51
+ liked?: boolean | null;
52
+
51
53
  updatedAt: string;
52
54
  createdAt: string;
53
55
  }