@milaboratories/pl-model-common 1.16.0 → 1.16.1

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": "@milaboratories/pl-model-common",
3
- "version": "1.16.0",
3
+ "version": "1.16.1",
4
4
  "description": "Platforma SDK Model",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",
@@ -26,8 +26,8 @@
26
26
  "typescript": "~5.6.3",
27
27
  "vite": "^6.3.5",
28
28
  "vitest": "^2.1.9",
29
- "@milaboratories/build-configs": "1.0.4",
30
- "@platforma-sdk/eslint-config": "1.0.3"
29
+ "@platforma-sdk/eslint-config": "1.0.3",
30
+ "@milaboratories/build-configs": "1.0.4"
31
31
  },
32
32
  "scripts": {
33
33
  "type-check": "tsc --noEmit --composite false",
@@ -138,6 +138,14 @@ export interface SingleValueEqualPredicate {
138
138
  readonly reference: string | number;
139
139
  }
140
140
 
141
+ export interface SingleValueInSetPredicate {
142
+ /** Comparison operator */
143
+ readonly operator: 'InSet';
144
+
145
+ /** Reference values, NA values will not match */
146
+ readonly references: (string | number)[];
147
+ }
148
+
141
149
  export interface SingleValueIEqualPredicate {
142
150
  /** Comparison operator (case insensitive) */
143
151
  readonly operator: 'IEqual';
@@ -288,6 +296,7 @@ export interface SingleValueOrPredicateV2 {
288
296
  export type SingleValuePredicateV2 =
289
297
  | SingleValueIsNAPredicate
290
298
  | SingleValueEqualPredicate
299
+ | SingleValueInSetPredicate
291
300
  | SingleValueLessPredicate
292
301
  | SingleValueLessOrEqualPredicate
293
302
  | SingleValueGreaterPredicate
@@ -340,7 +349,7 @@ export interface PTableDef<Col> {
340
349
  readonly src: JoinEntry<Col>;
341
350
 
342
351
  /** Partition filters */
343
- readonly partitionFilters: PTableRecordSingleValueFilterV2[];
352
+ readonly partitionFilters: PTableRecordFilter[];
344
353
 
345
354
  /** Record filters */
346
355
  readonly filters: PTableRecordFilter[];