@milaboratories/pl-model-middle-layer 1.8.41 → 1.8.43
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/block_meta/block_components.cjs +4 -4
- package/dist/block_meta/block_components.cjs.map +1 -1
- package/dist/block_meta/block_components.d.ts +0 -1
- package/dist/block_meta/block_components.d.ts.map +1 -1
- package/dist/block_meta/block_components.js +4 -4
- package/dist/block_meta/block_components.js.map +1 -1
- package/dist/block_meta/block_description.cjs +2 -2
- package/dist/block_meta/block_description.cjs.map +1 -1
- package/dist/block_meta/block_description.d.ts +116 -115
- package/dist/block_meta/block_description.d.ts.map +1 -1
- package/dist/block_meta/block_description.js +2 -2
- package/dist/block_meta/block_description.js.map +1 -1
- package/dist/block_meta/block_id.cjs +1 -1
- package/dist/block_meta/block_id.cjs.map +1 -1
- package/dist/block_meta/block_id.js +1 -1
- package/dist/block_meta/block_id.js.map +1 -1
- package/dist/block_meta/block_manifest.cjs +2 -2
- package/dist/block_meta/block_manifest.cjs.map +1 -1
- package/dist/block_meta/block_manifest.d.ts +1 -1
- package/dist/block_meta/block_manifest.d.ts.map +1 -1
- package/dist/block_meta/block_manifest.js +2 -2
- package/dist/block_meta/block_manifest.js.map +1 -1
- package/dist/block_meta/block_meta.cjs +3 -3
- package/dist/block_meta/block_meta.cjs.map +1 -1
- package/dist/block_meta/block_meta.js +3 -3
- package/dist/block_meta/block_meta.js.map +1 -1
- package/dist/block_meta/content_conversion.cjs.map +1 -1
- package/dist/block_meta/content_conversion.d.ts +1 -1
- package/dist/block_meta/content_conversion.d.ts.map +1 -1
- package/dist/block_meta/content_conversion.js.map +1 -1
- package/dist/block_meta/content_types.cjs +23 -23
- package/dist/block_meta/content_types.cjs.map +1 -1
- package/dist/block_meta/content_types.js +23 -23
- package/dist/block_meta/content_types.js.map +1 -1
- package/dist/block_meta/semver.cjs.map +1 -1
- package/dist/block_meta/semver.js.map +1 -1
- package/dist/block_registry/block_pack_spec.cjs +5 -5
- package/dist/block_registry/block_pack_spec.cjs.map +1 -1
- package/dist/block_registry/block_pack_spec.js +5 -5
- package/dist/block_registry/block_pack_spec.js.map +1 -1
- package/dist/block_registry/overview.cjs +6 -6
- package/dist/block_registry/overview.cjs.map +1 -1
- package/dist/block_registry/overview.d.ts.map +1 -1
- package/dist/block_registry/overview.js +6 -6
- package/dist/block_registry/overview.js.map +1 -1
- package/dist/block_registry/registry_spec.cjs +5 -5
- package/dist/block_registry/registry_spec.cjs.map +1 -1
- package/dist/block_registry/registry_spec.js +5 -5
- package/dist/block_registry/registry_spec.js.map +1 -1
- package/dist/block_state.d.ts +2 -2
- package/dist/block_state.d.ts.map +1 -1
- package/dist/pframe/internal_api/api_factory.cjs.map +1 -1
- package/dist/pframe/internal_api/api_factory.d.ts +2 -2
- package/dist/pframe/internal_api/api_factory.d.ts.map +1 -1
- package/dist/pframe/internal_api/api_factory.js.map +1 -1
- package/dist/pframe/internal_api/api_read.d.ts +9 -8
- package/dist/pframe/internal_api/api_read.d.ts.map +1 -1
- package/dist/pframe/internal_api/common.d.ts +3 -1
- package/dist/pframe/internal_api/common.d.ts.map +1 -1
- package/dist/pframe/internal_api/create_table.d.ts +2 -2
- package/dist/pframe/internal_api/create_table.d.ts.map +1 -1
- package/dist/pframe/internal_api/delete_column.d.ts +1 -1
- package/dist/pframe/internal_api/delete_column.d.ts.map +1 -1
- package/dist/pframe/internal_api/find_columns.d.ts +2 -2
- package/dist/pframe/internal_api/find_columns.d.ts.map +1 -1
- package/dist/pframe/internal_api/http_helpers.cjs.map +1 -1
- package/dist/pframe/internal_api/http_helpers.d.ts +27 -27
- package/dist/pframe/internal_api/http_helpers.d.ts.map +1 -1
- package/dist/pframe/internal_api/http_helpers.js.map +1 -1
- package/dist/pframe/internal_api/pframe.d.ts +8 -5
- package/dist/pframe/internal_api/pframe.d.ts.map +1 -1
- package/dist/pframe/internal_api/table.d.ts +5 -5
- package/dist/pframe/internal_api/table.d.ts.map +1 -1
- package/dist/project_list.d.ts +1 -1
- package/dist/project_list.d.ts.map +1 -1
- package/dist/project_overview.d.ts +5 -5
- package/dist/project_overview.d.ts.map +1 -1
- package/dist/update_info.d.ts +1 -1
- package/dist/update_info.d.ts.map +1 -1
- package/package.json +7 -4
- package/src/block_meta/block_components.ts +6 -8
- package/src/block_meta/block_description.ts +8 -7
- package/src/block_meta/block_id.ts +4 -4
- package/src/block_meta/block_manifest.ts +5 -5
- package/src/block_meta/block_meta.ts +8 -8
- package/src/block_meta/content_conversion.ts +4 -4
- package/src/block_meta/content_types.ts +24 -24
- package/src/block_meta/semver.ts +1 -1
- package/src/block_registry/block_pack_spec.ts +5 -5
- package/src/block_registry/overview.ts +10 -9
- package/src/block_registry/registry_spec.ts +5 -5
- package/src/block_state.ts +3 -3
- package/src/pframe/internal_api/api_factory.ts +3 -6
- package/src/pframe/internal_api/api_read.ts +11 -10
- package/src/pframe/internal_api/common.ts +11 -2
- package/src/pframe/internal_api/create_table.ts +3 -3
- package/src/pframe/internal_api/delete_column.ts +1 -1
- package/src/pframe/internal_api/find_columns.ts +2 -2
- package/src/pframe/internal_api/http_helpers.ts +44 -44
- package/src/pframe/internal_api/pframe.ts +9 -6
- package/src/pframe/internal_api/table.ts +10 -10
- package/src/project_list.ts +1 -1
- package/src/project_overview.ts +5 -5
- package/src/update_info.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type {
|
|
2
2
|
BinaryPartitionedDataInfo,
|
|
3
3
|
Branded,
|
|
4
4
|
JsonDataInfo,
|
|
@@ -8,10 +8,7 @@ import {
|
|
|
8
8
|
PColumnSpec,
|
|
9
9
|
PObjectId,
|
|
10
10
|
} from '@milaboratories/pl-model-common';
|
|
11
|
-
import {
|
|
12
|
-
HttpHelpers,
|
|
13
|
-
HttpServerInfo,
|
|
14
|
-
} from './http_helpers';
|
|
11
|
+
import type { HttpServerInfo } from './http_helpers';
|
|
15
12
|
|
|
16
13
|
/** PColumn spec file extension */
|
|
17
14
|
export const SpecExtension = '.spec' as const;
|
|
@@ -74,7 +71,7 @@ export interface PFrameFactoryAPIV4 extends Disposable {
|
|
|
74
71
|
columnId: PObjectId,
|
|
75
72
|
dataInfo: DataInfo<PFrameBlobId>,
|
|
76
73
|
options?: {
|
|
77
|
-
signal?: AbortSignal
|
|
74
|
+
signal?: AbortSignal;
|
|
78
75
|
}
|
|
79
76
|
): Promise<void>;
|
|
80
77
|
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { FindColumnsRequest, FindColumnsResponse } from './find_columns';
|
|
2
|
-
import { DeleteColumnFromColumnsRequest, DeleteColumnFromColumnsResponse } from './delete_column';
|
|
3
|
-
import {
|
|
1
|
+
import type { FindColumnsRequest, FindColumnsResponse } from './find_columns';
|
|
2
|
+
import type { DeleteColumnFromColumnsRequest, DeleteColumnFromColumnsResponse } from './delete_column';
|
|
3
|
+
import type {
|
|
4
4
|
PColumnInfo,
|
|
5
5
|
PColumnSpec,
|
|
6
6
|
PObjectId,
|
|
7
7
|
UniqueValuesRequest,
|
|
8
|
-
UniqueValuesResponse
|
|
8
|
+
UniqueValuesResponse,
|
|
9
9
|
} from '@milaboratories/pl-model-common';
|
|
10
|
-
import { CreateTableRequestV4 } from './create_table';
|
|
11
|
-
import {
|
|
10
|
+
import type { CreateTableRequestV4 } from './create_table';
|
|
11
|
+
import type { PTableV8 } from './table';
|
|
12
|
+
import type { PTableId } from './common';
|
|
12
13
|
|
|
13
14
|
/** Read interface exposed by PFrames library */
|
|
14
|
-
export interface
|
|
15
|
+
export interface PFrameReadAPIV11 {
|
|
15
16
|
/**
|
|
16
17
|
* Finds columns given filtering criteria on column name, annotations etc.
|
|
17
18
|
* and a set of qualified axes specs to find only columns with compatible
|
|
@@ -29,19 +30,19 @@ export interface PFrameReadAPIV10 {
|
|
|
29
30
|
deleteColumn(request: DeleteColumnFromColumnsRequest): Promise<DeleteColumnFromColumnsResponse>;
|
|
30
31
|
|
|
31
32
|
/** Retrieve single column spec */
|
|
32
|
-
getColumnSpec(columnId: PObjectId): Promise<PColumnSpec>;
|
|
33
|
+
getColumnSpec(columnId: PObjectId): Promise<PColumnSpec | null>;
|
|
33
34
|
|
|
34
35
|
/** Retrieve information about all columns currently added to the PFrame */
|
|
35
36
|
listColumns(): Promise<PColumnInfo[]>;
|
|
36
37
|
|
|
37
38
|
/** Calculates data for the table and returns an object to access it */
|
|
38
|
-
createTable(request: CreateTableRequestV4):
|
|
39
|
+
createTable(tableId: PTableId, request: CreateTableRequestV4): PTableV8;
|
|
39
40
|
|
|
40
41
|
/** Calculate set of unique values for a specific axis for the filtered set of records */
|
|
41
42
|
getUniqueValues(
|
|
42
43
|
request: UniqueValuesRequest,
|
|
43
44
|
ops?: {
|
|
44
|
-
signal?: AbortSignal
|
|
45
|
+
signal?: AbortSignal;
|
|
45
46
|
}
|
|
46
47
|
): Promise<UniqueValuesResponse>;
|
|
47
48
|
}
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type {
|
|
2
|
+
AxisSpec,
|
|
3
|
+
PFrameHandle,
|
|
4
|
+
PTableHandle,
|
|
5
|
+
ValueType,
|
|
6
|
+
} from '@milaboratories/pl-model-common';
|
|
2
7
|
|
|
3
8
|
export type Logger = (
|
|
4
9
|
level: 'info' | 'warn' | 'error',
|
|
5
10
|
message: string
|
|
6
11
|
) => void;
|
|
7
12
|
|
|
13
|
+
export type PFrameId = PFrameHandle;
|
|
14
|
+
|
|
15
|
+
export type PTableId = PTableHandle;
|
|
16
|
+
|
|
8
17
|
export interface SingleAxisSelector {
|
|
9
18
|
name: string;
|
|
10
19
|
type?: ValueType;
|
|
@@ -25,4 +34,4 @@ export type ConstantAxisFilter = {
|
|
|
25
34
|
type: 'constant';
|
|
26
35
|
axisIndex: number;
|
|
27
36
|
constant: string | number;
|
|
28
|
-
}
|
|
37
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ConstantAxisFilter } from './common';
|
|
2
|
-
import { JsonDataInfo, PColumnSpec, PObjectId, PTableRecordFilter } from '@milaboratories/pl-model-common';
|
|
1
|
+
import type { ConstantAxisFilter } from './common';
|
|
2
|
+
import type { JsonDataInfo, PColumnSpec, PObjectId, PTableRecordFilter } from '@milaboratories/pl-model-common';
|
|
3
3
|
|
|
4
4
|
export interface ColumnJoinEntry {
|
|
5
5
|
type: 'column';
|
|
@@ -43,7 +43,7 @@ export interface OuterJoinV4 {
|
|
|
43
43
|
secondary: JoinEntryV4[];
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
export type JoinEntryV4 =
|
|
46
|
+
export type JoinEntryV4 =
|
|
47
47
|
| ColumnJoinEntry
|
|
48
48
|
| SlicedColumnJoinEntry
|
|
49
49
|
| ArtificialColumnJoinEntry
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ColumnFilter, PColumnIdAndSpec } from '@milaboratories/pl-model-common';
|
|
2
|
-
import { AxisQualification, ColumnAxesWithQualifications } from './common';
|
|
1
|
+
import type { ColumnFilter, PColumnIdAndSpec } from '@milaboratories/pl-model-common';
|
|
2
|
+
import type { AxisQualification, ColumnAxesWithQualifications } from './common';
|
|
3
3
|
|
|
4
4
|
export interface FindColumnsRequest {
|
|
5
5
|
columnFilter: ColumnFilter;
|
|
@@ -14,54 +14,54 @@ export type FileRange = {
|
|
|
14
14
|
start: number;
|
|
15
15
|
/** End byte position (inclusive) */
|
|
16
16
|
end: number;
|
|
17
|
-
}
|
|
17
|
+
};
|
|
18
18
|
|
|
19
19
|
/** HTTP range as of RFC 9110 <https://datatracker.ietf.org/doc/html/rfc9110#name-range> */
|
|
20
20
|
export type HttpRange =
|
|
21
21
|
| {
|
|
22
|
-
|
|
22
|
+
/**
|
|
23
23
|
* Get file content in the specified byte range
|
|
24
|
-
*
|
|
24
|
+
*
|
|
25
25
|
* @example
|
|
26
26
|
* ```
|
|
27
27
|
* GET /file.parquet HTTP/1.1
|
|
28
28
|
* Range: bytes=0-1023
|
|
29
29
|
* ```
|
|
30
30
|
*/
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
type: 'bounded';
|
|
32
|
+
/** Start byte position (inclusive) */
|
|
33
|
+
start: number;
|
|
34
|
+
/** End byte position (inclusive) */
|
|
35
|
+
end: number;
|
|
36
|
+
}
|
|
37
37
|
| {
|
|
38
|
-
|
|
38
|
+
/**
|
|
39
39
|
* Get byte range starting from the specified offset
|
|
40
|
-
*
|
|
40
|
+
*
|
|
41
41
|
* @example
|
|
42
42
|
* ```
|
|
43
43
|
* GET /file.parquet HTTP/1.1
|
|
44
44
|
* Range: bytes=1024-
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
type: 'offset';
|
|
48
|
+
/** Start byte position (inclusive) */
|
|
49
|
+
offset: number;
|
|
50
|
+
}
|
|
51
51
|
| {
|
|
52
|
-
|
|
52
|
+
/**
|
|
53
53
|
* Get byte range starting from the specified suffix
|
|
54
|
-
*
|
|
54
|
+
*
|
|
55
55
|
* @example
|
|
56
56
|
* ```
|
|
57
57
|
* GET /file.parquet HTTP/1.1
|
|
58
58
|
* Range: bytes=-1024
|
|
59
59
|
* ```
|
|
60
60
|
*/
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
type: 'suffix';
|
|
62
|
+
/** End byte position (inclusive) */
|
|
63
|
+
suffix: number;
|
|
64
|
+
};
|
|
65
65
|
|
|
66
66
|
/** HTTP method passed to object store */
|
|
67
67
|
export type HttpMethod = 'GET' | 'HEAD';
|
|
@@ -69,32 +69,32 @@ export type HttpMethod = 'GET' | 'HEAD';
|
|
|
69
69
|
/** HTTP response from object store */
|
|
70
70
|
export type ObjectStoreResponse =
|
|
71
71
|
| {
|
|
72
|
-
|
|
72
|
+
/**
|
|
73
73
|
* Will be translated to 500 Internal Server Error by the handler
|
|
74
74
|
* or 408 Request Timeout if the request was aborted
|
|
75
75
|
*/
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
type: 'InternalError';
|
|
77
|
+
}
|
|
78
78
|
| {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
/** Will be translated to 404 Not Found by the handler */
|
|
80
|
+
type: 'NotFound';
|
|
81
|
+
}
|
|
82
82
|
| {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
83
|
+
/** Will be translated to 416 Range Not Satisfiable by the handler */
|
|
84
|
+
type: 'RangeNotSatisfiable';
|
|
85
|
+
/** Total file size in bytes */
|
|
86
|
+
size: number;
|
|
87
|
+
}
|
|
88
88
|
| {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
89
|
+
/** Will be translated to 200 OK or 206 Partial Content by the handler */
|
|
90
|
+
type: 'Ok';
|
|
91
|
+
/** Total file size in bytes */
|
|
92
|
+
size: number;
|
|
93
|
+
/** File range translated from HTTP range */
|
|
94
|
+
range: FileRange;
|
|
95
|
+
/** Stream of file content, undefined for HEAD requests */
|
|
96
|
+
data?: Readable;
|
|
97
|
+
};
|
|
98
98
|
|
|
99
99
|
/** Common options for object store creation */
|
|
100
100
|
export interface ObjectStoreOptions {
|
|
@@ -173,7 +173,7 @@ export type RequestHandlerOptions = {
|
|
|
173
173
|
/** Object store to serve files from, @see HttpHelpers.createFsStore */
|
|
174
174
|
store: ObjectStore;
|
|
175
175
|
/** Here will go caching options... */
|
|
176
|
-
}
|
|
176
|
+
};
|
|
177
177
|
|
|
178
178
|
/** Server configuration options */
|
|
179
179
|
export type HttpServerOptions = {
|
|
@@ -189,7 +189,7 @@ export type HttpServerOptions = {
|
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
191
|
* Long unique opaque string for use in Bearer authorization header
|
|
192
|
-
*
|
|
192
|
+
*
|
|
193
193
|
* @example
|
|
194
194
|
* ```ts
|
|
195
195
|
* request.setHeader('Authorization', `Bearer ${authToken}`);
|
|
@@ -199,7 +199,7 @@ export type HttpAuthorizationToken = Branded<string, 'PFrameInternal.HttpAuthori
|
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
201
|
* TLS certificate in PEM format
|
|
202
|
-
*
|
|
202
|
+
*
|
|
203
203
|
* @example
|
|
204
204
|
* ```txt
|
|
205
205
|
* -----BEGIN CERTIFICATE-----
|
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
import type { PFrameFactoryAPIV4 } from './api_factory';
|
|
2
|
-
import type {
|
|
2
|
+
import type { PFrameReadAPIV11 } from './api_read';
|
|
3
3
|
import type { Logger } from './common';
|
|
4
|
+
import type { PFrameId } from './common';
|
|
4
5
|
|
|
5
|
-
export interface
|
|
6
|
+
export interface PFrameV13 extends PFrameFactoryAPIV4, PFrameReadAPIV11 {}
|
|
6
7
|
|
|
7
|
-
export type
|
|
8
|
+
export type PFrameOptionsV2 = {
|
|
9
|
+
/** PFrame ID for logging purposes */
|
|
10
|
+
frameId: PFrameId;
|
|
8
11
|
/** Path to directory where PFrame can create temporary files */
|
|
9
12
|
spillPath: string;
|
|
10
13
|
/** Logger instance, no logging is performed when not provided */
|
|
11
14
|
logger?: Logger;
|
|
12
|
-
}
|
|
15
|
+
};
|
|
13
16
|
|
|
14
17
|
/** List of PFrame management functions exposed by PFrame module */
|
|
15
|
-
export interface
|
|
18
|
+
export interface PFrameFactoryV4 {
|
|
16
19
|
/**
|
|
17
20
|
* Create a new PFrame instance.
|
|
18
21
|
* @warning Use concurrency limiting to avoid OOM crashes when multiple instances are simultaneously in use.
|
|
19
22
|
*/
|
|
20
|
-
createPFrame(options:
|
|
23
|
+
createPFrame(options: PFrameOptionsV2): PFrameV13;
|
|
21
24
|
|
|
22
25
|
/**
|
|
23
26
|
* Dump active allocations from all PFrames instances in pprof format.
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type {
|
|
2
2
|
PTableColumnId,
|
|
3
3
|
PTableColumnSpec,
|
|
4
4
|
PTableRecordFilter,
|
|
5
5
|
PTableShape,
|
|
6
6
|
PTableSorting,
|
|
7
7
|
PTableVector,
|
|
8
|
-
TableRange
|
|
8
|
+
TableRange,
|
|
9
9
|
} from '@milaboratories/pl-model-common';
|
|
10
|
+
import type { PTableId } from './common';
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* Table view returned as a result of create table operation.
|
|
@@ -14,7 +15,7 @@ import {
|
|
|
14
15
|
* PTable can be thought as having a composite primary key, consisting of axes,
|
|
15
16
|
* and a set of data columns derived from PColumn values.
|
|
16
17
|
* */
|
|
17
|
-
export interface
|
|
18
|
+
export interface PTableV8 extends Disposable {
|
|
18
19
|
/**
|
|
19
20
|
* Returns ordered array of table axes specs (primary key "columns" in SQL
|
|
20
21
|
* terms) and data column specs (regular "columns" in SQL terms).
|
|
@@ -34,8 +35,7 @@ export interface PTableV7 extends Disposable {
|
|
|
34
35
|
* Warning: This call materializes the join.
|
|
35
36
|
*/
|
|
36
37
|
getFootprint(ops?: {
|
|
37
|
-
|
|
38
|
-
signal?: AbortSignal,
|
|
38
|
+
signal?: AbortSignal;
|
|
39
39
|
}): Promise<number>;
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -43,7 +43,7 @@ export interface PTableV7 extends Disposable {
|
|
|
43
43
|
* Warning: This call materializes the join.
|
|
44
44
|
*/
|
|
45
45
|
getShape(ops?: {
|
|
46
|
-
signal?: AbortSignal
|
|
46
|
+
signal?: AbortSignal;
|
|
47
47
|
}): Promise<PTableShape>;
|
|
48
48
|
|
|
49
49
|
/**
|
|
@@ -58,16 +58,16 @@ export interface PTableV7 extends Disposable {
|
|
|
58
58
|
getData(
|
|
59
59
|
columnIndices: number[],
|
|
60
60
|
ops?: {
|
|
61
|
-
range?: TableRange
|
|
62
|
-
signal?: AbortSignal
|
|
61
|
+
range?: TableRange;
|
|
62
|
+
signal?: AbortSignal;
|
|
63
63
|
},
|
|
64
64
|
): Promise<PTableVector[]>;
|
|
65
65
|
|
|
66
66
|
/** Filters the table and returns new PTable instance */
|
|
67
|
-
filter(request: PTableRecordFilter[]):
|
|
67
|
+
filter(tableId: PTableId, request: PTableRecordFilter[]): PTableV8;
|
|
68
68
|
|
|
69
69
|
/** Sorts the table and returns new PTable instance. */
|
|
70
|
-
sort(request: PTableSorting[]):
|
|
70
|
+
sort(tableId: PTableId, request: PTableSorting[]): PTableV8;
|
|
71
71
|
|
|
72
72
|
/** Deallocates all underlying resources */
|
|
73
73
|
dispose(): void;
|
package/src/project_list.ts
CHANGED
package/src/project_overview.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ProjectMeta } from './project';
|
|
2
|
-
import { BlockPackSpec } from './block_registry/block_pack_spec';
|
|
3
|
-
import { BlockCodeFeatureFlags, BlockRenderingMode, BlockSection, NavigationState, AuthorMarker } from '@milaboratories/pl-model-common';
|
|
4
|
-
import { UpdateSuggestions } from './update_info';
|
|
5
|
-
import { BlockSettings } from './block_settings';
|
|
1
|
+
import type { ProjectMeta } from './project';
|
|
2
|
+
import type { BlockPackSpec } from './block_registry/block_pack_spec';
|
|
3
|
+
import type { BlockCodeFeatureFlags, BlockRenderingMode, BlockSection, NavigationState, AuthorMarker } from '@milaboratories/pl-model-common';
|
|
4
|
+
import type { UpdateSuggestions } from './update_info';
|
|
5
|
+
import type { BlockSettings } from './block_settings';
|
|
6
6
|
|
|
7
7
|
/** Generalized block status, to be used in block item "styling". */
|
|
8
8
|
export type BlockCalculationStatus = 'NotCalculated' | 'Running' | 'Done' | 'Limbo';
|
package/src/update_info.ts
CHANGED