UNPKG

@hasura/metadata-api

Version:
19 lines (18 loc) 916 B
import type { PostgresConnConfiguration } from './PostgresConnConfiguration'; import type { PostgresCustomSQLMetadata } from './PostgresCustomSQLMetadata'; import type { PostgresFunctionMetadata } from './PostgresFunctionMetadata'; import type { PostgresHealthCheckConfig } from './PostgresHealthCheckConfig'; import type { PostgresTableMetadata } from './PostgresTableMetadata'; import type { QueryTagsConfig } from './QueryTagsConfig'; import type { SourceCustomization } from './SourceCustomization'; export type PostgresSourceMetadata = { configuration: PostgresConnConfiguration; custom_sql?: Array<PostgresCustomSQLMetadata> | null; customization?: SourceCustomization; functions?: Array<PostgresFunctionMetadata> | null; health_check?: PostgresHealthCheckConfig; kind: 'postgres' | 'pg'; name: string; query_tags?: QueryTagsConfig; tables: Array<PostgresTableMetadata>; };