gps-global-types 1.0.14 → 1.0.16

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/cluster.types.tsx CHANGED
@@ -1,5 +1,5 @@
1
1
  export const ClusterFields = {
2
- '_id': ObjectId,
2
+ // '_id': ObjectId,
3
3
  'threshold': Number,
4
4
  'scheme': String,
5
5
  'clusterNickName': String,
package/isolate.types.tsx CHANGED
@@ -17,7 +17,7 @@ export const KlebFields = {
17
17
 
18
18
 
19
19
  export const IsolateFields = {
20
- "_id":String,
20
+ "_id":String,
21
21
  "mrsnId": String,
22
22
  "qcCallFinal": String,
23
23
  "rawOrganismId": String,
package/mst.types.tsx CHANGED
@@ -152,12 +152,14 @@ export interface SnapshotType {
152
152
  // module.exports = { MSTGraph, MSTLegend, NodeType,EdgeType,Hex, ColorField,LabelField}
153
153
  // exports.unused = {};
154
154
 
155
+ export type QueryFields = keyof typeof IsolateFields | 'cluster' | `cluster.${keyof typeof ClusterFields}` | keyof typeof ClusterFields
156
+
155
157
 
156
158
  export interface getAClusterBody {
157
159
  //theres 4 ways of calling this function
158
160
  //1. through a BAQ involving iso and/or cluster fields
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)
161
+ query?:Partial<Record< QueryFields, Object>>,
162
+ // clusterQuery?:Partial<Record<keyof typeof ClusterFields, Object>>, //2. selecting a cluster on /clusters (sending cluster _id)
161
163
  fuzzy?:number, //3. by recalculating a previous query
162
164
  neighbors?:number, // (fuzzy and neighbors are only available on recalc)
163
165
  snapshotData?:SnapshotType //4. uploading a snapshot. (should i extrapolate ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gps-global-types",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "description": "types shared between front-end and back-end",
5
5
  "main": "index.js",
6
6
  "scripts": {