@olympeio/runtime-node 9.11.6 → 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/import/olympe.dm/datamodel/.Primordial.newInst.json +1 -1
- package/import/olympe.dm/datamodel/05_permission_schema.updateInst.json +1 -1
- package/import/olympe.sc/datamodel/01_language.newInst.json +1 -1
- package/index.js +903 -899
- package/package.json +1 -1
- package/types/data.d.ts +10 -0
- package/types/query.d.ts +10 -0
package/package.json
CHANGED
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
|
*
|