mirror of
https://github.com/dadosfera/maestro.git
synced 2026-09-09 21:34:48 +00:00
35 lines
628 B
TypeScript
35 lines
628 B
TypeScript
import { Info } from 'protospack/dist/lib/interfaces';
|
|
|
|
export interface ICreateTransformationsRequest {
|
|
transformations: Transformation[];
|
|
info: Info;
|
|
}
|
|
interface Param {
|
|
base_column: string;
|
|
column_name: string;
|
|
n_digits: number;
|
|
start_index: number;
|
|
randbelow: number;
|
|
const: string;
|
|
}
|
|
|
|
interface Transformation {
|
|
created_at: string;
|
|
id: string;
|
|
client_id: string;
|
|
type: string;
|
|
params: Param[];
|
|
input_source: string;
|
|
table: string;
|
|
}
|
|
|
|
export interface IIdRequest {
|
|
id: string;
|
|
info: Info;
|
|
}
|
|
|
|
export interface IUpdateTransformationRequest {
|
|
transformation: Transformation;
|
|
info: Info;
|
|
}
|