@rentman/rm-core 1.0.16 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/definitions/src/classes/ApiFormatter.d.ts +1 -1
- package/dist/definitions/src/classes/ItemAdministrator.d.ts +1 -1
- package/dist/definitions/src/models/Column.d.ts +2 -0
- package/dist/definitions/src/models/ItemResource.d.ts +2 -1
- package/dist/rm-core.js +9270 -3
- package/package.json +2 -2
- package/dist/rm-core.js.map +0 -1
|
@@ -27,7 +27,7 @@ export default class ApiFormatter {
|
|
|
27
27
|
formatRequestDate(value: any): any;
|
|
28
28
|
formatRequestDuration(value: any): any;
|
|
29
29
|
formatRequestColor(value: any): any;
|
|
30
|
-
getDefaultValue(columnType: any): false |
|
|
30
|
+
getDefaultValue(columnType: any): false | "" | 0 | moment.Moment | moment.Duration | "0" | "#000000";
|
|
31
31
|
isDefaultValue(columnType: any, value: any): any;
|
|
32
32
|
clone(columnType: any, value: any): any;
|
|
33
33
|
getCloneFunction(columnType: any): (date: any) => any;
|
|
@@ -65,7 +65,7 @@ export default class ItemAdministrator {
|
|
|
65
65
|
};
|
|
66
66
|
/** @deprecated */
|
|
67
67
|
getCollection(itemType: string, query: any, options: any): any;
|
|
68
|
-
_getCollection(itemType: string, options: any): any
|
|
68
|
+
_getCollection(itemType: string, options: any): Promise<any>;
|
|
69
69
|
getCollectionFromDef(definition: any): any;
|
|
70
70
|
getLinkCollection(linkType: string, linkId: number, itemType: string, options: any): any;
|
|
71
71
|
getLinkCollections(linkType: string, linkIdArray: number[], itemType: string, options: any): any;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import ItemEntryService from '../classes/ItemEntryService';
|
|
2
|
+
import Column from './Column';
|
|
2
3
|
import ItemEntry from "./ItemEntry";
|
|
3
4
|
export default class ItemResource {
|
|
4
5
|
private itemEntryService;
|
|
5
6
|
entry: ItemEntry;
|
|
6
7
|
options: any;
|
|
7
8
|
derived: any;
|
|
8
|
-
columns:
|
|
9
|
+
columns: Column[];
|
|
9
10
|
fields: any;
|
|
10
11
|
constructor(itemEntryService: ItemEntryService, entry: ItemEntry, options: any);
|
|
11
12
|
isLocal(): boolean;
|