Skip to content

Commit

Permalink
Upgrade runtime (#236)
Browse files Browse the repository at this point in the history
* chore: bump runtime

* refactor: adapt to runtime changes

* chore: add parentId

* chore: bump sdk

* fix: correct query

* ci: add concurrency to test workflow
  • Loading branch information
jkoenig134 committed Aug 14, 2024
1 parent 09c1602 commit e23409a
Show file tree
Hide file tree
Showing 9 changed files with 61 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .ci/runChecks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ npm run lint:prettier

# auditing
npx license-check --ignoreRegex @nmshd/connector
npx better-npm-audit audit --exclude 1093639,1096302,1098582
npx better-npm-audit audit --exclude 1093639,1096302
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
push:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true

jobs:
run-checks:
runs-on: ubuntu-latest
Expand Down
70 changes: 42 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@
"@js-soft/node-logger": "1.2.0",
"@js-soft/ts-utils": "^2.3.3",
"@nmshd/iql": "^1.0.2",
"@nmshd/runtime": "4.14.0",
"@nmshd/runtime": "4.14.4",
"agentkeepalive": "4.5.0",
"amqplib": "^0.10.4",
"axios": "^1.7.3",
"axios": "^1.7.4",
"compression": "1.7.4",
"cors": "2.8.5",
"eventsource": "^2.0.2",
Expand Down Expand Up @@ -125,7 +125,7 @@
"@types/lodash": "^4.17.7",
"@types/luxon": "^3.4.2",
"@types/nconf": "^0.10.7",
"@types/node": "^22.2.0",
"@types/node": "^22.3.0",
"@types/on-headers": "^1.0.3",
"@types/swagger-ui-express": "^4.1.6",
"@types/yamljs": "^0.2.34",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"build:schemas:watch": "npx nodemon -e ts -w 'src/types' --exec 'npm run build:schemas'"
},
"dependencies": {
"axios": "^1.7.3",
"axios": "^1.7.4",
"form-data": "^4.0.0",
"qs": "^6.13.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/sdk/src/types/attributes/ConnectorAttribute.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export interface ConnectorAttribute {
id: string;
parentId?: string;
createdAt: string;
content: ConnectorIdentityAttribute | ConnectorRelationshipAttribute;
succeeds?: string;
Expand All @@ -12,7 +13,9 @@ export enum ConnectorAttributeDeletionStatus {
ToBeDeleted = "ToBeDeleted",
ToBeDeletedByPeer = "ToBeDeletedByPeer",
DeletedByPeer = "DeletedByPeer",
DeletedByOwner = "DeletedByOwner"
DeletedByOwner = "DeletedByOwner",
DeletionRequestSent = "DeletionRequestSent",
DeletionRequestRejected = "DeletionRequestRejected"
}

export interface ConnectorAttributeDeletionInfo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@ export interface GetOwnRepositoryAttributesRequest {
"content.validFrom"?: string | string[];
"content.validTo"?: string | string[];
"content.value.@type"?: string | string[];
deletionInfo?: string | string[];
"deletionInfo.deletionStatus"?: string | string[];
"deletionInfo.deletionDate"?: string | string[];
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ export interface GetOwnSharedIdentityAttributesRequest {
"query.shareInfo.requestReference"?: string | string[];
"query.shareInfo.notificationReference"?: string | string[];
"query.shareInfo.sourceAttribute"?: string | string[];
"query.deletionInfo"?: string | string[];
"query.deletionInfo.deletionStatus"?: string | string[];
"query.deletionInfo.deletionDate"?: string | string[];
hideTechnical?: boolean;
onlyLatestVersions?: boolean;
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ export interface GetPeerSharedIdentityAttributesRequest {
"query.shareInfo"?: string | string[];
"query.shareInfo.requestReference"?: string | string[];
"query.shareInfo.notificationReference"?: string | string[];
"query.deletionInfo"?: string | string[];
"query.deletionInfo.deletionStatus"?: string | string[];
"query.deletionInfo.deletionDate"?: string | string[];
hideTechnical?: boolean;
onlyLatestVersions?: boolean;
}

0 comments on commit e23409a

Please sign in to comment.