gps-global-types 1.0.12 → 1.0.14

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 CHANGED
@@ -2,5 +2,4 @@ export * from './global.types.js'
2
2
  export * from './link.types.js'
3
3
  export * from './mst.types.js'
4
4
  export * from './pie.types.js'
5
- export * from './isolate.types.js'
6
- import * from './cluster.types.js'
5
+ export * from './isolate.types.js'
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 getAClusterBody {
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, MongoField<string>>>,
158
- clusterQuery?:Partial<Record<keyof typeof ClusterFields, MongoField<string>>>, //2. selecting a cluster on /clusters (sending cluster _id)
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 ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gps-global-types",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "types shared between front-end and back-end",
5
5
  "main": "index.js",
6
6
  "scripts": {