gps-global-types 1.2.75 → 1.2.82

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.
@@ -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';
@@ -1,11 +1,10 @@
1
- import { ObjectId } from './global.types';
1
+ import { ObjectId, TableViewTypes } from './global.types';
2
2
  import { DataGridHeaderType } from './mst.types';
3
- export type validViews = 'isolate' | 'amr' | 'kleborate';
4
3
  interface TableData {
5
4
  data: RowDataType[];
6
5
  headers: DataGridHeaderType[];
7
6
  }
8
- export type TableMultiView = Partial<Record<validViews, TableData>>;
7
+ export type TableMultiView = Partial<Record<TableViewTypes, TableData>>;
9
8
  export interface TableDataMultiView extends TableMultiView {
10
9
  neighbors?: ObjectId[];
11
10
  }
@@ -38,8 +37,8 @@ export declare const KaptiveFields: {
38
37
  missingExpectedGenes: StringConstructor;
39
38
  otherGenesInLocus: NumberConstructor;
40
39
  otherGenesInLocusDetails: StringConstructor;
41
- "Expected genes outside locus": StringConstructor;
42
40
  expectedGenesOutsideLocus: StringConstructor;
41
+ expectedGenesOutsideLocusDetails: StringConstructor;
43
42
  otherGenesOutsideLocus: NumberConstructor;
44
43
  otherGenesOutsideLocusDetails: StringConstructor;
45
44
  truncatedGenes: StringConstructor;
@@ -184,8 +183,8 @@ export declare const IsolateFields: {
184
183
  missingExpectedGenes: StringConstructor;
185
184
  otherGenesInLocus: NumberConstructor;
186
185
  otherGenesInLocusDetails: StringConstructor;
187
- "Expected genes outside locus": StringConstructor;
188
186
  expectedGenesOutsideLocus: StringConstructor;
187
+ expectedGenesOutsideLocusDetails: StringConstructor;
189
188
  otherGenesOutsideLocus: NumberConstructor;
190
189
  otherGenesOutsideLocusDetails: StringConstructor;
191
190
  truncatedGenes: StringConstructor;
@@ -30,8 +30,8 @@ exports.KaptiveFields = {
30
30
  "missingExpectedGenes": String || NaN,
31
31
  "otherGenesInLocus": Number,
32
32
  "otherGenesInLocusDetails": String || NaN,
33
- "Expected genes outside locus": String,
34
33
  "expectedGenesOutsideLocus": String || NaN,
34
+ "expectedGenesOutsideLocusDetails": String || NaN,
35
35
  "otherGenesOutsideLocus": Number,
36
36
  "otherGenesOutsideLocusDetails": String || NaN,
37
37
  "truncatedGenes": String || NaN,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gps-global-types",
3
- "version": "1.2.75",
3
+ "version": "1.2.82",
4
4
  "description": "types shared between front-end and back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",