gps-global-types 1.0.39 → 1.0.41
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 -0
- package/dist/mst.types.d.ts +3 -1
- package/dist/pie.types.d.ts +1 -3
- package/package.json +1 -1
package/dist/global.types.d.ts
CHANGED
package/dist/mst.types.d.ts
CHANGED
|
@@ -22,7 +22,8 @@ export declare const labelFields: readonly ["armordMrsnIdLBL", "mrsnIdLBL", "arm
|
|
|
22
22
|
export type colorKey = typeof colorFields[number];
|
|
23
23
|
export type dateKey = typeof dateFields[number];
|
|
24
24
|
export type labelKey = typeof labelFields[number];
|
|
25
|
-
type
|
|
25
|
+
export type ValidCGMLSTSchemes = 'abaumanii_2' | 'cauris' | 'cdifficile' | 'cfreundii' | 'ecloacae' | 'ecoli_achtman_4' | 'efaecalis' | 'efaecium' | 'kaerogenes' | 'klebsiella' | 'paeruginosa' | 'saureus' | 'smarcescens' | 'spneumoniae' | 'spyogenes';
|
|
26
|
+
type CustomDictEntry = Partial<Partial<Record<colorKey | dateKey, Color>> & Partial<Record<labelKey, string>>>;
|
|
26
27
|
export type CustomDict = Record<ObjectId, CustomDictEntry>;
|
|
27
28
|
export interface LatestNodes {
|
|
28
29
|
armordCultureDate: Date | string;
|
|
@@ -31,6 +32,7 @@ export interface LatestNodes {
|
|
|
31
32
|
}
|
|
32
33
|
export interface MSTGraph {
|
|
33
34
|
name?: string;
|
|
35
|
+
scheme: ValidCGMLSTSchemes;
|
|
34
36
|
colorCalendar: Partial<Record<dateKey, Record<string, Color>>>;
|
|
35
37
|
snapshotData?: SnapshotType;
|
|
36
38
|
nodes: any;
|
package/dist/pie.types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseType, Selection, SimulationNodeDatum } from "d3";
|
|
2
|
-
import { ObjectId, Color, RegexMatchedString, mrsnId } from "./global.types";
|
|
2
|
+
import { ObjectId, Color, RegexMatchedString, mrsnId, DateType } from "./global.types";
|
|
3
3
|
import { colorKey, dateKey, labelKey } from "./mst.types";
|
|
4
4
|
export interface ColorField {
|
|
5
5
|
color: string;
|
|
@@ -13,7 +13,6 @@ export interface ColorType {
|
|
|
13
13
|
latest?: 'latest';
|
|
14
14
|
}
|
|
15
15
|
export type LabelType = RegexMatchedString<'(\w&)*'>;
|
|
16
|
-
type DateType = string | Date;
|
|
17
16
|
export interface ExtraNodeTypeFields extends SimulationNodeDatum {
|
|
18
17
|
id: ObjectId;
|
|
19
18
|
dateArr: DateType[];
|
|
@@ -62,4 +61,3 @@ export type PreNodeInterface = ExtraNodeTypeFields & {
|
|
|
62
61
|
} & {
|
|
63
62
|
tier1: Set<string>;
|
|
64
63
|
};
|
|
65
|
-
export {};
|