mirror of
https://github.com/Xevion/rdap.git
synced 2025-12-14 14:12:45 -06:00
Add separate RootRegistryEnum zod schema & type
This commit is contained in:
@@ -9,11 +9,13 @@ import type {
|
||||
NameserverSchema,
|
||||
ObjectTypeEnum,
|
||||
RegisterSchema,
|
||||
StatusEnum
|
||||
StatusEnum,
|
||||
RootRegistryEnum
|
||||
} from "@/schema";
|
||||
|
||||
export type ObjectType = z.infer<typeof ObjectTypeEnum>
|
||||
export type RegistryType = Exclude<ObjectType, 'ip'> | 'ip4' | 'ip6';
|
||||
export type RootRegistryType = z.infer<typeof RootRegistryEnum>;
|
||||
export type TargetType = Exclude<ObjectType, 'ip'> | 'ip4' | 'ip6';
|
||||
|
||||
export type RdapStatusType = z.infer<typeof StatusEnum>;
|
||||
export type Link = z.infer<typeof LinkSchema>;
|
||||
|
||||
Reference in New Issue
Block a user