Schemas.constants.ts 500 B

123456789101112131415161718192021222324252627
  1. export type TableNodeData = {
  2. id: number
  3. schema: string
  4. name: string
  5. ref?: string
  6. isForeign: boolean
  7. description: string
  8. columns: {
  9. id: string
  10. isPrimary: boolean
  11. isNullable: boolean
  12. isUnique: boolean
  13. isIdentity: boolean
  14. name: string
  15. format: string
  16. description: string
  17. }[]
  18. }
  19. export type EdgeData = {
  20. sourceName: string
  21. sourceSchemaName: string
  22. sourceColumnName: string
  23. targetName: string
  24. targetSchemaName: string
  25. targetColumnName: string
  26. }