mirror of
https://github.com/dadosfera/maestro.git
synced 2026-09-07 16:04:48 +00:00
38 lines
660 B
TypeScript
38 lines
660 B
TypeScript
export interface Info {
|
|
user_id: string;
|
|
customer_id: string;
|
|
customer: string;
|
|
}
|
|
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;
|
|
}
|