gps-global-types 1.1.0 → 1.2.8
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/global.types.d.ts +1 -1
- package/dist/isolate.types.d.ts +63 -6
- package/dist/isolate.types.js +27 -9
- package/dist/mst.types.d.ts +1 -1
- package/dist/mst.types.js +1 -1
- package/package.json +1 -1
package/dist/global.types.d.ts
CHANGED
|
@@ -13,4 +13,4 @@ export type Hex = RegexMatchedString<'#\d{6}'>;
|
|
|
13
13
|
export type Rgb = RegexMatchedString<'rgb\([1-256],[1-256],[1-256]\)'>;
|
|
14
14
|
export type Color = Hex | Rgb | string;
|
|
15
15
|
export type DateType = string | Date;
|
|
16
|
-
export type TableViewTypes = 'isolate' | 'amr' | 'kleborate' | 'cluster';
|
|
16
|
+
export type TableViewTypes = 'isolate' | 'amr' | 'kleborate' | 'cluster' | 'kaptive';
|
package/dist/isolate.types.d.ts
CHANGED
|
@@ -24,6 +24,30 @@ export declare const KlebFields: {
|
|
|
24
24
|
Col_mutations: StringConstructor;
|
|
25
25
|
Flq_mutations: StringConstructor;
|
|
26
26
|
};
|
|
27
|
+
export declare const KaptiveFields: {
|
|
28
|
+
assembly: StringConstructor;
|
|
29
|
+
bestMatchLocus: StringConstructor;
|
|
30
|
+
bestMatchType: StringConstructor;
|
|
31
|
+
matchConfidence: StringConstructor;
|
|
32
|
+
problems: StringConstructor;
|
|
33
|
+
identity: StringConstructor;
|
|
34
|
+
coverage: StringConstructor;
|
|
35
|
+
lengthDiscrepancy: StringConstructor;
|
|
36
|
+
expectedGenesInLocus: StringConstructor;
|
|
37
|
+
expectedGenesInLocusDetails: StringConstructor;
|
|
38
|
+
missingExpectedGenes: StringConstructor;
|
|
39
|
+
otherGenesInLocus: NumberConstructor;
|
|
40
|
+
otherGenesInLocusDetails: StringConstructor;
|
|
41
|
+
expectedGenesOutsideLocus: StringConstructor;
|
|
42
|
+
expectedGenesOutsideLocusDetails: StringConstructor;
|
|
43
|
+
otherGenesOutsideLocus: NumberConstructor;
|
|
44
|
+
otherGenesOutsideLocusDetails: StringConstructor;
|
|
45
|
+
truncatedGenes: StringConstructor;
|
|
46
|
+
extraGenes: StringConstructor;
|
|
47
|
+
kaptiveType: StringConstructor;
|
|
48
|
+
locus: StringConstructor;
|
|
49
|
+
databaseVersion: StringConstructor;
|
|
50
|
+
};
|
|
27
51
|
export declare const IsolateFields: {
|
|
28
52
|
_id: StringConstructor;
|
|
29
53
|
mrsnId: StringConstructor;
|
|
@@ -131,12 +155,45 @@ export declare const IsolateFields: {
|
|
|
131
155
|
isRepresentative: BooleanConstructor;
|
|
132
156
|
username: StringConstructor;
|
|
133
157
|
uploadDate: DateConstructor;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
158
|
+
kleborate: {
|
|
159
|
+
Yersiniabactin: StringConstructor;
|
|
160
|
+
Colibactin: StringConstructor;
|
|
161
|
+
Aerobactin: StringConstructor;
|
|
162
|
+
Salmochelin: StringConstructor;
|
|
163
|
+
RmpADC: StringConstructor;
|
|
164
|
+
rmpA2: StringConstructor;
|
|
165
|
+
K_locus: StringConstructor;
|
|
166
|
+
O_locus: StringConstructor;
|
|
167
|
+
O_type: StringConstructor;
|
|
168
|
+
SHV_mutations: StringConstructor;
|
|
169
|
+
Omp_mutations: StringConstructor;
|
|
170
|
+
Col_mutations: StringConstructor;
|
|
171
|
+
Flq_mutations: StringConstructor;
|
|
172
|
+
};
|
|
173
|
+
kaptive: {
|
|
174
|
+
assembly: StringConstructor;
|
|
175
|
+
bestMatchLocus: StringConstructor;
|
|
176
|
+
bestMatchType: StringConstructor;
|
|
177
|
+
matchConfidence: StringConstructor;
|
|
178
|
+
problems: StringConstructor;
|
|
179
|
+
identity: StringConstructor;
|
|
180
|
+
coverage: StringConstructor;
|
|
181
|
+
lengthDiscrepancy: StringConstructor;
|
|
182
|
+
expectedGenesInLocus: StringConstructor;
|
|
183
|
+
expectedGenesInLocusDetails: StringConstructor;
|
|
184
|
+
missingExpectedGenes: StringConstructor;
|
|
185
|
+
otherGenesInLocus: NumberConstructor;
|
|
186
|
+
otherGenesInLocusDetails: StringConstructor;
|
|
187
|
+
expectedGenesOutsideLocus: StringConstructor;
|
|
188
|
+
expectedGenesOutsideLocusDetails: StringConstructor;
|
|
189
|
+
otherGenesOutsideLocus: NumberConstructor;
|
|
190
|
+
otherGenesOutsideLocusDetails: StringConstructor;
|
|
191
|
+
truncatedGenes: StringConstructor;
|
|
192
|
+
extraGenes: StringConstructor;
|
|
193
|
+
kaptiveType: StringConstructor;
|
|
194
|
+
locus: StringConstructor;
|
|
195
|
+
databaseVersion: StringConstructor;
|
|
196
|
+
};
|
|
140
197
|
};
|
|
141
198
|
export interface RowDataType extends Record<string, any> {
|
|
142
199
|
_id: ObjectId;
|
package/dist/isolate.types.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IsolateFields = exports.KlebFields = void 0;
|
|
3
|
+
exports.IsolateFields = exports.KaptiveFields = exports.KlebFields = void 0;
|
|
4
4
|
exports.KlebFields = {
|
|
5
5
|
'Yersiniabactin': String,
|
|
6
6
|
'Colibactin': String,
|
|
@@ -16,6 +16,30 @@ exports.KlebFields = {
|
|
|
16
16
|
"Col_mutations": String,
|
|
17
17
|
"Flq_mutations": String,
|
|
18
18
|
};
|
|
19
|
+
exports.KaptiveFields = {
|
|
20
|
+
"assembly": String,
|
|
21
|
+
"bestMatchLocus": String,
|
|
22
|
+
"bestMatchType": String,
|
|
23
|
+
"matchConfidence": String,
|
|
24
|
+
"problems": String || NaN,
|
|
25
|
+
"identity": String,
|
|
26
|
+
"coverage": String,
|
|
27
|
+
"lengthDiscrepancy": String,
|
|
28
|
+
"expectedGenesInLocus": String,
|
|
29
|
+
"expectedGenesInLocusDetails": String,
|
|
30
|
+
"missingExpectedGenes": String || NaN,
|
|
31
|
+
"otherGenesInLocus": Number,
|
|
32
|
+
"otherGenesInLocusDetails": String || NaN,
|
|
33
|
+
"expectedGenesOutsideLocus": String || NaN,
|
|
34
|
+
"expectedGenesOutsideLocusDetails": String || NaN,
|
|
35
|
+
"otherGenesOutsideLocus": Number,
|
|
36
|
+
"otherGenesOutsideLocusDetails": String || NaN,
|
|
37
|
+
"truncatedGenes": String || NaN,
|
|
38
|
+
"extraGenes": String || NaN,
|
|
39
|
+
"kaptiveType": String,
|
|
40
|
+
"locus": String,
|
|
41
|
+
"databaseVersion": String,
|
|
42
|
+
};
|
|
19
43
|
exports.IsolateFields = {
|
|
20
44
|
"_id": String,
|
|
21
45
|
"mrsnId": String,
|
|
@@ -123,12 +147,6 @@ exports.IsolateFields = {
|
|
|
123
147
|
"isRepresentative": Boolean,
|
|
124
148
|
"username": String,
|
|
125
149
|
"uploadDate": Date,
|
|
126
|
-
|
|
127
|
-
"
|
|
128
|
-
"allele": String,
|
|
129
|
-
"alleles": Array,
|
|
130
|
-
"projectCode": Array,
|
|
131
|
-
"mrsnSuperFamily": String,
|
|
132
|
-
"expectedPhenotype": String,
|
|
133
|
-
// "kleborate": [KlebSchema]
|
|
150
|
+
"kleborate": exports.KlebFields,
|
|
151
|
+
"kaptive": exports.KaptiveFields
|
|
134
152
|
};
|
package/dist/mst.types.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export interface ModelSnapshotProps {
|
|
|
7
7
|
legend: SnapshotType['legend'];
|
|
8
8
|
nodes: SnapshotType['nodes'];
|
|
9
9
|
}
|
|
10
|
-
export declare const colorFields: readonly ["armordPatientId", "mlst", "sampleType", "armordFacility", "country", "beforeAndAfter", "custom color"];
|
|
10
|
+
export declare const colorFields: readonly ["armordPatientId", "mlst", "sampleType", "projectCode", "armordFacility", "country", "beforeAndAfter", "custom color"];
|
|
11
11
|
export declare const dateFields: readonly ["armordCultureDate", "month", "quarter", "year"];
|
|
12
12
|
export declare const labelFields: readonly ["armordMrsnIdLBL", "mrsnIdLBL", "armordAccessionNumberLBL", "armordPatientIdLBL", "custom label"];
|
|
13
13
|
export type colorKey = typeof colorFields[number];
|
package/dist/mst.types.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ValidSchemesArr = exports.labelFields = exports.dateFields = exports.colorFields = void 0;
|
|
4
|
-
exports.colorFields = ['armordPatientId', 'mlst', 'sampleType', 'armordFacility', 'country', 'beforeAndAfter', 'custom color']; //no :string[] ! removes 'const'
|
|
4
|
+
exports.colorFields = ['armordPatientId', 'mlst', 'sampleType', "projectCode", 'armordFacility', 'country', 'beforeAndAfter', 'custom color']; //no :string[] ! removes 'const'
|
|
5
5
|
exports.dateFields = ['armordCultureDate', 'month', 'quarter', 'year'];
|
|
6
6
|
exports.labelFields = ['armordMrsnIdLBL', 'mrsnIdLBL', 'armordAccessionNumberLBL', 'armordPatientIdLBL', 'custom label'];
|
|
7
7
|
exports.ValidSchemesArr = [
|