@gen3/core 0.12.51 → 0.12.53

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,4 +1,5 @@
1
1
  import { FetchBaseQueryError } from '@reduxjs/toolkit/query';
2
+ import { SerializedError } from '@reduxjs/toolkit';
2
3
  export type JSONValue = string | number | boolean | null | JSONArray | JSONObject;
3
4
  export interface JSONObject {
4
5
  [key: string]: JSONValue;
@@ -73,6 +74,10 @@ export declare function isHttpStatusError(error: unknown): error is HttpError;
73
74
  * Type predicate to narrow an unknown error to an object with a string 'message' property
74
75
  */
75
76
  export declare function isFetchParseError(error: unknown): error is ParsingError;
77
+ /**
78
+ * Type predicate to narrow an unknown error to a `SerializedError`
79
+ */
80
+ export declare function isSerializedError(error: unknown): error is SerializedError;
76
81
  export type AggregationsData = Record<string, HistogramDataArray>;
77
82
  export type StatsData = Record<string, StatValues>;
78
83
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,MAAM,GACN,OAAO,GACP,IAAI,GACJ,SAAS,GACT,UAAU,CAAC;AAEf,MAAM,WAAW,UAAU;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B;AAED,MAAM,MAAM,SAAS,GAAG,SAAS,EAAE,CAAC;AAGpC,eAAO,MAAM,oBAAoB,GAAI,KAAK,GAAG,KAAG,GAAG,IAAI,CAAC,MAAM,EAAE,MAAM,CAMrE,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,MAAM,GAAG,KAAG,IAAI,IAAI,UAEhD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,MAAM,OAAO,KAAG,IAAI,IAAI,SAQnD,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,MAAM,S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C,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;IACnC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,MAAM,kBAAkB,CAAC,CAAC,CAAC,CAAC;AAE9D,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,2 @@
1
+ export declare const HTTPUserFriendlyErrorMessages: Record<number, string>;
2
+ //# sourceMappingURL=httpUserFriendlyErrorMessages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"httpUserFriendlyErrorMessages.d.ts","sourceRoot":"","sources":["../../../src/utils/httpUserFriendlyErrorMessages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA4ChE,CAAC"}
@@ -3,8 +3,9 @@ import { prepareUrl } from './url';
3
3
  import { fetchFencePresignedURL, fetchJSONDataFromURL, HTTPError, HTTPErrorMessages, HttpMethod } from './fetch';
4
4
  import { formatUptimeInMinutes, getCurrentTimestamp, isTimeGreaterThan } from './time';
5
5
  import { ExtractValueFromObject } from './extractvalues';
6
+ import { type NormalizedError, type NormalizedErrorType, normalizeRtkError } from './normalizeRtkError';
6
7
  export * from './conversions';
7
- export { normalizeRtkError, type NormalizedErrorType, type NormalizedError, } from './normalizeRtkError';
8
- export { isObject, isString, isNotDefined, isArray, prepareUrl, fetchFencePresignedURL, fetchJSONDataFromURL, HTTPError, HttpMethod, HTTPErrorMessages, getCurrentTimestamp, isTimeGreaterThan, formatUptimeInMinutes, ExtractValueFromObject, };
8
+ export * from './httpUserFriendlyErrorMessages';
9
+ export { isObject, isString, isNotDefined, isArray, prepareUrl, fetchFencePresignedURL, fetchJSONDataFromURL, HTTPError, HttpMethod, HTTPErrorMessages, getCurrentTimestamp, isTimeGreaterThan, formatUptimeInMinutes, ExtractValueFromObject, normalizeRtkError, type NormalizedErrorType, type NormalizedError, };
9
10
  export { getTimestamp } from './time';
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,UAAU,EACX,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,cAAc,eAAe,CAAC;AAE9B,OAAO,EACL,iBAAiB,EACjB,KAAK,mBAAmB,EACxB,KAAK,eAAe,GACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,OAAO,EACP,UAAU,EACV,sBAAsB,EACtB,oBAAoB,EACpB,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,GACvB,CAAC;AACF,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,UAAU,EACX,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAE7B,cAAc,eAAe,CAAC;AAE9B,cAAc,iCAAiC,CAAC;AAEhD,OAAO,EACL,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,OAAO,EACP,UAAU,EACV,sBAAsB,EACtB,oBAAoB,EACpB,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,EACtB,iBAAiB,EACjB,KAAK,mBAAmB,EACxB,KAAK,eAAe,GACrB,CAAC;AACF,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"normalizeRtkError.d.ts","sourceRoot":"","sources":["../../../src/utils/normalizeRtkError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGxD,MAAM,MAAM,mBAAmB,GAC3B,YAAY,GACZ,aAAa,GACb,eAAe,GACf,eAAe,GACf,cAAc,GACd,kBAAkB,GAClB,eAAe,CAAC;AAEpB,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qDAAqD;IACrD,OAAO,EAAE,MAAM,CAAC;IAChB,gDAAgD;IAChD,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAgBD,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,mBAAmB,GAAG,eAAe,GAAG,SAAS,GACvD,eAAe,CA4CjB"}
1
+ {"version":3,"file":"normalizeRtkError.d.ts","sourceRoot":"","sources":["../../../src/utils/normalizeRtkError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AA+BxD,MAAM,MAAM,mBAAmB,GAC3B,YAAY,GACZ,aAAa,GACb,eAAe,GACf,eAAe,GACf,cAAc,GACd,kBAAkB,GAClB,eAAe,CAAC;AAEpB,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qDAAqD;IACrD,OAAO,EAAE,MAAM,CAAC;IAChB,gDAAgD;IAChD,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAgBD,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,mBAAmB,GAAG,eAAe,GAAG,SAAS,GACvD,eAAe,CA0DjB"}
package/dist/esm/index.js CHANGED
@@ -977,96 +977,6 @@ const ExtractValueFromObject = (obj, key, valueIfNotFound)=>{
977
977
  return obj?.[key] ?? valueIfNotFound;
978
978
  };
979
979
 
980
- const DAYS_IN_YEAR = 365.25;
981
- /**
982
- * Converts HistogramData to HistogramDataAsStringKey by ensuring the key is a string.
983
- * If the key is already a string, it's used as is.
984
- * If the key is a number tuple [min, max], it's converted to a string in the format "min-max".
985
- *
986
- * @param data The HistogramData object to convert
987
- * @returns HistogramDataAsStringKey with the converted key
988
- */ const convertToHistogramDataAsStringKey = (data)=>{
989
- return {
990
- key: typeof data.key === 'string' ? data.key : `${data.key[0]}-${data.key[1]}`,
991
- count: data.count
992
- };
993
- };
994
- const calculatePercentageAsNumber = (count, total)=>count ? count / total * 100 : 0;
995
- const calculatePercentageAsString = (count, total)=>`${(count / total * 100).toFixed(2)}%`;
996
- const capitalize$1 = (original)=>{
997
- const customCapitalizations = {
998
- id: 'ID',
999
- uuid: 'UUID',
1000
- dna: 'DNA',
1001
- dbsnp: 'dbSNP',
1002
- cosmic: 'COSMIC',
1003
- civic: 'CIViC',
1004
- dbgap: 'dbGaP',
1005
- ecog: 'ECOG',
1006
- bmi: 'BMI',
1007
- gdc: 'GDC',
1008
- cnv: 'CNV',
1009
- ssm: 'SSM',
1010
- aa: 'AA'
1011
- };
1012
- return original.split(' ').map((word)=>customCapitalizations[word.toLowerCase()] || `${word.charAt(0).toUpperCase()}${word.slice(1)}`).join(' ');
1013
- };
1014
- const humanify = ({ term = '', capitalize: cap = true, facetTerm = false })=>{
1015
- let original;
1016
- let humanified;
1017
- if (facetTerm) {
1018
- // Splits on capital letters followed by lowercase letters to find
1019
- // words squished together in a string.
1020
- original = term?.split(/(?=[A-Z][a-z])/).join(' ');
1021
- humanified = term?.replace(/\./g, ' ').replace(/_/g, ' ').trim();
1022
- } else {
1023
- const split = (original || term)?.split('.');
1024
- humanified = split[split.length - 1]?.replace(/_/g, ' ').trim();
1025
- // Special case 'name' to include any parent nested for sake of
1026
- // specificity in the UI
1027
- if (humanified === 'name' && split?.length > 1) {
1028
- humanified = `${split[split?.length - 2]} ${humanified}`;
1029
- }
1030
- }
1031
- return cap ? capitalize$1(humanified) : humanified;
1032
- };
1033
- /*https://github.com/NCI-GDC/portal-ui/blob/develop/src/packages/%40ncigdc/utils/ageDisplay.js*/ /**
1034
- * Converts age in days into a human-readable format.
1035
- *
1036
- * @param ageInDays - The age in days.
1037
- * @param yearsOnly - If true, only display years.
1038
- * @defaultValue false
1039
- * @param defaultValue - The default value to return if ageInDays is falsy.
1040
- * @defaultValue "--"
1041
- * @returns The formatted age string.
1042
- */ const ageDisplay = (ageInDays, yearsOnly = false, defaultValue = '--')=>{
1043
- if (ageInDays !== 0 && !ageInDays) {
1044
- return defaultValue;
1045
- }
1046
- const calculateYearsAndDays = (years, days)=>days === 365 ? [
1047
- years + 1,
1048
- 0
1049
- ] : [
1050
- years,
1051
- days
1052
- ];
1053
- const ABS_AGE_DAYS = Math.abs(ageInDays);
1054
- const [years, remainingDays] = calculateYearsAndDays(Math.floor(ABS_AGE_DAYS / DAYS_IN_YEAR), Math.ceil(ABS_AGE_DAYS % DAYS_IN_YEAR));
1055
- const formattedYears = years === 0 ? '' : `${years} ${years === 1 ? 'year' : 'years'}`;
1056
- const formattedDays = !yearsOnly && remainingDays > 0 ? `${remainingDays} ${remainingDays === 1 ? 'day' : 'days'}` : years === 0 && remainingDays === 0 ? '0 days' : '';
1057
- const ageString = [
1058
- formattedYears,
1059
- formattedDays
1060
- ].filter(Boolean).join(' ');
1061
- return ageInDays >= 0 ? ageString : `-${ageString}`;
1062
- };
1063
- /**
1064
- * Given an object of JSON, stringify it into a string.
1065
- * @param obj - the object to stringify
1066
- * @param defaults - the default value to return if the object is undefined
1067
- * @category Utility
1068
- */ const stringifyJSONParam = (obj, defaults = '{}')=>obj ? JSON.stringify(obj) : defaults;
1069
-
1070
980
  // type guard functions
1071
981
  const isHistogramRangeData = (key)=>{
1072
982
  return Array.isArray(key) && key.length === 2 && key.every((item)=>typeof item === 'number');
@@ -1163,7 +1073,75 @@ function isHttpStatusError(error) {
1163
1073
  */ function isFetchParseError(error) {
1164
1074
  return typeof error === 'object' && error != null && 'originalStatus' in error && 'status' in error && error['status'] === 'PARSING_ERROR';
1165
1075
  }
1076
+ /**
1077
+ * Type predicate to narrow an unknown error to a `SerializedError`
1078
+ */ function isSerializedError(error) {
1079
+ return typeof error === 'object' && error != null && !('status' in error) && ('message' in error || 'name' in error || 'code' in error || 'stack' in error);
1080
+ }
1081
+
1082
+ const HTTPUserFriendlyErrorMessages = {
1083
+ // 4xx Client Errors
1084
+ 400: 'Sorry, there was a problem with your request. Please check the information you provided and try again.',
1085
+ 401: 'Please sign in to access this content. If you need to create an account, please contact support.',
1086
+ 402: 'This feature requires payment to continue. Please update your subscription.',
1087
+ 403: "You don't have permission to access this. If you think this is a mistake, please contact support.",
1088
+ 404: "We couldn't find what you're looking for. The link might be broken or the content may have been moved.",
1089
+ 405: 'This action is not supported. Please try a different approach.',
1090
+ 406: "Your browser sent a request that this server couldn't understand. Try updating your browser.",
1091
+ 407: 'Please authenticate with the network proxy first.',
1092
+ 408: 'The request took too long to complete. Please check your internet connection and try again.',
1093
+ 409: 'There was a conflict with your request. Someone might have modified the same content.',
1094
+ 410: 'This content has been permanently removed and is no longer available.',
1095
+ 411: 'There was a technical problem with your request. Please try again.',
1096
+ 412: "Some conditions for this request weren't met. Please try again.",
1097
+ 413: "The file you're trying to upload is too large. Please choose a smaller file.",
1098
+ 414: 'The web address is too long. Please try a shorter URL.',
1099
+ 415: 'This type of file is not supported. Please try a different format.',
1100
+ 416: 'The requested content range is not available.',
1101
+ 417: "Your request couldn't be completed as expected. Please try again.",
1102
+ 418: 'Unusual error occurred. Please try again or contact support if the problem persists.',
1103
+ 421: 'Your request was sent to the wrong server. Please try again.',
1104
+ 422: "We couldn't process your request. Please check the information and try again.",
1105
+ 423: 'This resource is temporarily locked. Please try again in a few moments.',
1106
+ 424: 'The request failed because it depends on another request that failed.',
1107
+ 425: 'Your request was processed too early. Please try again in a moment.',
1108
+ 426: 'You need to upgrade your browser or app to continue.',
1109
+ 428: "Some required conditions weren't met. Please check all requirements and try again.",
1110
+ 429: "You've made too many requests. Please wait a while before trying again.",
1111
+ 431: 'Request failed because the headers are too large. Please simplify your request.',
1112
+ 451: 'This content is not available for legal reasons.',
1113
+ // 5xx Server Errors
1114
+ 500: 'Something went wrong with the service. Please try again later.',
1115
+ 501: "This feature isn't available yet. Check back later.",
1116
+ 502: "We're having trouble connecting to our servers. Please try again in a few minutes.",
1117
+ 503: "Our service is temporarily unavailable. We're working to restore it as quickly as possible.",
1118
+ 504: 'The server took too long to respond. Please try again later.',
1119
+ 505: "Your browser's HTTP version isn't supported. Please try updating your browser.",
1120
+ 506: 'We encountered a configuration error.',
1121
+ 507: "We're out of storage space.",
1122
+ 508: 'We detected an infinite loop in our servers.',
1123
+ 510: 'This server requires additional extensions to process your request.',
1124
+ 511: 'Please sign in to the network before continuing.'
1125
+ };
1166
1126
 
1127
+ const MAX_ERROR_LENGTH = 256;
1128
+ const DEFAULT_API_ERROR_MESSAGE = 'API Query Error';
1129
+ /**
1130
+ * Checks if a string appears to be an HTML page
1131
+ */ function isHtmlContent(str) {
1132
+ const trimmed = str.trim().toLowerCase();
1133
+ return trimmed.startsWith('<!doctype html') || trimmed.startsWith('<html') || /<html[\s>]/i.test(str);
1134
+ }
1135
+ /**
1136
+ * Sanitizes an error message - returns DEFAULT_API_ERROR_MESSAGE if
1137
+ * the message is too long or contains HTML content
1138
+ */ function sanitizeErrorMessage(message) {
1139
+ if (!message) return DEFAULT_API_ERROR_MESSAGE;
1140
+ if (message.length > MAX_ERROR_LENGTH || isHtmlContent(message)) {
1141
+ return DEFAULT_API_ERROR_MESSAGE;
1142
+ }
1143
+ return message;
1144
+ }
1167
1145
  /** Best-effort message extraction from an HTTP error body */ function extractMessage(data) {
1168
1146
  if (typeof data === 'string') return data;
1169
1147
  if (typeof data === 'object' && data != null) {
@@ -1190,10 +1168,11 @@ function normalizeRtkError(error) {
1190
1168
  if (isFetchBaseQueryError(error)) {
1191
1169
  // status is number for HTTP errors, string literal for the others
1192
1170
  if (typeof error.status === 'number') {
1171
+ const extractedMessage = extractMessage(error.data);
1193
1172
  return {
1194
1173
  type: 'HTTP_ERROR',
1195
1174
  status: error.status,
1196
- message: extractMessage(error.data) ?? `Request failed with status ${error.status}`,
1175
+ message: sanitizeErrorMessage(extractedMessage) !== DEFAULT_API_ERROR_MESSAGE ? sanitizeErrorMessage(extractedMessage) : HTTPUserFriendlyErrorMessages[error.status] ?? `Request failed with status ${error.status}`,
1197
1176
  data: error.data
1198
1177
  };
1199
1178
  }
@@ -1207,18 +1186,18 @@ function normalizeRtkError(error) {
1207
1186
  return {
1208
1187
  type: 'PARSING_ERROR',
1209
1188
  status: error.originalStatus,
1210
- message: error.error,
1189
+ message: HTTPUserFriendlyErrorMessages[error.originalStatus] ?? `Request failed with status ${error.originalStatus}`,
1211
1190
  data: error.data
1212
1191
  };
1213
1192
  case 'TIMEOUT_ERROR':
1214
1193
  return {
1215
1194
  type: 'TIMEOUT_ERROR',
1216
- message: error.error
1195
+ message: sanitizeErrorMessage(error.error)
1217
1196
  };
1218
1197
  case 'CUSTOM_ERROR':
1219
1198
  return {
1220
1199
  type: 'CUSTOM_ERROR',
1221
- message: error.error,
1200
+ message: sanitizeErrorMessage(error.error),
1222
1201
  data: error.data
1223
1202
  };
1224
1203
  }
@@ -1227,7 +1206,7 @@ function normalizeRtkError(error) {
1227
1206
  if ('message' in error || 'name' in error) {
1228
1207
  return {
1229
1208
  type: 'SERIALIZED_ERROR',
1230
- message: error.message ?? 'An error occurred'
1209
+ message: sanitizeErrorMessage(error.message) || 'An error occurred'
1231
1210
  };
1232
1211
  }
1233
1212
  return {
@@ -1236,6 +1215,96 @@ function normalizeRtkError(error) {
1236
1215
  };
1237
1216
  }
1238
1217
 
1218
+ const DAYS_IN_YEAR = 365.25;
1219
+ /**
1220
+ * Converts HistogramData to HistogramDataAsStringKey by ensuring the key is a string.
1221
+ * If the key is already a string, it's used as is.
1222
+ * If the key is a number tuple [min, max], it's converted to a string in the format "min-max".
1223
+ *
1224
+ * @param data The HistogramData object to convert
1225
+ * @returns HistogramDataAsStringKey with the converted key
1226
+ */ const convertToHistogramDataAsStringKey = (data)=>{
1227
+ return {
1228
+ key: typeof data.key === 'string' ? data.key : `${data.key[0]}-${data.key[1]}`,
1229
+ count: data.count
1230
+ };
1231
+ };
1232
+ const calculatePercentageAsNumber = (count, total)=>count ? count / total * 100 : 0;
1233
+ const calculatePercentageAsString = (count, total)=>`${(count / total * 100).toFixed(2)}%`;
1234
+ const capitalize$1 = (original)=>{
1235
+ const customCapitalizations = {
1236
+ id: 'ID',
1237
+ uuid: 'UUID',
1238
+ dna: 'DNA',
1239
+ dbsnp: 'dbSNP',
1240
+ cosmic: 'COSMIC',
1241
+ civic: 'CIViC',
1242
+ dbgap: 'dbGaP',
1243
+ ecog: 'ECOG',
1244
+ bmi: 'BMI',
1245
+ gdc: 'GDC',
1246
+ cnv: 'CNV',
1247
+ ssm: 'SSM',
1248
+ aa: 'AA'
1249
+ };
1250
+ return original.split(' ').map((word)=>customCapitalizations[word.toLowerCase()] || `${word.charAt(0).toUpperCase()}${word.slice(1)}`).join(' ');
1251
+ };
1252
+ const humanify = ({ term = '', capitalize: cap = true, facetTerm = false })=>{
1253
+ let original;
1254
+ let humanified;
1255
+ if (facetTerm) {
1256
+ // Splits on capital letters followed by lowercase letters to find
1257
+ // words squished together in a string.
1258
+ original = term?.split(/(?=[A-Z][a-z])/).join(' ');
1259
+ humanified = term?.replace(/\./g, ' ').replace(/_/g, ' ').trim();
1260
+ } else {
1261
+ const split = (original || term)?.split('.');
1262
+ humanified = split[split.length - 1]?.replace(/_/g, ' ').trim();
1263
+ // Special case 'name' to include any parent nested for sake of
1264
+ // specificity in the UI
1265
+ if (humanified === 'name' && split?.length > 1) {
1266
+ humanified = `${split[split?.length - 2]} ${humanified}`;
1267
+ }
1268
+ }
1269
+ return cap ? capitalize$1(humanified) : humanified;
1270
+ };
1271
+ /*https://github.com/NCI-GDC/portal-ui/blob/develop/src/packages/%40ncigdc/utils/ageDisplay.js*/ /**
1272
+ * Converts age in days into a human-readable format.
1273
+ *
1274
+ * @param ageInDays - The age in days.
1275
+ * @param yearsOnly - If true, only display years.
1276
+ * @defaultValue false
1277
+ * @param defaultValue - The default value to return if ageInDays is falsy.
1278
+ * @defaultValue "--"
1279
+ * @returns The formatted age string.
1280
+ */ const ageDisplay = (ageInDays, yearsOnly = false, defaultValue = '--')=>{
1281
+ if (ageInDays !== 0 && !ageInDays) {
1282
+ return defaultValue;
1283
+ }
1284
+ const calculateYearsAndDays = (years, days)=>days === 365 ? [
1285
+ years + 1,
1286
+ 0
1287
+ ] : [
1288
+ years,
1289
+ days
1290
+ ];
1291
+ const ABS_AGE_DAYS = Math.abs(ageInDays);
1292
+ const [years, remainingDays] = calculateYearsAndDays(Math.floor(ABS_AGE_DAYS / DAYS_IN_YEAR), Math.ceil(ABS_AGE_DAYS % DAYS_IN_YEAR));
1293
+ const formattedYears = years === 0 ? '' : `${years} ${years === 1 ? 'year' : 'years'}`;
1294
+ const formattedDays = !yearsOnly && remainingDays > 0 ? `${remainingDays} ${remainingDays === 1 ? 'day' : 'days'}` : years === 0 && remainingDays === 0 ? '0 days' : '';
1295
+ const ageString = [
1296
+ formattedYears,
1297
+ formattedDays
1298
+ ].filter(Boolean).join(' ');
1299
+ return ageInDays >= 0 ? ageString : `-${ageString}`;
1300
+ };
1301
+ /**
1302
+ * Given an object of JSON, stringify it into a string.
1303
+ * @param obj - the object to stringify
1304
+ * @param defaults - the default value to return if the object is undefined
1305
+ * @category Utility
1306
+ */ const stringifyJSONParam = (obj, defaults = '{}')=>obj ? JSON.stringify(obj) : defaults;
1307
+
1239
1308
  const queryWTSFederatedLoginStatus = async (signal)=>{
1240
1309
  try {
1241
1310
  const results = await fetchJSONDataFromURL(`${GEN3_WTS_API}/external_oidc/`, false, HttpMethod.GET, undefined, signal);
@@ -6904,5 +6973,5 @@ const showNotification = (id, title, message, type, options)=>{
6904
6973
  notificationService.showNotification(id, title, message, type, options);
6905
6974
  };
6906
6975
 
6907
- export { Accessibility, CART_LIMIT, CohortStorage, CoreProvider, DAYS_IN_YEAR, DataLibraryStoreMode, EmptyFilterSet, EmptyWorkspaceStatusResponse, EnumValueExtractorHandler, ExtractValueFromObject, FILE_DELIMITERS, FILE_FORMATS, GEN3_ANALYSIS_API, GEN3_API, GEN3_AUTHZ_API, GEN3_AUTHZ_SERVICE, GEN3_COMMONS_NAME, GEN3_CROSSWALK_API, GEN3_DOMAIN, GEN3_DOWNLOADS_ENDPOINT, GEN3_FENCE_API, GEN3_FENCE_SERVICE, GEN3_GUPPY_API, GEN3_INDEXD_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, ToGqlAllNested, ToGqlHandler, ValueExtractorHandler, WorkspaceStatus, addItemsToCart, addJEGActiveKernel, ageDisplay, appendFilterToOperation, buildCohortGqlOperator, buildGetAggregationQuery, buildGetStatsAggregationQuery, buildListItemsGroupedByDataset, buildNestedFilterForOperation, buildNestedGQLFilter, buildNestedWithParentPathGQLFilter, buildRangeQuery, calculatePercentageAsNumber, calculatePercentageAsString, capitalize$1 as capitalize, cartReducer, cartReducerPath, clearActiveWorkspaceId, clearCohortFilters, clearJEGActiveKernels, clearJEGActiveWorkspaceId, cohortReducer, configRegistry, conversion, convertFilterSetToGqlFilter, convertFilterSetToNestedGqlFilter, convertFilterSetToOperation, convertFilterToGqlFilter, convertFilterToNestedGqlFilter, convertGqlFilterToFilter, convertToHistogramDataAsStringKey, convertToQueryString, coreStore, createAppApiForRTKQ, createAppStore, createGen3App, createGen3AppWithOwnStore, createNewCohort, createUseCoreDataHook, customQueryStrForField, defaultCohortNameGenerator, downloadFromGuppyToBlob, downloadJSONDataFromGuppy, drsHostnamesReducer, duplicateCohort, explorerApi, explorerTags, extractContents, extractEnumFilterValue, extractFieldNameFromFullFieldName, extractFileDatasetsInRecords, extractFilterValue, extractFiltersWithPrefixFromFilterSet, extractIndexAndFieldNameFromFullFieldName, extractIndexFromDataLibraryCohort, extractIndexFromFullFieldName, fetchArboristResources, fetchFence, fetchFencePresignedURL, fetchJSONDataFromURL, fetchJson, fetchUserState, fieldNameToLabel, filterSetToOperation, formatUptimeInMinutes, 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, joinFilters, jsonToFormat, listifyMethodsFromMapping, logoutFence, manifestApi, manifestTags, nestedHistogramQueryStrForEachField, normalizeRtkError, notificationService, prepareUrl$1 as prepareUrl, prependIndexToFieldName, printRegistry, processHistogramResponse, projectCodeFromResourcePath, queryMultipleMDSRecords, rawDataQueryStrForEachField$1 as rawDataQueryStrForEachField, registerDefaultRemoteSupport, removeCohort, removeCohortFilter, removeItemsFromCart, removeJEGActiveKernel, removeManyJEGActiveKernels, requestorApi, resetUserState, resourcePathFromProjectID, roundHistogramResponse, selectActiveWorkspaceId, selectActiveWorkspaceStatus, selectAllCohortFiltersCollapsed, selectAllCohorts, selectAllJEGKernels, 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, selectJEGActiveWorkspaceId, selectJEGActiveWorkspaceStatus, selectJEGKernelById, selectJEGKernelIds, selectJEGRequestedWorkspaceStatus, selectJEGRequestedWorkspaceStatusTimestamp, selectPaymodelStatus, selectRequestedWorkspaceStatus, selectRequestedWorkspaceStatusTimestamp, selectSharedFilters, selectSharedFiltersForFields, selectShouldShareFilters, selectSowerJobDatetimeCache, selectTotalCohorts, selectUser, selectUserAuthStatus, selectUserData, selectUserDetails, selectUserLoginStatus, selectWorkspaceFullscreen, selectWorkspaceStatus, selectWorkspaceStatusFromService, selectWorkspaceTier, setActiveWorkspace, setActiveWorkspaceId, setActiveWorkspaceStatus, setCohortFilter, setCohortFilterCombineMode, setCohortIndexFilters, setCohortList, setCurrentCohortId, setDRSHostnames, setJEGActiveWorkspace, setJEGActiveWorkspaceId, setJEGActiveWorkspaceStatus, setJEGRequestedWorkspaceStatus, setRequestedWorkspaceStatus, setSharedFilters, setShouldShareFilters, setWorkspaceFullscreen, setWorkspaceTier, setupCoreStore, showModal, showNotification, statsQueryStrForEachField, stringifyJSONParam, submissionApi, toggleCohortBuilderAllFilters, toggleCohortBuilderCategoryFilter, trimFirstfieldNameToLabel, updateCohortFilter, updateCohortName, updateJEGActionKernelStatus, upsertManyJEGActiveKernels, useAddCohortManifestMutation, useAddFileManifestMutation, useAddMetadataManifestMutation, useAddNewCredentialMutation, useAskQuestionMutation, useAuthorizeFromCredentialsMutation, useCohortFacetsQuery, 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, useGetDictionaryFromUrlQuery, useGetDictionaryQuery, useGetDownloadQuery, useGetExternalLoginsQuery, useGetFederatedLoginStatus, useGetFieldCountSummaryQuery, useGetFieldsForIndexQuery, useGetFileFromManifestQuery, useGetFileManifestQuery, useGetIndexAggMDSQuery, useGetIndexFields, useGetIndexObjectQuery, useGetIndexdMetdataQuery, useGetJWKKeysQuery, useGetLoginProvidersQuery, useGetMDSQuery, useGetManifestServiceStatusQuery, useGetMetadataByIdQuery, useGetMetadataFromManifestQuery, useGetMetadataManifestQuery, useGetObjectIdsQuery, useGetPresignedUrlQuery, useGetProjectsDetailsQuery, useGetProjectsQuery, useGetRawDataAndTotalCountsQuery, useGetSharedFieldsForIndexQuery, useGetSowerJobListQuery, useGetSowerJobStatusQuery, useGetSowerOutputQuery, useGetSowerServiceStatusQuery, useGetStatsAggregationsQuery, useGetStatus, useGetSubAggsQuery, useGetSubmissionGraphQLQuery, useGetSubmissionsQuery, useGetTagsQuery, useGetUserDetailsRequestStatus, useGetWorkspaceOptionsQuery, useGetWorkspacePayModelsQuery, useGetWorkspaceStatusQuery, useGraphQLQuery, useIsExternalConnectedQuery, useIsUserLoggedIn, useLaunchWorkspaceMutation, useLazyCustomRangeQuery, useLazyDownloadFromGuppyQuery, useLazyFetchUserDetailsQuery, useLazyGeneralGQLQuery, useLazyGetAggsQuery, useLazyGetAuthzMappingsQuery, useLazyGetAuthzResourcesQuery, useLazyGetCSRFQuery, useLazyGetCountsQuery, useLazyGetCrosswalkDataQuery, useLazyGetDownloadQuery, useLazyGetExternalLoginsQuery, useLazyGetIndexObjectQuery, useLazyGetIndexdMetdataQuery, useLazyGetJWKKeysQuery, useLazyGetManifestServiceStatusQuery, useLazyGetMultipleSowerJobStatusQuery, useLazyGetObjectIdsQuery, useLazyGetPresignedUrlQuery, useLazyGetProjectsQuery, useLazyGetSowerJobListQuery, useLazyGetSowerJobStatusQuery, useLazyGetSowerOutputQuery, useLazyGetStatsAggregationsQuery, useLazyGetSubmissionGraphQLQuery, useLazyIsExternalConnectedQuery, useLazyRequestQuery, usePValueQuery, usePrevious, useRemoveCredentialMutation, useRequestByIdQuery, useRequestQuery, useRequestorStatusQuery, useSetCurrentPayModelMutation, useSubmitSowerJobMutation, useTerminateWorkspaceMutation, useUserAuth, useUserRequestQuery, useVennDiagramQuery, userHasCreateOrUpdateOnAnyProject, userHasDataUpload, userHasMethodForServiceOnProject, userHasMethodForServiceOnResource, userHasMethodOnAnyProject, userHasSheepdogProgramAdmin, userHasSheepdogProjectAdmin };
6976
+ export { Accessibility, CART_LIMIT, CohortStorage, CoreProvider, DAYS_IN_YEAR, DataLibraryStoreMode, EmptyFilterSet, EmptyWorkspaceStatusResponse, EnumValueExtractorHandler, ExtractValueFromObject, FILE_DELIMITERS, FILE_FORMATS, GEN3_ANALYSIS_API, GEN3_API, GEN3_AUTHZ_API, GEN3_AUTHZ_SERVICE, GEN3_COMMONS_NAME, GEN3_CROSSWALK_API, GEN3_DOMAIN, GEN3_DOWNLOADS_ENDPOINT, GEN3_FENCE_API, GEN3_FENCE_SERVICE, GEN3_GUPPY_API, GEN3_INDEXD_API, GEN3_MANIFEST_API, GEN3_MDS_API, GEN3_REDIRECT_URL, GEN3_SOWER_API, GEN3_SUBMISSION_API, GEN3_WORKSPACE_API, HTTPError, HTTPErrorMessages, HTTPUserFriendlyErrorMessages, HttpMethod, MissingServiceConfigurationError, Modals, PodConditionType, PodStatus, RequestedWorkspaceStatus, ToGqlAllNested, ToGqlHandler, ValueExtractorHandler, WorkspaceStatus, addItemsToCart, addJEGActiveKernel, ageDisplay, appendFilterToOperation, buildCohortGqlOperator, buildGetAggregationQuery, buildGetStatsAggregationQuery, buildListItemsGroupedByDataset, buildNestedFilterForOperation, buildNestedGQLFilter, buildNestedWithParentPathGQLFilter, buildRangeQuery, calculatePercentageAsNumber, calculatePercentageAsString, capitalize$1 as capitalize, cartReducer, cartReducerPath, clearActiveWorkspaceId, clearCohortFilters, clearJEGActiveKernels, clearJEGActiveWorkspaceId, cohortReducer, configRegistry, conversion, convertFilterSetToGqlFilter, convertFilterSetToNestedGqlFilter, convertFilterSetToOperation, convertFilterToGqlFilter, convertFilterToNestedGqlFilter, convertGqlFilterToFilter, convertToHistogramDataAsStringKey, convertToQueryString, coreStore, createAppApiForRTKQ, createAppStore, createGen3App, createGen3AppWithOwnStore, createNewCohort, createUseCoreDataHook, customQueryStrForField, defaultCohortNameGenerator, downloadFromGuppyToBlob, downloadJSONDataFromGuppy, drsHostnamesReducer, duplicateCohort, explorerApi, explorerTags, extractContents, extractEnumFilterValue, extractFieldNameFromFullFieldName, extractFileDatasetsInRecords, extractFilterValue, extractFiltersWithPrefixFromFilterSet, extractIndexAndFieldNameFromFullFieldName, extractIndexFromDataLibraryCohort, extractIndexFromFullFieldName, fetchArboristResources, fetchFence, fetchFencePresignedURL, fetchJSONDataFromURL, fetchJson, fetchUserState, fieldNameToLabel, filterSetToOperation, formatUptimeInMinutes, 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, isSerializedError, isStatsValue, isStatsValuesArray, isString, isTimeGreaterThan, isUnion, isWorkspaceActive, isWorkspaceRunningOrStopping, joinFilters, jsonToFormat, listifyMethodsFromMapping, logoutFence, manifestApi, manifestTags, nestedHistogramQueryStrForEachField, normalizeRtkError, notificationService, prepareUrl$1 as prepareUrl, prependIndexToFieldName, printRegistry, processHistogramResponse, projectCodeFromResourcePath, queryMultipleMDSRecords, rawDataQueryStrForEachField$1 as rawDataQueryStrForEachField, registerDefaultRemoteSupport, removeCohort, removeCohortFilter, removeItemsFromCart, removeJEGActiveKernel, removeManyJEGActiveKernels, requestorApi, resetUserState, resourcePathFromProjectID, roundHistogramResponse, selectActiveWorkspaceId, selectActiveWorkspaceStatus, selectAllCohortFiltersCollapsed, selectAllCohorts, selectAllJEGKernels, 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, selectJEGActiveWorkspaceId, selectJEGActiveWorkspaceStatus, selectJEGKernelById, selectJEGKernelIds, selectJEGRequestedWorkspaceStatus, selectJEGRequestedWorkspaceStatusTimestamp, selectPaymodelStatus, selectRequestedWorkspaceStatus, selectRequestedWorkspaceStatusTimestamp, selectSharedFilters, selectSharedFiltersForFields, selectShouldShareFilters, selectSowerJobDatetimeCache, selectTotalCohorts, selectUser, selectUserAuthStatus, selectUserData, selectUserDetails, selectUserLoginStatus, selectWorkspaceFullscreen, selectWorkspaceStatus, selectWorkspaceStatusFromService, selectWorkspaceTier, setActiveWorkspace, setActiveWorkspaceId, setActiveWorkspaceStatus, setCohortFilter, setCohortFilterCombineMode, setCohortIndexFilters, setCohortList, setCurrentCohortId, setDRSHostnames, setJEGActiveWorkspace, setJEGActiveWorkspaceId, setJEGActiveWorkspaceStatus, setJEGRequestedWorkspaceStatus, setRequestedWorkspaceStatus, setSharedFilters, setShouldShareFilters, setWorkspaceFullscreen, setWorkspaceTier, setupCoreStore, showModal, showNotification, statsQueryStrForEachField, stringifyJSONParam, submissionApi, toggleCohortBuilderAllFilters, toggleCohortBuilderCategoryFilter, trimFirstfieldNameToLabel, updateCohortFilter, updateCohortName, updateJEGActionKernelStatus, upsertManyJEGActiveKernels, useAddCohortManifestMutation, useAddFileManifestMutation, useAddMetadataManifestMutation, useAddNewCredentialMutation, useAskQuestionMutation, useAuthorizeFromCredentialsMutation, useCohortFacetsQuery, 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, useGetDictionaryFromUrlQuery, useGetDictionaryQuery, useGetDownloadQuery, useGetExternalLoginsQuery, useGetFederatedLoginStatus, useGetFieldCountSummaryQuery, useGetFieldsForIndexQuery, useGetFileFromManifestQuery, useGetFileManifestQuery, useGetIndexAggMDSQuery, useGetIndexFields, useGetIndexObjectQuery, useGetIndexdMetdataQuery, useGetJWKKeysQuery, useGetLoginProvidersQuery, useGetMDSQuery, useGetManifestServiceStatusQuery, useGetMetadataByIdQuery, useGetMetadataFromManifestQuery, useGetMetadataManifestQuery, useGetObjectIdsQuery, useGetPresignedUrlQuery, useGetProjectsDetailsQuery, useGetProjectsQuery, useGetRawDataAndTotalCountsQuery, useGetSharedFieldsForIndexQuery, useGetSowerJobListQuery, useGetSowerJobStatusQuery, useGetSowerOutputQuery, useGetSowerServiceStatusQuery, useGetStatsAggregationsQuery, useGetStatus, useGetSubAggsQuery, useGetSubmissionGraphQLQuery, useGetSubmissionsQuery, useGetTagsQuery, useGetUserDetailsRequestStatus, useGetWorkspaceOptionsQuery, useGetWorkspacePayModelsQuery, useGetWorkspaceStatusQuery, useGraphQLQuery, useIsExternalConnectedQuery, useIsUserLoggedIn, useLaunchWorkspaceMutation, useLazyCustomRangeQuery, useLazyDownloadFromGuppyQuery, useLazyFetchUserDetailsQuery, useLazyGeneralGQLQuery, useLazyGetAggsQuery, useLazyGetAuthzMappingsQuery, useLazyGetAuthzResourcesQuery, useLazyGetCSRFQuery, useLazyGetCountsQuery, useLazyGetCrosswalkDataQuery, useLazyGetDownloadQuery, useLazyGetExternalLoginsQuery, useLazyGetIndexObjectQuery, useLazyGetIndexdMetdataQuery, useLazyGetJWKKeysQuery, useLazyGetManifestServiceStatusQuery, useLazyGetMultipleSowerJobStatusQuery, useLazyGetObjectIdsQuery, useLazyGetPresignedUrlQuery, useLazyGetProjectsQuery, useLazyGetSowerJobListQuery, useLazyGetSowerJobStatusQuery, useLazyGetSowerOutputQuery, useLazyGetStatsAggregationsQuery, useLazyGetSubmissionGraphQLQuery, useLazyIsExternalConnectedQuery, useLazyRequestQuery, usePValueQuery, usePrevious, useRemoveCredentialMutation, useRequestByIdQuery, useRequestQuery, useRequestorStatusQuery, useSetCurrentPayModelMutation, useSubmitSowerJobMutation, useTerminateWorkspaceMutation, useUserAuth, useUserRequestQuery, useVennDiagramQuery, userHasCreateOrUpdateOnAnyProject, userHasDataUpload, userHasMethodForServiceOnProject, userHasMethodForServiceOnResource, userHasMethodOnAnyProject, userHasSheepdogProgramAdmin, userHasSheepdogProjectAdmin };
6908
6977
  //# sourceMappingURL=index.js.map