@olympeio/runtime-web 9.0.1 → 9.1.0-dev

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olympeio/runtime-web",
3
- "version": "9.0.1",
3
+ "version": "9.1.0-dev",
4
4
  "description": "Olympe Web Runtime Environment",
5
5
  "types": "types/index.d.ts",
6
6
  "dependencies": {
package/types/base.d.ts CHANGED
@@ -66,7 +66,7 @@ export abstract class CloudObject implements HasTag {
66
66
  static instancesOf<T extends CloudObject>(this: Class<T>): Query<T, Empty>;
67
67
 
68
68
  static get<T extends CloudObject>(tag: Tag): T;
69
- static createWith<T>(this: Class<T>, properties: Map<Tag, any>, model?: Tag): T;
69
+ static createWith<T>(this: Class<T>, properties: Map<Tag, any>, model?: Tag, source?: string): T;
70
70
  static asInstance<T>(this: Class<T>): T;
71
71
 
72
72
  getTag(): string;
@@ -75,6 +75,7 @@ export abstract class CloudObject implements HasTag {
75
75
  getModel(): CloudObject;
76
76
  query(): Query<this, Empty>;
77
77
  isPersisted(): boolean;
78
+ equals(object: any): boolean;
78
79
 
79
80
  follow<D extends CloudObject>(relation: Relation<this, D>): Query<D, Empty>;
80
81
  followSingle<D extends CloudObject>(relation: Relation<this, D>): QuerySingle<D>;