@gen3/core 0.11.50 → 0.11.51

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.
@@ -1 +1 @@
1
- {"version":3,"file":"guppySlice.d.ts","sourceRoot":"","sources":["../../../../src/features/guppy/guppySlice.ts"],"names":[],"mappings":"AAAA,OAAe,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACtE,OAAO,EAAE,aAAa,EAAkB,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAEL,SAAS,EAEV,MAAM,YAAY,CAAC;AACpB,OAAO,EAAY,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAa7C,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACrC;AAED,eAAO,MAAM,SAAS,EAAE,OAAO,CAAC,UAAU,EAAE,MAAM,CAOjD,CAAC;AAEF,eAAO,MAAM,YAAY,QAAO,WAAW,CAAC,UAAU,EAAE,KAAK,CAG5D,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;AAQ7D,UAAU,oBAAoB;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,SAAS,CAAC;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,yBAAyB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC9B,aAAa,EAAE,aAAa,CAAC;IAC7B,WAAW,C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;;;;;;;;;;GACnB,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EACV,CAAC"}
@@ -1,4 +1,4 @@
1
- import { Intersection, NumericFromTo, Operation } from '../filters';
1
+ import { FilterSet, Intersection, NumericFromTo, Operation } from '../filters';
2
2
  import { FromToRange } from '../../types';
3
3
  export interface Range<T> {
4
4
  field: string;
@@ -15,11 +15,12 @@ interface NamedFilterRawDataParams {
15
15
  rangeName: string;
16
16
  prefix?: string;
17
17
  }
18
- export declare const buildAliasedNestedCountsQuery: ({ type, field, rangeName, prefix, }: NamedFilterRawDataParams) => string;
19
- export declare const buildRangeFilters: (field: string, ranges: Array<NumericFromTo>, rangeBaseName: string, isNested?: boolean) => Record<string, any>;
20
- export declare const buildRangeQuery: (field: string, ranges: Array<NumericFromTo>, rangeBaseName?: string, index?: string, indexPrefix?: string) => {
18
+ export declare const buildAliasedNestedCountsQuery: ({ type, field, rangeName, }: NamedFilterRawDataParams) => string;
19
+ export declare const removeKey: (key: string | number, { [key]: _, ...rest }: Record<string, Operation>) => Record<string, Operation>;
20
+ export declare const buildRangeFilters: (field: string, ranges: Array<NumericFromTo>, filters: FilterSet, rangeBaseName: string, isNested?: boolean) => Record<string, FilterSet>;
21
+ export declare const buildRangeQuery: (field: string, ranges: Array<NumericFromTo>, filters: FilterSet, rangeBaseName?: string, index?: string, indexPrefix?: string, isNested?: boolean) => {
21
22
  query: string;
22
- variables: Operation;
23
+ filters: Record<string, FilterSet>;
23
24
  };
24
25
  export {};
25
26
  //# sourceMappingURL=range.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../../src/features/guppy/range.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EACZ,aAAa,EACb,SAAS,EACV,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,WAAW,KAAK,CAAC,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,aAAa,CAAC;QAAE,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,CAAA;KAAE,CAAC,CAAC;CACtD;AAED,eAAO,MAAM,iBAAiB,GAAI,CAAC,GAAG,MAAM,EAAE,OAAO,KAAK,CAAC,CAAC,CAAC,KAAG,MAU/D,CAAC;AAEF,eAAO,MAAM,kCAAkC,GAC7C,OAAO,MAAM,EACb,OAAO,aAAa,EACpB,WAAU,OAAc,KACvB,YAqBF,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,OAAO,MAAM,KAAG,MAU3D,CAAC;AAEF,UAAU,wBAAwB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,6BAA6B,GAAI,qCAK3C,wBAAwB,WAK1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,OAAO,MAAM,EACb,QAAQ,KAAK,CAAC,aAAa,CAAC,EAC5B,eAAe,MAAM,EACrB,WAAU,OAAc,wBAezB,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,OAAO,MAAM,EACb,QAAQ,KAAK,CAAC,aAAa,CAAC,EAC5B,gBAAe,MAAgB,EAC/B,QAAO,MAAgB,EACvB,cAAa,MAAW;;eAuBK,SAAS;CAEvC,CAAC"}
1
+ {"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../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,MAAgB,EAC/B,QAAO,MAAgB,EACvB,cAAa,MAAW,EACxB,WAAU,OAAc;;;CA8BzB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { FilterSet } from '../filters';
1
+ import { FilterSet, NumericFromTo } from '../filters';
2
2
  import { Accessibility } from '../../constants';
3
3
  export interface GuppyDownloadDataRequest {
4
4
  filter: FilterSet;
@@ -36,5 +36,15 @@ export type IndexAndField = {
36
36
  indexAlias?: string;
37
37
  field: string;
38
38
  };
39
+ export type RangeQueryRequest = {
40
+ filters: FilterSet;
41
+ accessibility: Accessibility;
42
+ field: string;
43
+ index: string;
44
+ indexPrefix: string;
45
+ isNested?: boolean;
46
+ rangeBaseName?: string;
47
+ ranges: Array<NumericFromTo>;
48
+ };
39
49
  export type SharedFieldMapping = Record<string, Array<IndexAndField>>;
40
50
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/features/guppy/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,SAAS,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AAGD,MAAM,WAAW,uBAAwB,SAAQ,wBAAwB;IACvE,MAAM,EAAE,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,yBAA0B,SAAQ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IACpE,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,MAAM,EAAE,MAAM,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AG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,SAAS,CAAC;IACnB,aAAa,EAAE,aAAa,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC"}
package/dist/esm/index.js CHANGED
@@ -2273,7 +2273,7 @@ const nestedHistogramQueryStrForEachField = (mainField, numericAggAsText)=>`
2273
2273
  }
2274
2274
  }
2275
2275
  }`;
2276
- const rawDataQueryStrForEachField = (field)=>{
2276
+ const rawDataQueryStrForEachField$1 = (field)=>{
2277
2277
  const splitFieldArray = field.split('.');
2278
2278
  const splitField = splitFieldArray.shift();
2279
2279
  if (splitFieldArray.length === 0) {
@@ -2283,10 +2283,361 @@ const rawDataQueryStrForEachField = (field)=>{
2283
2283
  }
2284
2284
  return `
2285
2285
  ${splitField} {
2286
- ${rawDataQueryStrForEachField(splitFieldArray.join('.'))}
2286
+ ${rawDataQueryStrForEachField$1(splitFieldArray.join('.'))}
2287
2287
  }`;
2288
2288
  };
2289
2289
 
2290
+ const convertNumericFromToArrayToFilters = (field, range, isNested = true)=>{
2291
+ const { from, to } = range;
2292
+ return {
2293
+ operator: 'and',
2294
+ operands: [
2295
+ isNested ? buildNestedFilterForOperation(field, {
2296
+ operator: '>=',
2297
+ field,
2298
+ operand: from
2299
+ }) : {
2300
+ operator: '>=',
2301
+ field,
2302
+ operand: from
2303
+ },
2304
+ isNested ? buildNestedFilterForOperation(field, {
2305
+ operator: '<',
2306
+ field,
2307
+ operand: to
2308
+ }) : {
2309
+ operator: '<',
2310
+ field,
2311
+ operand: to
2312
+ }
2313
+ ]
2314
+ };
2315
+ };
2316
+ const rawDataQueryStrForEachField = (field)=>{
2317
+ const splitFieldArray = field.split('.');
2318
+ const splitField = splitFieldArray.shift();
2319
+ let middleQuery = '';
2320
+ if (splitFieldArray.length === 0) {
2321
+ middleQuery = `${splitField} { histogram { count } }`;
2322
+ } else {
2323
+ middleQuery = `${splitField} { ${rawDataQueryStrForEachField(splitFieldArray.join('.'))} }`;
2324
+ }
2325
+ return middleQuery;
2326
+ };
2327
+ const buildAliasedNestedCountsQuery = ({ type, field, rangeName })=>{
2328
+ const dataParams = [
2329
+ `filter: $${rangeName}`
2330
+ ];
2331
+ const dataTypeLine = `${rangeName} : ${type} (accessibility: $accessibility ${dataParams}) {`;
2332
+ const processedFields = rawDataQueryStrForEachField(field);
2333
+ return `${dataTypeLine} ${processedFields} }`;
2334
+ };
2335
+ const buildRangeFilters = (field, ranges, filters, rangeBaseName, isNested = true)=>{
2336
+ return Object.entries(ranges).reduce((acc, [, rangeValue], idx)=>{
2337
+ acc[`${rangeBaseName}_${idx}`] = {
2338
+ mode: filters.mode,
2339
+ root: {
2340
+ ...filters.root,
2341
+ [field]: convertNumericFromToArrayToFilters(field, rangeValue, isNested)
2342
+ }
2343
+ };
2344
+ return acc;
2345
+ }, {});
2346
+ };
2347
+ const buildRangeQuery = (field, ranges, filters, rangeBaseName = 'range', index = 'cases', indexPrefix = '', isNested = true)=>{
2348
+ const rangeFilters = buildRangeFilters(field, ranges, filters, rangeBaseName, isNested);
2349
+ let query = `query rangeQuery ($accessibility: Accessibility, ${Object.keys(rangeFilters).map((rangeKey)=>`$${rangeKey}: JSON`).join(',')} ) { ${indexPrefix}_aggregation {`;
2350
+ Object.keys(rangeFilters).forEach((rangeKey)=>{
2351
+ const rangeQuery = buildAliasedNestedCountsQuery({
2352
+ type: index,
2353
+ field,
2354
+ rangeName: rangeKey
2355
+ });
2356
+ query += rangeQuery + ' \n';
2357
+ });
2358
+ query += `}}`;
2359
+ return {
2360
+ query: query,
2361
+ filters: rangeFilters
2362
+ };
2363
+ };
2364
+
2365
+ const { selectAll: selectAllCohorts, selectTotal: selectTotalCohorts, selectById: selectCohortById, selectIds: selectCohortIds } = cohortsAdapter.getSelectors((state)=>state.cohorts.cohortManager);
2366
+ /**
2367
+ * Internally used selector for the exported selectora
2368
+ * @param state
2369
+ */ const getCurrentCohortFromCoreState = (state)=>{
2370
+ return state.cohorts.cohortManager.currentCohortId;
2371
+ };
2372
+ const selectCohortFilters = (state)=>{
2373
+ const currentCohortId = getCurrentCohortFromCoreState(state);
2374
+ return state.cohorts.cohortManager.entities[currentCohortId]?.filters;
2375
+ };
2376
+ const selectCurrentCohortFilters = (state)=>{
2377
+ const currentCohortId = getCurrentCohortFromCoreState(state);
2378
+ return state.cohorts.cohortManager.entities[currentCohortId]?.filters;
2379
+ };
2380
+ const selectCurrentCohortId = (state)=>{
2381
+ return state.cohorts.cohortManager.currentCohortId;
2382
+ };
2383
+ const selectCurrentCohort = (state)=>cohortSelectors.selectById(state, getCurrentCohortFromCoreState(state));
2384
+ const selectCurrentCohortName = (state)=>cohortSelectors.selectById(state, getCurrentCohortFromCoreState(state)).name;
2385
+ /**
2386
+ * Select a filter by its name from the current cohort. If the filter is not found
2387
+ * returns undefined.
2388
+ * @param state - Core
2389
+ * @param index which cohort index to select from
2390
+ * @param name name of the filter to select
2391
+ */ const selectIndexedFilterByName = (state, index, name)=>{
2392
+ return cohortSelectors.selectById(state, getCurrentCohortFromCoreState(state)).filters[index]?.root[name];
2393
+ };
2394
+ /**
2395
+ * Returns all the cohorts in the state
2396
+ * @param state - the CoreState
2397
+ *
2398
+ * @category Cohort
2399
+ * @category Selectors
2400
+ */ const selectAvailableCohorts = (state)=>cohortSelectors.selectAll(state);
2401
+ /**
2402
+ * Returns if the current cohort is modified
2403
+ * @param state - the CoreState
2404
+ * @category Cohort
2405
+ * @category Selectors
2406
+ * @hidden
2407
+ */ const selectCurrentCohortModified = (state)=>{
2408
+ const cohort = cohortSelectors.selectById(state, getCurrentCohortFromCoreState(state));
2409
+ return cohort?.modified;
2410
+ };
2411
+ /**
2412
+ * Returns if the current cohort has been saved
2413
+ * @param state - the CoreState
2414
+ * @category Cohort
2415
+ * @category Selectors
2416
+ * @hidden
2417
+ */ const selectCurrentCohortSaved = (state)=>{
2418
+ const cohort = cohortSelectors.selectById(state, getCurrentCohortFromCoreState(state));
2419
+ return cohort?.saved;
2420
+ };
2421
+ /**
2422
+ * Select a filter by its name from the current cohort. If the filter is not found
2423
+ * returns undefined.
2424
+ * @param state - Core
2425
+ * @param name name of the filter to select
2426
+ */ const selectAvailableCohortByName = (state, name)=>cohortSelectors.selectAll(state).find((cohort)=>cohort.name === name);
2427
+ /**
2428
+ * Select a filter from the index.
2429
+ * returns undefined.
2430
+ * @param state - Core
2431
+ * @param index which cohort index to select from
2432
+ */ const selectIndexFilters = (state, index)=>{
2433
+ const cohort = cohortSelectors.selectById(state, getCurrentCohortFromCoreState(state));
2434
+ if (!cohort) {
2435
+ console.error('No Cohort Defined');
2436
+ }
2437
+ return cohort?.filters?.[index] ?? EmptyFilterSet;
2438
+ };
2439
+
2440
+ class ToGqlAllNested {
2441
+ constructor(){
2442
+ this.handleEquals = (op)=>{
2443
+ if (op.field.includes('.')) {
2444
+ const leafField = op.field.split('.').at(-1) ?? 'unset';
2445
+ return buildNestedGQLFilter(op.field, {
2446
+ '=': {
2447
+ [leafField]: op.operand
2448
+ }
2449
+ });
2450
+ }
2451
+ return {
2452
+ '=': {
2453
+ [op.field]: op.operand
2454
+ }
2455
+ };
2456
+ };
2457
+ this.handleNotEquals = (op)=>{
2458
+ if (op.field.includes('.')) {
2459
+ const leafField = op.field.split('.').at(-1) ?? 'unset';
2460
+ return buildNestedGQLFilter(op.field, {
2461
+ '!=': {
2462
+ [leafField]: op.operand
2463
+ }
2464
+ });
2465
+ }
2466
+ return {
2467
+ '!=': {
2468
+ [op.field]: op.operand
2469
+ }
2470
+ };
2471
+ };
2472
+ this.handleLessThan = (op)=>{
2473
+ if (op.field.includes('.')) {
2474
+ const leafField = op.field.split('.').at(-1) ?? 'unset';
2475
+ return buildNestedGQLFilter(op.field, {
2476
+ '<': {
2477
+ [leafField]: op.operand
2478
+ }
2479
+ });
2480
+ }
2481
+ return {
2482
+ '<': {
2483
+ [op.field]: op.operand
2484
+ }
2485
+ };
2486
+ };
2487
+ this.handleLessThanOrEquals = (op)=>{
2488
+ if (op.field.includes('.')) {
2489
+ const leafField = op.field.split('.').at(-1) ?? 'unset';
2490
+ return buildNestedGQLFilter(op.field, {
2491
+ '<=': {
2492
+ [leafField]: op.operand
2493
+ }
2494
+ });
2495
+ }
2496
+ return {
2497
+ '<=': {
2498
+ [op.field]: op.operand
2499
+ }
2500
+ };
2501
+ };
2502
+ this.handleGreaterThan = (op)=>{
2503
+ if (op.field.includes('.')) {
2504
+ const leafField = op.field.split('.').at(-1) ?? 'unset';
2505
+ return buildNestedGQLFilter(op.field, {
2506
+ '>': {
2507
+ [leafField]: op.operand
2508
+ }
2509
+ });
2510
+ }
2511
+ return {
2512
+ '>': {
2513
+ [op.field]: op.operand
2514
+ }
2515
+ };
2516
+ };
2517
+ this.handleGreaterThanOrEquals = (op)=>{
2518
+ if (op.field.includes('.')) {
2519
+ const leafField = op.field.split('.').at(-1) ?? 'unset';
2520
+ return buildNestedGQLFilter(op.field, {
2521
+ '>=': {
2522
+ [leafField]: op.operand
2523
+ }
2524
+ });
2525
+ }
2526
+ return {
2527
+ '>=': {
2528
+ [op.field]: op.operand
2529
+ }
2530
+ };
2531
+ };
2532
+ this.handleIncludes = (op)=>{
2533
+ if (op.field.includes('.')) {
2534
+ const leafField = op.field.split('.').at(-1) ?? 'unset';
2535
+ return buildNestedGQLFilter(op.field, {
2536
+ in: {
2537
+ [leafField]: op.operands
2538
+ }
2539
+ });
2540
+ }
2541
+ return {
2542
+ in: {
2543
+ [op.field]: op.operands
2544
+ }
2545
+ };
2546
+ };
2547
+ this.handleExcludes = (op)=>{
2548
+ if (op.field.includes('.')) {
2549
+ const leafField = op.field.split('.').at(-1) ?? 'unset';
2550
+ return buildNestedGQLFilter(op.field, {
2551
+ exclude: {
2552
+ [leafField]: op.operands
2553
+ }
2554
+ });
2555
+ }
2556
+ return {
2557
+ exclude: {
2558
+ [op.field]: op.operands
2559
+ }
2560
+ };
2561
+ };
2562
+ this.handleExcludeIfAny = (op)=>{
2563
+ if (op.field.includes('.')) {
2564
+ const leafField = op.field.split('.').at(-1) ?? 'unset';
2565
+ return buildNestedGQLFilter(op.field, {
2566
+ excludeifany: {
2567
+ [leafField]: op.operands
2568
+ }
2569
+ });
2570
+ }
2571
+ return {
2572
+ excludeifany: {
2573
+ [op.field]: op.operands
2574
+ }
2575
+ };
2576
+ };
2577
+ this.handleIntersection = (op)=>({
2578
+ and: op.operands.map((x)=>convertFilterToGqlFilter(x))
2579
+ });
2580
+ this.handleUnion = (op)=>({
2581
+ or: op.operands.map((x)=>convertFilterToGqlFilter(x))
2582
+ });
2583
+ this.handleMissing = (op)=>{
2584
+ if (op.field.includes('.')) {
2585
+ const leafField = op.field.split('.').at(-1) ?? 'unset';
2586
+ return buildNestedGQLFilter(op.field, {
2587
+ is: {
2588
+ [leafField]: 'MISSING'
2589
+ }
2590
+ });
2591
+ }
2592
+ return {
2593
+ is: {
2594
+ [op.field]: 'MISSING'
2595
+ }
2596
+ };
2597
+ };
2598
+ this.handleExists = (op)=>{
2599
+ if (op.field.includes('.')) {
2600
+ const leafField = op.field.split('.').at(-1) ?? 'unset';
2601
+ return buildNestedGQLFilter(op.field, {
2602
+ not: {
2603
+ [leafField]: op?.operand ?? null
2604
+ }
2605
+ });
2606
+ }
2607
+ return {
2608
+ not: {
2609
+ [op.field]: op?.operand ?? null
2610
+ }
2611
+ };
2612
+ };
2613
+ this.handleNestedFilter = (op)=>{
2614
+ const child = convertFilterToGqlFilter(op.operand);
2615
+ return {
2616
+ nested: {
2617
+ path: op.path,
2618
+ ...child
2619
+ }
2620
+ };
2621
+ };
2622
+ }
2623
+ }
2624
+ const convertFilterToNestedGqlFilter = (filter)=>{
2625
+ const handler = new ToGqlAllNested();
2626
+ return handleOperation(handler, filter);
2627
+ };
2628
+ const convertFilterSetToNestedGqlFilter = (fs, toplevelOp = 'and')=>{
2629
+ const fsKeys = Object.keys(fs.root);
2630
+ // if no keys return undefined
2631
+ if (fsKeys.length === 0) return {
2632
+ and: []
2633
+ };
2634
+ return toplevelOp === 'and' ? {
2635
+ and: fsKeys.map((key)=>convertFilterToNestedGqlFilter(fs.root[key]))
2636
+ } : {
2637
+ or: fsKeys.map((key)=>convertFilterToNestedGqlFilter(fs.root[key]))
2638
+ };
2639
+ };
2640
+
2290
2641
  const statusEndpoint = '/_status';
2291
2642
  const fetchJson = async (url)=>{
2292
2643
  const res = await fetch(url, {
@@ -2379,7 +2730,7 @@ const explorerTags = guppyApi.enhanceEndpoints({
2379
2730
  const dataTypeLine = `${indexPrefix}${type} (accessibility: ${accessibility}, offset: ${offset}, first: ${size},
2380
2731
  ${dataParams}) {`;
2381
2732
  const typeAggsLine = `${type} (${gqlFilter && `filter: $${filterName},`} accessibility: ${accessibility}) {`;
2382
- const processedFields = fields.map((field)=>rawDataQueryStrForEachField(field));
2733
+ const processedFields = fields.map((field)=>rawDataQueryStrForEachField$1(field));
2383
2734
  const query = `${queryLine}
2384
2735
  ${dataTypeLine}
2385
2736
  ${processedFields.join(' ')}
@@ -2610,6 +2961,23 @@ const explorerTags = guppyApi.enhanceEndpoints({
2610
2961
  return {};
2611
2962
  }
2612
2963
  }),
2964
+ customRange: builder.query({
2965
+ query: ({ filters, field, ranges, rangeBaseName, index, indexPrefix, accessibility = Accessibility.ALL, isNested = true })=>{
2966
+ // remove field from FilterSet
2967
+ const queryData = buildRangeQuery(field, ranges, filters, rangeBaseName, index, indexPrefix, isNested);
2968
+ const gqlFilters = Object.entries(queryData.filters).reduce((acc, [key, filter])=>{
2969
+ acc[key] = isNested ? convertFilterSetToNestedGqlFilter(filter) : convertFilterSetToGqlFilter(filter);
2970
+ return acc;
2971
+ }, {});
2972
+ return {
2973
+ query: queryData.query,
2974
+ variables: {
2975
+ accessibility,
2976
+ ...gqlFilters
2977
+ }
2978
+ };
2979
+ }
2980
+ }),
2613
2981
  generalGQL: builder.query({
2614
2982
  query: ({ query, variables })=>{
2615
2983
  return {
@@ -2675,7 +3043,7 @@ const buildGetStatsAggregationQuery = (type, fields, filters, accessibility = Ac
2675
3043
  };
2676
3044
  return queryBody;
2677
3045
  };
2678
- const { useGetRawDataAndTotalCountsQuery, useGetAccessibleDataQuery, useGetAllFieldsForTypeQuery, useGetAggsQuery, useLazyGetAggsQuery, useGetStatsAggregationsQuery, useLazyGetStatsAggregationsQuery, useGetSubAggsQuery, useGetCountsQuery, useLazyGetCountsQuery, useGetFieldCountSummaryQuery, useGetFieldsForIndexQuery, useGetSharedFieldsForIndexQuery, useGeneralGQLQuery, useLazyGeneralGQLQuery } = explorerApi;
3046
+ const { useGetRawDataAndTotalCountsQuery, useGetAccessibleDataQuery, useGetAllFieldsForTypeQuery, useGetAggsQuery, useLazyGetAggsQuery, useGetStatsAggregationsQuery, useLazyGetStatsAggregationsQuery, useGetSubAggsQuery, useGetCountsQuery, useLazyGetCountsQuery, useGetFieldCountSummaryQuery, useGetFieldsForIndexQuery, useGetSharedFieldsForIndexQuery, useGeneralGQLQuery, useLazyGeneralGQLQuery, useCustomRangeQuery, useLazyCustomRangeQuery } = explorerApi;
2679
3047
 
2680
3048
  /**
2681
3049
  * Defines coreListeners for adding middleware.
@@ -3702,81 +4070,6 @@ class CohortStorage {
3702
4070
  }
3703
4071
  }
3704
4072
 
3705
- const { selectAll: selectAllCohorts, selectTotal: selectTotalCohorts, selectById: selectCohortById, selectIds: selectCohortIds } = cohortsAdapter.getSelectors((state)=>state.cohorts.cohortManager);
3706
- /**
3707
- * Internally used selector for the exported selectora
3708
- * @param state
3709
- */ const getCurrentCohortFromCoreState = (state)=>{
3710
- return state.cohorts.cohortManager.currentCohortId;
3711
- };
3712
- const selectCohortFilters = (state)=>{
3713
- const currentCohortId = getCurrentCohortFromCoreState(state);
3714
- return state.cohorts.cohortManager.entities[currentCohortId]?.filters;
3715
- };
3716
- const selectCurrentCohortFilters = (state)=>{
3717
- const currentCohortId = getCurrentCohortFromCoreState(state);
3718
- return state.cohorts.cohortManager.entities[currentCohortId]?.filters;
3719
- };
3720
- const selectCurrentCohortId = (state)=>{
3721
- return state.cohorts.cohortManager.currentCohortId;
3722
- };
3723
- const selectCurrentCohort = (state)=>cohortSelectors.selectById(state, getCurrentCohortFromCoreState(state));
3724
- const selectCurrentCohortName = (state)=>cohortSelectors.selectById(state, getCurrentCohortFromCoreState(state)).name;
3725
- /**
3726
- * Select a filter by its name from the current cohort. If the filter is not found
3727
- * returns undefined.
3728
- * @param state - Core
3729
- * @param index which cohort index to select from
3730
- * @param name name of the filter to select
3731
- */ const selectIndexedFilterByName = (state, index, name)=>{
3732
- return cohortSelectors.selectById(state, getCurrentCohortFromCoreState(state)).filters[index]?.root[name];
3733
- };
3734
- /**
3735
- * Returns all the cohorts in the state
3736
- * @param state - the CoreState
3737
- *
3738
- * @category Cohort
3739
- * @category Selectors
3740
- */ const selectAvailableCohorts = (state)=>cohortSelectors.selectAll(state);
3741
- /**
3742
- * Returns if the current cohort is modified
3743
- * @param state - the CoreState
3744
- * @category Cohort
3745
- * @category Selectors
3746
- * @hidden
3747
- */ const selectCurrentCohortModified = (state)=>{
3748
- const cohort = cohortSelectors.selectById(state, getCurrentCohortFromCoreState(state));
3749
- return cohort?.modified;
3750
- };
3751
- /**
3752
- * Returns if the current cohort has been saved
3753
- * @param state - the CoreState
3754
- * @category Cohort
3755
- * @category Selectors
3756
- * @hidden
3757
- */ const selectCurrentCohortSaved = (state)=>{
3758
- const cohort = cohortSelectors.selectById(state, getCurrentCohortFromCoreState(state));
3759
- return cohort?.saved;
3760
- };
3761
- /**
3762
- * Select a filter by its name from the current cohort. If the filter is not found
3763
- * returns undefined.
3764
- * @param state - Core
3765
- * @param name name of the filter to select
3766
- */ const selectAvailableCohortByName = (state, name)=>cohortSelectors.selectAll(state).find((cohort)=>cohort.name === name);
3767
- /**
3768
- * Select a filter from the index.
3769
- * returns undefined.
3770
- * @param state - Core
3771
- * @param index which cohort index to select from
3772
- */ const selectIndexFilters = (state, index)=>{
3773
- const cohort = cohortSelectors.selectById(state, getCurrentCohortFromCoreState(state));
3774
- if (!cohort) {
3775
- console.error('No Cohort Defined');
3776
- }
3777
- return cohort?.filters?.[index] ?? EmptyFilterSet;
3778
- };
3779
-
3780
4073
  const isFileItem = (item)=>{
3781
4074
  return item && 'guid' in item;
3782
4075
  };
@@ -5937,5 +6230,5 @@ class ConfigRegistry {
5937
6230
  }
5938
6231
  const configRegistry = new ConfigRegistry();
5939
6232
 
5940
- export { Accessibility, CART_LIMIT, CohortStorage, CoreProvider, DAYS_IN_YEAR, DataLibraryStoreMode, EmptyFilterSet, EmptyWorkspaceStatusResponse, EnumValueExtractorHandler, ExtractValueFromObject, FILE_DELIMITERS, FILE_FORMATS, GEN3_API, GEN3_AUTHZ_API, GEN3_COMMONS_NAME, GEN3_CROSSWALK_API, GEN3_DOMAIN, GEN3_DOWNLOADS_ENDPOINT, GEN3_FENCE_API, GEN3_GUPPY_API, GEN3_MANIFEST_API, GEN3_MDS_API, GEN3_REDIRECT_URL, GEN3_SOWER_API, GEN3_SUBMISSION_API, GEN3_WORKSPACE_API, HTTPError, HTTPErrorMessages, HttpMethod, MissingServiceConfigurationError, Modals, PodConditionType, PodStatus, RequestedWorkspaceStatus, ToGqlHandler, ValueExtractorHandler, WorkspaceStatus, addItemsToCart, ageDisplay, appendFilterToOperation, buildGetAggregationQuery, buildGetStatsAggregationQuery, buildListItemsGroupedByDataset, buildNestedFilterForOperation, buildNestedGQLFilter, calculatePercentageAsNumber, calculatePercentageAsString, capitalize, cartReducer, cartReducerPath, clearActiveWorkspaceId, clearCohortFilters, cohortReducer, configRegistry, conversion, convertFilterSetToGqlFilter, convertFilterToGqlFilter, convertGqlFilterToFilter, convertToHistogramDataAsStringKey, convertToQueryString, coreStore, createAppApiForRTKQ, createAppStore, createGen3App, createGen3AppWithOwnStore, createNewCohort, createUseCoreDataHook, customQueryStrForField, defaultCohortNameGenerator, downloadFromGuppyToBlob, downloadJSONDataFromGuppy, drsHostnamesReducer, duplicateCohort, explorerApi, explorerTags, extractEnumFilterValue, extractFieldNameFromFullFieldName, extractFileDatasetsInRecords, extractFilterValue, extractFiltersWithPrefixFromFilterSet, extractIndexAndFieldNameFromFullFieldName, extractIndexFromDataLibraryCohort, extractIndexFromFullFieldName, fetchFence, fetchFencePresignedURL, fetchJSONDataFromURL, fetchJson, fetchUserState, fieldNameToTitle, filterSetToOperation, gen3Api, generateUniqueName, getCurrentTimestamp, getFederatedLoginStatus, getGen3AppId, getNumberOfItemsInDatalist, getRemoteSupportServiceRegistry, getTimestamp, graphQLAPI, graphQLWithTags, groupSharedFields, guppyAPISliceMiddleware, guppyApi, guppyApiReducer, guppyApiSliceReducerPath, guppyDownloadApi, handleGqlOperation, handleOperation, hideModal, histogramQueryStrForEachField, humanify, ifOperationWithField, isAdditionalDataItem, isArray, isAuthenticated, isCohortItem, isDataLibraryAPIResponse, isDatalistAPI, isErrorWithMessage, isFetchBaseQueryError, isFetchError, isFetchParseError, isFileItem, isFilterEmpty, isFilterSet, isGQLIntersection, isGQLUnion, isGuppyAggregationData, isHistogramData, isHistogramDataAArray, isHistogramDataAnEnum, isHistogramDataArray, isHistogramDataArrayARange, isHistogramDataArrayAnEnum, isHistogramDataCollection, isHistogramRangeData, isHttpStatusError, isIncludes, isIndexedFilterSetEmpty, isIntersection, isIntersectionOrUnion, isJSONObject, isJSONValue, isJSONValueArray, isNameUnique, isNestedFilter, isNotDefined, isObject, isOperandsType, isOperationWithField, isOperatorWithFieldAndArrayOfOperands, isPending, isProgramUrl, isRootUrl, isStatsValue, isStatsValuesArray, isString, isTimeGreaterThan, isUnion, isWorkspaceActive, isWorkspaceRunningOrStopping, jsonToFormat, listifyMethodsFromMapping, logoutFence, manifestApi, manifestTags, nestedHistogramQueryStrForEachField, prepareUrl, prependIndexToFieldName, processHistogramResponse, projectCodeFromResourcePath, queryMultipleMDSRecords, rawDataQueryStrForEachField, registerDefaultRemoteSupport, removeCohort, removeCohortFilter, removeItemsFromCart, requestorApi, resetUserState, resourcePathFromProjectID, roundHistogramResponse, selectActiveWorkspaceId, selectActiveWorkspaceStatus, selectAllCohortFiltersCollapsed, selectAllCohorts, selectAuthzMappingData, selectAvailableCohortByName, selectAvailableCohorts, selectCSRFToken, selectCSRFTokenData, selectCart, selectCartCount, selectCartItem, selectCartItems, selectCohortById, selectCohortFilterCombineMode, selectCohortFilterExpanded, selectCohortFilters, selectCohortIds, selectCurrentCohort, selectCurrentCohortFilters, selectCurrentCohortId, selectCurrentCohortModified, selectCurrentCohortName, selectCurrentCohortSaved, selectCurrentMessage, selectCurrentModal, selectGen3AppByName, selectGen3AppMetadataByName, selectHeadersWithCSRFToken, selectIndexFilters, selectIndexedFilterByName, selectPaymodelStatus, selectRequestedWorkspaceStatus, selectRequestedWorkspaceStatusTimestamp, selectSharedFilters, selectSharedFiltersForFields, selectShouldShareFilters, selectTotalCohorts, selectUser, selectUserAuthStatus, selectUserData, selectUserDetails, selectUserLoginStatus, selectWorkspaceStatus, selectWorkspaceStatusFromService, setActiveWorkspace, setActiveWorkspaceId, setActiveWorkspaceStatus, setCohortFilter, setCohortFilterCombineMode, setCohortIndexFilters, setCohortList, setCurrentCohortId, setDRSHostnames, setRequestedWorkspaceStatus, setSharedFilters, setShouldShareFilters, setupCoreStore, showModal, statsQueryStrForEachField, stringifyJSONParam, submissionApi, toggleCohortBuilderAllFilters, toggleCohortBuilderCategoryFilter, trimFirstFieldNameToTitle, updateCohortFilter, updateCohortName, useAddCohortManifestMutation, useAddFileManifestMutation, useAddMetadataManifestMutation, useAddNewCredentialMutation, useAskQuestionMutation, useAuthorizeFromCredentialsMutation, useCoreDispatch, useCoreSelector, useCreateAuthzResourceMutation, useCreateRequestMutation, useDataLibrary, useDownloadFromGuppyQuery, useFetchUserDetailsQuery, useGeneralGQLQuery, useGetAISearchStatusQuery, useGetAISearchVersionQuery, useGetAccessibleDataQuery, useGetActivePayModelQuery, useGetAggMDSQuery, useGetAggsQuery, useGetAllFieldsForTypeQuery, useGetArrayTypes, useGetAuthzMappingsQuery, useGetAuthzResourcesQuery, useGetCSRFQuery, useGetCohortManifestQuery, useGetCountsQuery, useGetCredentialsQuery, useGetCrosswalkDataQuery, useGetDataQuery, useGetDictionaryQuery, useGetDownloadQuery, useGetExternalLoginsQuery, useGetFederatedLoginStatus, useGetFieldCountSummaryQuery, useGetFieldsForIndexQuery, useGetFileFromManifestQuery, useGetFileManifestQuery, useGetIndexAggMDSQuery, useGetIndexFields, useGetJWKKeysQuery, useGetLoginProvidersQuery, useGetMDSQuery, useGetManifestServiceStatusQuery, useGetMetadataByIdQuery, useGetMetadataFromManifestQuery, useGetMetadataManifestQuery, useGetProjectsDetailsQuery, useGetProjectsQuery, useGetRawDataAndTotalCountsQuery, useGetSharedFieldsForIndexQuery, useGetSowerJobListQuery, useGetSowerJobStatusQuery, useGetSowerOutputQuery, useGetSowerServiceStatusQuery, useGetStatsAggregationsQuery, useGetStatus, useGetSubAggsQuery, useGetSubmissionGraphQLQuery, useGetSubmissionsQuery, useGetTagsQuery, useGetWorkspaceOptionsQuery, useGetWorkspacePayModelsQuery, useGetWorkspaceStatusQuery, useGraphQLQuery, useIsExternalConnectedQuery, useIsUserLoggedIn, useLaunchWorkspaceMutation, useLazyDownloadFromGuppyQuery, useLazyFetchUserDetailsQuery, useLazyGeneralGQLQuery, useLazyGetAggsQuery, useLazyGetAuthzMappingsQuery, useLazyGetAuthzResourcesQuery, useLazyGetCSRFQuery, useLazyGetCountsQuery, useLazyGetCrosswalkDataQuery, useLazyGetDownloadQuery, useLazyGetExternalLoginsQuery, useLazyGetManifestServiceStatusQuery, useLazyGetProjectsQuery, useLazyGetSowerJobListQuery, useLazyGetStatsAggregationsQuery, useLazyGetSubmissionGraphQLQuery, useLazyIsExternalConnectedQuery, useLazyRequestQuery, usePrevious, useRemoveCredentialMutation, useRequestByIdQuery, useRequestQuery, useRequestorStatusQuery, useSetCurrentPayModelMutation, useSubmitSowerJobMutation, useTerminateWorkspaceMutation, useUserAuth, useUserRequestQuery, userHasCreateOrUpdateOnAnyProject, userHasDataUpload, userHasMethodForServiceOnProject, userHasMethodForServiceOnResource, userHasMethodOnAnyProject, userHasSheepdogProgramAdmin, userHasSheepdogProjectAdmin };
6233
+ export { Accessibility, CART_LIMIT, CohortStorage, CoreProvider, DAYS_IN_YEAR, DataLibraryStoreMode, EmptyFilterSet, EmptyWorkspaceStatusResponse, EnumValueExtractorHandler, ExtractValueFromObject, FILE_DELIMITERS, FILE_FORMATS, GEN3_API, GEN3_AUTHZ_API, GEN3_COMMONS_NAME, GEN3_CROSSWALK_API, GEN3_DOMAIN, GEN3_DOWNLOADS_ENDPOINT, GEN3_FENCE_API, GEN3_GUPPY_API, GEN3_MANIFEST_API, GEN3_MDS_API, GEN3_REDIRECT_URL, GEN3_SOWER_API, GEN3_SUBMISSION_API, GEN3_WORKSPACE_API, HTTPError, HTTPErrorMessages, HttpMethod, MissingServiceConfigurationError, Modals, PodConditionType, PodStatus, RequestedWorkspaceStatus, ToGqlHandler, ValueExtractorHandler, WorkspaceStatus, addItemsToCart, ageDisplay, appendFilterToOperation, buildGetAggregationQuery, buildGetStatsAggregationQuery, buildListItemsGroupedByDataset, buildNestedFilterForOperation, buildNestedGQLFilter, calculatePercentageAsNumber, calculatePercentageAsString, capitalize, cartReducer, cartReducerPath, clearActiveWorkspaceId, clearCohortFilters, cohortReducer, configRegistry, conversion, convertFilterSetToGqlFilter, convertFilterToGqlFilter, convertGqlFilterToFilter, convertToHistogramDataAsStringKey, convertToQueryString, coreStore, createAppApiForRTKQ, createAppStore, createGen3App, createGen3AppWithOwnStore, createNewCohort, createUseCoreDataHook, customQueryStrForField, defaultCohortNameGenerator, downloadFromGuppyToBlob, downloadJSONDataFromGuppy, drsHostnamesReducer, duplicateCohort, explorerApi, explorerTags, extractEnumFilterValue, extractFieldNameFromFullFieldName, extractFileDatasetsInRecords, extractFilterValue, extractFiltersWithPrefixFromFilterSet, extractIndexAndFieldNameFromFullFieldName, extractIndexFromDataLibraryCohort, extractIndexFromFullFieldName, fetchFence, fetchFencePresignedURL, fetchJSONDataFromURL, fetchJson, fetchUserState, fieldNameToTitle, filterSetToOperation, gen3Api, generateUniqueName, getCurrentTimestamp, getFederatedLoginStatus, getGen3AppId, getNumberOfItemsInDatalist, getRemoteSupportServiceRegistry, getTimestamp, graphQLAPI, graphQLWithTags, groupSharedFields, guppyAPISliceMiddleware, guppyApi, guppyApiReducer, guppyApiSliceReducerPath, guppyDownloadApi, handleGqlOperation, handleOperation, hideModal, histogramQueryStrForEachField, humanify, ifOperationWithField, isAdditionalDataItem, isArray, isAuthenticated, isCohortItem, isDataLibraryAPIResponse, isDatalistAPI, isErrorWithMessage, isFetchBaseQueryError, isFetchError, isFetchParseError, isFileItem, isFilterEmpty, isFilterSet, isGQLIntersection, isGQLUnion, isGuppyAggregationData, isHistogramData, isHistogramDataAArray, isHistogramDataAnEnum, isHistogramDataArray, isHistogramDataArrayARange, isHistogramDataArrayAnEnum, isHistogramDataCollection, isHistogramRangeData, isHttpStatusError, isIncludes, isIndexedFilterSetEmpty, isIntersection, isIntersectionOrUnion, isJSONObject, isJSONValue, isJSONValueArray, isNameUnique, isNestedFilter, isNotDefined, isObject, isOperandsType, isOperationWithField, isOperatorWithFieldAndArrayOfOperands, isPending, isProgramUrl, isRootUrl, isStatsValue, isStatsValuesArray, isString, isTimeGreaterThan, isUnion, isWorkspaceActive, isWorkspaceRunningOrStopping, jsonToFormat, listifyMethodsFromMapping, logoutFence, manifestApi, manifestTags, nestedHistogramQueryStrForEachField, prepareUrl, prependIndexToFieldName, processHistogramResponse, projectCodeFromResourcePath, queryMultipleMDSRecords, rawDataQueryStrForEachField$1 as rawDataQueryStrForEachField, registerDefaultRemoteSupport, removeCohort, removeCohortFilter, removeItemsFromCart, requestorApi, resetUserState, resourcePathFromProjectID, roundHistogramResponse, selectActiveWorkspaceId, selectActiveWorkspaceStatus, selectAllCohortFiltersCollapsed, selectAllCohorts, selectAuthzMappingData, selectAvailableCohortByName, selectAvailableCohorts, selectCSRFToken, selectCSRFTokenData, selectCart, selectCartCount, selectCartItem, selectCartItems, selectCohortById, selectCohortFilterCombineMode, selectCohortFilterExpanded, selectCohortFilters, selectCohortIds, selectCurrentCohort, selectCurrentCohortFilters, selectCurrentCohortId, selectCurrentCohortModified, selectCurrentCohortName, selectCurrentCohortSaved, selectCurrentMessage, selectCurrentModal, selectGen3AppByName, selectGen3AppMetadataByName, selectHeadersWithCSRFToken, selectIndexFilters, selectIndexedFilterByName, selectPaymodelStatus, selectRequestedWorkspaceStatus, selectRequestedWorkspaceStatusTimestamp, selectSharedFilters, selectSharedFiltersForFields, selectShouldShareFilters, selectTotalCohorts, selectUser, selectUserAuthStatus, selectUserData, selectUserDetails, selectUserLoginStatus, selectWorkspaceStatus, selectWorkspaceStatusFromService, setActiveWorkspace, setActiveWorkspaceId, setActiveWorkspaceStatus, setCohortFilter, setCohortFilterCombineMode, setCohortIndexFilters, setCohortList, setCurrentCohortId, setDRSHostnames, setRequestedWorkspaceStatus, setSharedFilters, setShouldShareFilters, setupCoreStore, showModal, statsQueryStrForEachField, stringifyJSONParam, submissionApi, toggleCohortBuilderAllFilters, toggleCohortBuilderCategoryFilter, trimFirstFieldNameToTitle, updateCohortFilter, updateCohortName, useAddCohortManifestMutation, useAddFileManifestMutation, useAddMetadataManifestMutation, useAddNewCredentialMutation, useAskQuestionMutation, useAuthorizeFromCredentialsMutation, useCoreDispatch, useCoreSelector, useCreateAuthzResourceMutation, useCreateRequestMutation, useCustomRangeQuery, useDataLibrary, useDownloadFromGuppyQuery, useFetchUserDetailsQuery, useGeneralGQLQuery, useGetAISearchStatusQuery, useGetAISearchVersionQuery, useGetAccessibleDataQuery, useGetActivePayModelQuery, useGetAggMDSQuery, useGetAggsQuery, useGetAllFieldsForTypeQuery, useGetArrayTypes, useGetAuthzMappingsQuery, useGetAuthzResourcesQuery, useGetCSRFQuery, useGetCohortManifestQuery, useGetCountsQuery, useGetCredentialsQuery, useGetCrosswalkDataQuery, useGetDataQuery, useGetDictionaryQuery, useGetDownloadQuery, useGetExternalLoginsQuery, useGetFederatedLoginStatus, useGetFieldCountSummaryQuery, useGetFieldsForIndexQuery, useGetFileFromManifestQuery, useGetFileManifestQuery, useGetIndexAggMDSQuery, useGetIndexFields, useGetJWKKeysQuery, useGetLoginProvidersQuery, useGetMDSQuery, useGetManifestServiceStatusQuery, useGetMetadataByIdQuery, useGetMetadataFromManifestQuery, useGetMetadataManifestQuery, useGetProjectsDetailsQuery, useGetProjectsQuery, useGetRawDataAndTotalCountsQuery, useGetSharedFieldsForIndexQuery, useGetSowerJobListQuery, useGetSowerJobStatusQuery, useGetSowerOutputQuery, useGetSowerServiceStatusQuery, useGetStatsAggregationsQuery, useGetStatus, useGetSubAggsQuery, useGetSubmissionGraphQLQuery, useGetSubmissionsQuery, useGetTagsQuery, useGetWorkspaceOptionsQuery, useGetWorkspacePayModelsQuery, useGetWorkspaceStatusQuery, useGraphQLQuery, useIsExternalConnectedQuery, useIsUserLoggedIn, useLaunchWorkspaceMutation, useLazyCustomRangeQuery, useLazyDownloadFromGuppyQuery, useLazyFetchUserDetailsQuery, useLazyGeneralGQLQuery, useLazyGetAggsQuery, useLazyGetAuthzMappingsQuery, useLazyGetAuthzResourcesQuery, useLazyGetCSRFQuery, useLazyGetCountsQuery, useLazyGetCrosswalkDataQuery, useLazyGetDownloadQuery, useLazyGetExternalLoginsQuery, useLazyGetManifestServiceStatusQuery, useLazyGetProjectsQuery, useLazyGetSowerJobListQuery, useLazyGetStatsAggregationsQuery, useLazyGetSubmissionGraphQLQuery, useLazyIsExternalConnectedQuery, useLazyRequestQuery, usePrevious, useRemoveCredentialMutation, useRequestByIdQuery, useRequestQuery, useRequestorStatusQuery, useSetCurrentPayModelMutation, useSubmitSowerJobMutation, useTerminateWorkspaceMutation, useUserAuth, useUserRequestQuery, userHasCreateOrUpdateOnAnyProject, userHasDataUpload, userHasMethodForServiceOnProject, userHasMethodForServiceOnResource, userHasMethodOnAnyProject, userHasSheepdogProgramAdmin, userHasSheepdogProjectAdmin };
5941
6234
  //# sourceMappingURL=index.js.map