@nmshd/runtime 2.7.2 → 2.7.3

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,11 +7,11 @@ const content_1 = require("@nmshd/content");
7
7
  const crypto_1 = require("@nmshd/crypto");
8
8
  const transport_1 = require("@nmshd/transport");
9
9
  exports.buildInformation = {
10
- version: "2.7.2",
11
- build: "167",
12
- date: "2023-09-19T07:20:07+00:00",
13
- commit: "b32cabefed7913a77e90108496fda0b501ee7421",
14
- dependencies: {"@js-soft/docdb-querytranslator":"1.1.1","@js-soft/logging-abstractions":"1.0.0","@js-soft/ts-serval":"2.0.9","@js-soft/ts-utils":"^2.3.1","@nmshd/consumption":"3.3.1","@nmshd/content":"2.7.0","@nmshd/crypto":"2.0.4","@nmshd/transport":"2.1.1","ajv":"^8.12.0","ajv-errors":"^3.0.0","ajv-formats":"^2.1.1","json-stringify-safe":"^5.0.1","lodash":"^4.17.21","luxon":"^3.4.3","qrcode":"1.5.3","reflect-metadata":"0.1.13","ts-simple-nameof":"1.3.1","typescript-ioc":"3.2.2"},
10
+ version: "2.7.3",
11
+ build: "168",
12
+ date: "2023-09-27T12:55:55+00:00",
13
+ commit: "ac7a5bda2392f100e709d199a10588cf2a0bd338",
14
+ dependencies: {"@js-soft/docdb-querytranslator":"1.1.1","@js-soft/logging-abstractions":"1.0.0","@js-soft/ts-serval":"2.0.9","@js-soft/ts-utils":"^2.3.1","@nmshd/consumption":"3.3.2","@nmshd/content":"2.7.0","@nmshd/crypto":"2.0.4","@nmshd/transport":"2.1.1","ajv":"^8.12.0","ajv-errors":"^3.0.0","ajv-formats":"^2.1.1","json-stringify-safe":"^5.0.1","lodash":"^4.17.21","luxon":"^3.4.3","qrcode":"1.5.3","reflect-metadata":"0.1.13","ts-simple-nameof":"1.3.1","typescript-ioc":"3.2.2"},
15
15
  libraries: {
16
16
  serval: ts_serval_1.buildInformation,
17
17
  consumption: consumption_1.buildInformation,
@@ -2,8 +2,7 @@ import { Result } from "@js-soft/ts-utils";
2
2
  import { IIQLQuery, IQLQueryJSON } from "@nmshd/content";
3
3
  import { IValidateResult } from "@nmshd/iql";
4
4
  import { SchemaRepository, SchemaValidator, UseCase } from "../../common";
5
- export interface ValidateIQLQueryResponse extends IValidateResult {
6
- }
5
+ export type ValidateIQLQueryResponse = IValidateResult;
7
6
  export interface ValidateIQLQueryRequest {
8
7
  query: IIQLQuery | IQLQueryJSON;
9
8
  }
@@ -548,11 +548,11 @@ const content_1 = __webpack_require__(/*! @nmshd/content */ "@nmshd/content");
548
548
  const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
549
549
  const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
550
550
  exports.buildInformation = {
551
- version: "2.7.2",
552
- build: "167",
553
- date: "2023-09-19T07:20:07+00:00",
554
- commit: "b32cabefed7913a77e90108496fda0b501ee7421",
555
- dependencies: {"@js-soft/docdb-querytranslator":"1.1.1","@js-soft/logging-abstractions":"1.0.0","@js-soft/ts-serval":"2.0.9","@js-soft/ts-utils":"^2.3.1","@nmshd/consumption":"3.3.1","@nmshd/content":"2.7.0","@nmshd/crypto":"2.0.4","@nmshd/transport":"2.1.1","ajv":"^8.12.0","ajv-errors":"^3.0.0","ajv-formats":"^2.1.1","json-stringify-safe":"^5.0.1","lodash":"^4.17.21","luxon":"^3.4.3","qrcode":"1.5.3","reflect-metadata":"0.1.13","ts-simple-nameof":"1.3.1","typescript-ioc":"3.2.2"},
551
+ version: "2.7.3",
552
+ build: "168",
553
+ date: "2023-09-27T12:55:55+00:00",
554
+ commit: "ac7a5bda2392f100e709d199a10588cf2a0bd338",
555
+ dependencies: {"@js-soft/docdb-querytranslator":"1.1.1","@js-soft/logging-abstractions":"1.0.0","@js-soft/ts-serval":"2.0.9","@js-soft/ts-utils":"^2.3.1","@nmshd/consumption":"3.3.2","@nmshd/content":"2.7.0","@nmshd/crypto":"2.0.4","@nmshd/transport":"2.1.1","ajv":"^8.12.0","ajv-errors":"^3.0.0","ajv-formats":"^2.1.1","json-stringify-safe":"^5.0.1","lodash":"^4.17.21","luxon":"^3.4.3","qrcode":"1.5.3","reflect-metadata":"0.1.13","ts-simple-nameof":"1.3.1","typescript-ioc":"3.2.2"},
556
556
  libraries: {
557
557
  serval: ts_serval_1.buildInformation,
558
558
  consumption: consumption_1.buildInformation,
@@ -40694,8 +40694,18 @@ function peg$parse(input, options) {
40694
40694
  };
40695
40695
  var peg$f9 = function (op) {
40696
40696
  switch (op) {
40697
+ /* The ?-op checks whether a particular field is defined or not. Empty
40698
+ * arrays and dicts are treated as undefined. */
40697
40699
  case "?":
40698
- return (fieldVal) => { return fieldVal != undefined; };
40700
+ return (fieldVal) => {
40701
+ if (Array.isArray(fieldVal)) {
40702
+ return fieldVal.length > 0;
40703
+ }
40704
+ if (fieldVal.constructor.name === "Object") {
40705
+ return Object.keys(fieldVal).length > 0;
40706
+ }
40707
+ return (fieldVal !== undefined && fieldVal !== null);
40708
+ };
40699
40709
  }
40700
40710
  };
40701
40711
  var peg$f10 = function (val) {