Preserve connector source runtime evidence
This commit is contained in:
@@ -164,6 +164,21 @@ export type DatasourceOrigin = {
|
||||
updated_at?: string | null;
|
||||
capabilities: string[];
|
||||
metadata: Record<string, unknown>;
|
||||
source_mode: "live" | "cached" | "file_backed" | "static";
|
||||
pushdown: {
|
||||
projections: boolean;
|
||||
pagination: boolean;
|
||||
filters: string[];
|
||||
aggregations: string[];
|
||||
sorting: string[];
|
||||
};
|
||||
health: {
|
||||
status: "healthy" | "warning" | "error" | "unknown";
|
||||
code: string;
|
||||
summary: string;
|
||||
checked_at?: string | null;
|
||||
details: Record<string, unknown>;
|
||||
};
|
||||
};
|
||||
|
||||
export type DatasourcePreview = {
|
||||
@@ -172,6 +187,17 @@ export type DatasourcePreview = {
|
||||
total_rows: number;
|
||||
truncated: boolean;
|
||||
materialization?: DatasourceMaterialization | null;
|
||||
returned_bytes: number;
|
||||
elapsed_ms: number;
|
||||
effective_row_limit: number;
|
||||
effective_byte_limit: number;
|
||||
effective_timeout_ms: number;
|
||||
diagnostics: Array<{
|
||||
severity: "info" | "warning" | "error";
|
||||
code: string;
|
||||
message: string;
|
||||
details: Record<string, unknown>;
|
||||
}>;
|
||||
};
|
||||
|
||||
export async function listDatasources(
|
||||
|
||||
Reference in New Issue
Block a user