@olympeio/runtime-node 9.0.1 → 9.0.4
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/import/olympe.dm/datamodel/05_permission_schema.updateInst.json +1 -1
- package/import/olympe.dm/datamodel/06_structure.newInst.json +1 -1
- package/import/olympe.sc/datamodel/01_language.newInst.json +1 -1
- package/index.js +773 -777
- package/package.json +1 -1
- package/types/base.d.ts +318 -9
- package/types/cloud.d.ts +883 -34
- package/types/legacy.d.ts +7 -4
package/types/legacy.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import Observable from 'rxjs';
|
|
3
3
|
import {CloudObject, Direction, HasTag, Property, Relation, Tag} from "./base";
|
|
4
|
-
import {VisualBrick} from "./runtime";
|
|
4
|
+
import {Brick, VisualBrick} from "./runtime";
|
|
5
5
|
/**
|
|
6
6
|
* The entry of a brick is a static object linked to the brick class itself that is used to make the link between the
|
|
7
7
|
* code and the database. It stores tags linked to a specific brick :
|
|
@@ -34,6 +34,9 @@ declare interface Entry extends HasTag {
|
|
|
34
34
|
/** @deprecated use {@link VisualBrick} instead */
|
|
35
35
|
export class UIBrick extends VisualBrick {}
|
|
36
36
|
|
|
37
|
+
/** @deprecated use {@link Brick} instead */
|
|
38
|
+
export type FunctionBrick = Brick;
|
|
39
|
+
|
|
37
40
|
/* ======================
|
|
38
41
|
DATACLOUD
|
|
39
42
|
====================== */
|
|
@@ -75,9 +78,9 @@ export class DBView {
|
|
|
75
78
|
isModel(tag: InstanceTag): boolean;
|
|
76
79
|
instanceOf(tag: InstanceTag, modelTag: InstanceTag): boolean;
|
|
77
80
|
isPersisted(tag: InstanceTag): boolean;
|
|
78
|
-
getProperty<T>(tag: InstanceTag, property: Property<T>, ownOnly
|
|
81
|
+
getProperty<T>(tag: InstanceTag, property: Property<T>, ownOnly?: boolean): T | null;
|
|
79
82
|
// @ts-ignore
|
|
80
|
-
getProperties(tag: InstanceTag, ownOnly
|
|
83
|
+
getProperties(tag: InstanceTag, ownOnly?: boolean): Map<string, any>;
|
|
81
84
|
getRelated(tag: InstanceTag, relation: Relation<any, any>): string[];
|
|
82
85
|
isRelated(tag: InstanceTag, relation: Relation<any, any>, related: InstanceTag): boolean;
|
|
83
86
|
getMultiRelated(startTag: InstanceTag, relations: Relation<any, any>[]): string[];
|
|
@@ -278,4 +281,4 @@ export namespace comparators {
|
|
|
278
281
|
export class DateTime extends Comparator {
|
|
279
282
|
constructor(value: ValueDef);
|
|
280
283
|
}
|
|
281
|
-
}
|
|
284
|
+
}
|