add aggregate type & filter type
This commit is contained in:
parent
eff5a4d56a
commit
2e6baa8d1e
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
"version": "0.0.27",
|
"version": "0.0.28",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"start": "ng serve",
|
"start": "ng serve",
|
||||||
|
@ -65,3 +65,31 @@ export interface IAggregateResult {
|
|||||||
export interface ICompositeFilter extends IFilter {
|
export interface ICompositeFilter extends IFilter {
|
||||||
filters: IFilter[];
|
filters: IFilter[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export enum AggregateType {
|
||||||
|
COUNT = 'Count',
|
||||||
|
SUM = 'Sum',
|
||||||
|
AVG = 'Avg',
|
||||||
|
LONGCOUNT = 'LongCount',
|
||||||
|
MIN = 'Min',
|
||||||
|
MAX = 'Max',
|
||||||
|
FIRST = 'First',
|
||||||
|
FIRSTORDEFAULT = 'FirstOrDefault',
|
||||||
|
LAST = 'Last',
|
||||||
|
LASTORDEFAULT = 'LastOrDefault'
|
||||||
|
}
|
||||||
|
|
||||||
|
export enum FilterType {
|
||||||
|
EQUAL = 'Equal',
|
||||||
|
CONTAINS = 'Contains',
|
||||||
|
STARTSWITH = 'StartsWith',
|
||||||
|
ENDSWITH = 'EndsWith',
|
||||||
|
COMPOSITE = 'Composite',
|
||||||
|
NOTEQUAL = 'NotEqual',
|
||||||
|
GREATERTHAN = 'GreaterThan',
|
||||||
|
LESSTHANOREQUAL = 'LessThanOrEqual',
|
||||||
|
GREATERTHANOREQUAL = 'GreaterThanOrEqual',
|
||||||
|
LESSTHAN ='LessThan',
|
||||||
|
IN = 'In',
|
||||||
|
NOTIN = 'NotIn'
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user