gps-global-types 1.0.12 → 1.0.13
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/index.tsx +1 -2
- package/mst.types.tsx +5 -3
- package/package.json +1 -1
package/index.tsx
CHANGED
package/mst.types.tsx
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import type { ClusterFields } from "./cluster.types.js";
|
|
1
2
|
import type { armordAccessionNumber, Color, mrsnId, ObjectId, RegexMatchedString } from "./global.types.js";
|
|
3
|
+
import type { IsolateFields } from "./isolate.types.js";
|
|
2
4
|
import type { EdgeType } from "./link.types.js";
|
|
3
5
|
import type { NodeType } from "./pie.types.js";
|
|
4
6
|
|
|
@@ -151,11 +153,11 @@ export interface SnapshotType {
|
|
|
151
153
|
// exports.unused = {};
|
|
152
154
|
|
|
153
155
|
|
|
154
|
-
interface clusterProps {
|
|
156
|
+
export interface clusterProps {
|
|
155
157
|
//theres 4 ways of calling this function
|
|
156
158
|
//1. through a BAQ involving iso and/or cluster fields
|
|
157
|
-
isolatesQuery?:Partial<Record<keyof typeof IsolateFields,
|
|
158
|
-
clusterQuery?:Partial<Record<keyof typeof ClusterFields,
|
|
159
|
+
isolatesQuery?:Partial<Record<keyof typeof IsolateFields, Object>>,
|
|
160
|
+
clusterQuery?:Partial<Record<keyof typeof ClusterFields, Object>>, //2. selecting a cluster on /clusters (sending cluster _id)
|
|
159
161
|
fuzzy?:number, //3. by recalculating a previous query
|
|
160
162
|
neighbors?:number, // (fuzzy and neighbors are only available on recalc)
|
|
161
163
|
snapshotData?:SnapshotType //4. uploading a snapshot. (should i extrapolate ),
|