mirror of
https://github.com/Xevion/rdap.git
synced 2025-12-15 04:12:54 -06:00
feat: implement Entity and Nameserver cards with type safety improvements
- Add EntityCard component to display entity information with handle, roles, and public IDs - Add NameserverCard component to display nameserver details - Integrate new cards into Generic component for proper object rendering - Remove unused dependencies (immutability-helper, type-fest) - Enhance type safety in LookupInput with Zod validation - Replace console.log statements with appropriate comments - Initialize registryDataRef with proper typed default values - Remove unused code and debug logging from rdap.ts and useLookup hook - Update Object.entries type definition without external dependency
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import type { SyntheticEvent } from "react";
|
||||
import type { Entries } from "type-fest";
|
||||
|
||||
declare global {
|
||||
interface ObjectConstructor {
|
||||
entries<T extends object>(o: T): Entries<T>;
|
||||
entries<T extends object>(o: T): [keyof T, T[keyof T]][];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user