move ApiResponse
This commit is contained in:
1 parent
03b6d5976c
commit
0b626f991f
43 files changed
+48
-46
No files matched your search
@@ -4,7 +4,7 @@ import { useParams } from "react-router";
|
||||
import { useNavigate } from "react-router";
|
||||
import { z } from "zod";
|
||||
import { usePatch, useGet } from "@/hooks/UseApi";
|
||||
import type { ApiResponse } from "@/hooks/UseApi";
|
||||
import type { ApiResponse } from "@/types/api";
|
||||
import { statusPageSchema } from "@/validation/zod";
|
||||
import type { IMonitor } from "@/types/monitor";
|
||||
import type { IStatusPageWithMonitors } from "@/types/status-page";
|
||||
|
||||
@@ -3,7 +3,7 @@ import { StatusPageForm } from "@/pages/status-page/StatusPageForm";
|
||||
import { useNavigate } from "react-router";
|
||||
import { z } from "zod";
|
||||
import { usePost, useGet } from "@/hooks/UseApi";
|
||||
import type { ApiResponse } from "@/hooks/UseApi";
|
||||
import type { ApiResponse } from "@/types/api";
|
||||
import { statusPageSchema } from "@/validation/zod";
|
||||
import type { IMonitor } from "@/types/monitor";
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import { BasePage } from "@/components/design-elements";
|
||||
import { useTheme } from "@mui/material/styles";
|
||||
import type { IMonitor } from "@/types/monitor";
|
||||
import { useGet } from "@/hooks/UseApi";
|
||||
import type { ApiResponse } from "@/hooks/UseApi";
|
||||
import type { ApiResponse } from "@/types/api";
|
||||
import { useParams } from "react-router";
|
||||
import type { IStatusPageWithMonitors } from "@/types/status-page";
|
||||
import { NameHeader } from "@/components/status-pages/NameHeader";
|
||||
|
||||
@@ -6,7 +6,7 @@ import { BasePage } from "@/components/design-elements";
|
||||
import { useTheme } from "@mui/material/styles";
|
||||
import type { IMonitor } from "@/types/monitor";
|
||||
import { useGet } from "@/hooks/UseApi";
|
||||
import type { ApiResponse } from "@/hooks/UseApi";
|
||||
import type { ApiResponse } from "@/types/api";
|
||||
import { useParams } from "react-router";
|
||||
import type { IStatusPageWithMonitors } from "@/types/status-page";
|
||||
import { NameHeader } from "@/components/status-pages/NameHeader";
|
||||
|
||||
@@ -6,7 +6,7 @@ import { StatusPageTable } from "@/pages/status-page/StatusPageTable";
|
||||
import { useState } from "react";
|
||||
import type { IStatusPage } from "@/types/status-page";
|
||||
import { useGet, useDelete } from "@/hooks/UseApi";
|
||||
import type { ApiResponse } from "@/hooks/UseApi";
|
||||
import type { ApiResponse } from "@/types/api";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { config } from "@/config/index";
|
||||
|
||||
|
||||
Reference in new issue
Block a user