mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-24 04:59:09 +00:00
Prepared Outputs and Transformations to use info params given by auth
This commit is contained in:
+10
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user