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:
2025-10-22 11:02:50 -05:00
parent 92fcef8fe2
commit 611074b546
10 changed files with 106 additions and 785 deletions

View File

@@ -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]][];
}
}