@milaboratories/pl-model-common 1.25.1 → 1.25.3
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/_virtual/_rolldown/runtime.cjs +29 -0
- package/dist/author_marker.d.ts +9 -6
- package/dist/base32_encode.cjs +40 -46
- package/dist/base32_encode.cjs.map +1 -1
- package/dist/base32_encode.js +40 -45
- package/dist/base32_encode.js.map +1 -1
- package/dist/base64.cjs +5 -4
- package/dist/base64.cjs.map +1 -1
- package/dist/base64.d.ts +10 -6
- package/dist/base64.js +5 -3
- package/dist/base64.js.map +1 -1
- package/dist/block_state.d.ts +21 -23
- package/dist/bmodel/block_config.cjs +9 -10
- package/dist/bmodel/block_config.cjs.map +1 -1
- package/dist/bmodel/block_config.d.ts +53 -72
- package/dist/bmodel/block_config.js +9 -9
- package/dist/bmodel/block_config.js.map +1 -1
- package/dist/bmodel/code.cjs +7 -6
- package/dist/bmodel/code.cjs.map +1 -1
- package/dist/bmodel/code.d.ts +17 -13
- package/dist/bmodel/code.js +6 -4
- package/dist/bmodel/code.js.map +1 -1
- package/dist/bmodel/container.d.ts +46 -44
- package/dist/bmodel/index.cjs +3 -0
- package/dist/bmodel/index.d.ts +5 -6
- package/dist/bmodel/index.js +3 -0
- package/dist/bmodel/normalization.cjs +90 -106
- package/dist/bmodel/normalization.cjs.map +1 -1
- package/dist/bmodel/normalization.d.ts +7 -3
- package/dist/bmodel/normalization.js +90 -105
- package/dist/bmodel/normalization.js.map +1 -1
- package/dist/bmodel/types.d.ts +4 -1
- package/dist/branding.d.ts +5 -5
- package/dist/common_types.d.ts +19 -15
- package/dist/driver_kit.d.ts +25 -17
- package/dist/drivers/ChunkedStreamReader.cjs +168 -203
- package/dist/drivers/ChunkedStreamReader.cjs.map +1 -1
- package/dist/drivers/ChunkedStreamReader.d.ts +104 -100
- package/dist/drivers/ChunkedStreamReader.js +168 -202
- package/dist/drivers/ChunkedStreamReader.js.map +1 -1
- package/dist/drivers/blob.cjs +15 -17
- package/dist/drivers/blob.cjs.map +1 -1
- package/dist/drivers/blob.d.ts +35 -35
- package/dist/drivers/blob.js +14 -15
- package/dist/drivers/blob.js.map +1 -1
- package/dist/drivers/index.cjs +18 -0
- package/dist/drivers/index.d.ts +29 -9
- package/dist/drivers/index.js +18 -0
- package/dist/drivers/interfaces.d.ts +17 -14
- package/dist/drivers/log.cjs +4 -3
- package/dist/drivers/log.cjs.map +1 -1
- package/dist/drivers/log.d.ts +52 -49
- package/dist/drivers/log.js +4 -2
- package/dist/drivers/log.js.map +1 -1
- package/dist/drivers/ls.cjs +16 -19
- package/dist/drivers/ls.cjs.map +1 -1
- package/dist/drivers/ls.d.ts +73 -76
- package/dist/drivers/ls.js +16 -17
- package/dist/drivers/ls.js.map +1 -1
- package/dist/drivers/pframe/column_filter.d.ts +19 -15
- package/dist/drivers/pframe/data_info.cjs +201 -252
- package/dist/drivers/pframe/data_info.cjs.map +1 -1
- package/dist/drivers/pframe/data_info.d.ts +84 -109
- package/dist/drivers/pframe/data_info.js +201 -250
- package/dist/drivers/pframe/data_info.js.map +1 -1
- package/dist/drivers/pframe/data_types.cjs +38 -63
- package/dist/drivers/pframe/data_types.cjs.map +1 -1
- package/dist/drivers/pframe/data_types.d.ts +91 -93
- package/dist/drivers/pframe/data_types.js +38 -61
- package/dist/drivers/pframe/data_types.js.map +1 -1
- package/dist/drivers/pframe/driver.cjs +7 -0
- package/dist/drivers/pframe/driver.cjs.map +1 -0
- package/dist/drivers/pframe/driver.d.ts +50 -45
- package/dist/drivers/pframe/driver.js +6 -0
- package/dist/drivers/pframe/driver.js.map +1 -0
- package/dist/drivers/pframe/filter_spec.d.ts +127 -123
- package/dist/drivers/pframe/find_columns.d.ts +21 -17
- package/dist/drivers/pframe/index.cjs +15 -0
- package/dist/drivers/pframe/index.d.ts +23 -16
- package/dist/drivers/pframe/index.js +15 -0
- package/dist/drivers/pframe/linker_columns.cjs +184 -238
- package/dist/drivers/pframe/linker_columns.cjs.map +1 -1
- package/dist/drivers/pframe/linker_columns.d.ts +45 -38
- package/dist/drivers/pframe/linker_columns.js +184 -236
- package/dist/drivers/pframe/linker_columns.js.map +1 -1
- package/dist/drivers/pframe/pframe.d.ts +26 -21
- package/dist/drivers/pframe/query/index.cjs +1 -0
- package/dist/drivers/pframe/query/index.d.ts +3 -4
- package/dist/drivers/pframe/query/index.js +1 -0
- package/dist/drivers/pframe/query/query_common.d.ts +205 -247
- package/dist/drivers/pframe/query/query_data.d.ts +25 -23
- package/dist/drivers/pframe/query/query_spec.d.ts +30 -29
- package/dist/drivers/pframe/query/utils.cjs +164 -183
- package/dist/drivers/pframe/query/utils.cjs.map +1 -1
- package/dist/drivers/pframe/query/utils.d.ts +13 -12
- package/dist/drivers/pframe/query/utils.js +164 -181
- package/dist/drivers/pframe/query/utils.js.map +1 -1
- package/dist/drivers/pframe/spec/anchored.cjs +178 -216
- package/dist/drivers/pframe/spec/anchored.cjs.map +1 -1
- package/dist/drivers/pframe/spec/anchored.d.ts +53 -49
- package/dist/drivers/pframe/spec/anchored.js +176 -214
- package/dist/drivers/pframe/spec/anchored.js.map +1 -1
- package/dist/drivers/pframe/spec/filtered_column.cjs +8 -7
- package/dist/drivers/pframe/spec/filtered_column.cjs.map +1 -1
- package/dist/drivers/pframe/spec/filtered_column.d.ts +20 -17
- package/dist/drivers/pframe/spec/filtered_column.js +8 -6
- package/dist/drivers/pframe/spec/filtered_column.js.map +1 -1
- package/dist/drivers/pframe/spec/ids.cjs +16 -14
- package/dist/drivers/pframe/spec/ids.cjs.map +1 -1
- package/dist/drivers/pframe/spec/ids.d.ts +13 -8
- package/dist/drivers/pframe/spec/ids.js +14 -12
- package/dist/drivers/pframe/spec/ids.js.map +1 -1
- package/dist/drivers/pframe/spec/index.cjs +6 -0
- package/dist/drivers/pframe/spec/index.d.ts +6 -7
- package/dist/drivers/pframe/spec/index.js +6 -0
- package/dist/drivers/pframe/spec/native_id.cjs +16 -16
- package/dist/drivers/pframe/spec/native_id.cjs.map +1 -1
- package/dist/drivers/pframe/spec/native_id.d.ts +9 -4
- package/dist/drivers/pframe/spec/native_id.js +13 -13
- package/dist/drivers/pframe/spec/native_id.js.map +1 -1
- package/dist/drivers/pframe/spec/selectors.cjs +72 -112
- package/dist/drivers/pframe/spec/selectors.cjs.map +1 -1
- package/dist/drivers/pframe/spec/selectors.d.ts +99 -94
- package/dist/drivers/pframe/spec/selectors.js +72 -110
- package/dist/drivers/pframe/spec/selectors.js.map +1 -1
- package/dist/drivers/pframe/spec/spec.cjs +282 -324
- package/dist/drivers/pframe/spec/spec.cjs.map +1 -1
- package/dist/drivers/pframe/spec/spec.d.ts +263 -272
- package/dist/drivers/pframe/spec/spec.js +281 -322
- package/dist/drivers/pframe/spec/spec.js.map +1 -1
- package/dist/drivers/pframe/table.d.ts +28 -24
- package/dist/drivers/pframe/table_calculate.cjs +117 -147
- package/dist/drivers/pframe/table_calculate.cjs.map +1 -1
- package/dist/drivers/pframe/table_calculate.d.ts +219 -220
- package/dist/drivers/pframe/table_calculate.js +117 -145
- package/dist/drivers/pframe/table_calculate.js.map +1 -1
- package/dist/drivers/pframe/table_common.cjs +13 -14
- package/dist/drivers/pframe/table_common.cjs.map +1 -1
- package/dist/drivers/pframe/table_common.d.ts +24 -19
- package/dist/drivers/pframe/table_common.js +13 -13
- package/dist/drivers/pframe/table_common.js.map +1 -1
- package/dist/drivers/pframe/unique_values.d.ts +23 -18
- package/dist/drivers/upload.d.ts +21 -18
- package/dist/drivers/urls.cjs +5 -6
- package/dist/drivers/urls.cjs.map +1 -1
- package/dist/drivers/urls.d.ts +12 -9
- package/dist/drivers/urls.js +5 -5
- package/dist/drivers/urls.js.map +1 -1
- package/dist/errors.cjs +65 -86
- package/dist/errors.cjs.map +1 -1
- package/dist/errors.d.ts +36 -33
- package/dist/errors.js +65 -85
- package/dist/errors.js.map +1 -1
- package/dist/flags/block_flags.cjs +7 -6
- package/dist/flags/block_flags.cjs.map +1 -1
- package/dist/flags/block_flags.d.ts +12 -8
- package/dist/flags/block_flags.js +7 -5
- package/dist/flags/block_flags.js.map +1 -1
- package/dist/flags/flag_utils.cjs +69 -108
- package/dist/flags/flag_utils.cjs.map +1 -1
- package/dist/flags/flag_utils.d.ts +40 -42
- package/dist/flags/flag_utils.js +70 -107
- package/dist/flags/flag_utils.js.map +1 -1
- package/dist/flags/type_utils.d.ts +12 -11
- package/dist/httpAuth.cjs +16 -20
- package/dist/httpAuth.cjs.map +1 -1
- package/dist/httpAuth.d.ts +10 -7
- package/dist/httpAuth.js +16 -19
- package/dist/httpAuth.js.map +1 -1
- package/dist/index.cjs +176 -179
- package/dist/index.d.ts +58 -20
- package/dist/index.js +37 -34
- package/dist/json.cjs +10 -8
- package/dist/json.cjs.map +1 -1
- package/dist/json.d.ts +18 -18
- package/dist/json.js +8 -6
- package/dist/json.js.map +1 -1
- package/dist/navigation.cjs +3 -2
- package/dist/navigation.cjs.map +1 -1
- package/dist/navigation.d.ts +18 -21
- package/dist/navigation.js +3 -1
- package/dist/navigation.js.map +1 -1
- package/dist/plid.cjs +16 -20
- package/dist/plid.cjs.map +1 -1
- package/dist/plid.d.ts +11 -7
- package/dist/plid.js +15 -18
- package/dist/plid.js.map +1 -1
- package/dist/pool/entry.d.ts +11 -11
- package/dist/pool/index.d.ts +3 -4
- package/dist/pool/query.cjs +21 -43
- package/dist/pool/query.cjs.map +1 -1
- package/dist/pool/query.d.ts +25 -20
- package/dist/pool/query.js +20 -40
- package/dist/pool/query.js.map +1 -1
- package/dist/pool/spec.cjs +40 -47
- package/dist/pool/spec.cjs.map +1 -1
- package/dist/pool/spec.d.ts +33 -31
- package/dist/pool/spec.js +40 -45
- package/dist/pool/spec.js.map +1 -1
- package/dist/ref.cjs +51 -71
- package/dist/ref.cjs.map +1 -1
- package/dist/ref.d.ts +36 -33
- package/dist/ref.js +50 -69
- package/dist/ref.js.map +1 -1
- package/dist/utag.d.ts +18 -14
- package/dist/util.cjs +8 -7
- package/dist/util.cjs.map +1 -1
- package/dist/util.d.ts +5 -2
- package/dist/util.js +8 -6
- package/dist/util.js.map +1 -1
- package/dist/value_or_error.cjs +7 -3
- package/dist/value_or_error.cjs.map +1 -1
- package/dist/value_or_error.d.ts +9 -6
- package/dist/value_or_error.js +7 -2
- package/dist/value_or_error.js.map +1 -1
- package/package.json +6 -6
- package/src/flags/block_flags.ts +2 -1
- package/src/flags/flag_utils.ts +0 -22
- package/dist/author_marker.d.ts.map +0 -1
- package/dist/base32_encode.d.ts +0 -8
- package/dist/base32_encode.d.ts.map +0 -1
- package/dist/base64.d.ts.map +0 -1
- package/dist/block_state.d.ts.map +0 -1
- package/dist/bmodel/block_config.d.ts.map +0 -1
- package/dist/bmodel/code.d.ts.map +0 -1
- package/dist/bmodel/container.d.ts.map +0 -1
- package/dist/bmodel/index.d.ts.map +0 -1
- package/dist/bmodel/normalization.d.ts.map +0 -1
- package/dist/bmodel/types.d.ts.map +0 -1
- package/dist/branding.d.ts.map +0 -1
- package/dist/common_types.d.ts.map +0 -1
- package/dist/driver_kit.d.ts.map +0 -1
- package/dist/drivers/ChunkedStreamReader.d.ts.map +0 -1
- package/dist/drivers/blob.d.ts.map +0 -1
- package/dist/drivers/index.d.ts.map +0 -1
- package/dist/drivers/interfaces.d.ts.map +0 -1
- package/dist/drivers/log.d.ts.map +0 -1
- package/dist/drivers/ls.d.ts.map +0 -1
- package/dist/drivers/pframe/column_filter.d.ts.map +0 -1
- package/dist/drivers/pframe/data_info.d.ts.map +0 -1
- package/dist/drivers/pframe/data_types.d.ts.map +0 -1
- package/dist/drivers/pframe/driver.d.ts.map +0 -1
- package/dist/drivers/pframe/filter_spec.d.ts.map +0 -1
- package/dist/drivers/pframe/find_columns.d.ts.map +0 -1
- package/dist/drivers/pframe/index.d.ts.map +0 -1
- package/dist/drivers/pframe/linker_columns.d.ts.map +0 -1
- package/dist/drivers/pframe/pframe.d.ts.map +0 -1
- package/dist/drivers/pframe/query/index.d.ts.map +0 -1
- package/dist/drivers/pframe/query/query_common.d.ts.map +0 -1
- package/dist/drivers/pframe/query/query_data.d.ts.map +0 -1
- package/dist/drivers/pframe/query/query_spec.d.ts.map +0 -1
- package/dist/drivers/pframe/query/utils.d.ts.map +0 -1
- package/dist/drivers/pframe/spec/anchored.d.ts.map +0 -1
- package/dist/drivers/pframe/spec/filtered_column.d.ts.map +0 -1
- package/dist/drivers/pframe/spec/ids.d.ts.map +0 -1
- package/dist/drivers/pframe/spec/index.d.ts.map +0 -1
- package/dist/drivers/pframe/spec/native_id.d.ts.map +0 -1
- package/dist/drivers/pframe/spec/selectors.d.ts.map +0 -1
- package/dist/drivers/pframe/spec/spec.d.ts.map +0 -1
- package/dist/drivers/pframe/table.d.ts.map +0 -1
- package/dist/drivers/pframe/table_calculate.d.ts.map +0 -1
- package/dist/drivers/pframe/table_common.d.ts.map +0 -1
- package/dist/drivers/pframe/type_util.d.ts +0 -5
- package/dist/drivers/pframe/type_util.d.ts.map +0 -1
- package/dist/drivers/pframe/unique_values.d.ts.map +0 -1
- package/dist/drivers/upload.d.ts.map +0 -1
- package/dist/drivers/urls.d.ts.map +0 -1
- package/dist/errors.d.ts.map +0 -1
- package/dist/flags/block_flags.d.ts.map +0 -1
- package/dist/flags/flag_utils.d.ts.map +0 -1
- package/dist/flags/index.d.ts +0 -4
- package/dist/flags/index.d.ts.map +0 -1
- package/dist/flags/type_utils.d.ts.map +0 -1
- package/dist/httpAuth.d.ts.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/json.d.ts.map +0 -1
- package/dist/navigation.d.ts.map +0 -1
- package/dist/plid.d.ts.map +0 -1
- package/dist/pool/entry.d.ts.map +0 -1
- package/dist/pool/index.d.ts.map +0 -1
- package/dist/pool/query.d.ts.map +0 -1
- package/dist/pool/spec.d.ts.map +0 -1
- package/dist/ref.d.ts.map +0 -1
- package/dist/utag.d.ts.map +0 -1
- package/dist/util.d.ts.map +0 -1
- package/dist/value_or_error.d.ts.map +0 -1
|
@@ -1,160 +1,161 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { CanonicalizedJson, StringifiedJson } from "../../../json.js";
|
|
2
|
+
import { PObject, PObjectId, PObjectSpec } from "../../../pool/spec.js";
|
|
3
|
+
import "../../../pool/index.js";
|
|
3
4
|
import { z } from "zod";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
|
|
6
|
+
//#region src/drivers/pframe/spec/spec.d.ts
|
|
7
|
+
declare const ValueType: {
|
|
8
|
+
readonly Int: "Int";
|
|
9
|
+
readonly Long: "Long";
|
|
10
|
+
readonly Float: "Float";
|
|
11
|
+
readonly Double: "Double";
|
|
12
|
+
readonly String: "String";
|
|
13
|
+
readonly Bytes: "Bytes";
|
|
11
14
|
};
|
|
12
|
-
|
|
13
|
-
|
|
15
|
+
type AxisValueType = Extract<ValueType, "Int" | "Long" | "String">;
|
|
16
|
+
type ColumnValueType = ValueType;
|
|
14
17
|
/** PFrame columns and axes within them may store one of these types. */
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
type MetadataJsonImpl<M> = {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
readonly
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
readonly ScClonotypeChain: {
|
|
32
|
-
readonly Index: "pl7.app/vdj/scClonotypeChain/index";
|
|
33
|
-
};
|
|
18
|
+
type ValueType = (typeof ValueType)[keyof typeof ValueType];
|
|
19
|
+
type Metadata = Record<string, string>;
|
|
20
|
+
declare function readMetadata<U extends Metadata, T extends keyof U = keyof U>(metadata: Metadata | undefined, key: T): U[T] | undefined;
|
|
21
|
+
type MetadataJsonImpl<M> = { [P in keyof M as M[P] extends StringifiedJson ? P : never]: M[P] extends StringifiedJson<infer U> ? z.ZodType<U> : never };
|
|
22
|
+
type MetadataJson<M> = MetadataJsonImpl<Required<M>>;
|
|
23
|
+
declare function readMetadataJsonOrThrow<M extends Metadata, T extends keyof MetadataJson<M>>(metadata: Metadata | undefined, metadataJson: MetadataJson<M>, key: T, methodNameInError?: string): z.infer<MetadataJson<M>[T]> | undefined;
|
|
24
|
+
declare function readMetadataJson<M extends Metadata, T extends keyof MetadataJson<M>>(metadata: Metadata | undefined, metadataJson: MetadataJson<M>, key: T): z.infer<MetadataJson<M>[T]> | undefined;
|
|
25
|
+
declare const Domain: {
|
|
26
|
+
readonly Alphabet: "pl7.app/alphabet";
|
|
27
|
+
readonly BlockId: "pl7.app/blockId";
|
|
28
|
+
readonly VDJ: {
|
|
29
|
+
readonly Clustering: {
|
|
30
|
+
readonly BlockId: "pl7.app/vdj/clustering/blockId";
|
|
31
|
+
};
|
|
32
|
+
readonly ScClonotypeChain: {
|
|
33
|
+
readonly Index: "pl7.app/vdj/scClonotypeChain/index";
|
|
34
34
|
};
|
|
35
|
+
};
|
|
35
36
|
};
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
type Domain = Metadata & Partial<{
|
|
38
|
+
[Domain.Alphabet]: "nucleotide" | "aminoacid" | (string & {});
|
|
39
|
+
[Domain.BlockId]: string;
|
|
40
|
+
[Domain.VDJ.ScClonotypeChain.Index]: "primary" | "secondary" | (string & {});
|
|
40
41
|
}>;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
type DomainJson = MetadataJson<Domain>;
|
|
43
|
+
declare const DomainJson: DomainJson;
|
|
44
|
+
declare function readDomain<T extends keyof Domain>(spec: {
|
|
45
|
+
domain?: Metadata | undefined;
|
|
45
46
|
} | undefined, key: T): Domain[T] | undefined;
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
declare function readDomainJsonOrThrow<T extends keyof DomainJson>(spec: {
|
|
48
|
+
domain?: Metadata | undefined;
|
|
48
49
|
} | undefined, key: T): z.infer<DomainJson[T]> | undefined;
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
declare function readDomainJson<T extends keyof DomainJson>(spec: {
|
|
51
|
+
domain?: Metadata | undefined;
|
|
51
52
|
} | undefined, key: T): z.infer<DomainJson[T]> | undefined;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
};
|
|
65
|
-
readonly IsDenseAxis: "pl7.app/graph/isDenseAxis";
|
|
66
|
-
readonly IsVirtual: "pl7.app/graph/isVirtual";
|
|
67
|
-
readonly Palette: "pl7.app/graph/palette";
|
|
68
|
-
readonly Thresholds: "pl7.app/graph/thresholds";
|
|
69
|
-
readonly TreatAbsentValuesAs: "pl7.app/graph/treatAbsentValuesAs";
|
|
70
|
-
};
|
|
71
|
-
readonly HideDataFromUi: "pl7.app/hideDataFromUi";
|
|
72
|
-
readonly HideDataFromGraphs: "pl7.app/hideDataFromGraphs";
|
|
73
|
-
readonly IsDiscreteFilter: "pl7.app/isDiscreteFilter";
|
|
74
|
-
readonly IsAnchor: "pl7.app/isAnchor";
|
|
75
|
-
readonly IsLinkerColumn: "pl7.app/isLinkerColumn";
|
|
76
|
-
readonly IsScore: "pl7.app/isScore";
|
|
77
|
-
readonly IsSubset: "pl7.app/isSubset";
|
|
78
|
-
readonly Label: "pl7.app/label";
|
|
79
|
-
readonly Max: "pl7.app/max";
|
|
80
|
-
readonly Min: "pl7.app/min";
|
|
81
|
-
readonly MultipliesBy: "pl7.app/multipliesBy";
|
|
82
|
-
readonly Parents: "pl7.app/parents";
|
|
83
|
-
readonly Score: {
|
|
84
|
-
readonly DefaultCutoff: "pl7.app/score/defaultCutoff";
|
|
85
|
-
readonly RankingOrder: "pl7.app/score/rankingOrder";
|
|
86
|
-
};
|
|
87
|
-
readonly Sequence: {
|
|
88
|
-
readonly Annotation: {
|
|
89
|
-
readonly Mapping: "pl7.app/sequence/annotation/mapping";
|
|
90
|
-
};
|
|
91
|
-
readonly IsAnnotation: "pl7.app/sequence/isAnnotation";
|
|
53
|
+
declare const Annotation: {
|
|
54
|
+
readonly AxisNature: "pl7.app/axisNature";
|
|
55
|
+
readonly Alphabet: "pl7.app/alphabet";
|
|
56
|
+
readonly Description: "pl7.app/description";
|
|
57
|
+
readonly DiscreteValues: "pl7.app/discreteValues";
|
|
58
|
+
readonly Format: "pl7.app/format";
|
|
59
|
+
readonly Graph: {
|
|
60
|
+
readonly Axis: {
|
|
61
|
+
readonly HighCardinality: "pl7.app/graph/axis/highCardinality";
|
|
62
|
+
readonly LowerLimit: "pl7.app/graph/axis/lowerLimit";
|
|
63
|
+
readonly SymmetricRange: "pl7.app/graph/axis/symmetricRange";
|
|
64
|
+
readonly UpperLimit: "pl7.app/graph/axis/upperLimit";
|
|
92
65
|
};
|
|
93
|
-
readonly
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
66
|
+
readonly IsDenseAxis: "pl7.app/graph/isDenseAxis";
|
|
67
|
+
readonly IsVirtual: "pl7.app/graph/isVirtual";
|
|
68
|
+
readonly Palette: "pl7.app/graph/palette";
|
|
69
|
+
readonly Thresholds: "pl7.app/graph/thresholds";
|
|
70
|
+
readonly TreatAbsentValuesAs: "pl7.app/graph/treatAbsentValuesAs";
|
|
71
|
+
};
|
|
72
|
+
readonly HideDataFromUi: "pl7.app/hideDataFromUi";
|
|
73
|
+
readonly HideDataFromGraphs: "pl7.app/hideDataFromGraphs";
|
|
74
|
+
readonly IsDiscreteFilter: "pl7.app/isDiscreteFilter";
|
|
75
|
+
readonly IsAnchor: "pl7.app/isAnchor";
|
|
76
|
+
readonly IsLinkerColumn: "pl7.app/isLinkerColumn";
|
|
77
|
+
readonly IsScore: "pl7.app/isScore";
|
|
78
|
+
readonly IsSubset: "pl7.app/isSubset";
|
|
79
|
+
readonly Label: "pl7.app/label";
|
|
80
|
+
readonly Max: "pl7.app/max";
|
|
81
|
+
readonly Min: "pl7.app/min";
|
|
82
|
+
readonly MultipliesBy: "pl7.app/multipliesBy";
|
|
83
|
+
readonly Parents: "pl7.app/parents";
|
|
84
|
+
readonly Score: {
|
|
85
|
+
readonly DefaultCutoff: "pl7.app/score/defaultCutoff";
|
|
86
|
+
readonly RankingOrder: "pl7.app/score/rankingOrder";
|
|
87
|
+
};
|
|
88
|
+
readonly Sequence: {
|
|
89
|
+
readonly Annotation: {
|
|
90
|
+
readonly Mapping: "pl7.app/sequence/annotation/mapping";
|
|
102
91
|
};
|
|
92
|
+
readonly IsAnnotation: "pl7.app/sequence/isAnnotation";
|
|
93
|
+
};
|
|
94
|
+
readonly Table: {
|
|
95
|
+
readonly FontFamily: "pl7.app/table/fontFamily";
|
|
96
|
+
readonly OrderPriority: "pl7.app/table/orderPriority";
|
|
97
|
+
readonly Visibility: "pl7.app/table/visibility";
|
|
98
|
+
};
|
|
99
|
+
readonly Trace: "pl7.app/trace";
|
|
100
|
+
readonly VDJ: {
|
|
101
|
+
readonly IsAssemblingFeature: "pl7.app/vdj/isAssemblingFeature";
|
|
102
|
+
readonly IsMainSequence: "pl7.app/vdj/isMainSequence";
|
|
103
|
+
};
|
|
103
104
|
};
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
105
|
+
type Annotation = Metadata & Partial<{
|
|
106
|
+
[Annotation.Alphabet]: "nucleotide" | "aminoacid" | (string & {});
|
|
107
|
+
[Annotation.AxisNature]: "homogeneous" | "heterogeneous" | "scaleCompatible" | (string & {});
|
|
108
|
+
[Annotation.Description]: string;
|
|
109
|
+
[Annotation.DiscreteValues]: StringifiedJson<number[]> | StringifiedJson<string[]>;
|
|
110
|
+
[Annotation.Format]: string;
|
|
111
|
+
[Annotation.Graph.Axis.HighCardinality]: StringifiedJson<boolean>;
|
|
112
|
+
[Annotation.Graph.Axis.LowerLimit]: StringifiedJson<number>;
|
|
113
|
+
[Annotation.Graph.Axis.SymmetricRange]: StringifiedJson<boolean>;
|
|
114
|
+
[Annotation.Graph.Axis.UpperLimit]: StringifiedJson<number>;
|
|
115
|
+
[Annotation.Graph.IsDenseAxis]: StringifiedJson<boolean>;
|
|
116
|
+
[Annotation.Graph.IsVirtual]: StringifiedJson<boolean>;
|
|
117
|
+
[Annotation.Graph.Palette]: StringifiedJson<{
|
|
118
|
+
mapping: Record<string, number>;
|
|
119
|
+
name: string;
|
|
120
|
+
}>;
|
|
121
|
+
[Annotation.Graph.Thresholds]: StringifiedJson<{
|
|
122
|
+
columnId: {
|
|
123
|
+
valueType: ValueType;
|
|
124
|
+
name: string;
|
|
125
|
+
};
|
|
126
|
+
value: number;
|
|
127
|
+
}[]>;
|
|
128
|
+
[Annotation.Graph.TreatAbsentValuesAs]: StringifiedJson<number>;
|
|
129
|
+
[Annotation.HideDataFromGraphs]: StringifiedJson<boolean>;
|
|
130
|
+
[Annotation.HideDataFromUi]: StringifiedJson<boolean>;
|
|
131
|
+
[Annotation.IsDiscreteFilter]: StringifiedJson<boolean>;
|
|
132
|
+
[Annotation.IsLinkerColumn]: StringifiedJson<boolean>;
|
|
133
|
+
[Annotation.IsSubset]: StringifiedJson<boolean>;
|
|
134
|
+
[Annotation.Label]: string;
|
|
135
|
+
[Annotation.Max]: StringifiedJson<number>;
|
|
136
|
+
[Annotation.Min]: StringifiedJson<number>;
|
|
137
|
+
[Annotation.MultipliesBy]: StringifiedJson<AxisSpec["name"][]>;
|
|
138
|
+
[Annotation.Parents]: StringifiedJson<AxisSpec["name"][]>;
|
|
139
|
+
[Annotation.Sequence.Annotation.Mapping]: StringifiedJson<Record<string, string>>;
|
|
140
|
+
[Annotation.Sequence.IsAnnotation]: StringifiedJson<boolean>;
|
|
141
|
+
[Annotation.Table.FontFamily]: string;
|
|
142
|
+
[Annotation.Table.OrderPriority]: StringifiedJson<number>;
|
|
143
|
+
[Annotation.Table.Visibility]: "hidden" | "optional" | (string & {});
|
|
144
|
+
[Annotation.Trace]: StringifiedJson<Record<string, unknown>>;
|
|
145
|
+
[Annotation.VDJ.IsAssemblingFeature]: StringifiedJson<boolean>;
|
|
145
146
|
}>;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
type AnnotationJson = MetadataJson<Annotation>;
|
|
148
|
+
declare const AnnotationJson: AnnotationJson;
|
|
149
|
+
declare function readAnnotation<T extends keyof Annotation>(spec: {
|
|
150
|
+
annotations?: Metadata | undefined;
|
|
150
151
|
} | undefined, key: T): Annotation[T] | undefined;
|
|
151
|
-
|
|
152
|
-
|
|
152
|
+
declare function readAnnotationJsonOrThrow<T extends keyof AnnotationJson>(spec: {
|
|
153
|
+
annotations?: Metadata | undefined;
|
|
153
154
|
} | undefined, key: T): z.infer<AnnotationJson[T]> | undefined;
|
|
154
|
-
|
|
155
|
-
|
|
155
|
+
declare function readAnnotationJson<T extends keyof AnnotationJson>(spec: {
|
|
156
|
+
annotations?: Metadata | undefined;
|
|
156
157
|
} | undefined, key: T): z.infer<AnnotationJson[T]> | undefined;
|
|
157
|
-
|
|
158
|
+
declare function isLinkerColumn(column: PColumnSpec): boolean;
|
|
158
159
|
/**
|
|
159
160
|
* Specification of an individual axis.
|
|
160
161
|
*
|
|
@@ -163,84 +164,82 @@ export declare function isLinkerColumn(column: PColumnSpec): boolean;
|
|
|
163
164
|
* Each record inside a PColumn is addressed by a unique tuple of values set for
|
|
164
165
|
* all the axes specified in the column spec.
|
|
165
166
|
*/
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
*/
|
|
195
|
-
readonly parentAxes?: number[];
|
|
167
|
+
type AxisSpec = {
|
|
168
|
+
/** Type of the axis value. Should not use non-key types like float or double. */readonly type: ValueType; /** Name of the axis */
|
|
169
|
+
readonly name: string;
|
|
170
|
+
/** Adds auxiliary information to the axis name, type and parents to form a
|
|
171
|
+
* unique identifier */
|
|
172
|
+
readonly domain?: Record<string, string>;
|
|
173
|
+
/** Any additional information attached to the axis that does not affect its
|
|
174
|
+
* identifier */
|
|
175
|
+
readonly annotations?: Record<string, string>;
|
|
176
|
+
/**
|
|
177
|
+
* Parent axes provide contextual grouping for the axis in question, establishing
|
|
178
|
+
* a hierarchy where the current axis is dependent on one or more axes for its
|
|
179
|
+
* full definition and meaning. For instance, in a data structure where each
|
|
180
|
+
* "container" axis may contain multiple "item" axes, the `item` axis would
|
|
181
|
+
* list the index of the `container` axis in this field to denote its dependency.
|
|
182
|
+
*
|
|
183
|
+
* This means that the identity or significance of the `item` axis is only
|
|
184
|
+
* interpretable when combined with its parent `container` axis. An `item` axis
|
|
185
|
+
* index by itself may be non-unique and only gains uniqueness within the context
|
|
186
|
+
* of its parent `container`. Therefore, the `parentAxes` field is essential for
|
|
187
|
+
* mapping these relationships and ensuring data coherence across nested or
|
|
188
|
+
* multi-level data models.
|
|
189
|
+
*
|
|
190
|
+
* A list of zero-based indices of parent axes in the overall axes specification
|
|
191
|
+
* from the column spec. Each index corresponds to the position of a parent axis
|
|
192
|
+
* in the list that defines the structure of the data model.
|
|
193
|
+
*/
|
|
194
|
+
readonly parentAxes?: number[];
|
|
196
195
|
};
|
|
197
196
|
/** Parents are specs, not indexes; normalized axis can be used considering its parents independently from column */
|
|
198
|
-
|
|
199
|
-
|
|
197
|
+
interface AxisSpecNormalized extends Omit<AxisSpec, "parentAxes"> {
|
|
198
|
+
parentAxesSpec: AxisSpecNormalized[];
|
|
200
199
|
}
|
|
201
200
|
/** Tree: axis is a root, its parents are children */
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
201
|
+
type AxisTree = {
|
|
202
|
+
axis: AxisSpecNormalized;
|
|
203
|
+
children: AxisTree[];
|
|
205
204
|
};
|
|
206
205
|
/** Build tree by axis parents annotations */
|
|
207
|
-
|
|
206
|
+
declare function getAxesTree(rootAxis: AxisSpecNormalized): AxisTree;
|
|
208
207
|
/** Get set of canonicalized axisIds from axisTree */
|
|
209
|
-
|
|
208
|
+
declare function getSetFromAxisTree(tree: AxisTree): Set<CanonicalizedJson<AxisId>>;
|
|
210
209
|
/** Get array of axisSpecs from axisTree */
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
210
|
+
declare function getArrayFromAxisTree(tree: AxisTree): AxisSpecNormalized[];
|
|
211
|
+
declare function canonicalizeAxisWithParents(axis: AxisSpecNormalized): string & {
|
|
212
|
+
__json_canonicalized: AxisId[];
|
|
214
213
|
};
|
|
215
214
|
/** Create list of normalized axisSpec (parents are in array of specs, not indexes) */
|
|
216
|
-
|
|
215
|
+
declare function getNormalizedAxesList(axes: AxisSpec[]): AxisSpecNormalized[];
|
|
217
216
|
/** Create list of regular axisSpec from normalized (parents are indexes, inside of current axes list) */
|
|
218
|
-
|
|
217
|
+
declare function getDenormalizedAxesList(axesSpec: AxisSpecNormalized[]): AxisSpec[];
|
|
219
218
|
/** Common type representing spec for all the axes in a column */
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
219
|
+
type AxesSpec = AxisSpec[];
|
|
220
|
+
declare const PColumnName: {
|
|
221
|
+
readonly Label: "pl7.app/label";
|
|
222
|
+
readonly Table: {
|
|
223
|
+
readonly RowSelection: "pl7.app/table/row-selection";
|
|
224
|
+
};
|
|
225
|
+
readonly VDJ: {
|
|
226
|
+
readonly LeadSelection: "pl7.app/vdj/lead-selection";
|
|
227
|
+
readonly RankingOrder: "pl7.app/vdj/ranking-order";
|
|
228
|
+
readonly Sequence: "pl7.app/vdj/sequence";
|
|
229
|
+
};
|
|
231
230
|
};
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
};
|
|
238
|
-
readonly ClusterId: "pl7.app/vdj/clusterId";
|
|
239
|
-
readonly ClonotypeKey: "pl7.app/vdj/clonotypeKey";
|
|
240
|
-
readonly ScClonotypeKey: "pl7.app/vdj/scClonotypeKey";
|
|
231
|
+
declare const PAxisName: {
|
|
232
|
+
readonly SampleId: "pl7.app/sampleId";
|
|
233
|
+
readonly VDJ: {
|
|
234
|
+
readonly Assay: {
|
|
235
|
+
readonly SequenceId: "pl7.app/vdj/assay/sequenceId";
|
|
241
236
|
};
|
|
237
|
+
readonly ClusterId: "pl7.app/vdj/clusterId";
|
|
238
|
+
readonly ClonotypeKey: "pl7.app/vdj/clonotypeKey";
|
|
239
|
+
readonly ScClonotypeKey: "pl7.app/vdj/scClonotypeKey";
|
|
240
|
+
};
|
|
242
241
|
};
|
|
243
|
-
|
|
242
|
+
declare function isLabelColumn(column: PColumnSpec): boolean;
|
|
244
243
|
/**
|
|
245
244
|
* Full column specification including all axes specs and specs of the column
|
|
246
245
|
* itself.
|
|
@@ -252,24 +251,20 @@ export declare function isLabelColumn(column: PColumnSpec): boolean;
|
|
|
252
251
|
*
|
|
253
252
|
* Each element in tuple correspond to the axis having the same index in axesSpec.
|
|
254
253
|
*/
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
/** A list of zero-based indices of parent axes from the {@link axesSpec} array. */
|
|
270
|
-
readonly parentAxes?: number[];
|
|
271
|
-
/** Axes specifications */
|
|
272
|
-
readonly axesSpec: AxesSpec;
|
|
254
|
+
type PUniversalColumnSpec = PObjectSpec & {
|
|
255
|
+
/** Defines specific type of BObject, the most generic type of unit of
|
|
256
|
+
* information in Platforma Project. */
|
|
257
|
+
readonly kind: "PColumn"; /** Type of column values */
|
|
258
|
+
readonly valueType: string; /** Column name */
|
|
259
|
+
readonly name: string;
|
|
260
|
+
/** Adds auxiliary information to the axis name, type and parents to form a
|
|
261
|
+
* unique identifier */
|
|
262
|
+
readonly domain?: Record<string, string>;
|
|
263
|
+
/** Any additional information attached to the column that does not affect its
|
|
264
|
+
* identifier */
|
|
265
|
+
readonly annotations?: Record<string, string>; /** A list of zero-based indices of parent axes from the {@link axesSpec} array. */
|
|
266
|
+
readonly parentAxes?: number[]; /** Axes specifications */
|
|
267
|
+
readonly axesSpec: AxesSpec;
|
|
273
268
|
};
|
|
274
269
|
/**
|
|
275
270
|
* Specification of a data column.
|
|
@@ -279,70 +274,66 @@ export type PUniversalColumnSpec = PObjectSpec & {
|
|
|
279
274
|
* values like files or other abstract data types. Data columns are optimized for storing and processing
|
|
280
275
|
* basic tabular data.
|
|
281
276
|
*/
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
readonly valueType: ValueType;
|
|
277
|
+
type PDataColumnSpec = PUniversalColumnSpec & {
|
|
278
|
+
/** Type of column values */readonly valueType: ValueType;
|
|
285
279
|
};
|
|
286
|
-
|
|
280
|
+
type PColumnSpec = PDataColumnSpec;
|
|
287
281
|
/** Unique PColumnSpec identifier */
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
/** A list of zero-based indices of parent axes from the {@link axesSpec} array. */
|
|
300
|
-
readonly parentAxes?: number[];
|
|
301
|
-
/** Axes id */
|
|
302
|
-
readonly axesId: AxesId;
|
|
282
|
+
type PColumnSpecId = {
|
|
283
|
+
/** Defines specific type of BObject, the most generic type of unit of
|
|
284
|
+
* information in Platforma Project. */
|
|
285
|
+
readonly kind: "PColumn"; /** Type of column values */
|
|
286
|
+
readonly valueType: ValueType; /** Column name */
|
|
287
|
+
readonly name: string;
|
|
288
|
+
/** Adds auxiliary information to the axis name, type and parents to form a
|
|
289
|
+
* unique identifier */
|
|
290
|
+
readonly domain?: Record<string, string>; /** A list of zero-based indices of parent axes from the {@link axesSpec} array. */
|
|
291
|
+
readonly parentAxes?: number[]; /** Axes id */
|
|
292
|
+
readonly axesId: AxesId;
|
|
303
293
|
};
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
294
|
+
declare function getPColumnSpecId(spec: PColumnSpec): PColumnSpecId;
|
|
295
|
+
interface PColumn<Data> extends PObject<Data> {
|
|
296
|
+
/** PColumn spec, allowing it to be found among other PObjects */
|
|
297
|
+
readonly spec: PColumnSpec;
|
|
308
298
|
}
|
|
309
|
-
|
|
299
|
+
type PColumnLazy<T> = PColumn<() => T>;
|
|
310
300
|
/** Columns in a PFrame also have internal identifier, this object represents
|
|
311
301
|
* combination of specs and such id */
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
302
|
+
interface PColumnIdAndSpec {
|
|
303
|
+
/** Internal column id within the PFrame */
|
|
304
|
+
readonly columnId: PObjectId;
|
|
305
|
+
/** Column spec */
|
|
306
|
+
readonly spec: PColumnSpec;
|
|
317
307
|
}
|
|
318
308
|
/** Get column id and spec from a column */
|
|
319
|
-
|
|
309
|
+
declare function getColumnIdAndSpec<Data>(column: PColumn<Data>): PColumnIdAndSpec;
|
|
320
310
|
/** Information returned by {@link PFrame.listColumns} method */
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
311
|
+
interface PColumnInfo extends PColumnIdAndSpec {
|
|
312
|
+
/** True if data was associated with this PColumn */
|
|
313
|
+
readonly hasData: boolean;
|
|
324
314
|
}
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
315
|
+
interface AxisId {
|
|
316
|
+
/** Type of the axis or column value. For an axis should not use non-key
|
|
317
|
+
* types like float or double. */
|
|
318
|
+
readonly type: ValueType;
|
|
319
|
+
/** Name of the axis or column */
|
|
320
|
+
readonly name: string;
|
|
321
|
+
/** Adds auxiliary information to the axis or column name and type to form a
|
|
322
|
+
* unique identifier */
|
|
323
|
+
readonly domain?: Record<string, string>;
|
|
334
324
|
}
|
|
335
325
|
/** Array of axis ids */
|
|
336
|
-
|
|
326
|
+
type AxesId = AxisId[];
|
|
337
327
|
/** Extracts axis ids from axis spec */
|
|
338
|
-
|
|
328
|
+
declare function getAxisId(spec: AxisSpec): AxisId;
|
|
339
329
|
/** Extracts axes ids from axes spec array from column spec */
|
|
340
|
-
|
|
330
|
+
declare function getAxesId(spec: AxesSpec): AxesId;
|
|
341
331
|
/** Canonicalizes axis id */
|
|
342
|
-
|
|
332
|
+
declare function canonicalizeAxisId(id: AxisId): CanonicalizedJson<AxisId>;
|
|
343
333
|
/** Returns whether "match" axis id is compatible with the "query" */
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
334
|
+
declare function matchAxisId(query: AxisId, target: AxisId): boolean;
|
|
335
|
+
declare function getTypeFromPColumnOrAxisSpec(spec: PColumnSpec | AxisSpec): ValueType;
|
|
336
|
+
declare function isAxisId(id: unknown): id is AxisId;
|
|
337
|
+
//#endregion
|
|
338
|
+
export { Annotation, AnnotationJson, AxesId, AxesSpec, AxisId, AxisSpec, AxisSpecNormalized, AxisTree, AxisValueType, ColumnValueType, Domain, DomainJson, Metadata, MetadataJson, PAxisName, PColumn, PColumnIdAndSpec, PColumnInfo, PColumnLazy, PColumnName, PColumnSpec, PColumnSpecId, PDataColumnSpec, PUniversalColumnSpec, ValueType, canonicalizeAxisId, canonicalizeAxisWithParents, getArrayFromAxisTree, getAxesId, getAxesTree, getAxisId, getColumnIdAndSpec, getDenormalizedAxesList, getNormalizedAxesList, getPColumnSpecId, getSetFromAxisTree, getTypeFromPColumnOrAxisSpec, isAxisId, isLabelColumn, isLinkerColumn, matchAxisId, readAnnotation, readAnnotationJson, readAnnotationJsonOrThrow, readDomain, readDomainJson, readDomainJsonOrThrow, readMetadata, readMetadataJson, readMetadataJsonOrThrow };
|
|
348
339
|
//# sourceMappingURL=spec.d.ts.map
|