UNPKG

@hasura/metadata-api

Version:
19 lines (18 loc) 923 B
import type { CockroachCustomSQLMetadata } from './CockroachCustomSQLMetadata'; import type { CockroachFunctionMetadata } from './CockroachFunctionMetadata'; import type { CockroachHealthCheckConfig } from './CockroachHealthCheckConfig'; import type { CockroachTableMetadata } from './CockroachTableMetadata'; import type { PostgresConnConfiguration } from './PostgresConnConfiguration'; import type { QueryTagsConfig } from './QueryTagsConfig'; import type { SourceCustomization } from './SourceCustomization'; export type CockroachSourceMetadata = { configuration: PostgresConnConfiguration; custom_sql?: Array<CockroachCustomSQLMetadata> | null; customization?: SourceCustomization; functions?: Array<CockroachFunctionMetadata> | null; health_check?: CockroachHealthCheckConfig; kind: 'cockroach'; name: string; query_tags?: QueryTagsConfig; tables: Array<CockroachTableMetadata>; };