Skip to content

Commit

Permalink
Query password protection (#327)
Browse files Browse the repository at this point in the history
* feat: password protection

* test: add tests

* chore: bump runtime

* chore: bump runtime in sdk

* fix: more bumping

* test: fix attribute succession

* test: more fixing

* fix: update openapi

* test: expand tests

* Chore(deps): bump the update-npm-dependencies group across 1 directory with 4 updates (#321)

* chore: bump backbone

* feat: add querying

* feat: adapt querying to runtime changes

* feat: name PartialBooleanFilter

* test: add tests

* chore: npm i

---------

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 18, 2024
1 parent a8d6b34 commit 61e5bc9
Show file tree
Hide file tree
Showing 11 changed files with 283 additions and 57 deletions.
97 changes: 54 additions & 43 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 @@ -83,7 +83,7 @@
"@js-soft/docdb-access-mongo": "1.1.9",
"@js-soft/node-logger": "1.2.0",
"@js-soft/ts-utils": "^2.3.3",
"@nmshd/runtime": "6.13.0",
"@nmshd/runtime": "6.16.0",
"@nmshd/typescript-ioc": "^3.2.4",
"@nmshd/typescript-rest": "^3.0.5",
"agentkeepalive": "4.5.0",
Expand Down Expand Up @@ -113,8 +113,8 @@
"@js-soft/eslint-config-ts": "1.6.13",
"@js-soft/license-check": "1.0.9",
"@nmshd/connector-sdk": "*",
"@nmshd/content": "6.13.0",
"@nmshd/core-types": "6.13.0",
"@nmshd/content": "6.16.0",
"@nmshd/core-types": "6.16.0",
"@nmshd/typescript-rest-swagger": "^1.4.1",
"@types/amqplib": "^0.10.6",
"@types/compression": "^1.7.5",
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": {
"@nmshd/content": "6.13.0",
"@nmshd/content": "6.16.0",
"axios": "^1.7.9",
"form-data": "^4.0.1",
"qs": "^6.13.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ export interface GetOwnTemplatesRequest {
createdByDevice?: string | string[];
maxNumberOfAllocations?: number | number[];
forIdentity?: string | string[];
passwordProtection?: "" | "!";
"passwordProtection.password"?: string | string[];
"passwordProtection.passwordIsPin"?: "true" | "!";
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ export interface GetPeerRelationshipTemplatesRequest {
createdBy?: string | string[];
maxNumberOfAllocations?: number | number[];
forIdentity?: string;
passwordProtection?: "" | "!";
"passwordProtection.password"?: string | string[];
"passwordProtection.passwordIsPin"?: "true" | "!";
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ export interface GetRelationshipTemplatesRequest {
createdByDevice?: string | string[];
maxNumberOfAllocations?: number | number[];
forIdentity?: string | string[];
passwordProtection?: "" | "!";
"passwordProtection.password"?: string | string[];
"passwordProtection.passwordIsPin"?: "true" | "!";
isOwn?: boolean | boolean[];
}
3 changes: 3 additions & 0 deletions packages/sdk/src/types/tokens/requests/GetOwnTokensRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ export interface GetOwnTokensRequest {
createdByDevice?: string | string[];
expiresAt?: string | string[];
forIdentity?: string | string[];
passwordProtection?: "" | "!";
"passwordProtection.password"?: string | string[];
"passwordProtection.passwordIsPin"?: "true" | "!";
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ export interface GetPeerTokensRequest {
createdBy?: string | string[];
expiresAt?: string | string[];
forIdentity?: string;
passwordProtection?: "" | "!";
"passwordProtection.password"?: string | string[];
"passwordProtection.passwordIsPin"?: "true" | "!";
}
Loading

0 comments on commit 61e5bc9

Please sign in to comment.