Files
dbgate/packages/datalib/src/MacroDefinition.ts
2021-03-25 19:07:51 +01:00

25 lines
403 B
TypeScript

import _ from 'lodash';
export interface MacroArgument {
type: 'text' | 'select';
label: string;
name: string;
}
export interface MacroDefinition {
title: string;
name: string;
group: string;
description?: string;
type: 'transformValue';
code: string;
args?: MacroArgument[];
}
export interface MacroSelectedCell {
column: string;
row: number;
rowData: any;
value: any;
}