Prepared Outputs and Transformations to use info params given by auth

This commit is contained in:
rodrigo.zamboni
2022-03-29 17:43:44 -03:00
parent 8b19da9217
commit a3ba9c743f
9 changed files with 106 additions and 70 deletions
+10 -1
View File
@@ -1,5 +1,6 @@
export interface ICreateTransformationsRequest {
transformations: Transformation[];
info: Info;
}
interface Param {
base_column: string;
@@ -9,6 +10,12 @@ interface Param {
randbelow: number;
const: string;
}
export interface Info {
customer_id: string;
user_id: string;
}
interface Transformation {
created_at: string;
id: string;
@@ -19,10 +26,12 @@ interface Transformation {
table: string;
}
export interface IdRequest {
export interface IIdRequest {
id: string;
info: Info;
}
export interface IUpdateTransformationRequest {
transformation: Transformation;
info: Info;
}