Skip to content

Commit

Permalink
chore: DH-18086: Update jsapi types (#2338)
Browse files Browse the repository at this point in the history
DH-18086:
* Upgrade @deephaven/jsapi-types to ^1.0.0-dev0.37.2
* Fixed types
  • Loading branch information
bmingles authored Jan 10, 2025
1 parent c08bb7b commit 17eca65
Show file tree
Hide file tree
Showing 30 changed files with 118 additions and 98 deletions.
70 changes: 35 additions & 35 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"@deephaven/jsapi-components": "file:packages/jsapi-components",
"@deephaven/jsapi-nodejs": "file:packages/jsapi-nodejs",
"@deephaven/jsapi-shim": "file:packages/jsapi-shim",
"@deephaven/jsapi-types": "^1.0.0-dev0.34.0",
"@deephaven/jsapi-types": "^1.0.0-dev0.37.2",
"@deephaven/jsapi-utils": "file:packages/jsapi-utils",
"@deephaven/log": "file:packages/log",
"@deephaven/mocks": "file:packages/mocks",
Expand Down
2 changes: 1 addition & 1 deletion packages/app-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@deephaven/iris-grid": "file:../iris-grid",
"@deephaven/jsapi-bootstrap": "file:../jsapi-bootstrap",
"@deephaven/jsapi-components": "file:../jsapi-components",
"@deephaven/jsapi-types": "^1.0.0-dev0.34.0",
"@deephaven/jsapi-types": "^1.0.0-dev0.37.2",
"@deephaven/jsapi-utils": "file:../jsapi-utils",
"@deephaven/log": "file:../log",
"@deephaven/plugin": "file:../plugin",
Expand Down
8 changes: 4 additions & 4 deletions packages/app-utils/src/components/ConnectionBootstrap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export function ConnectionBootstrap({
if (connection == null || isShutdown) return;

// handles the disconnect event
function handleDisconnect(event: CustomEvent): void {
function handleDisconnect(event: dh.Event<unknown>): void {
const { detail } = event;
log.info('Disconnect', `${JSON.stringify(detail)}`);
setConnectionState('reconnecting');
Expand All @@ -105,7 +105,7 @@ export function ConnectionBootstrap({
if (connection == null || isShutdown) return;

// handles the reconnect event
function handleReconnect(event: CustomEvent): void {
function handleReconnect(event: dh.Event<unknown>): void {
const { detail } = event;
log.info('Reconnect', `${JSON.stringify(detail)}`);
setConnectionState('connected');
Expand All @@ -125,7 +125,7 @@ export function ConnectionBootstrap({
if (connection == null) return;

// handles the shutdown event
function handleShutdown(event: CustomEvent): void {
function handleShutdown(event: dh.Event<unknown>): void {
const { detail } = event;
log.info('Shutdown', `${JSON.stringify(detail)}`);
setError(`Server shutdown: ${detail ?? 'Unknown reason'}`);
Expand All @@ -146,7 +146,7 @@ export function ConnectionBootstrap({
if (connection == null || isShutdown) return;

// handles the auth failed event
function handleAuthFailed(event: CustomEvent): void {
function handleAuthFailed(event: dh.Event<unknown>): void {
const { detail } = event;
log.warn(
'Reconnect authentication failed',
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@deephaven/components": "file:../components",
"@deephaven/jsapi-bootstrap": "file:../jsapi-bootstrap",
"@deephaven/jsapi-components": "file:../jsapi-components",
"@deephaven/jsapi-types": "^1.0.0-dev0.34.0",
"@deephaven/jsapi-types": "^1.0.0-dev0.37.2",
"@deephaven/jsapi-utils": "file:../jsapi-utils",
"@deephaven/log": "file:../log",
"@deephaven/redux": "file:../redux",
Expand Down
2 changes: 1 addition & 1 deletion packages/chart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"@deephaven/components": "file:../components",
"@deephaven/icons": "file:../icons",
"@deephaven/jsapi-types": "^1.0.0-dev0.34.0",
"@deephaven/jsapi-types": "^1.0.0-dev0.37.2",
"@deephaven/jsapi-utils": "file:../jsapi-utils",
"@deephaven/log": "file:../log",
"@deephaven/react-hooks": "file:../react-hooks",
Expand Down
Loading

0 comments on commit 17eca65

Please sign in to comment.