Sha256: 5b5ac994dd635f42367f25cdbecc2d1e582b29cbf95e0ea877ec060c32d25788

Contents?: true

Size: 619 Bytes

Versions: 14

Compression:

Stored size: 619 Bytes

Contents

export type ColumnType =
  | "float"
  | "integer"
  | "boolean"
  | "categorical"
  | "datetime"
  | "text";

export interface Schema {
  [key: string]: ColumnType;
}

export interface Datasource {
  id: number;
  name: string;
  datasource_type: string;
  is_syncing: boolean;
  last_synced_at: string | null;
  columns: string[];
  schema: Schema;
  error?: string;
}

export interface DatasourceFormProps {
  datasource?: Datasource;
  constants: {
    DATASOURCE_TYPES: Array<{ value: string; label: string; description: string }>;
    s3: {
      S3_REGIONS: Array<{ value: string; label: string }>;
    };
  };
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
easy_ml-0.2.0.pre.rc52 app/frontend/types/datasource.ts
easy_ml-0.2.0.pre.rc51 app/frontend/types/datasource.ts
easy_ml-0.2.0.pre.rc50 app/frontend/types/datasource.ts
easy_ml-0.2.0.pre.rc49 app/frontend/types/datasource.ts
easy_ml-0.2.0.pre.rc48 app/frontend/types/datasource.ts
easy_ml-0.2.0.pre.rc47 app/frontend/types/datasource.ts
easy_ml-0.2.0.pre.rc46 app/frontend/types/datasource.ts
easy_ml-0.2.0.pre.rc45 app/frontend/types/datasource.ts
easy_ml-0.2.0.pre.rc44 app/frontend/types/datasource.ts
easy_ml-0.2.0.pre.rc43 app/frontend/types/datasource.ts
easy_ml-0.2.0.pre.rc41 app/frontend/types/datasource.ts
easy_ml-0.2.0.pre.rc40 app/frontend/types/datasource.ts
easy_ml-0.2.0.pre.rc39 app/frontend/types/datasource.ts
easy_ml-0.2.0.pre.rc38 app/frontend/types/datasource.ts