@iconicompany/imarketplacetypes 1.0.7 → 1.0.8
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/.github/workflows/publish-main.yml +7 -13
- package/dist/contracts/offer-contract.d.ts +1 -1
- package/dist/entities/offer/model.d.ts +1 -0
- package/package.json +1 -1
- package/src/contracts/job-contract.ts +1 -0
- package/src/contracts/offer-contract.ts +1 -1
- package/src/entities/offer/model.ts +16 -14
|
@@ -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@
|
|
18
|
-
- uses: actions/setup-node@
|
|
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
|
-
-
|
|
24
|
-
|
|
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
|
|
@@ -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
|
@@ -11,12 +11,12 @@ interface OfferRequirement {
|
|
|
11
11
|
matched: number;
|
|
12
12
|
comment?: string | null;
|
|
13
13
|
questions?:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
}
|