gps-global-types 1.1.1 → 1.2.73

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.
@@ -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
+ "Expected genes outside locus": StringConstructor;
42
+ expectedGenesOutsideLocus: 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
- tier: NumberConstructor;
135
- allele: StringConstructor;
136
- alleles: ArrayConstructor;
137
- projectCode: ArrayConstructor;
138
- mrsnSuperFamily: StringConstructor;
139
- expectedPhenotype: StringConstructor;
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
+ "Expected genes outside locus": StringConstructor;
188
+ expectedGenesOutsideLocus: 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;
@@ -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
+ "Expected genes outside locus": String,
34
+ "expectedGenesOutsideLocus": 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
- // $addFields with the intent of unpacking objects (amr + projects)
127
- "tier": Number,
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gps-global-types",
3
- "version": "1.1.1",
3
+ "version": "1.2.73",
4
4
  "description": "types shared between front-end and back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",