@milaboratories/pl-model-middle-layer 1.12.12 → 1.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,11 +5,11 @@ declare const LocalDevFolder: z.ZodObject<{
5
5
  type: z.ZodLiteral<"local-dev">;
6
6
  path: z.ZodString;
7
7
  }, "strip", z.ZodTypeAny, {
8
- path: string;
9
8
  type: "local-dev";
10
- }, {
11
9
  path: string;
10
+ }, {
12
11
  type: "local-dev";
12
+ path: string;
13
13
  }>;
14
14
  type LocalDevFolder = z.infer<typeof LocalDevFolder>;
15
15
  /** @deprecated don't use */
@@ -58,11 +58,11 @@ declare const RegistrySpec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
58
58
  type: z.ZodLiteral<"local-dev">;
59
59
  path: z.ZodString;
60
60
  }, "strip", z.ZodTypeAny, {
61
- path: string;
62
61
  type: "local-dev";
63
- }, {
64
62
  path: string;
63
+ }, {
65
64
  type: "local-dev";
65
+ path: string;
66
66
  }>]>;
67
67
  type RegistrySpec = z.infer<typeof RegistrySpec>;
68
68
  declare const RegistryEntry: z.ZodObject<{
@@ -90,36 +90,36 @@ declare const RegistryEntry: z.ZodObject<{
90
90
  type: z.ZodLiteral<"local-dev">;
91
91
  path: z.ZodString;
92
92
  }, "strip", z.ZodTypeAny, {
93
- path: string;
94
93
  type: "local-dev";
95
- }, {
96
94
  path: string;
95
+ }, {
97
96
  type: "local-dev";
97
+ path: string;
98
98
  }>]>;
99
99
  }, "strip", z.ZodTypeAny, {
100
100
  id: string;
101
101
  spec: {
102
+ type: "local-dev";
103
+ path: string;
104
+ } | {
102
105
  type: "remote-v1";
103
106
  url: string;
104
107
  } | {
105
108
  type: "remote-v2";
106
109
  url: string;
107
- } | {
108
- path: string;
109
- type: "local-dev";
110
110
  };
111
111
  title?: string | undefined;
112
112
  }, {
113
113
  id: string;
114
114
  spec: {
115
+ type: "local-dev";
116
+ path: string;
117
+ } | {
115
118
  type: "remote-v1";
116
119
  url: string;
117
120
  } | {
118
121
  type: "remote-v2";
119
122
  url: string;
120
- } | {
121
- path: string;
122
- type: "local-dev";
123
123
  };
124
124
  title?: string | undefined;
125
125
  }>;
@@ -149,36 +149,36 @@ declare const RegistryList: z.ZodArray<z.ZodObject<{
149
149
  type: z.ZodLiteral<"local-dev">;
150
150
  path: z.ZodString;
151
151
  }, "strip", z.ZodTypeAny, {
152
- path: string;
153
152
  type: "local-dev";
154
- }, {
155
153
  path: string;
154
+ }, {
156
155
  type: "local-dev";
156
+ path: string;
157
157
  }>]>;
158
158
  }, "strip", z.ZodTypeAny, {
159
159
  id: string;
160
160
  spec: {
161
+ type: "local-dev";
162
+ path: string;
163
+ } | {
161
164
  type: "remote-v1";
162
165
  url: string;
163
166
  } | {
164
167
  type: "remote-v2";
165
168
  url: string;
166
- } | {
167
- path: string;
168
- type: "local-dev";
169
169
  };
170
170
  title?: string | undefined;
171
171
  }, {
172
172
  id: string;
173
173
  spec: {
174
+ type: "local-dev";
175
+ path: string;
176
+ } | {
174
177
  type: "remote-v1";
175
178
  url: string;
176
179
  } | {
177
180
  type: "remote-v2";
178
181
  url: string;
179
- } | {
180
- path: string;
181
- type: "local-dev";
182
182
  };
183
183
  title?: string | undefined;
184
184
  }>, "many">;
@@ -1,5 +1,6 @@
1
1
  import { FindColumnsRequest, FindColumnsResponse } from "./find_columns.js";
2
2
  import { DeleteColumnFromColumnsRequest, DeleteColumnFromColumnsResponse } from "./delete_column.js";
3
+ import { DiscoverColumnsRequest, DiscoverColumnsResponse } from "./discover_columns.js";
3
4
  import { AxesId, AxesSpec, DataQuery, JoinEntry, PColumnSpec, PObjectId, PTableColumnId, PTableColumnSpec, PTableRecordFilter, PTableSorting, SingleAxisSelector, SpecQuery } from "@milaboratories/pl-model-common";
4
5
 
5
6
  //#region src/pframe/internal_api/api_wasm.d.ts
@@ -36,6 +37,12 @@ interface PFrameWasm extends Disposable {
36
37
  * Deletes columns from a columns specification.
37
38
  */
38
39
  deleteColumns(request: DeleteColumnFromColumnsRequest): DeleteColumnFromColumnsResponse;
40
+ /**
41
+ * Discovers columns compatible with a given axes integration.
42
+ * Returns columns that could be integrated with the provided column set,
43
+ * along with possible mapping variants describing how to integrate them.
44
+ */
45
+ discoverColumns(request: DiscoverColumnsRequest): DiscoverColumnsResponse;
39
46
  /**
40
47
  * Finds columns in the PFrame matching the given filter criteria.
41
48
  */
@@ -6,7 +6,7 @@ type PFrameId = PFrameHandle;
6
6
  type PTableId = PTableHandle;
7
7
  interface AxisQualification {
8
8
  axis: SingleAxisSelector;
9
- additionalDomains: Record<string, string>;
9
+ contextDomain: Record<string, string>;
10
10
  }
11
11
  interface ColumnAxesWithQualifications {
12
12
  axesSpec: AxisSpec[];
@@ -0,0 +1,94 @@
1
+ import { AxisQualification, ColumnAxesWithQualifications } from "./common.js";
2
+ import { PColumnIdAndSpec } from "@milaboratories/pl-model-common";
3
+
4
+ //#region src/pframe/internal_api/discover_columns.d.ts
5
+ /** Matches a string value either exactly or by regex pattern */
6
+ type StringMatcher = {
7
+ type: "exact";
8
+ value: string;
9
+ } | {
10
+ type: "regex";
11
+ value: string;
12
+ };
13
+ /** Map of key to array of string matchers (OR-ed per key, AND-ed across keys) */
14
+ type MatcherMap = Record<string, StringMatcher[]>;
15
+ /** Selector for matching axes by various criteria */
16
+ interface MultiAxisSelector {
17
+ /** Match any of the axis types listed here */
18
+ readonly type?: string[];
19
+ /** Match any of the axis names listed here */
20
+ readonly name?: StringMatcher[];
21
+ /** Match requires all the domains listed here */
22
+ readonly domain?: MatcherMap;
23
+ /** Match requires all the context domains listed here */
24
+ readonly contextDomain?: MatcherMap;
25
+ /** Match requires all the annotations listed here */
26
+ readonly annotations?: MatcherMap;
27
+ }
28
+ /** Column selector for discover columns request, matching columns by various criteria.
29
+ * Multiple selectors are OR-ed: a column matches if it satisfies any selector. */
30
+ interface MultiColumnSelector {
31
+ /** Match any of the value types listed here */
32
+ readonly type?: string[];
33
+ /** Match any of the names listed here */
34
+ readonly name?: StringMatcher[];
35
+ /** Match requires all the domains listed here */
36
+ readonly domain?: MatcherMap;
37
+ /** Match requires all the context domains listed here */
38
+ readonly contextDomain?: MatcherMap;
39
+ /** Match requires all the annotations listed here */
40
+ readonly annotations?: MatcherMap;
41
+ /** Match any of the axis selectors listed here */
42
+ readonly axes?: MultiAxisSelector[];
43
+ /** When true (default), allows matching if only a subset of axes match */
44
+ readonly partialAxesMatch?: boolean;
45
+ }
46
+ /** Fine-grained constraints controlling axes matching and qualification behavior */
47
+ interface DiscoverColumnsConstraints {
48
+ /** Allow source (query) axes that have no match in the hit column */
49
+ allowFloatingSourceAxes: boolean;
50
+ /** Allow hit column axes that have no match in the source (query) */
51
+ allowFloatingHitAxes: boolean;
52
+ /** Allow source (query) axes to be qualified (contextDomain extended) */
53
+ allowSourceQualifications: boolean;
54
+ /** Allow hit column axes to be qualified (contextDomain extended) */
55
+ allowHitQualifications: boolean;
56
+ }
57
+ /** Request for discovering columns compatible with a given axes integration */
58
+ interface DiscoverColumnsRequest {
59
+ /** Column filters (OR-ed); empty array matches all columns */
60
+ columnFilter?: MultiColumnSelector[];
61
+ /** Already integrated axes with qualifications */
62
+ axes: ColumnAxesWithQualifications[];
63
+ /** Constraints controlling axes matching and qualification behavior */
64
+ constraints: DiscoverColumnsConstraints;
65
+ }
66
+ /** Qualifications info for a discover columns response mapping variant */
67
+ interface DiscoverColumnsResponseQualifications {
68
+ /** Qualifications for each query (already-integrated) column set */
69
+ forQueries: AxisQualification[][];
70
+ /** Qualifications for the hit column */
71
+ forHit: AxisQualification[];
72
+ }
73
+ /** A single mapping variant describing how a hit column can be integrated */
74
+ interface DiscoverColumnsMappingVariant {
75
+ /** Full qualifications needed for integration */
76
+ qualifications: DiscoverColumnsResponseQualifications;
77
+ /** Distinctive (minimal) qualifications needed for integration */
78
+ distinctiveQualifications: DiscoverColumnsResponseQualifications;
79
+ }
80
+ /** A single hit in the discover columns response */
81
+ interface DiscoverColumnsResponseHit {
82
+ /** The column that was found compatible */
83
+ hit: PColumnIdAndSpec;
84
+ /** Possible ways to integrate this column with the existing set */
85
+ mappingVariants: DiscoverColumnsMappingVariant[];
86
+ }
87
+ /** Response from discover columns */
88
+ interface DiscoverColumnsResponse {
89
+ /** Columns that could be integrated and possible ways to integrate them */
90
+ hits: DiscoverColumnsResponseHit[];
91
+ }
92
+ //#endregion
93
+ export { DiscoverColumnsConstraints, DiscoverColumnsMappingVariant, DiscoverColumnsRequest, DiscoverColumnsResponse, DiscoverColumnsResponseHit, DiscoverColumnsResponseQualifications, MatcherMap, MultiAxisSelector, MultiColumnSelector, StringMatcher };
94
+ //# sourceMappingURL=discover_columns.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":[],"sources":["../../../src/pframe/internal_api/index.ts"],"sourcesContent":["export * from \"./api_read\";\nexport * from \"./api_factory\";\nexport * from \"./api_wasm\";\nexport * from \"./common\";\nexport * from \"./create_table\";\nexport * from \"./delete_column\";\nexport * from \"./find_columns\";\nexport * from \"./table\";\n\nexport * from \"./pframe\";\nexport * from \"./http_helpers\";\n\nexport type { SingleAxisSelector } from \"@milaboratories/pl-model-common\";\n"],"mappings":""}
1
+ {"version":3,"file":"index.cjs","names":[],"sources":["../../../src/pframe/internal_api/index.ts"],"sourcesContent":["export * from \"./api_read\";\nexport * from \"./api_factory\";\nexport * from \"./api_wasm\";\nexport * from \"./common\";\nexport * from \"./create_table\";\nexport * from \"./delete_column\";\nexport * from \"./discover_columns\";\nexport * from \"./find_columns\";\nexport * from \"./table\";\n\nexport * from \"./pframe\";\nexport * from \"./http_helpers\";\n\nexport type { SingleAxisSelector } from \"@milaboratories/pl-model-common\";\n"],"mappings":""}
@@ -6,13 +6,14 @@ import { PTableV8 } from "./table.js";
6
6
  import { PFrameReadAPIV11 } from "./api_read.js";
7
7
  import { BaseObjectStore, FileRange, FsStoreOptions, HttpAuthorizationToken, HttpHelpers, HttpMethod, HttpRange, HttpServer, HttpServerInfo, HttpServerOptions, ObjectStore, ObjectStoreOptions, ObjectStoreResponse, ObjectStoreUrl, ParquetExtension, ParquetFileName, PemCertificate, RequestHandlerOptions } from "./http_helpers.js";
8
8
  import { DataInfo, DataInfoExtension, FilePath, PFrameBlobId, PFrameDataSourceV2, PFrameFactoryAPIV4, SpecExtension } from "./api_factory.js";
9
+ import { DiscoverColumnsConstraints, DiscoverColumnsMappingVariant, DiscoverColumnsRequest, DiscoverColumnsResponse, DiscoverColumnsResponseHit, DiscoverColumnsResponseQualifications, MatcherMap, MultiAxisSelector, MultiColumnSelector, StringMatcher } from "./discover_columns.js";
9
10
  import { EvaluateQueryResponse, LegacyQuery, PFrameWasm, PFrameWasmAPI } from "./api_wasm.js";
10
11
  import { PFrameFactoryV4, PFrameOptionsV2, PFrameV13 } from "./pframe.js";
11
12
  import { SingleAxisSelector as SingleAxisSelector$1 } from "@milaboratories/pl-model-common";
12
13
 
13
14
  //#region src/pframe/internal_api/index.d.ts
14
15
  declare namespace index_d_exports {
15
- export { ArtificialColumnJoinEntry, AxisQualification, BaseObjectStore, ColumnAxesWithQualifications, ColumnJoinEntry, ConstantAxisFilter, CreateTableRequestV4, DataInfo, DataInfoExtension, DeleteColumnFromColumnsRequest, DeleteColumnFromColumnsResponse, EvaluateQueryResponse, FilePath, FileRange, FindColumnResponseQualifications, FindColumnsMappingVariant, FindColumnsRequest, FindColumnsResponse, FindColumnsResponseHit, FsStoreOptions, FullJoinV4, HttpAuthorizationToken, HttpHelpers, HttpMethod, HttpRange, HttpServer, HttpServerInfo, HttpServerOptions, InlineColumnJoinEntry, InnerJoinV4, JoinEntryV4, LegacyQuery, Logger, ObjectStore, ObjectStoreOptions, ObjectStoreResponse, ObjectStoreUrl, OuterJoinV4, PFrameBlobId, PFrameDataSourceV2, PFrameFactoryAPIV4, PFrameFactoryV4, PFrameId, PFrameOptionsV2, PFrameReadAPIV11, PFrameV13, PFrameWasm, PFrameWasmAPI, PTableId, PTableV8, ParquetExtension, ParquetFileName, PemCertificate, RequestHandlerOptions, SingleAxisSelector$1 as SingleAxisSelector, SlicedColumnJoinEntry, SpecExtension };
16
+ export { ArtificialColumnJoinEntry, AxisQualification, BaseObjectStore, ColumnAxesWithQualifications, ColumnJoinEntry, ConstantAxisFilter, CreateTableRequestV4, DataInfo, DataInfoExtension, DeleteColumnFromColumnsRequest, DeleteColumnFromColumnsResponse, DiscoverColumnsConstraints, DiscoverColumnsMappingVariant, DiscoverColumnsRequest, DiscoverColumnsResponse, DiscoverColumnsResponseHit, DiscoverColumnsResponseQualifications, EvaluateQueryResponse, FilePath, FileRange, FindColumnResponseQualifications, FindColumnsMappingVariant, FindColumnsRequest, FindColumnsResponse, FindColumnsResponseHit, FsStoreOptions, FullJoinV4, HttpAuthorizationToken, HttpHelpers, HttpMethod, HttpRange, HttpServer, HttpServerInfo, HttpServerOptions, InlineColumnJoinEntry, InnerJoinV4, JoinEntryV4, LegacyQuery, Logger, MatcherMap, MultiAxisSelector, MultiColumnSelector, ObjectStore, ObjectStoreOptions, ObjectStoreResponse, ObjectStoreUrl, OuterJoinV4, PFrameBlobId, PFrameDataSourceV2, PFrameFactoryAPIV4, PFrameFactoryV4, PFrameId, PFrameOptionsV2, PFrameReadAPIV11, PFrameV13, PFrameWasm, PFrameWasmAPI, PTableId, PTableV8, ParquetExtension, ParquetFileName, PemCertificate, RequestHandlerOptions, SingleAxisSelector$1 as SingleAxisSelector, SlicedColumnJoinEntry, SpecExtension, StringMatcher };
16
17
  }
17
18
  //#endregion
18
19
  export { index_d_exports };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/pframe/internal_api/index.ts"],"sourcesContent":["export * from \"./api_read\";\nexport * from \"./api_factory\";\nexport * from \"./api_wasm\";\nexport * from \"./common\";\nexport * from \"./create_table\";\nexport * from \"./delete_column\";\nexport * from \"./find_columns\";\nexport * from \"./table\";\n\nexport * from \"./pframe\";\nexport * from \"./http_helpers\";\n\nexport type { SingleAxisSelector } from \"@milaboratories/pl-model-common\";\n"],"mappings":""}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../src/pframe/internal_api/index.ts"],"sourcesContent":["export * from \"./api_read\";\nexport * from \"./api_factory\";\nexport * from \"./api_wasm\";\nexport * from \"./common\";\nexport * from \"./create_table\";\nexport * from \"./delete_column\";\nexport * from \"./discover_columns\";\nexport * from \"./find_columns\";\nexport * from \"./table\";\n\nexport * from \"./pframe\";\nexport * from \"./http_helpers\";\n\nexport type { SingleAxisSelector } from \"@milaboratories/pl-model-common\";\n"],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/pl-model-middle-layer",
3
- "version": "1.12.12",
3
+ "version": "1.13.1",
4
4
  "description": "Common model between middle layer and non-block UI code",
5
5
  "files": [
6
6
  "./dist/**/*",
@@ -20,15 +20,15 @@
20
20
  "es-toolkit": "^1.39.10",
21
21
  "utility-types": "^3.11.0",
22
22
  "zod": "~3.23.8",
23
- "@milaboratories/pl-model-common": "1.25.3",
24
- "@platforma-sdk/model": "1.58.22"
23
+ "@milaboratories/pl-model-common": "1.26.1",
24
+ "@platforma-sdk/model": "1.59.3"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "~24.5.2",
28
28
  "typescript": "~5.9.3",
29
- "@milaboratories/ts-configs": "1.2.2",
29
+ "@milaboratories/build-configs": "1.5.2",
30
30
  "@milaboratories/ts-builder": "1.3.0",
31
- "@milaboratories/build-configs": "1.5.2"
31
+ "@milaboratories/ts-configs": "1.2.2"
32
32
  },
33
33
  "scripts": {
34
34
  "build": "ts-builder build --target node",
@@ -16,6 +16,7 @@ import type {
16
16
  DeleteColumnFromColumnsRequest,
17
17
  DeleteColumnFromColumnsResponse,
18
18
  } from "./delete_column";
19
+ import type { DiscoverColumnsRequest, DiscoverColumnsResponse } from "./discover_columns";
19
20
  import type { FindColumnsRequest, FindColumnsResponse } from "./find_columns";
20
21
 
21
22
  export interface PFrameWasmAPI {
@@ -57,6 +58,13 @@ export interface PFrameWasm extends Disposable {
57
58
  */
58
59
  deleteColumns(request: DeleteColumnFromColumnsRequest): DeleteColumnFromColumnsResponse;
59
60
 
61
+ /**
62
+ * Discovers columns compatible with a given axes integration.
63
+ * Returns columns that could be integrated with the provided column set,
64
+ * along with possible mapping variants describing how to integrate them.
65
+ */
66
+ discoverColumns(request: DiscoverColumnsRequest): DiscoverColumnsResponse;
67
+
60
68
  /**
61
69
  * Finds columns in the PFrame matching the given filter criteria.
62
70
  */
@@ -13,7 +13,7 @@ export type PTableId = PTableHandle;
13
13
 
14
14
  export interface AxisQualification {
15
15
  axis: SingleAxisSelector;
16
- additionalDomains: Record<string, string>;
16
+ contextDomain: Record<string, string>;
17
17
  }
18
18
 
19
19
  export interface ColumnAxesWithQualifications {
@@ -0,0 +1,93 @@
1
+ import type { PColumnIdAndSpec } from "@milaboratories/pl-model-common";
2
+ import type { AxisQualification, ColumnAxesWithQualifications } from "./common";
3
+
4
+ /** Matches a string value either exactly or by regex pattern */
5
+ export type StringMatcher = { type: "exact"; value: string } | { type: "regex"; value: string };
6
+
7
+ /** Map of key to array of string matchers (OR-ed per key, AND-ed across keys) */
8
+ export type MatcherMap = Record<string, StringMatcher[]>;
9
+
10
+ /** Selector for matching axes by various criteria */
11
+ export interface MultiAxisSelector {
12
+ /** Match any of the axis types listed here */
13
+ readonly type?: string[];
14
+ /** Match any of the axis names listed here */
15
+ readonly name?: StringMatcher[];
16
+ /** Match requires all the domains listed here */
17
+ readonly domain?: MatcherMap;
18
+ /** Match requires all the context domains listed here */
19
+ readonly contextDomain?: MatcherMap;
20
+ /** Match requires all the annotations listed here */
21
+ readonly annotations?: MatcherMap;
22
+ }
23
+
24
+ /** Column selector for discover columns request, matching columns by various criteria.
25
+ * Multiple selectors are OR-ed: a column matches if it satisfies any selector. */
26
+ export interface MultiColumnSelector {
27
+ /** Match any of the value types listed here */
28
+ readonly type?: string[];
29
+ /** Match any of the names listed here */
30
+ readonly name?: StringMatcher[];
31
+ /** Match requires all the domains listed here */
32
+ readonly domain?: MatcherMap;
33
+ /** Match requires all the context domains listed here */
34
+ readonly contextDomain?: MatcherMap;
35
+ /** Match requires all the annotations listed here */
36
+ readonly annotations?: MatcherMap;
37
+ /** Match any of the axis selectors listed here */
38
+ readonly axes?: MultiAxisSelector[];
39
+ /** When true (default), allows matching if only a subset of axes match */
40
+ readonly partialAxesMatch?: boolean;
41
+ }
42
+
43
+ /** Fine-grained constraints controlling axes matching and qualification behavior */
44
+ export interface DiscoverColumnsConstraints {
45
+ /** Allow source (query) axes that have no match in the hit column */
46
+ allowFloatingSourceAxes: boolean;
47
+ /** Allow hit column axes that have no match in the source (query) */
48
+ allowFloatingHitAxes: boolean;
49
+ /** Allow source (query) axes to be qualified (contextDomain extended) */
50
+ allowSourceQualifications: boolean;
51
+ /** Allow hit column axes to be qualified (contextDomain extended) */
52
+ allowHitQualifications: boolean;
53
+ }
54
+
55
+ /** Request for discovering columns compatible with a given axes integration */
56
+ export interface DiscoverColumnsRequest {
57
+ /** Column filters (OR-ed); empty array matches all columns */
58
+ columnFilter?: MultiColumnSelector[];
59
+ /** Already integrated axes with qualifications */
60
+ axes: ColumnAxesWithQualifications[];
61
+ /** Constraints controlling axes matching and qualification behavior */
62
+ constraints: DiscoverColumnsConstraints;
63
+ }
64
+
65
+ /** Qualifications info for a discover columns response mapping variant */
66
+ export interface DiscoverColumnsResponseQualifications {
67
+ /** Qualifications for each query (already-integrated) column set */
68
+ forQueries: AxisQualification[][];
69
+ /** Qualifications for the hit column */
70
+ forHit: AxisQualification[];
71
+ }
72
+
73
+ /** A single mapping variant describing how a hit column can be integrated */
74
+ export interface DiscoverColumnsMappingVariant {
75
+ /** Full qualifications needed for integration */
76
+ qualifications: DiscoverColumnsResponseQualifications;
77
+ /** Distinctive (minimal) qualifications needed for integration */
78
+ distinctiveQualifications: DiscoverColumnsResponseQualifications;
79
+ }
80
+
81
+ /** A single hit in the discover columns response */
82
+ export interface DiscoverColumnsResponseHit {
83
+ /** The column that was found compatible */
84
+ hit: PColumnIdAndSpec;
85
+ /** Possible ways to integrate this column with the existing set */
86
+ mappingVariants: DiscoverColumnsMappingVariant[];
87
+ }
88
+
89
+ /** Response from discover columns */
90
+ export interface DiscoverColumnsResponse {
91
+ /** Columns that could be integrated and possible ways to integrate them */
92
+ hits: DiscoverColumnsResponseHit[];
93
+ }
@@ -4,6 +4,7 @@ export * from "./api_wasm";
4
4
  export * from "./common";
5
5
  export * from "./create_table";
6
6
  export * from "./delete_column";
7
+ export * from "./discover_columns";
7
8
  export * from "./find_columns";
8
9
  export * from "./table";
9
10