@milaboratories/pl-model-middle-layer 1.12.12 → 1.13.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/pframe/internal_api/api_wasm.d.ts +7 -0
- package/dist/pframe/internal_api/common.d.ts +1 -1
- package/dist/pframe/internal_api/discover_columns.d.ts +94 -0
- package/dist/pframe/internal_api/index.cjs.map +1 -1
- package/dist/pframe/internal_api/index.d.ts +2 -1
- package/dist/pframe/internal_api/index.js.map +1 -1
- package/package.json +4 -4
- package/src/pframe/internal_api/api_wasm.ts +8 -0
- package/src/pframe/internal_api/common.ts +1 -1
- package/src/pframe/internal_api/discover_columns.ts +93 -0
- package/src/pframe/internal_api/index.ts +1 -0
|
@@ -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
|
-
|
|
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.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "Common model between middle layer and non-block UI code",
|
|
5
5
|
"files": [
|
|
6
6
|
"./dist/**/*",
|
|
@@ -20,14 +20,14 @@
|
|
|
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.
|
|
24
|
-
"@platforma-sdk/model": "1.
|
|
23
|
+
"@milaboratories/pl-model-common": "1.26.0",
|
|
24
|
+
"@platforma-sdk/model": "1.59.0"
|
|
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",
|
|
30
29
|
"@milaboratories/ts-builder": "1.3.0",
|
|
30
|
+
"@milaboratories/ts-configs": "1.2.2",
|
|
31
31
|
"@milaboratories/build-configs": "1.5.2"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
@@ -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
|
*/
|
|
@@ -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
|
+
}
|