Schemas.constants.ts27 lines · main
| 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 | |
| 20 | export type EdgeData = { |
| 21 | sourceName: string |
| 22 | sourceSchemaName: string |
| 23 | sourceColumnName: string |
| 24 | targetName: string |
| 25 | targetSchemaName: string |
| 26 | targetColumnName: string |
| 27 | } |