@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
26 lines (25 loc) • 722 B
TypeScript
import { BaseState } from './BaseState';
import { AdaptableBooleanQuery } from './Common/AdaptableQuery';
import { AdaptableObject } from './Common/AdaptableObject';
/**
* Adaptable State Section for Named Query Module
*/
export interface NamedQueryState extends BaseState {
/**
* Named Queries which can be referenced in other Expressions
*/
NamedQueries?: NamedQuery[];
}
/**
* Defines a Query which can be referenced in AdaptableQL Expressions
*/
export interface NamedQuery extends AdaptableBooleanQuery, AdaptableObject {
/**
* Name of the Query - how it will appear in the Expression
*/
Name: string;
}
export interface CachedQuery {
expression: string;
time: Date;
}