mirror of
https://github.com/dadosfera/maestro.git
synced 2026-09-11 23:14:47 +00:00
42 lines
707 B
TypeScript
42 lines
707 B
TypeScript
import { Info } from '@dadosfera/protospack/dist/lib/interfaces';
|
|
|
|
interface Values {
|
|
jdbc_user: string;
|
|
jdbc_password: string;
|
|
database: string;
|
|
endpoint: string;
|
|
tables: string[];
|
|
port: string;
|
|
engine: string;
|
|
schema: string;
|
|
}
|
|
|
|
export interface ICreateInputRequest {
|
|
cron: string;
|
|
name: string;
|
|
plugin: string;
|
|
values: Values;
|
|
operation: string;
|
|
info: Info;
|
|
}
|
|
export interface IIdRequest {
|
|
id: string;
|
|
info: Info;
|
|
}
|
|
|
|
export interface UpdateInputRequest {
|
|
id: string;
|
|
cron: string;
|
|
name: string;
|
|
plugin: string;
|
|
values: Values;
|
|
operation: string;
|
|
info: Info;
|
|
tables: any[];
|
|
}
|
|
|
|
export interface ITestConnectionRequest {
|
|
plugin: string;
|
|
values: Values;
|
|
}
|