chore: alias react-query (#10118)

This commit is contained in:
Kayla Washburn
2023-10-06 17:15:03 -06:00
committed by GitHub
parent da47ac87db
commit ae113179b3
71 changed files with 73 additions and 83 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { QueryClient } from "@tanstack/react-query";
import { QueryClient } from "react-query";
import * as API from "api/api";
import { AppearanceConfig } from "api/typesGenerated";
import { getMetadataAsJSON } from "utils/metadata";
+1 -1
View File
@@ -1,4 +1,4 @@
import { QueryClient } from "@tanstack/react-query";
import { QueryClient } from "react-query";
import * as API from "api/api";
import { Entitlements } from "api/typesGenerated";
import { getMetadataAsJSON } from "utils/metadata";
+1 -1
View File
@@ -1,4 +1,4 @@
import { QueryClient } from "@tanstack/react-query";
import { QueryClient } from "react-query";
import * as API from "api/api";
import { checkAuthorization } from "api/api";
import {
+1 -1
View File
@@ -3,7 +3,7 @@ import {
type UserQuietHoursScheduleResponse,
type UpdateUserQuietHoursScheduleRequest,
} from "api/typesGenerated";
import { type QueryClient, type QueryOptions } from "@tanstack/react-query";
import { type QueryClient, type QueryOptions } from "react-query";
export const userQuietHoursScheduleKey = (userId: string) => [
"settings",
+1 -1
View File
@@ -1,4 +1,4 @@
import { QueryClient } from "@tanstack/react-query";
import { QueryClient } from "react-query";
import * as API from "api/api";
import { GitSSHKey } from "api/typesGenerated";
+1 -1
View File
@@ -6,7 +6,7 @@ import {
type ProvisionerJobStatus,
type TemplateVersion,
} from "api/typesGenerated";
import { type QueryClient, type QueryOptions } from "@tanstack/react-query";
import { type QueryClient, type QueryOptions } from "react-query";
import { delay } from "utils/delay";
export const templateByNameKey = (orgId: string, name: string) => [
+1 -1
View File
@@ -1,4 +1,4 @@
import { QueryClient, QueryOptions } from "@tanstack/react-query";
import { QueryClient, QueryOptions } from "react-query";
import * as API from "api/api";
import {
GetUsersResponse,
+1 -1
View File
@@ -1,6 +1,6 @@
import * as API from "api/api";
import { type Workspace } from "api/typesGenerated";
import { type QueryOptions } from "@tanstack/react-query";
import { type QueryOptions } from "react-query";
export const workspaceByOwnerAndNameKey = (owner: string, name: string) => [
"workspace",
+1 -1
View File
@@ -1,4 +1,4 @@
import { UseInfiniteQueryOptions } from "@tanstack/react-query";
import { UseInfiniteQueryOptions } from "react-query";
import * as API from "api/api";
import { WorkspaceBuild, WorkspaceBuildsRequest } from "api/typesGenerated";