@milaboratories/pl-model-common 1.48.0 → 1.49.0
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/author_marker.d.ts +1 -2
- package/dist/author_marker.d.ts.map +1 -1
- package/dist/base64.d.ts +4 -6
- package/dist/base64.d.ts.map +1 -1
- package/dist/block_state.d.ts +13 -9
- package/dist/block_state.d.ts.map +1 -1
- package/dist/bmodel/block_config.d.ts +51 -29
- package/dist/bmodel/block_config.d.ts.map +1 -1
- package/dist/bmodel/block_kind_ref.d.ts +4 -6
- package/dist/bmodel/block_kind_ref.d.ts.map +1 -1
- package/dist/bmodel/code.d.ts +4 -5
- package/dist/bmodel/code.d.ts.map +1 -1
- package/dist/bmodel/container.d.ts +5 -5
- package/dist/bmodel/container.d.ts.map +1 -1
- package/dist/bmodel/normalization.d.ts +1 -3
- package/dist/bmodel/normalization.d.ts.map +1 -1
- package/dist/bmodel/types.d.ts +1 -2
- package/dist/bmodel/types.d.ts.map +1 -1
- package/dist/branding.d.ts +2 -3
- package/dist/branding.d.ts.map +1 -1
- package/dist/columns/accessor_traversal.d.ts +6 -8
- package/dist/columns/accessor_traversal.d.ts.map +1 -1
- package/dist/columns/column_registry.d.ts +2 -3
- package/dist/columns/column_registry.d.ts.map +1 -1
- package/dist/columns/column_selector.d.ts +9 -9
- package/dist/columns/column_selector.d.ts.map +1 -1
- package/dist/columns/dedup.d.ts +1 -3
- package/dist/columns/dedup.d.ts.map +1 -1
- package/dist/columns/providers.d.ts +3 -4
- package/dist/columns/providers.d.ts.map +1 -1
- package/dist/columns/types.d.ts +12 -9
- package/dist/columns/types.d.ts.map +1 -1
- package/dist/common_types.d.ts +4 -6
- package/dist/common_types.d.ts.map +1 -1
- package/dist/dialog/index.d.ts +4 -5
- package/dist/dialog/index.d.ts.map +1 -1
- package/dist/driver_kit.d.ts +2 -2
- package/dist/driver_kit.d.ts.map +1 -1
- package/dist/drivers/ChunkedStreamReader.d.ts +3 -5
- package/dist/drivers/ChunkedStreamReader.d.ts.map +1 -1
- package/dist/drivers/blob.d.ts +36 -25
- package/dist/drivers/blob.d.ts.map +1 -1
- package/dist/drivers/columns/columns_collection_driver.d.ts +6 -7
- package/dist/drivers/columns/columns_collection_driver.d.ts.map +1 -1
- package/dist/drivers/columns/discover_columns_options.d.ts +9 -8
- package/dist/drivers/columns/discover_columns_options.d.ts.map +1 -1
- package/dist/drivers/index.cjs +1 -0
- package/dist/drivers/index.d.ts +4 -2
- package/dist/drivers/index.js +2 -2
- package/dist/drivers/interfaces.d.ts +2 -3
- package/dist/drivers/interfaces.d.ts.map +1 -1
- package/dist/drivers/log.d.ts +26 -28
- package/dist/drivers/log.d.ts.map +1 -1
- package/dist/drivers/ls.d.ts +37 -27
- package/dist/drivers/ls.d.ts.map +1 -1
- package/dist/drivers/pframe/column_filter.d.ts +1 -3
- package/dist/drivers/pframe/column_filter.d.ts.map +1 -1
- package/dist/drivers/pframe/data_info.d.ts +77 -50
- package/dist/drivers/pframe/data_info.d.ts.map +1 -1
- package/dist/drivers/pframe/data_types.d.ts +50 -45
- package/dist/drivers/pframe/data_types.d.ts.map +1 -1
- package/dist/drivers/pframe/driver.d.ts +5 -5
- package/dist/drivers/pframe/driver.d.ts.map +1 -1
- package/dist/drivers/pframe/filter_spec.d.ts +10 -12
- package/dist/drivers/pframe/filter_spec.d.ts.map +1 -1
- package/dist/drivers/pframe/find_columns.d.ts +2 -4
- package/dist/drivers/pframe/find_columns.d.ts.map +1 -1
- package/dist/drivers/pframe/index.cjs +1 -0
- package/dist/drivers/pframe/index.d.ts +4 -2
- package/dist/drivers/pframe/index.js +2 -2
- package/dist/drivers/pframe/linker_columns.d.ts +4 -10
- package/dist/drivers/pframe/linker_columns.d.ts.map +1 -1
- package/dist/drivers/pframe/pframe.d.ts +3 -3
- package/dist/drivers/pframe/pframe.d.ts.map +1 -1
- package/dist/drivers/pframe/query/query_common.d.ts +52 -46
- package/dist/drivers/pframe/query/query_common.d.ts.map +1 -1
- package/dist/drivers/pframe/query/query_data.d.ts +26 -21
- package/dist/drivers/pframe/query/query_data.d.ts.map +1 -1
- package/dist/drivers/pframe/query/query_spec.d.ts +22 -19
- package/dist/drivers/pframe/query/query_spec.d.ts.map +1 -1
- package/dist/drivers/pframe/query/utils.d.ts +15 -11
- package/dist/drivers/pframe/query/utils.d.ts.map +1 -1
- package/dist/drivers/pframe/spec/anchored.d.ts +3 -5
- package/dist/drivers/pframe/spec/anchored.d.ts.map +1 -1
- package/dist/drivers/pframe/spec/discovered_column.d.ts +10 -11
- package/dist/drivers/pframe/spec/discovered_column.d.ts.map +1 -1
- package/dist/drivers/pframe/spec/filtered_column.d.ts +17 -18
- package/dist/drivers/pframe/spec/filtered_column.d.ts.map +1 -1
- package/dist/drivers/pframe/spec/ids.d.ts +16 -16
- package/dist/drivers/pframe/spec/ids.d.ts.map +1 -1
- package/dist/drivers/pframe/spec/index.cjs +1 -0
- package/dist/drivers/pframe/spec/index.d.ts +2 -2
- package/dist/drivers/pframe/spec/index.js +2 -2
- package/dist/drivers/pframe/spec/native_id.d.ts +3 -3
- package/dist/drivers/pframe/spec/native_id.d.ts.map +1 -1
- package/dist/drivers/pframe/spec/overridden.d.ts +14 -16
- package/dist/drivers/pframe/spec/overridden.d.ts.map +1 -1
- package/dist/drivers/pframe/spec/selectors.d.ts +22 -22
- package/dist/drivers/pframe/spec/selectors.d.ts.map +1 -1
- package/dist/drivers/pframe/spec/spec.cjs +31 -0
- package/dist/drivers/pframe/spec/spec.cjs.map +1 -1
- package/dist/drivers/pframe/spec/spec.d.ts +94 -70
- package/dist/drivers/pframe/spec/spec.d.ts.map +1 -1
- package/dist/drivers/pframe/spec/spec.js +31 -1
- package/dist/drivers/pframe/spec/spec.js.map +1 -1
- package/dist/drivers/pframe/spec_driver.d.ts +30 -25
- package/dist/drivers/pframe/spec_driver.d.ts.map +1 -1
- package/dist/drivers/pframe/table.d.ts +1 -3
- package/dist/drivers/pframe/table.d.ts.map +1 -1
- package/dist/drivers/pframe/table_calculate.d.ts +55 -46
- package/dist/drivers/pframe/table_calculate.d.ts.map +1 -1
- package/dist/drivers/pframe/table_common.d.ts +9 -10
- package/dist/drivers/pframe/table_common.d.ts.map +1 -1
- package/dist/drivers/pframe/unique_values.d.ts +3 -3
- package/dist/drivers/pframe/unique_values.d.ts.map +1 -1
- package/dist/drivers/upload.d.ts +2 -3
- package/dist/drivers/upload.d.ts.map +1 -1
- package/dist/drivers/urls.d.ts +7 -8
- package/dist/drivers/urls.d.ts.map +1 -1
- package/dist/errors.d.ts +35 -36
- package/dist/errors.d.ts.map +1 -1
- package/dist/flags/block_flags.cjs.map +1 -1
- package/dist/flags/block_flags.d.ts +7 -7
- package/dist/flags/block_flags.d.ts.map +1 -1
- package/dist/flags/block_flags.js.map +1 -1
- package/dist/flags/flag_utils.d.ts +6 -8
- package/dist/flags/flag_utils.d.ts.map +1 -1
- package/dist/flags/type_utils.d.ts +6 -7
- package/dist/flags/type_utils.d.ts.map +1 -1
- package/dist/httpAuth.d.ts +4 -5
- package/dist/httpAuth.d.ts.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +9 -2
- package/dist/index.js +2 -2
- package/dist/json.d.ts +11 -12
- package/dist/json.d.ts.map +1 -1
- package/dist/navigation.d.ts +16 -11
- package/dist/navigation.d.ts.map +1 -1
- package/dist/plid.d.ts +7 -9
- package/dist/plid.d.ts.map +1 -1
- package/dist/pool/entry.d.ts +8 -6
- package/dist/pool/entry.d.ts.map +1 -1
- package/dist/pool/query.d.ts +3 -4
- package/dist/pool/query.d.ts.map +1 -1
- package/dist/pool/spec.d.ts +33 -30
- package/dist/pool/spec.d.ts.map +1 -1
- package/dist/pool_entry.d.ts +2 -3
- package/dist/pool_entry.d.ts.map +1 -1
- package/dist/project_id.d.ts +1 -3
- package/dist/project_id.d.ts.map +1 -1
- package/dist/ref.d.ts +22 -23
- package/dist/ref.d.ts.map +1 -1
- package/dist/resource_types.d.ts +2 -3
- package/dist/resource_types.d.ts.map +1 -1
- package/dist/services/node_service_handlers.d.ts +1 -3
- package/dist/services/node_service_handlers.d.ts.map +1 -1
- package/dist/services/service_capabilities.d.ts +7 -9
- package/dist/services/service_capabilities.d.ts.map +1 -1
- package/dist/services/service_declarations.d.ts +2 -2
- package/dist/services/service_declarations.d.ts.map +1 -1
- package/dist/services/service_injectors.d.ts +7 -8
- package/dist/services/service_injectors.d.ts.map +1 -1
- package/dist/services/service_registry.d.ts +2 -4
- package/dist/services/service_registry.d.ts.map +1 -1
- package/dist/services/service_types.d.ts +24 -26
- package/dist/services/service_types.d.ts.map +1 -1
- package/dist/template/kind_selector.d.ts +9 -11
- package/dist/template/kind_selector.d.ts.map +1 -1
- package/dist/template/project_template_v1.d.ts +22 -20
- package/dist/template/project_template_v1.d.ts.map +1 -1
- package/dist/template/template_ref_form.d.ts +6 -5
- package/dist/template/template_ref_form.d.ts.map +1 -1
- package/dist/template/template_relocate.cjs +24 -3
- package/dist/template/template_relocate.cjs.map +1 -1
- package/dist/template/template_relocate.d.ts +8 -4
- package/dist/template/template_relocate.d.ts.map +1 -1
- package/dist/template/template_relocate.js +24 -3
- package/dist/template/template_relocate.js.map +1 -1
- package/dist/utag.d.ts +2 -4
- package/dist/utag.d.ts.map +1 -1
- package/dist/util.d.ts +2 -3
- package/dist/util.d.ts.map +1 -1
- package/dist/value_or_error.d.ts +2 -3
- package/dist/value_or_error.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/drivers/pframe/spec/spec.ts +31 -0
- package/src/flags/block_flags.ts +1 -1
- package/src/template/template_relocate.test.ts +57 -0
- package/src/template/template_relocate.ts +32 -4
package/dist/drivers/log.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Branded } from "../branding.js";
|
|
2
|
-
|
|
3
2
|
//#region src/drivers/log.d.ts
|
|
4
3
|
/** Prefix constants — single source of truth for handle format. */
|
|
5
4
|
declare const LIVE_LOG_PREFIX = "log+live://log/";
|
|
@@ -7,71 +6,70 @@ declare const READY_LOG_PREFIX = "log+ready://log/";
|
|
|
7
6
|
/** Handle of the live logs of a program.
|
|
8
7
|
* The resource that represents a log can be deleted,
|
|
9
8
|
* in this case the handle should be refreshed. */
|
|
10
|
-
type LiveLogHandle = Branded<`${typeof LIVE_LOG_PREFIX}${string}`, "LiveLogHandle">;
|
|
9
|
+
export type LiveLogHandle = Branded<`${typeof LIVE_LOG_PREFIX}${string}`, "LiveLogHandle">;
|
|
11
10
|
/** Handle of the ready logs of a program. */
|
|
12
|
-
type ReadyLogHandle = Branded<`${typeof READY_LOG_PREFIX}${string}`, "ReadyLogHandle">;
|
|
11
|
+
export type ReadyLogHandle = Branded<`${typeof READY_LOG_PREFIX}${string}`, "ReadyLogHandle">;
|
|
13
12
|
/** Handle of logs. This handle should be passed
|
|
14
13
|
* to the driver for retrieving logs. */
|
|
15
|
-
type AnyLogHandle = LiveLogHandle | ReadyLogHandle;
|
|
14
|
+
export type AnyLogHandle = LiveLogHandle | ReadyLogHandle;
|
|
16
15
|
/** Type guard to check if a value is any kind of log handle. */
|
|
17
|
-
declare function isAnyLogHandle(value: unknown): value is AnyLogHandle;
|
|
16
|
+
export declare function isAnyLogHandle(value: unknown): value is AnyLogHandle;
|
|
18
17
|
/** Type guard to check if log is live, and corresponding process is not finished. */
|
|
19
|
-
declare function isLiveLog(handle: AnyLogHandle | undefined): handle is LiveLogHandle;
|
|
18
|
+
export declare function isLiveLog(handle: AnyLogHandle | undefined): handle is LiveLogHandle;
|
|
20
19
|
/** Driver to retrieve logs given log handle */
|
|
21
|
-
interface LogsDriver {
|
|
22
|
-
lastLines(
|
|
23
|
-
|
|
24
|
-
handle: AnyLogHandle,
|
|
25
|
-
|
|
20
|
+
export interface LogsDriver {
|
|
21
|
+
lastLines(
|
|
22
|
+
/** A handle that was issued previously. */
|
|
23
|
+
handle: AnyLogHandle,
|
|
24
|
+
/** Allows client to limit total data sent from server. */
|
|
26
25
|
lineCount: number,
|
|
27
26
|
/** Makes streamer to perform seek operation to given offset before sending the contents.
|
|
28
27
|
* Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.
|
|
29
28
|
* If undefined, then starts from the end. */
|
|
30
|
-
|
|
31
29
|
offsetBytes?: number,
|
|
32
30
|
/** Is substring for line search pattern.
|
|
33
31
|
* This option makes controller to send to the client only lines, that
|
|
34
32
|
* have given substring. */
|
|
35
|
-
|
|
36
33
|
searchStr?: string): Promise<StreamingApiResponse>;
|
|
37
|
-
readText(
|
|
38
|
-
|
|
39
|
-
handle: AnyLogHandle,
|
|
40
|
-
|
|
34
|
+
readText(
|
|
35
|
+
/** A handle that was issued previously. */
|
|
36
|
+
handle: AnyLogHandle,
|
|
37
|
+
/** Allows client to limit total data sent from server. */
|
|
41
38
|
lineCount: number,
|
|
42
39
|
/** Makes streamer to perform seek operation to given offset before sending the contents.
|
|
43
40
|
* Client can just use the <new_offset> value of the last response from server to continue streaming after reconnection.
|
|
44
41
|
* If undefined of 0, then starts from the beginning. */
|
|
45
|
-
|
|
46
42
|
offsetBytes?: number,
|
|
47
43
|
/** Is substring for line search pattern.
|
|
48
44
|
* This option makes controller to send to the client only lines, that
|
|
49
45
|
* have given substring. */
|
|
50
|
-
|
|
51
46
|
searchStr?: string): Promise<StreamingApiResponse>;
|
|
52
47
|
}
|
|
53
48
|
/** Response of the driver.
|
|
54
49
|
* The caller should give a handle to retrieve it.
|
|
55
50
|
* It can be OK or outdated, in which case the handle
|
|
56
51
|
* should be issued again. */
|
|
57
|
-
type StreamingApiResponse = StreamingApiResponseOk | StreamingApiResponseHandleOutdated;
|
|
58
|
-
type StreamingApiResponseOk = {
|
|
52
|
+
export type StreamingApiResponse = StreamingApiResponseOk | StreamingApiResponseHandleOutdated;
|
|
53
|
+
export type StreamingApiResponseOk = {
|
|
59
54
|
/** The handle don't have to be updated,
|
|
60
55
|
* the response is OK. */
|
|
61
|
-
shouldUpdateHandle: false;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
56
|
+
shouldUpdateHandle: false;
|
|
57
|
+
/** Whether the log can still grow or it's in a final state. */
|
|
58
|
+
live: boolean;
|
|
59
|
+
/** Data of the response, in bytes. */
|
|
60
|
+
data: Uint8Array;
|
|
61
|
+
/** Current size of the file. It can grow if it's still live. */
|
|
62
|
+
size: number;
|
|
63
|
+
/** Offset in bytes from the beginning of a file. */
|
|
65
64
|
newOffset: number;
|
|
66
65
|
};
|
|
67
66
|
/** The handle should be issued again, this one is done. */
|
|
68
|
-
type StreamingApiResponseHandleOutdated = {
|
|
67
|
+
export type StreamingApiResponseHandleOutdated = {
|
|
69
68
|
shouldUpdateHandle: true;
|
|
70
69
|
};
|
|
71
|
-
type ProgressLogWithInfo = {
|
|
70
|
+
export type ProgressLogWithInfo = {
|
|
72
71
|
progressLine?: string;
|
|
73
72
|
live: boolean;
|
|
74
73
|
};
|
|
75
74
|
//#endregion
|
|
76
|
-
export { AnyLogHandle, LiveLogHandle, LogsDriver, ProgressLogWithInfo, ReadyLogHandle, StreamingApiResponse, StreamingApiResponseHandleOutdated, StreamingApiResponseOk, isAnyLogHandle, isLiveLog };
|
|
77
75
|
//# sourceMappingURL=log.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log.d.ts","names":[],"sources":["../../src/drivers/log.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"log.d.ts","names":[],"sources":["../../src/drivers/log.ts"],"mappings":";;;cAGM;cACA;;;;YAKM,gBAAgB,kBAAkB;;YAGlC,iBAAiB,kBAAkB;;;YAInC,eAAe,gBAAgB;;wBAG3B,eAAe,iBAAiB,SAAS;;wBAQzC,UAAU,QAAQ,2BAA2B,UAAU;;iBAKtD;EACf,UAEE;;EAAA,QAAQ,cAGR;;EAAA,mBAKA;;;;EAAA,sBAKA;;;;EAAA,qBACC,QAAQ;EAEX,SAEE;;EAAA,QAAQ,cAGR;;EAAA,mBAKA;;;;EAAA,sBAKA;;;;EAAA,qBACC,QAAQ;;;;;;YAOD,uBAAuB,yBAAyB;YAEhD;;;EAGV;;EAGA;;EAGA,MAAM;;EAEN;;EAEA;;;YAIU;EACV;;YAGU;EACV;EACA"}
|
package/dist/drivers/ls.d.ts
CHANGED
|
@@ -1,63 +1,74 @@
|
|
|
1
1
|
import { Branded } from "../branding.js";
|
|
2
2
|
import { TableRange } from "./pframe/data_types.js";
|
|
3
3
|
import { FileLike } from "./interfaces.js";
|
|
4
|
+
import "./pframe/index.js";
|
|
4
5
|
//#region src/drivers/ls.d.ts
|
|
5
|
-
type ImportFileHandleUpload = `upload://upload/${string}`;
|
|
6
|
-
type ImportFileHandleIndex = `index://index/${string}`;
|
|
7
|
-
type ImportFileHandle = ImportFileHandleUpload | ImportFileHandleIndex;
|
|
8
|
-
type LocalImportFileHandle = Branded<ImportFileHandle, "Local">;
|
|
9
|
-
declare function isImportFileHandleUpload(handle: ImportFileHandle): handle is ImportFileHandleUpload;
|
|
10
|
-
declare function isImportFileHandleIndex(handle: ImportFileHandle): handle is ImportFileHandleIndex;
|
|
6
|
+
export type ImportFileHandleUpload = `upload://upload/${string}`;
|
|
7
|
+
export type ImportFileHandleIndex = `index://index/${string}`;
|
|
8
|
+
export type ImportFileHandle = ImportFileHandleUpload | ImportFileHandleIndex;
|
|
9
|
+
export type LocalImportFileHandle = Branded<ImportFileHandle, "Local">;
|
|
10
|
+
export declare function isImportFileHandleUpload(handle: ImportFileHandle): handle is ImportFileHandleUpload;
|
|
11
|
+
export declare function isImportFileHandleIndex(handle: ImportFileHandle): handle is ImportFileHandleIndex;
|
|
11
12
|
/** Results in upload */
|
|
12
|
-
type StorageHandleLocal = `local://${string}`;
|
|
13
|
+
export type StorageHandleLocal = `local://${string}`;
|
|
13
14
|
/** Results in index */
|
|
14
|
-
type StorageHandleRemote = `remote://${string}`;
|
|
15
|
-
type StorageHandle = StorageHandleLocal | StorageHandleRemote;
|
|
16
|
-
type StorageEntry = {
|
|
17
|
-
/** Stable machine identifier (e.g. "library", "root", "local"). Used for filtering. */
|
|
15
|
+
export type StorageHandleRemote = `remote://${string}`;
|
|
16
|
+
export type StorageHandle = StorageHandleLocal | StorageHandleRemote;
|
|
17
|
+
export type StorageEntry = {
|
|
18
|
+
/** Stable machine identifier (e.g. "library", "root", "local"). Used for filtering. */
|
|
19
|
+
id: string;
|
|
20
|
+
/** Human-readable display name. */
|
|
18
21
|
name: string;
|
|
19
22
|
handle: StorageHandle;
|
|
20
23
|
initialFullPath: string;
|
|
21
24
|
};
|
|
22
|
-
type ListFilesResult = {
|
|
25
|
+
export type ListFilesResult = {
|
|
23
26
|
parent?: string;
|
|
24
27
|
entries: LsEntry[];
|
|
25
28
|
};
|
|
26
|
-
type LsEntry = {
|
|
29
|
+
export type LsEntry = {
|
|
27
30
|
type: "dir";
|
|
28
31
|
name: string;
|
|
29
32
|
fullPath: string;
|
|
30
33
|
} | {
|
|
31
34
|
type: "file";
|
|
32
35
|
name: string;
|
|
33
|
-
fullPath: string;
|
|
36
|
+
fullPath: string;
|
|
37
|
+
/** This handle should be set to args... */
|
|
34
38
|
handle: ImportFileHandle;
|
|
35
39
|
};
|
|
36
|
-
type OpenDialogFilter = {
|
|
37
|
-
/** Human-readable file type name */
|
|
40
|
+
export type OpenDialogFilter = {
|
|
41
|
+
/** Human-readable file type name */
|
|
42
|
+
readonly name: string;
|
|
43
|
+
/** File extensions */
|
|
38
44
|
readonly extensions: string[];
|
|
39
45
|
};
|
|
40
|
-
type OpenDialogOps = {
|
|
41
|
-
/** Open dialog window title */
|
|
42
|
-
readonly
|
|
46
|
+
export type OpenDialogOps = {
|
|
47
|
+
/** Open dialog window title */
|
|
48
|
+
readonly title?: string;
|
|
49
|
+
/** Custom label for the confirmation button, when left empty the default label will be used. */
|
|
50
|
+
readonly buttonLabel?: string;
|
|
51
|
+
/** Limits of file types user can select */
|
|
43
52
|
readonly filters?: OpenDialogFilter[];
|
|
44
53
|
};
|
|
45
|
-
type OpenSingleFileResponse = {
|
|
54
|
+
export type OpenSingleFileResponse = {
|
|
46
55
|
/** Contains local file handle, allowing file importing or content reading. If user canceled
|
|
47
56
|
* the dialog, field will be undefined. */
|
|
48
57
|
readonly file?: LocalImportFileHandle;
|
|
49
58
|
};
|
|
50
|
-
type OpenMultipleFilesResponse = {
|
|
59
|
+
export type OpenMultipleFilesResponse = {
|
|
51
60
|
/** Contains local file handles, allowing file importing or content reading. If user canceled
|
|
52
61
|
* the dialog, field will be undefined. */
|
|
53
62
|
readonly files?: LocalImportFileHandle[];
|
|
54
63
|
};
|
|
55
64
|
/** Can be used to limit request for local file content to a certain bytes range */
|
|
56
|
-
type FileRange = {
|
|
57
|
-
/** From byte index (inclusive) */
|
|
65
|
+
export type FileRange = {
|
|
66
|
+
/** From byte index (inclusive) */
|
|
67
|
+
readonly from: number;
|
|
68
|
+
/** To byte index (exclusive) */
|
|
58
69
|
readonly to: number;
|
|
59
70
|
};
|
|
60
|
-
interface LsDriver {
|
|
71
|
+
export interface LsDriver {
|
|
61
72
|
/** remote and local storages */
|
|
62
73
|
getStorageList(): Promise<StorageEntry[]>;
|
|
63
74
|
listFiles(storage: StorageHandle, fullPath: string): Promise<ListFilesResult>;
|
|
@@ -80,9 +91,8 @@ interface LsDriver {
|
|
|
80
91
|
exportToPdf?(): Promise<void>;
|
|
81
92
|
}
|
|
82
93
|
/** Gets a file path from an import handle. */
|
|
83
|
-
declare function getFilePathFromHandle(handle: ImportFileHandle): string;
|
|
94
|
+
export declare function getFilePathFromHandle(handle: ImportFileHandle): string;
|
|
84
95
|
/** Gets a file name from an import handle. */
|
|
85
|
-
declare function getFileNameFromHandle(handle: ImportFileHandle): string;
|
|
96
|
+
export declare function getFileNameFromHandle(handle: ImportFileHandle): string;
|
|
86
97
|
//#endregion
|
|
87
|
-
export { FileRange, ImportFileHandle, ImportFileHandleIndex, ImportFileHandleUpload, ListFilesResult, LocalImportFileHandle, LsDriver, LsEntry, OpenDialogFilter, OpenDialogOps, OpenMultipleFilesResponse, OpenSingleFileResponse, StorageEntry, StorageHandle, StorageHandleLocal, StorageHandleRemote, getFileNameFromHandle, getFilePathFromHandle, isImportFileHandleIndex, isImportFileHandleUpload };
|
|
88
98
|
//# sourceMappingURL=ls.d.ts.map
|
package/dist/drivers/ls.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ls.d.ts","names":[],"sources":["../../src/drivers/ls.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ls.d.ts","names":[],"sources":["../../src/drivers/ls.ts"],"mappings":";;;;;YAQY;YACA;YAEA,mBAAmB,yBAAyB;YAE5C,wBAAwB,QAAQ;wBAE5B,yBACd,QAAQ,mBACP,UAAU;wBAIG,wBAAwB,QAAQ,mBAAmB,UAAU;;YAKjE;;YAGA;YAEA,gBAAgB,qBAAqB;YAErC;;EAEV;;EAEA;EACA,QAAQ;EACR;;YAGU;EACV;EACA,SAAS;;YAGC;EAEN;EACA;EACA;;EAGA;EACA;EACA;;EAGA,QAAQ;;YAGF;;WAED;;WAEA;;YAGC;;WAED;;WAEA;;WAEA,UAAU;;YAGT;;;WAGD,OAAO;;YAGN;;;WAGD,QAAQ;;;YAIP;;WAED;;WAEA;;iBAGM;;EAEf,kBAAkB,QAAQ;EAE1B,UAAU,SAAS,eAAe,mBAAmB,QAAQ;;EAG7D,yBAAyB,KAAK,gBAAgB,QAAQ;;EAGtD,4BAA4B,KAAK,gBAAgB,QAAQ;;EAGzD,iBAAiB,MAAM,wBAAwB;;EAG/C,oBAAoB,MAAM,uBAAuB,QAAQ,aAAa,QAAQ;;;;;;;EAQ9E,mBAAmB,MAAM,WAAW,QAAQ;;EAG5C,gBAAgB;;;wBAIF,sBAAsB,QAAQ;;wBAmB9B,sBAAsB,QAAQ"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ValueType } from "./spec/spec.js";
|
|
2
|
-
|
|
3
2
|
//#region src/drivers/pframe/column_filter.d.ts
|
|
4
3
|
/** Allows to search multiple columns in different contexts. */
|
|
5
|
-
interface ColumnFilter {
|
|
4
|
+
export interface ColumnFilter {
|
|
6
5
|
/** Match any of the types listed here. If undefined, will be ignored during
|
|
7
6
|
* matching. */
|
|
8
7
|
readonly type?: ValueType[];
|
|
@@ -18,5 +17,4 @@ interface ColumnFilter {
|
|
|
18
17
|
readonly annotationPattern?: Record<string, string>;
|
|
19
18
|
}
|
|
20
19
|
//#endregion
|
|
21
|
-
export { ColumnFilter };
|
|
22
20
|
//# sourceMappingURL=column_filter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"column_filter.d.ts","names":[],"sources":["../../../src/drivers/pframe/column_filter.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"column_filter.d.ts","names":[],"sources":["../../../src/drivers/pframe/column_filter.ts"],"mappings":";;;iBAGiB;;;WAGN,OAAO;;;WAIP;;WAGA,cAAc;;WAGd,kBAAkB;;;WAIlB,oBAAoB"}
|
|
@@ -6,26 +6,30 @@
|
|
|
6
6
|
* Note: Actual columns can hold more value types, which are converted to these JavaScript types
|
|
7
7
|
* once they enter the JavaScript runtime.
|
|
8
8
|
*/
|
|
9
|
-
type PColumnValue = null | number | string;
|
|
9
|
+
export type PColumnValue = null | number | string;
|
|
10
10
|
/**
|
|
11
11
|
* Represents a key for a PColumn value.
|
|
12
12
|
* Can be an array of strings or numbers.
|
|
13
13
|
*/
|
|
14
|
-
type PColumnKey = (number | string)[];
|
|
14
|
+
export type PColumnKey = (number | string)[];
|
|
15
15
|
/**
|
|
16
16
|
* Represents a single entry in a PColumn's data structure.
|
|
17
17
|
* Contains a key and a value.
|
|
18
18
|
*/
|
|
19
|
-
type PColumnDataEntry<T> = {
|
|
20
|
-
/** Key for the value */
|
|
19
|
+
export type PColumnDataEntry<T> = {
|
|
20
|
+
/** Key for the value */
|
|
21
|
+
key: PColumnKey;
|
|
22
|
+
/** Value / blob at the given key */
|
|
21
23
|
value: T;
|
|
22
24
|
};
|
|
23
25
|
/**
|
|
24
26
|
* Represents column data stored as a simple JSON structure.
|
|
25
27
|
* Used for small datasets that can be efficiently stored directly in memory.
|
|
26
28
|
*/
|
|
27
|
-
type JsonDataInfo = {
|
|
28
|
-
/** Identifier for this data format ('Json') */
|
|
29
|
+
export type JsonDataInfo = {
|
|
30
|
+
/** Identifier for this data format ('Json') */
|
|
31
|
+
type: "Json";
|
|
32
|
+
/** Number of axes that make up the complete key (tuple length) */
|
|
29
33
|
keyLength: number;
|
|
30
34
|
/**
|
|
31
35
|
* Key-value pairs where keys are stringified tuples of axis values
|
|
@@ -37,57 +41,81 @@ type JsonDataInfo = {
|
|
|
37
41
|
* Represents column data partitioned across multiple JSON blobs.
|
|
38
42
|
* Used for larger datasets that need to be split into manageable chunks.
|
|
39
43
|
*/
|
|
40
|
-
type JsonPartitionedDataInfo<Blob> = {
|
|
41
|
-
/** Identifier for this data format ('JsonPartitioned') */
|
|
42
|
-
|
|
44
|
+
export type JsonPartitionedDataInfo<Blob> = {
|
|
45
|
+
/** Identifier for this data format ('JsonPartitioned') */
|
|
46
|
+
type: "JsonPartitioned";
|
|
47
|
+
/** Number of leading axes used for partitioning */
|
|
48
|
+
partitionKeyLength: number;
|
|
49
|
+
/** Map of stringified partition keys to blob references */
|
|
43
50
|
parts: Record<string, Blob>;
|
|
44
51
|
};
|
|
45
52
|
/**
|
|
46
53
|
* Represents a binary format chunk containing index and values as separate blobs.
|
|
47
54
|
* Used for efficient storage and retrieval of column data in binary format.
|
|
48
55
|
*/
|
|
49
|
-
type BinaryChunk<Blob> = {
|
|
50
|
-
/** Binary blob containing structured index information */
|
|
56
|
+
export type BinaryChunk<Blob> = {
|
|
57
|
+
/** Binary blob containing structured index information */
|
|
58
|
+
index: Blob;
|
|
59
|
+
/** Binary blob containing the actual values */
|
|
51
60
|
values: Blob;
|
|
52
61
|
};
|
|
53
62
|
/**
|
|
54
63
|
* Represents column data partitioned across multiple binary chunks.
|
|
55
64
|
* Optimized for efficient storage and retrieval of large datasets.
|
|
56
65
|
*/
|
|
57
|
-
type BinaryPartitionedDataInfo<Blob> = {
|
|
58
|
-
/** Identifier for this data format ('BinaryPartitioned') */
|
|
59
|
-
|
|
66
|
+
export type BinaryPartitionedDataInfo<Blob> = {
|
|
67
|
+
/** Identifier for this data format ('BinaryPartitioned') */
|
|
68
|
+
type: "BinaryPartitioned";
|
|
69
|
+
/** Number of leading axes used for partitioning */
|
|
70
|
+
partitionKeyLength: number;
|
|
71
|
+
/** Map of stringified partition keys to binary chunks */
|
|
60
72
|
parts: Record<string, BinaryChunk<Blob>>;
|
|
61
73
|
};
|
|
62
|
-
type ParquetChunkMappingAxis = {
|
|
63
|
-
/** Data type (matches PColumn axis types) */
|
|
74
|
+
export type ParquetChunkMappingAxis = {
|
|
75
|
+
/** Data type (matches PColumn axis types) */
|
|
76
|
+
type: "Int" | "Long" | "String";
|
|
77
|
+
/** Field name in the Parquet file */
|
|
64
78
|
id: string;
|
|
65
79
|
};
|
|
66
|
-
type ParquetChunkMappingColumn = {
|
|
67
|
-
/** Data type (matches PColumn value type) */
|
|
80
|
+
export type ParquetChunkMappingColumn = {
|
|
81
|
+
/** Data type (matches PColumn value type) */
|
|
82
|
+
type: "Int" | "Long" | "Float" | "Double" | "String";
|
|
83
|
+
/** Field name in the Parquet file */
|
|
68
84
|
id: string;
|
|
69
85
|
};
|
|
70
|
-
type ParquetChunkMapping = {
|
|
71
|
-
/** Axes mappings - Parquet file is sorted by these fields in this order */
|
|
86
|
+
export type ParquetChunkMapping = {
|
|
87
|
+
/** Axes mappings - Parquet file is sorted by these fields in this order */
|
|
88
|
+
axes: ParquetChunkMappingAxis[];
|
|
89
|
+
/** Column mapping */
|
|
72
90
|
column: ParquetChunkMappingColumn;
|
|
73
91
|
};
|
|
74
|
-
type ParquetChunkStats = {
|
|
75
|
-
/** Number of rows in the chunk */
|
|
92
|
+
export type ParquetChunkStats = {
|
|
93
|
+
/** Number of rows in the chunk */
|
|
94
|
+
numberOfRows: number;
|
|
95
|
+
/** Byte size information for storage optimization and query planning */
|
|
76
96
|
size: {
|
|
77
|
-
/** Byte sizes for each axis column in the same order as axes mapping */
|
|
97
|
+
/** Byte sizes for each axis column in the same order as axes mapping */
|
|
98
|
+
axes: number[];
|
|
99
|
+
/** Byte size for the data column */
|
|
78
100
|
column: number;
|
|
79
101
|
};
|
|
80
102
|
};
|
|
81
|
-
type ParquetChunkMetadata = {
|
|
82
|
-
/** Content hash calculated for the specific axes and data this chunk represents */
|
|
103
|
+
export type ParquetChunkMetadata = {
|
|
104
|
+
/** Content hash calculated for the specific axes and data this chunk represents */
|
|
105
|
+
dataDigest: string;
|
|
106
|
+
/** Pre-computed statistics for optimization without blob download */
|
|
83
107
|
stats: Partial<ParquetChunkStats>;
|
|
84
108
|
};
|
|
85
|
-
type ParquetChunk<Blob> = {
|
|
86
|
-
/** Parquet file (PTable) containing column data */
|
|
109
|
+
export type ParquetChunk<Blob> = {
|
|
110
|
+
/** Parquet file (PTable) containing column data */
|
|
111
|
+
data: Blob;
|
|
87
112
|
} & ParquetChunkMapping & Partial<ParquetChunkMetadata>;
|
|
88
|
-
type ParquetPartitionedDataInfo<Blob> = {
|
|
89
|
-
/** Identifier for this data format ('ParquetPartitioned') */
|
|
90
|
-
|
|
113
|
+
export type ParquetPartitionedDataInfo<Blob> = {
|
|
114
|
+
/** Identifier for this data format ('ParquetPartitioned') */
|
|
115
|
+
type: "ParquetPartitioned";
|
|
116
|
+
/** Number of leading axes used for partitioning */
|
|
117
|
+
partitionKeyLength: number;
|
|
118
|
+
/** Map of stringified partition keys to parquet files */
|
|
91
119
|
parts: Record<string, Blob>;
|
|
92
120
|
};
|
|
93
121
|
/**
|
|
@@ -96,14 +124,14 @@ type ParquetPartitionedDataInfo<Blob> = {
|
|
|
96
124
|
*
|
|
97
125
|
* @template Blob - Type parameter representing the storage reference type (could be ResourceInfo, PFrameBlobId, etc.)
|
|
98
126
|
*/
|
|
99
|
-
type DataInfo<Blob> = JsonDataInfo | JsonPartitionedDataInfo<Blob> | BinaryPartitionedDataInfo<Blob> | ParquetPartitionedDataInfo<Blob>;
|
|
127
|
+
export type DataInfo<Blob> = JsonDataInfo | JsonPartitionedDataInfo<Blob> | BinaryPartitionedDataInfo<Blob> | ParquetPartitionedDataInfo<Blob>;
|
|
100
128
|
/**
|
|
101
129
|
* Type guard function that checks if the given value is a valid DataInfo.
|
|
102
130
|
*
|
|
103
131
|
* @param value - The value to check
|
|
104
132
|
* @returns True if the value is a valid DataInfo, false otherwise
|
|
105
133
|
*/
|
|
106
|
-
declare function isDataInfo<Blob>(value: unknown): value is DataInfo<Blob>;
|
|
134
|
+
export declare function isDataInfo<Blob>(value: unknown): value is DataInfo<Blob>;
|
|
107
135
|
/**
|
|
108
136
|
* Maps blob references in a DataInfo object from one type to another using a mapping function.
|
|
109
137
|
*
|
|
@@ -113,20 +141,20 @@ declare function isDataInfo<Blob>(value: unknown): value is DataInfo<Blob>;
|
|
|
113
141
|
* @param mapFn - Function to transform blobs from type B1 to type B2
|
|
114
142
|
* @returns A new DataInfo object with transformed blob references
|
|
115
143
|
*/
|
|
116
|
-
declare function mapDataInfo<B1, B2>(dataInfo: ParquetPartitionedDataInfo<B1>, mapFn: (blob: B1) => B2): ParquetPartitionedDataInfo<B2>;
|
|
117
|
-
declare function mapDataInfo<B1, B2>(dataInfo: Exclude<DataInfo<B1>, ParquetPartitionedDataInfo<B1>>, mapFn: (blob: B1) => B2): Exclude<DataInfo<B2>, ParquetPartitionedDataInfo<B2>>;
|
|
118
|
-
declare function mapDataInfo<B1, B2>(dataInfo: DataInfo<B1>, mapFn: (blob: B1) => B2): DataInfo<B2>;
|
|
144
|
+
export declare function mapDataInfo<B1, B2>(dataInfo: ParquetPartitionedDataInfo<B1>, mapFn: (blob: B1) => B2): ParquetPartitionedDataInfo<B2>;
|
|
145
|
+
export declare function mapDataInfo<B1, B2>(dataInfo: Exclude<DataInfo<B1>, ParquetPartitionedDataInfo<B1>>, mapFn: (blob: B1) => B2): Exclude<DataInfo<B2>, ParquetPartitionedDataInfo<B2>>;
|
|
146
|
+
export declare function mapDataInfo<B1, B2>(dataInfo: DataInfo<B1>, mapFn: (blob: B1) => B2): DataInfo<B2>;
|
|
119
147
|
/**
|
|
120
148
|
* @param dataInfo - The source DataInfo object
|
|
121
149
|
* @param cb - Callback, function that have access to every blob to visit them all
|
|
122
150
|
* @returns Nothing
|
|
123
151
|
*/
|
|
124
|
-
declare function visitDataInfo<B>(dataInfo: DataInfo<B>, cb: (blob: B) => void): void;
|
|
152
|
+
export declare function visitDataInfo<B>(dataInfo: DataInfo<B>, cb: (blob: B) => void): void;
|
|
125
153
|
/**
|
|
126
154
|
* Represents a single key-value entry in a column's explicit data structure.
|
|
127
155
|
* Used when directly instantiating PColumns with explicit data.
|
|
128
156
|
*/
|
|
129
|
-
type PColumnValuesEntry = {
|
|
157
|
+
export type PColumnValuesEntry = {
|
|
130
158
|
key: PColumnKey;
|
|
131
159
|
val: PColumnValue;
|
|
132
160
|
};
|
|
@@ -134,11 +162,11 @@ type PColumnValuesEntry = {
|
|
|
134
162
|
* Array of key-value entries representing explicit column data.
|
|
135
163
|
* Used for lightweight explicit instantiation of PColumns.
|
|
136
164
|
*/
|
|
137
|
-
type PColumnValues = PColumnValuesEntry[];
|
|
165
|
+
export type PColumnValues = PColumnValuesEntry[];
|
|
138
166
|
/**
|
|
139
167
|
* Entry-based representation of JsonDataInfo
|
|
140
168
|
*/
|
|
141
|
-
interface JsonDataInfoEntries {
|
|
169
|
+
export interface JsonDataInfoEntries {
|
|
142
170
|
type: "Json";
|
|
143
171
|
keyLength: number;
|
|
144
172
|
data: PColumnDataEntry<PColumnValue>[];
|
|
@@ -146,7 +174,7 @@ interface JsonDataInfoEntries {
|
|
|
146
174
|
/**
|
|
147
175
|
* Entry-based representation of JsonPartitionedDataInfo
|
|
148
176
|
*/
|
|
149
|
-
interface JsonPartitionedDataInfoEntries<Blob> {
|
|
177
|
+
export interface JsonPartitionedDataInfoEntries<Blob> {
|
|
150
178
|
type: "JsonPartitioned";
|
|
151
179
|
partitionKeyLength: number;
|
|
152
180
|
parts: PColumnDataEntry<Blob>[];
|
|
@@ -154,7 +182,7 @@ interface JsonPartitionedDataInfoEntries<Blob> {
|
|
|
154
182
|
/**
|
|
155
183
|
* Entry-based representation of BinaryPartitionedDataInfo
|
|
156
184
|
*/
|
|
157
|
-
interface BinaryPartitionedDataInfoEntries<Blob> {
|
|
185
|
+
export interface BinaryPartitionedDataInfoEntries<Blob> {
|
|
158
186
|
type: "BinaryPartitioned";
|
|
159
187
|
partitionKeyLength: number;
|
|
160
188
|
parts: PColumnDataEntry<BinaryChunk<Blob>>[];
|
|
@@ -162,7 +190,7 @@ interface BinaryPartitionedDataInfoEntries<Blob> {
|
|
|
162
190
|
/**
|
|
163
191
|
* Entry-based representation of ParquetPartitionedDataInfo
|
|
164
192
|
*/
|
|
165
|
-
interface ParquetPartitionedDataInfoEntries<Blob> {
|
|
193
|
+
export interface ParquetPartitionedDataInfoEntries<Blob> {
|
|
166
194
|
type: "ParquetPartitioned";
|
|
167
195
|
partitionKeyLength: number;
|
|
168
196
|
parts: PColumnDataEntry<Blob>[];
|
|
@@ -170,18 +198,18 @@ interface ParquetPartitionedDataInfoEntries<Blob> {
|
|
|
170
198
|
/**
|
|
171
199
|
* Union type representing all possible entry-based partitioned data storage formats
|
|
172
200
|
*/
|
|
173
|
-
type PartitionedDataInfoEntries<Blob> = JsonPartitionedDataInfoEntries<Blob> | BinaryPartitionedDataInfoEntries<Blob> | ParquetPartitionedDataInfoEntries<Blob>;
|
|
201
|
+
export type PartitionedDataInfoEntries<Blob> = JsonPartitionedDataInfoEntries<Blob> | BinaryPartitionedDataInfoEntries<Blob> | ParquetPartitionedDataInfoEntries<Blob>;
|
|
174
202
|
/**
|
|
175
203
|
* Union type representing all possible entry-based data storage formats
|
|
176
204
|
*/
|
|
177
|
-
type DataInfoEntries<Blob> = JsonDataInfoEntries | PartitionedDataInfoEntries<Blob>;
|
|
205
|
+
export type DataInfoEntries<Blob> = JsonDataInfoEntries | PartitionedDataInfoEntries<Blob>;
|
|
178
206
|
/**
|
|
179
207
|
* Type guard function that checks if the given value is a valid DataInfoEntries.
|
|
180
208
|
*
|
|
181
209
|
* @param value - The value to check
|
|
182
210
|
* @returns True if the value is a valid DataInfoEntries, false otherwise
|
|
183
211
|
*/
|
|
184
|
-
declare function isDataInfoEntries<Blob>(value: unknown): value is DataInfoEntries<Blob>;
|
|
212
|
+
export declare function isDataInfoEntries<Blob>(value: unknown): value is DataInfoEntries<Blob>;
|
|
185
213
|
/**
|
|
186
214
|
* Type guard function that checks if the given value is a valid PartitionedDataInfoEntries.
|
|
187
215
|
*
|
|
@@ -189,21 +217,21 @@ declare function isDataInfoEntries<Blob>(value: unknown): value is DataInfoEntri
|
|
|
189
217
|
* @param value - The value to check
|
|
190
218
|
* @returns True if the value is a valid PartitionedDataInfoEntries, false otherwise
|
|
191
219
|
*/
|
|
192
|
-
declare function isPartitionedDataInfoEntries<Blob>(value: unknown): value is PartitionedDataInfoEntries<Blob>;
|
|
220
|
+
export declare function isPartitionedDataInfoEntries<Blob>(value: unknown): value is PartitionedDataInfoEntries<Blob>;
|
|
193
221
|
/**
|
|
194
222
|
* Converts DataInfo to DataInfoEntries
|
|
195
223
|
*
|
|
196
224
|
* @param dataInfo - The record-based DataInfo object
|
|
197
225
|
* @returns The equivalent entry-based DataInfoEntries object
|
|
198
226
|
*/
|
|
199
|
-
declare function dataInfoToEntries<Blob>(dataInfo: DataInfo<Blob>): DataInfoEntries<Blob>;
|
|
227
|
+
export declare function dataInfoToEntries<Blob>(dataInfo: DataInfo<Blob>): DataInfoEntries<Blob>;
|
|
200
228
|
/**
|
|
201
229
|
* Converts DataInfoEntries to DataInfo
|
|
202
230
|
*
|
|
203
231
|
* @param dataInfoEntries - The entry-based DataInfoEntries object
|
|
204
232
|
* @returns The equivalent record-based DataInfo object
|
|
205
233
|
*/
|
|
206
|
-
declare function entriesToDataInfo<Blob>(dataInfoEntries: DataInfoEntries<Blob>): DataInfo<Blob>;
|
|
234
|
+
export declare function entriesToDataInfo<Blob>(dataInfoEntries: DataInfoEntries<Blob>): DataInfo<Blob>;
|
|
207
235
|
/**
|
|
208
236
|
* Maps blob references in a DataInfoEntries object from one type to another using a mapping function.
|
|
209
237
|
*
|
|
@@ -213,7 +241,6 @@ declare function entriesToDataInfo<Blob>(dataInfoEntries: DataInfoEntries<Blob>)
|
|
|
213
241
|
* @param mapFn - Function to transform blobs from type B1 to type B2
|
|
214
242
|
* @returns A new DataInfoEntries object with transformed blob references
|
|
215
243
|
*/
|
|
216
|
-
declare function mapDataInfoEntries<B1, B2>(dataInfoEntries: DataInfoEntries<B1>, mapFn: (blob: B1) => B2): DataInfoEntries<B2>;
|
|
244
|
+
export declare function mapDataInfoEntries<B1, B2>(dataInfoEntries: DataInfoEntries<B1>, mapFn: (blob: B1) => B2): DataInfoEntries<B2>;
|
|
217
245
|
//#endregion
|
|
218
|
-
export { BinaryChunk, BinaryPartitionedDataInfo, BinaryPartitionedDataInfoEntries, DataInfo, DataInfoEntries, JsonDataInfo, JsonDataInfoEntries, JsonPartitionedDataInfo, JsonPartitionedDataInfoEntries, PColumnDataEntry, PColumnKey, PColumnValue, PColumnValues, PColumnValuesEntry, ParquetChunk, ParquetChunkMapping, ParquetChunkMappingAxis, ParquetChunkMappingColumn, ParquetChunkMetadata, ParquetChunkStats, ParquetPartitionedDataInfo, ParquetPartitionedDataInfoEntries, PartitionedDataInfoEntries, dataInfoToEntries, entriesToDataInfo, isDataInfo, isDataInfoEntries, isPartitionedDataInfoEntries, mapDataInfo, mapDataInfoEntries, visitDataInfo };
|
|
219
246
|
//# sourceMappingURL=data_info.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data_info.d.ts","names":[],"sources":["../../../src/drivers/pframe/data_info.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"data_info.d.ts","names":[],"sources":["../../../src/drivers/pframe/data_info.ts"],"mappings":";;;;;;;;YASY;;;;;YAMA;;;;;YAMA,iBAAiB;;EAE3B,KAAK;;EAGL,OAAO;;;;;;YAOG;;EAEV;;EAGA;;;;;EAMA,MAAM,eAAe;;;;;;YAOX,wBAAwB;;EAElC;;EAGA;;EAGA,OAAO,eAAe;;;;;;YAOZ,YAAY;;EAEtB,OAAO;;EAGP,QAAQ;;;;;;YAOE,0BAA0B;;EAEpC;;EAGA;;EAGA,OAAO,eAAe,YAAY;;YAGxB;;EAEV;;EAGA;;YAGU;;EAEV;;EAGA;;YAGU;;EAEV,MAAM;;EAGN,QAAQ;;YAGE;;EAEV;;EAEA;;IAEE;;IAEA;;;YAIQ;;EAEV;;EAGA,OAAO,QAAQ;;YAGL,aAAa;;EAEvB,MAAM;IACJ,sBACF,QAAQ;YAEE,2BAA2B;;EAErC;;EAGA;;EAGA,OAAO,eAAe;;;;;;;;YASZ,SAAS,QACjB,eACA,wBAAwB,QACxB,0BAA0B,QAC1B,2BAA2B;;;;;;;wBAQf,WAAW,MAAM,iBAAiB,SAAS,SAAS;;;;;;;;;;wBAuCpD,YAAY,IAAI,IAC9B,UAAU,2BAA2B,KACrC,QAAQ,MAAM,OAAO,KACpB,2BAA2B;wBACd,YAAY,IAAI,IAC9B,UAAU,QAAQ,SAAS,KAAK,2BAA2B,MAC3D,QAAQ,MAAM,OAAO,KACpB,QAAQ,SAAS,KAAK,2BAA2B;wBACpC,YAAY,IAAI,IAAI,UAAU,SAAS,KAAK,QAAQ,MAAM,OAAO,KAAK,SAAS;;;;;;wBAyD/E,cAAc,GAAG,UAAU,SAAS,IAAI,KAAK,MAAM;;;;;YAkCvD;EACV,KAAK;EACL,KAAK;;;;;;YAOK,gBAAgB;;;;iBAKX;EACf;EACA;EACA,MAAM,iBAAiB;;;;;iBAMR,+BAA+B;EAC9C;EACA;EACA,OAAO,iBAAiB;;;;;iBAMT,iCAAiC;EAChD;EACA;EACA,OAAO,iBAAiB,YAAY;;;;;iBAMrB,kCAAkC;EACjD;EACA;EACA,OAAO,iBAAiB;;;;;YAKd,2BAA2B,QACnC,+BAA+B,QAC/B,iCAAiC,QACjC,kCAAkC;;;;YAK1B,gBAAgB,QAAQ,sBAAsB,2BAA2B;;;;;;;wBAQrE,kBAAkB,MAAM,iBAAiB,SAAS,gBAAgB;;;;;;;;wBA6BlE,6BAA6B,MAC3C,iBACC,SAAS,2BAA2B;;;;;;;wBAkBvB,kBAAkB,MAAM,UAAU,SAAS,QAAQ,gBAAgB;;;;;;;wBAiDnE,kBAAkB,MAAM,iBAAiB,gBAAgB,QAAQ,SAAS;;;;;;;;;;wBAgD1E,mBAAmB,IAAI,IACrC,iBAAiB,gBAAgB,KACjC,QAAQ,MAAM,OAAO,KACpB,gBAAgB"}
|