Move types into schema, prepare for full lookup implementation

This commit is contained in:
Xevion
2023-01-21 00:57:28 -06:00
parent b9b55b3735
commit 7ae7f5b337
8 changed files with 41 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
import type {FunctionComponent, ReactNode} from "react";
import React, {Fragment} from "react";
import {rdapStatusInfo} from "@/constants";
import type {Domain} from "@/responses";
import type {Domain} from "@/schema";
import Events from "@/components/Events"
export type DomainProps = {

View File

@@ -1,5 +1,5 @@
import type {FunctionComponent} from "react";
import type {Event} from "@/responses";
import type {Event} from "@/schema";
import {Fragment} from "react";
export type EventsProps = {

View File

@@ -1,6 +1,6 @@
import type {FunctionComponent} from "react";
import DomainCard from "@/components/DomainCard";
import type {Domain, AutonomousNumber, Entity, Nameserver, IpNetwork} from "@/responses";
import type {Domain, AutonomousNumber, Entity, Nameserver, IpNetwork} from "@/schema";
export type ParsedGeneric = Domain | Nameserver | Entity | AutonomousNumber | IpNetwork;
export type ObjectProps = {