-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcuba-entities.d.ts
60 lines (51 loc) · 1.6 KB
/
cuba-entities.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* cuba-entities.html
*/
/// <reference path="cuba-data-loading-behavior.d.ts" />
/// <reference path="../cuba-app/cuba-app-aware-behavior.d.ts" />
/**
* The `cuba-entities` element provides an ability to load list of entities.
*/
interface CubaEntitiesElement extends Polymer.Element, CubaAppAwareBehavior, CubaDataLoadingBehavior {
/**
* Entity name as specified in domain model class via `@Entity` annotation e.g. sec$User
*/
entityName: string|null|undefined;
/**
* Name of the view which is used for loading entities.
*/
view: string|null|undefined;
/**
* Name of the field to be sorted by. If the name is preceeding by the '+' character,
* then the sort order is ascending, if by the '-' character then descending.
* If there is no special character before the property name, then ascending sort will be used.
*/
sort: string|null|undefined;
/**
* Number of extracted entities.
*/
limit: number|null|undefined;
/**
* Position of the first result to retrieve.
*/
offset: number|null|undefined;
provideCount: boolean|null|undefined;
readonly count: number|null|undefined;
_loadMoreOffset: number|null|undefined;
/**
* Deletes entity and removes it from `data` collection.
*/
remove(entity: any): Promise<any>|null;
loadMore(): any;
loadCount(abortable: any): any;
_getOptions(): any;
}
interface HTMLElementTagNameMap {
"cuba-entities": CubaEntitiesElement;
}