@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.
Files changed (189) hide show
  1. package/dist/author_marker.d.ts +1 -2
  2. package/dist/author_marker.d.ts.map +1 -1
  3. package/dist/base64.d.ts +4 -6
  4. package/dist/base64.d.ts.map +1 -1
  5. package/dist/block_state.d.ts +13 -9
  6. package/dist/block_state.d.ts.map +1 -1
  7. package/dist/bmodel/block_config.d.ts +51 -29
  8. package/dist/bmodel/block_config.d.ts.map +1 -1
  9. package/dist/bmodel/block_kind_ref.d.ts +4 -6
  10. package/dist/bmodel/block_kind_ref.d.ts.map +1 -1
  11. package/dist/bmodel/code.d.ts +4 -5
  12. package/dist/bmodel/code.d.ts.map +1 -1
  13. package/dist/bmodel/container.d.ts +5 -5
  14. package/dist/bmodel/container.d.ts.map +1 -1
  15. package/dist/bmodel/normalization.d.ts +1 -3
  16. package/dist/bmodel/normalization.d.ts.map +1 -1
  17. package/dist/bmodel/types.d.ts +1 -2
  18. package/dist/bmodel/types.d.ts.map +1 -1
  19. package/dist/branding.d.ts +2 -3
  20. package/dist/branding.d.ts.map +1 -1
  21. package/dist/columns/accessor_traversal.d.ts +6 -8
  22. package/dist/columns/accessor_traversal.d.ts.map +1 -1
  23. package/dist/columns/column_registry.d.ts +2 -3
  24. package/dist/columns/column_registry.d.ts.map +1 -1
  25. package/dist/columns/column_selector.d.ts +9 -9
  26. package/dist/columns/column_selector.d.ts.map +1 -1
  27. package/dist/columns/dedup.d.ts +1 -3
  28. package/dist/columns/dedup.d.ts.map +1 -1
  29. package/dist/columns/providers.d.ts +3 -4
  30. package/dist/columns/providers.d.ts.map +1 -1
  31. package/dist/columns/types.d.ts +12 -9
  32. package/dist/columns/types.d.ts.map +1 -1
  33. package/dist/common_types.d.ts +4 -6
  34. package/dist/common_types.d.ts.map +1 -1
  35. package/dist/dialog/index.d.ts +4 -5
  36. package/dist/dialog/index.d.ts.map +1 -1
  37. package/dist/driver_kit.d.ts +2 -2
  38. package/dist/driver_kit.d.ts.map +1 -1
  39. package/dist/drivers/ChunkedStreamReader.d.ts +3 -5
  40. package/dist/drivers/ChunkedStreamReader.d.ts.map +1 -1
  41. package/dist/drivers/blob.d.ts +36 -25
  42. package/dist/drivers/blob.d.ts.map +1 -1
  43. package/dist/drivers/columns/columns_collection_driver.d.ts +6 -7
  44. package/dist/drivers/columns/columns_collection_driver.d.ts.map +1 -1
  45. package/dist/drivers/columns/discover_columns_options.d.ts +9 -8
  46. package/dist/drivers/columns/discover_columns_options.d.ts.map +1 -1
  47. package/dist/drivers/index.cjs +1 -0
  48. package/dist/drivers/index.d.ts +4 -2
  49. package/dist/drivers/index.js +2 -2
  50. package/dist/drivers/interfaces.d.ts +2 -3
  51. package/dist/drivers/interfaces.d.ts.map +1 -1
  52. package/dist/drivers/log.d.ts +26 -28
  53. package/dist/drivers/log.d.ts.map +1 -1
  54. package/dist/drivers/ls.d.ts +37 -27
  55. package/dist/drivers/ls.d.ts.map +1 -1
  56. package/dist/drivers/pframe/column_filter.d.ts +1 -3
  57. package/dist/drivers/pframe/column_filter.d.ts.map +1 -1
  58. package/dist/drivers/pframe/data_info.d.ts +77 -50
  59. package/dist/drivers/pframe/data_info.d.ts.map +1 -1
  60. package/dist/drivers/pframe/data_types.d.ts +50 -45
  61. package/dist/drivers/pframe/data_types.d.ts.map +1 -1
  62. package/dist/drivers/pframe/driver.d.ts +5 -5
  63. package/dist/drivers/pframe/driver.d.ts.map +1 -1
  64. package/dist/drivers/pframe/filter_spec.d.ts +10 -12
  65. package/dist/drivers/pframe/filter_spec.d.ts.map +1 -1
  66. package/dist/drivers/pframe/find_columns.d.ts +2 -4
  67. package/dist/drivers/pframe/find_columns.d.ts.map +1 -1
  68. package/dist/drivers/pframe/index.cjs +1 -0
  69. package/dist/drivers/pframe/index.d.ts +4 -2
  70. package/dist/drivers/pframe/index.js +2 -2
  71. package/dist/drivers/pframe/linker_columns.d.ts +4 -10
  72. package/dist/drivers/pframe/linker_columns.d.ts.map +1 -1
  73. package/dist/drivers/pframe/pframe.d.ts +3 -3
  74. package/dist/drivers/pframe/pframe.d.ts.map +1 -1
  75. package/dist/drivers/pframe/query/query_common.d.ts +52 -46
  76. package/dist/drivers/pframe/query/query_common.d.ts.map +1 -1
  77. package/dist/drivers/pframe/query/query_data.d.ts +26 -21
  78. package/dist/drivers/pframe/query/query_data.d.ts.map +1 -1
  79. package/dist/drivers/pframe/query/query_spec.d.ts +22 -19
  80. package/dist/drivers/pframe/query/query_spec.d.ts.map +1 -1
  81. package/dist/drivers/pframe/query/utils.d.ts +15 -11
  82. package/dist/drivers/pframe/query/utils.d.ts.map +1 -1
  83. package/dist/drivers/pframe/spec/anchored.d.ts +3 -5
  84. package/dist/drivers/pframe/spec/anchored.d.ts.map +1 -1
  85. package/dist/drivers/pframe/spec/discovered_column.d.ts +10 -11
  86. package/dist/drivers/pframe/spec/discovered_column.d.ts.map +1 -1
  87. package/dist/drivers/pframe/spec/filtered_column.d.ts +17 -18
  88. package/dist/drivers/pframe/spec/filtered_column.d.ts.map +1 -1
  89. package/dist/drivers/pframe/spec/ids.d.ts +16 -16
  90. package/dist/drivers/pframe/spec/ids.d.ts.map +1 -1
  91. package/dist/drivers/pframe/spec/index.cjs +1 -0
  92. package/dist/drivers/pframe/spec/index.d.ts +2 -2
  93. package/dist/drivers/pframe/spec/index.js +2 -2
  94. package/dist/drivers/pframe/spec/native_id.d.ts +3 -3
  95. package/dist/drivers/pframe/spec/native_id.d.ts.map +1 -1
  96. package/dist/drivers/pframe/spec/overridden.d.ts +14 -16
  97. package/dist/drivers/pframe/spec/overridden.d.ts.map +1 -1
  98. package/dist/drivers/pframe/spec/selectors.d.ts +22 -22
  99. package/dist/drivers/pframe/spec/selectors.d.ts.map +1 -1
  100. package/dist/drivers/pframe/spec/spec.cjs +31 -0
  101. package/dist/drivers/pframe/spec/spec.cjs.map +1 -1
  102. package/dist/drivers/pframe/spec/spec.d.ts +94 -70
  103. package/dist/drivers/pframe/spec/spec.d.ts.map +1 -1
  104. package/dist/drivers/pframe/spec/spec.js +31 -1
  105. package/dist/drivers/pframe/spec/spec.js.map +1 -1
  106. package/dist/drivers/pframe/spec_driver.d.ts +30 -25
  107. package/dist/drivers/pframe/spec_driver.d.ts.map +1 -1
  108. package/dist/drivers/pframe/table.d.ts +1 -3
  109. package/dist/drivers/pframe/table.d.ts.map +1 -1
  110. package/dist/drivers/pframe/table_calculate.d.ts +55 -46
  111. package/dist/drivers/pframe/table_calculate.d.ts.map +1 -1
  112. package/dist/drivers/pframe/table_common.d.ts +9 -10
  113. package/dist/drivers/pframe/table_common.d.ts.map +1 -1
  114. package/dist/drivers/pframe/unique_values.d.ts +3 -3
  115. package/dist/drivers/pframe/unique_values.d.ts.map +1 -1
  116. package/dist/drivers/upload.d.ts +2 -3
  117. package/dist/drivers/upload.d.ts.map +1 -1
  118. package/dist/drivers/urls.d.ts +7 -8
  119. package/dist/drivers/urls.d.ts.map +1 -1
  120. package/dist/errors.d.ts +35 -36
  121. package/dist/errors.d.ts.map +1 -1
  122. package/dist/flags/block_flags.cjs.map +1 -1
  123. package/dist/flags/block_flags.d.ts +7 -7
  124. package/dist/flags/block_flags.d.ts.map +1 -1
  125. package/dist/flags/block_flags.js.map +1 -1
  126. package/dist/flags/flag_utils.d.ts +6 -8
  127. package/dist/flags/flag_utils.d.ts.map +1 -1
  128. package/dist/flags/type_utils.d.ts +6 -7
  129. package/dist/flags/type_utils.d.ts.map +1 -1
  130. package/dist/httpAuth.d.ts +4 -5
  131. package/dist/httpAuth.d.ts.map +1 -1
  132. package/dist/index.cjs +1 -0
  133. package/dist/index.d.ts +9 -2
  134. package/dist/index.js +2 -2
  135. package/dist/json.d.ts +11 -12
  136. package/dist/json.d.ts.map +1 -1
  137. package/dist/navigation.d.ts +16 -11
  138. package/dist/navigation.d.ts.map +1 -1
  139. package/dist/plid.d.ts +7 -9
  140. package/dist/plid.d.ts.map +1 -1
  141. package/dist/pool/entry.d.ts +8 -6
  142. package/dist/pool/entry.d.ts.map +1 -1
  143. package/dist/pool/query.d.ts +3 -4
  144. package/dist/pool/query.d.ts.map +1 -1
  145. package/dist/pool/spec.d.ts +33 -30
  146. package/dist/pool/spec.d.ts.map +1 -1
  147. package/dist/pool_entry.d.ts +2 -3
  148. package/dist/pool_entry.d.ts.map +1 -1
  149. package/dist/project_id.d.ts +1 -3
  150. package/dist/project_id.d.ts.map +1 -1
  151. package/dist/ref.d.ts +22 -23
  152. package/dist/ref.d.ts.map +1 -1
  153. package/dist/resource_types.d.ts +2 -3
  154. package/dist/resource_types.d.ts.map +1 -1
  155. package/dist/services/node_service_handlers.d.ts +1 -3
  156. package/dist/services/node_service_handlers.d.ts.map +1 -1
  157. package/dist/services/service_capabilities.d.ts +7 -9
  158. package/dist/services/service_capabilities.d.ts.map +1 -1
  159. package/dist/services/service_declarations.d.ts +2 -2
  160. package/dist/services/service_declarations.d.ts.map +1 -1
  161. package/dist/services/service_injectors.d.ts +7 -8
  162. package/dist/services/service_injectors.d.ts.map +1 -1
  163. package/dist/services/service_registry.d.ts +2 -4
  164. package/dist/services/service_registry.d.ts.map +1 -1
  165. package/dist/services/service_types.d.ts +24 -26
  166. package/dist/services/service_types.d.ts.map +1 -1
  167. package/dist/template/kind_selector.d.ts +9 -11
  168. package/dist/template/kind_selector.d.ts.map +1 -1
  169. package/dist/template/project_template_v1.d.ts +22 -20
  170. package/dist/template/project_template_v1.d.ts.map +1 -1
  171. package/dist/template/template_ref_form.d.ts +6 -5
  172. package/dist/template/template_ref_form.d.ts.map +1 -1
  173. package/dist/template/template_relocate.cjs +24 -3
  174. package/dist/template/template_relocate.cjs.map +1 -1
  175. package/dist/template/template_relocate.d.ts +8 -4
  176. package/dist/template/template_relocate.d.ts.map +1 -1
  177. package/dist/template/template_relocate.js +24 -3
  178. package/dist/template/template_relocate.js.map +1 -1
  179. package/dist/utag.d.ts +2 -4
  180. package/dist/utag.d.ts.map +1 -1
  181. package/dist/util.d.ts +2 -3
  182. package/dist/util.d.ts.map +1 -1
  183. package/dist/value_or_error.d.ts +2 -3
  184. package/dist/value_or_error.d.ts.map +1 -1
  185. package/package.json +7 -7
  186. package/src/drivers/pframe/spec/spec.ts +31 -0
  187. package/src/flags/block_flags.ts +1 -1
  188. package/src/template/template_relocate.test.ts +57 -0
  189. package/src/template/template_relocate.ts +32 -4
@@ -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(/** A handle that was issued previously. */
23
-
24
- handle: AnyLogHandle, /** Allows client to limit total data sent from server. */
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(/** A handle that was issued previously. */
38
-
39
- handle: AnyLogHandle, /** Allows client to limit total data sent from server. */
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; /** Whether the log can still grow or it's in a final state. */
62
- live: boolean; /** Data of the response, in bytes. */
63
- data: Uint8Array; /** Current size of the file. It can grow if it's still live. */
64
- size: number; /** Offset in bytes from the beginning of a file. */
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":";;;;cAGM,eAAA;AAAA,cACA,gBAAA;;;;KAKM,aAAA,GAAgB,OAAO,WAAW,eAAA;AANzB;AAAA,KAST,cAAA,GAAiB,OAAO,WAAW,gBAAA;;;KAInC,YAAA,GAAe,aAAA,GAAgB,cAAc;AAPzD;AAAA,iBAUgB,cAAA,CAAe,KAAA,YAAiB,KAAA,IAAS,YAAY;;iBAQrD,SAAA,CAAU,MAAA,EAAQ,YAAA,eAA2B,MAAA,IAAU,aAAa;AAlBvB;AAAA,UAuB5C,UAAA;EACf,SAAA;;EAEE,MAAA,EAAQ,YAAA,EAvBmD;;EA0B3D,SAAA;EAtBoB;;;;EA2BpB,WAAA;EAxBY;;;;EA6BZ,SAAA,YACC,OAAA,CAAQ,oBAAA;EAEX,QAAA,CAhC8C;;EAkC5C,MAAA,EAAQ,YAAA,EAlCyD;;EAqCjE,SAAA;EA7BY;;;;EAkCZ,WAAA;EAlC8B;;;;EAuC9B,SAAA,YACC,OAAA,CAAQ,oBAAA;AAAA;AAxCuE;AAKpF;;;AALoF,KA+CxE,oBAAA,GAAuB,sBAAA,GAAyB,kCAAkC;AAAA,KAElF,sBAAA;EA3BP;;EA8BH,kBAAA,SAZG;EAeH,IAAA,WAfU;EAkBV,IAAA,EAAM,UAAU,EAlDN;EAoDV,IAAA,UAjDE;EAmDF,SAAA;AAAA;;KAIU,kCAAA;EACV,kBAAkB;AAAA;AAAA,KAGR,mBAAA;EACV,YAAA;EACA,IAAI;AAAA"}
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"}
@@ -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. */id: string; /** Human-readable display name. */
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; /** This handle should be set to args... */
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 */readonly name: string; /** File extensions */
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 */readonly title?: string; /** Custom label for the confirmation button, when left empty the default label will be used. */
42
- readonly buttonLabel?: string; /** Limits of file types user can select */
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) */readonly from: number; /** To byte index (exclusive) */
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
@@ -1 +1 @@
1
- {"version":3,"file":"ls.d.ts","names":[],"sources":["../../src/drivers/ls.ts"],"mappings":";;;;KAQY,sBAAA;AAAA,KACA,qBAAA;AAAA,KAEA,gBAAA,GAAmB,sBAAA,GAAyB,qBAAqB;AAAA,KAEjE,qBAAA,GAAwB,OAAO,CAAC,gBAAA;AAAA,iBAE5B,wBAAA,CACd,MAAA,EAAQ,gBAAA,GACP,MAAA,IAAU,sBAAsB;AAAA,iBAInB,uBAAA,CAAwB,MAAA,EAAQ,gBAAA,GAAmB,MAAA,IAAU,qBAAqB;;KAKtF,kBAAA;AAjBZ;AAAA,KAoBY,mBAAA;AAAA,KAEA,aAAA,GAAgB,kBAAA,GAAqB,mBAAmB;AAAA,KAExD,YAAA;EAxBqB,uFA0B/B,EAAA,UAxB0B;EA0B1B,IAAA;EACA,MAAA,EAAQ,aAAa;EACrB,eAAA;AAAA;AAAA,KAGU,eAAA;EACV,MAAA;EACA,OAAA,EAAS,OAAO;AAAA;AAAA,KAGN,OAAA;EAEN,IAAA;EACA,IAAA;EACA,QAAA;AAAA;EAGA,IAAA;EACA,IAAA;EACA,QAAA,UAvC6B;EA0C7B,MAAA,EAAQ,gBAAgB;AAAA;AAAA,KAGlB,gBAAA;+CAED,IAAA,UA3CqC;EAAA,SA6CrC,UAAU;AAAA;AAAA,KAGT,aAAA;EAhDsF,wCAkDvF,KAAA,WA7CC;EAAA,SA+CD,WAAA;WAEA,OAAA,GAAU,gBAAgB;AAAA;AAAA,KAGzB,sBAAA;EAjDmB;;EAAA,SAoDpB,IAAA,GAAO,qBAAqB;AAAA;AAAA,KA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N;;;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":";;;;UAGiB,YAAA;EAAA;;EAAA,SAGN,IAAA,GAAO,SAAA;EAAA;;EAAA,SAIP,IAAA;EAUoB;EAAA,SAPpB,WAAA,GAAc,MAAA;EAOY;EAAA,SAJ1B,eAAA,GAAkB,MAAA;EAVX;;EAAA,SAcP,iBAAA,GAAoB,MAAA;AAAA"}
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 */key: PColumnKey; /** Value / blob at the given key */
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') */type: "Json"; /** Number of axes that make up the complete key (tuple length) */
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') */type: "JsonPartitioned"; /** Number of leading axes used for partitioning */
42
- partitionKeyLength: number; /** Map of stringified partition keys to blob references */
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 */index: Blob; /** Binary blob containing the actual values */
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') */type: "BinaryPartitioned"; /** Number of leading axes used for partitioning */
59
- partitionKeyLength: number; /** Map of stringified partition keys to binary chunks */
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) */type: "Int" | "Long" | "String"; /** Field name in the Parquet file */
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) */type: "Int" | "Long" | "Float" | "Double" | "String"; /** Field name in the Parquet file */
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 */axes: ParquetChunkMappingAxis[]; /** Column mapping */
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 */numberOfRows: number; /** Byte size information for storage optimization and query planning */
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 */axes: number[]; /** Byte size for the data column */
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 */dataDigest: string; /** Pre-computed statistics for optimization without blob download */
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 */data: Blob;
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') */type: "ParquetPartitioned"; /** Number of leading axes used for partitioning */
90
- partitionKeyLength: number; /** Map of stringified partition keys to parquet files */
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":";;AASA;;;;AAAwB;AAMxB;KANY,YAAA;;;AAMU;AAMtB;KANY,UAAA;;;;;KAMA,gBAAA;EAKV,wBAHA,GAAA,EAAK,UAAA,EAGG;EAAR,KAAA,EAAO,CAAC;AAAA;;;;;KAOE,YAAA;EAWV,+CATA,IAAA,UASqB;EANrB,SAAA;EAMiC;AAOnC;;;EAPE,IAAA,EAAM,MAAM,SAAS,YAAA;AAAA;;;;;KAOX,uBAAA;EAQgB,0DAN1B,IAAA,qBAaU;EAVV,kBAAA,UAUqB;EAPrB,KAAA,EAAO,MAAM,SAAS,IAAA;AAAA;;;;;KAOZ,WAAA;EAKE,0DAHZ,KAAA,EAAO,IAAA,EAU4B;EAPnC,MAAA,EAAQ,IAAI;AAAA;;;;;KAOF,yBAAA;EAEV,4DAAA,IAAA,uBAMA;EAHA,kBAAA,UAGsB;EAAtB,KAAA,EAAO,MAAA,SAAe,WAAA,CAAY,IAAA;AAAA;AAAA,KAGxB,uBAAA;EAAA,6CAEV,IAAA;EAGA,EAAE;AAAA;AAAA,KAGQ,yBAAA;EAAyB,6CAEnC,IAAA;EAGA,EAAE;AAAA;AAAA,KAGQ,mBAAA;6EAEV,IAAA,EAAM,uBAAA,IAAN;EAGA,MAAA,EAAQ,yBAAyB;AAAA;AAAA,KAGvB,iBAAA;EAHuB,kCAKjC,YAAA,UAFU;EAIV,IAAA;IAJ2B,wEAMzB,IAAA,YAJF;IAME,MAAA;EAAA;AAAA;AAAA,KAIQ,oBAAA;EAJF,mFAMR,UAAA,UAF8B;EAK9B,KAAA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