mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-26 00:45:58 +00:00
23 lines
373 B
TypeScript
23 lines
373 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;
|
|
}
|