@milaboratories/pl-model-common 1.19.0 → 1.19.2
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/dist/drivers/pframe/data_info.d.ts +51 -0
- package/dist/drivers/pframe/data_info.d.ts.map +1 -1
- package/dist/drivers/pframe/data_types.d.ts +86 -82
- package/dist/drivers/pframe/data_types.d.ts.map +1 -1
- package/dist/drivers/pframe/spec/anchored.d.ts.map +1 -1
- package/dist/drivers/pframe/spec/filtered_column.d.ts +4 -3
- package/dist/drivers/pframe/spec/filtered_column.d.ts.map +1 -1
- package/dist/drivers/pframe/spec/spec.d.ts +7 -1
- package/dist/drivers/pframe/spec/spec.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +474 -546
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/drivers/pframe/data_info.ts +64 -0
- package/src/drivers/pframe/data_types.ts +278 -244
- package/src/drivers/pframe/spec/anchored.ts +2 -3
- package/src/drivers/pframe/spec/filtered_column.ts +5 -3
- package/src/drivers/pframe/spec/spec.ts +14 -1
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import type { PValue } from '../data_types';
|
|
2
1
|
import type { AnchoredPColumnId } from './selectors';
|
|
3
2
|
|
|
3
|
+
/** Value of an axis filter */
|
|
4
|
+
export type AxisFilterValue = number | string;
|
|
5
|
+
|
|
4
6
|
/** Axis filter by index */
|
|
5
|
-
export type AxisFilterByIdx = [number,
|
|
7
|
+
export type AxisFilterByIdx = [number, AxisFilterValue];
|
|
6
8
|
|
|
7
9
|
/** Axis filter by name */
|
|
8
|
-
export type AxisFilterByName = [string,
|
|
10
|
+
export type AxisFilterByName = [string, AxisFilterValue];
|
|
9
11
|
|
|
10
12
|
/** Axis filter */
|
|
11
13
|
export type AxisFilter = AxisFilterByIdx | AxisFilterByName;
|
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
import type { PObject, PObjectId, PObjectSpec } from '../../../pool';
|
|
2
2
|
import canonicalize from 'canonicalize';
|
|
3
3
|
|
|
4
|
+
export type ValueTypeInt = 'Int';
|
|
5
|
+
export type ValueTypeLong = 'Long';
|
|
6
|
+
export type ValueTypeFloat = 'Float';
|
|
7
|
+
export type ValueTypeDouble = 'Double';
|
|
8
|
+
export type ValueTypeString = 'String';
|
|
9
|
+
export type ValueTypeBytes = 'Bytes';
|
|
10
|
+
|
|
4
11
|
/** PFrame columns and axes within them may store one of these types. */
|
|
5
|
-
export type ValueType =
|
|
12
|
+
export type ValueType =
|
|
13
|
+
| ValueTypeInt
|
|
14
|
+
| ValueTypeLong
|
|
15
|
+
| ValueTypeFloat
|
|
16
|
+
| ValueTypeDouble
|
|
17
|
+
| ValueTypeString
|
|
18
|
+
| ValueTypeBytes;
|
|
6
19
|
|
|
7
20
|
/**
|
|
8
21
|
* Specification of an individual axis.
|