add aggregate type & filter type
This commit is contained in:
parent
eff5a4d56a
commit
2e6baa8d1e
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "data",
|
||||
"version": "0.0.27",
|
||||
"version": "0.0.28",
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "ng serve",
|
||||
|
@ -64,4 +64,32 @@ export interface IAggregateResult {
|
||||
|
||||
export interface ICompositeFilter extends 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