From e16661e81175e5d985e523e03f19557aea93c7f6 Mon Sep 17 00:00:00 2001 From: Bernd Hufmann Date: Fri, 16 Aug 2024 15:57:26 -0400 Subject: [PATCH] Upgrade timeline-chart and tsp-typescript-client timeline-chart: v0.3.2 tsp-typescript-client]: v0.4.2 Signed-off-by: Bernd Hufmann --- packages/base/package.json | 2 +- packages/react-components/package.json | 4 ++-- .../src/browser/theia-rpc-tsp-proxy.ts | 9 +++++++++ yarn.lock | 16 ++++++++-------- 4 files changed, 20 insertions(+), 11 deletions(-) diff --git a/packages/base/package.json b/packages/base/package.json index 90287c503..18152df8b 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -16,7 +16,7 @@ "src" ], "dependencies": { - "tsp-typescript-client": "^0.4.1" + "tsp-typescript-client": "^0.4.2" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^3.4.0", diff --git a/packages/react-components/package.json b/packages/react-components/package.json index d80a20e0b..5d2c52ffc 100644 --- a/packages/react-components/package.json +++ b/packages/react-components/package.json @@ -35,9 +35,9 @@ "react-virtualized": "^9.21.0", "semantic-ui-css": "^2.4.1", "semantic-ui-react": "^0.86.0", - "timeline-chart": "^0.3.1", + "timeline-chart": "^0.3.2", "traceviewer-base": "0.2.4", - "tsp-typescript-client": "^0.4.1" + "tsp-typescript-client": "^0.4.2" }, "devDependencies": { "@testing-library/react": "^13.4.0", diff --git a/theia-extensions/viewer-prototype/src/browser/theia-rpc-tsp-proxy.ts b/theia-extensions/viewer-prototype/src/browser/theia-rpc-tsp-proxy.ts index 50a3d00d2..becb60a6c 100644 --- a/theia-extensions/viewer-prototype/src/browser/theia-rpc-tsp-proxy.ts +++ b/theia-extensions/viewer-prototype/src/browser/theia-rpc-tsp-proxy.ts @@ -6,6 +6,7 @@ import { Query } from 'tsp-typescript-client/lib/models/query/query'; import { Experiment } from 'tsp-typescript-client/lib/models/experiment'; import { GenericResponse } from 'tsp-typescript-client/lib/models/response/responses'; import { HealthStatus } from 'tsp-typescript-client/lib/models/health'; +import { Identifier } from 'tsp-typescript-client/lib/models/identifier'; import { XyEntry, XYModel } from 'tsp-typescript-client/lib/models/xy'; import { TimeGraphEntry, TimeGraphArrow, TimeGraphModel } from 'tsp-typescript-client/lib/models/timegraph'; import { AnnotationCategoriesModel, AnnotationModel } from 'tsp-typescript-client/lib/models/annotation'; @@ -371,6 +372,14 @@ export class TheiaRpcTspProxy implements ITspClient { return this.toTspClientResponse(await this.tspClient.checkHealth()); } + /** + * Fetch the identifier service + * @returns Important information regarding the trace server and the system it is running on + */ + public async fetchIdentifier(): Promise> { + return this.toTspClientResponse(await this.tspClient.fetchIdentifier()); + } + /** * Fetch all configuration source types * @returns Generic response with the model diff --git a/yarn.lock b/yarn.lock index 6fd01e78f..58dad4913 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13802,10 +13802,10 @@ through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6, through@^2.3.8: resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz" integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== -timeline-chart@^0.3.1: - version "0.3.1" - resolved "https://registry.npmjs.org/timeline-chart/-/timeline-chart-0.3.1.tgz#2f53b3af20e2dffba7917775db6b1ef5b40303d2" - integrity sha512-qDP9se79LtX+SlA6Y8dZDvcgL0z+9yEjdMiObAf3AWjUW+IsR3aQrNUTDER5pCXRMsvLQy5l2WWWQX0DrflKuQ== +timeline-chart@^0.3.2: + version "0.3.2" + resolved "https://registry.npmjs.org/timeline-chart/-/timeline-chart-0.3.2.tgz#a943e613c3d211ee81e7225c8d9c1654ac858555" + integrity sha512-DnmD2c+N4IGx5/AOxacUu2r9FanxAtbfratUxiElkYS53vZ65DBjiOTPvarsGeIC+DZNnVjObcq4jyh/tshFbg== dependencies: "@types/lodash.throttle" "^4.1.4" glob "^7.1.6" @@ -13982,10 +13982,10 @@ tslib@^2.6.2: resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz#0438f810ad7a9edcde7a241c3d80db693c8cbfe0" integrity sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ== -tsp-typescript-client@^0.4.1: - version "0.4.1" - resolved "https://registry.npmjs.org/tsp-typescript-client/-/tsp-typescript-client-0.4.1.tgz#7475cacf1f5f055279dee4bd3614b24d5434d10d" - integrity sha512-T0Bi2qwkJdxEJ7NSASFMzHtSNMbZnmuyDyvR5+6uvcc9zxd7X4/axhCHfiRxlwvWddyQfpPGPrDFiLbz3g2izA== +tsp-typescript-client@^0.4.2: + version "0.4.2" + resolved "https://registry.npmjs.org/tsp-typescript-client/-/tsp-typescript-client-0.4.2.tgz#1c4d1328a26a90148f34ddbdf5525f4edd923732" + integrity sha512-MPYA9DctzwpMdcEIaZGQUKonHY+zGBB6yKnaTZlheBGlPV16N0nSHvuYTAhZ3K8yWgKilzZ+Bsx6gyFFtjM3EA== dependencies: json-bigint sidorares/json-bigint#2c0a5f896d7888e68e5f4ae3c7ea5cd42fd54473 node-fetch "^2.5.0"