@olympeio/runtime-node 9.11.7 → 9.11.8

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-node",
3
- "version": "9.11.7",
3
+ "version": "9.11.8",
4
4
  "description": "Olympe Node Runtime Environment",
5
5
  "types": "types/index.d.ts",
6
6
  "dependencies": {
package/types/data.d.ts CHANGED
@@ -254,6 +254,16 @@ export abstract class CloudObject implements HasTag {
254
254
  */
255
255
  static exists(tag: InstanceOrTag): boolean;
256
256
 
257
+ /**
258
+ * Mark the specified instances as obsolete in cache database: the instances won't exist anymore in the local cache.
259
+ * It does not delete the instances from the remote data store and they can still be retrieved using a {@link Query}.
260
+ * Warning: this is only for experimented users: only use this method if you know what you are doing.
261
+ *
262
+ * @static
263
+ * @param {...InstanceOrTag} tags
264
+ */
265
+ static markObsolete(...tags: InstanceOrTag[]): void;
266
+
257
267
  /**
258
268
  * Create an instance of the specified data type (or `model`)
259
269
  * in the local datacloud (not persisted) with the specified property values.
package/types/query.d.ts CHANGED
@@ -281,6 +281,16 @@ export class Predicate {
281
281
  */
282
282
  static in(...tags: InstanceOrTag[]): Predicate;
283
283
 
284
+ /**
285
+ * Create a predicate matching a specified property to multiple values.
286
+ * **EXPERIMENTAL** this method and the in() method may change in the future.
287
+ *
288
+ * @param property the property to use for filtering
289
+ * @param values the values that the property must match at least one
290
+ * @return new Predicate with the in operation
291
+ */
292
+ static propertyIn<T>(property: Property<T>, values: T[]): Predicate;
293
+
284
294
  /**
285
295
  * Create a predicate matching a specified property to a specified value.
286
296
  *