34 lines
581 B
TypeScript
34 lines
581 B
TypeScript
import type { Lookup } from '$lib/lookup'
|
|
|
|
export type Whois = {
|
|
range?: string
|
|
route?: string
|
|
cidr?: string
|
|
asn?: string
|
|
contactAbuse?: {
|
|
OrgAbuseEmail?: string
|
|
RAbuseEmail?: string
|
|
['abuse-mailbox']?: string
|
|
address?: string
|
|
}
|
|
['Contact Admin']?: {
|
|
['abuse-mailbox']?: string
|
|
}
|
|
organisation?: {
|
|
['org-name']?: string
|
|
OrgName?: string
|
|
Address?: string
|
|
address?: string
|
|
City?: string
|
|
StateProv?: string
|
|
Country?: string
|
|
}
|
|
} & Record<string, string | undefined>
|
|
|
|
export type IpLookup = Lookup
|
|
|
|
export interface Ip {
|
|
ip: string
|
|
lookup: IpLookup
|
|
}
|