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, used to reference it in AdaptableQL Expressions */ Name: string; } export interface CachedQuery { expression: string; time: Date; }