gps-global-types 1.0.15 → 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/mst.types.tsx +4 -2
- package/package.json +1 -1
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
|
-
|
|
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 ),
|