From 84f9c9ff1aacdae3770864838b8c1ba311606c92 Mon Sep 17 00:00:00 2001 From: Eric P Green Date: Tue, 2 Apr 2024 11:13:44 -0700 Subject: [PATCH] Fix type imports in Cloud UI (#4489) --- web-admin/src/features/errors/error-store.ts | 2 +- web-admin/src/features/errors/error-utils.ts | 2 +- web-admin/src/features/view-as-user/setViewedAsUser.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web-admin/src/features/errors/error-store.ts b/web-admin/src/features/errors/error-store.ts index 21c9f2fa590..599adee01c6 100644 --- a/web-admin/src/features/errors/error-store.ts +++ b/web-admin/src/features/errors/error-store.ts @@ -3,7 +3,7 @@ * the `ErrorBoundary` component catches and routes to the `ErrorPage`. */ -import { derived, writable, Writable } from "svelte/store"; +import { derived, writable, type Writable } from "svelte/store"; export interface ErrorStoreState { statusCode: number | null; diff --git a/web-admin/src/features/errors/error-utils.ts b/web-admin/src/features/errors/error-utils.ts index 1c125d32500..a43e488735a 100644 --- a/web-admin/src/features/errors/error-utils.ts +++ b/web-admin/src/features/errors/error-utils.ts @@ -18,7 +18,7 @@ import { } from "../../client"; import { ADMIN_URL } from "../../client/http-client"; import { getProjectRuntimeQueryKey } from "../projects/selectors"; -import { ErrorStoreState, errorStore } from "./error-store"; +import { errorStore, type ErrorStoreState } from "./error-store"; export function createGlobalErrorCallback(queryClient: QueryClient) { return async (error: AxiosError, query: Query) => { diff --git a/web-admin/src/features/view-as-user/setViewedAsUser.ts b/web-admin/src/features/view-as-user/setViewedAsUser.ts index 052b9ac17c9..545edf87257 100644 --- a/web-admin/src/features/view-as-user/setViewedAsUser.ts +++ b/web-admin/src/features/view-as-user/setViewedAsUser.ts @@ -1,7 +1,7 @@ import { adminServiceGetDeploymentCredentials, getAdminServiceGetDeploymentCredentialsQueryKey, - V1GetDeploymentCredentialsResponse, + type V1GetDeploymentCredentialsResponse, type V1User, } from "@rilldata/web-admin/client"; import { viewAsUserStore } from "@rilldata/web-admin/features/view-as-user/viewAsUserStore";