relay.tsx 437 B

123456789101112131415161718192021222324
  1. export type Relay = {
  2. name: string;
  3. publicKey: string;
  4. created?: string;
  5. description?: string;
  6. lastModified?: string;
  7. };
  8. export type RelayActivity = {
  9. firstSeen: string;
  10. lastSeen: string;
  11. publicKey: string;
  12. relayId: string;
  13. version: string;
  14. };
  15. export type RelaysByPublickey = {
  16. [publicKey: string]: {
  17. activities: Array<RelayActivity>;
  18. name: string;
  19. created?: string;
  20. description?: string;
  21. };
  22. };