synapse-react-client 4.0.45 → 4.0.47
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/dist/SWC.index.js +1 -1
- package/dist/aridhia-queries/AridhiaKeyFactory.d.ts +1 -0
- package/dist/aridhia-queries/AridhiaKeyFactory.d.ts.map +1 -1
- package/dist/aridhia-queries/AridhiaKeyFactory.js +3 -0
- package/dist/aridhia-queries/AridhiaKeyFactory.js.map +1 -1
- package/dist/aridhia-queries/aridhiaTokenExchange.js +6 -6
- package/dist/aridhia-queries/index.d.ts +1 -0
- package/dist/aridhia-queries/index.d.ts.map +1 -1
- package/dist/aridhia-queries/index.js +11 -10
- package/dist/aridhia-queries/useGetAridhiaVocabularyTerm.d.ts +19 -0
- package/dist/aridhia-queries/useGetAridhiaVocabularyTerm.d.ts.map +1 -0
- package/dist/aridhia-queries/useGetAridhiaVocabularyTerm.js +14 -0
- package/dist/aridhia-queries/useGetAridhiaVocabularyTerm.js.map +1 -0
- package/dist/aridhia-queries/useSubmitAridhiaDar.js +2 -2
- package/dist/aridhia-queries/useSubmitAridhiaDar.js.map +1 -1
- package/dist/components/AccessRequirementList/AccessApprovalCheckMark.d.ts.map +1 -1
- package/dist/components/AccessRequirementList/AccessApprovalCheckMark.js +6 -4
- package/dist/components/AccessRequirementList/AccessApprovalCheckMark.js.map +1 -1
- package/dist/components/AccessRequirementList/AccessRequirementList.js.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/AccessorRequirementHelpText.js +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/AccessorRequirementHelpText.js.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ResearchProjectForm/ResearchProjectForm.js +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ResearchProjectForm/ResearchProjectForm.js.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ReviewCollaboratorsAndSigningOfficialAccordion.js +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/ReviewCollaboratorsAndSigningOfficialAccordion.js.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/SignatureStatusStep/SignatureStatusStep.d.ts.map +1 -1
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/SignatureStatusStep/SignatureStatusStep.js +11 -8
- package/dist/components/AccessRequirementList/ManagedACTAccessRequirementRequestFlow/SignatureStatusStep/SignatureStatusStep.js.map +1 -1
- package/dist/components/AccessTokenPage/AccessTokenPage.js +1 -1
- package/dist/components/AccessTokenPage/AccessTokenPage.js.map +1 -1
- package/dist/components/AccessTokenPage/CreateAccessTokenModal.js +1 -1
- package/dist/components/AccessTokenPage/CreateAccessTokenModal.js.map +1 -1
- package/dist/components/AccountLevelBadges/AccountLevelBadges.js +1 -1
- package/dist/components/AccountLevelBadges/AccountLevelBadges.js.map +1 -1
- package/dist/components/AcknowledgementsPage/AcknowledgementsPage.js +1 -1
- package/dist/components/AcknowledgementsPage/AcknowledgementsPage.js.map +1 -1
- package/dist/components/AclEditor/AclEditor.test-utils.js +3 -5
- package/dist/components/AclEditor/AclEditor.test-utils.js.map +1 -1
- package/dist/components/Aridhia/AridhiaAccessStatus.d.ts.map +1 -1
- package/dist/components/Aridhia/AridhiaAccessStatus.js +43 -30
- package/dist/components/Aridhia/AridhiaAccessStatus.js.map +1 -1
- package/dist/components/Aridhia/AridhiaDarStatusPopover.d.ts +6 -2
- package/dist/components/Aridhia/AridhiaDarStatusPopover.d.ts.map +1 -1
- package/dist/components/Aridhia/AridhiaDarStatusPopover.js +101 -31
- package/dist/components/Aridhia/AridhiaDarStatusPopover.js.map +1 -1
- package/dist/components/Aridhia/DarWizard/DarSectionForm.d.ts.map +1 -1
- package/dist/components/Aridhia/DarWizard/DarSectionForm.js +17 -13
- package/dist/components/Aridhia/DarWizard/DarSectionForm.js.map +1 -1
- package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.d.ts +3 -3
- package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.d.ts.map +1 -1
- package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.js +33 -34
- package/dist/components/Aridhia/DarWizard/DarSubmittedPanel.js.map +1 -1
- package/dist/components/Aridhia/aridhiaAccessStatusUtils.d.ts +11 -9
- package/dist/components/Aridhia/aridhiaAccessStatusUtils.d.ts.map +1 -1
- package/dist/components/Aridhia/aridhiaAccessStatusUtils.js +24 -13
- package/dist/components/Aridhia/aridhiaAccessStatusUtils.js.map +1 -1
- package/dist/components/Aridhia/fairFormToRjsf.js +1 -1
- package/dist/components/Aridhia/fairFormToRjsf.js.map +1 -1
- package/dist/components/Authentication/LastLoginInfo.js +3 -3
- package/dist/components/Authentication/LastLoginInfo.js.map +1 -1
- package/dist/components/Authentication/RecoveryCodeForm.js +1 -1
- package/dist/components/Authentication/RecoveryCodeForm.js.map +1 -1
- package/dist/components/Authentication/RecoveryCodeGrid.js.map +1 -1
- package/dist/components/Authentication/TOTPForm.d.ts.map +1 -1
- package/dist/components/Authentication/TOTPForm.js +3 -3
- package/dist/components/Authentication/TOTPForm.js.map +1 -1
- package/dist/components/Authentication/index.d.ts +6 -6
- package/dist/components/Authentication/index.d.ts.map +1 -1
- package/dist/components/CannedRejectionDialog/CannedRejectionDialog.js +1 -1
- package/dist/components/CannedRejectionDialog/CannedRejectionDialog.js.map +1 -1
- package/dist/components/CardContainer/CardContainer.js +7 -7
- package/dist/components/CardContainer/CardContainer.js.map +1 -1
- package/dist/components/CertificationQuiz/CertificationQuiz.js +1 -1
- package/dist/components/CertificationQuiz/CertificationQuiz.js.map +1 -1
- package/dist/components/ChallengeRequirementsModal/ChallengeRequirementsModal.js +1 -1
- package/dist/components/ChallengeRequirementsModal/ChallengeRequirementsModal.js.map +1 -1
- package/dist/components/ChallengeSubmission/AvailableEvaluationQueueList.js +1 -1
- package/dist/components/ChallengeSubmission/AvailableEvaluationQueueList.js.map +1 -1
- package/dist/components/ChallengeSubmission/ChallengeSubmission.d.ts.map +1 -1
- package/dist/components/ChallengeSubmission/ChallengeSubmission.js +1 -1
- package/dist/components/ChallengeSubmission/ChallengeSubmission.js.map +1 -1
- package/dist/components/ChallengeSubmission/EvaluationQueueCurrentRoundInfo.js +1 -1
- package/dist/components/ChallengeSubmission/EvaluationQueueCurrentRoundInfo.js.map +1 -1
- package/dist/components/ChallengeSubmission/SubmissionDirectoryList.js +6 -6
- package/dist/components/ChallengeSubmission/SubmissionDirectoryList.js.map +1 -1
- package/dist/components/ChallengeTeamWizard/ChallengeTeamTable.d.ts.map +1 -1
- package/dist/components/ChallengeTeamWizard/ChallengeTeamTable.js +4 -4
- package/dist/components/ChallengeTeamWizard/ChallengeTeamTable.js.map +1 -1
- package/dist/components/ChallengeTeamWizard/SelectChallengeTeam.js +4 -4
- package/dist/components/ChallengeTeamWizard/SelectChallengeTeam.js.map +1 -1
- package/dist/components/CitationPopover/CitationPopoverContent.js +4 -4
- package/dist/components/CitationPopover/CitationPopoverContent.js.map +1 -1
- package/dist/components/CitationPopover/CitationPopoverUtils.js +2 -2
- package/dist/components/CitationPopover/CitationPopoverUtils.js.map +1 -1
- package/dist/components/CohortBuilder/CohortBuilder.css +1 -0
- package/dist/components/CohortBuilder/CohortBuilder.d.ts +35 -0
- package/dist/components/CohortBuilder/CohortBuilder.d.ts.map +1 -0
- package/dist/components/CohortBuilder/CohortBuilder.js +108 -0
- package/dist/components/CohortBuilder/CohortBuilder.js.map +1 -0
- package/dist/components/CohortBuilder/CohortBuilder.module.js +10 -0
- package/dist/components/CohortBuilder/CohortBuilder.module.js.map +1 -0
- package/dist/components/CohortBuilder/CohortBuilder.module.scss +20 -0
- package/dist/components/CohortBuilder/CohortFilesPanel.d.ts +16 -0
- package/dist/components/CohortBuilder/CohortFilesPanel.d.ts.map +1 -0
- package/dist/components/CohortBuilder/CohortFilesPanel.js +124 -0
- package/dist/components/CohortBuilder/CohortFilesPanel.js.map +1 -0
- package/dist/components/CohortBuilder/cohortHandOff.d.ts +25 -0
- package/dist/components/CohortBuilder/cohortHandOff.d.ts.map +1 -0
- package/dist/components/CohortBuilder/cohortHandOff.js +26 -0
- package/dist/components/CohortBuilder/cohortHandOff.js.map +1 -0
- package/dist/components/ColumnFilter/ColumnFilter.d.ts.map +1 -1
- package/dist/components/ColumnFilter/ColumnFilter.js +14 -13
- package/dist/components/ColumnFilter/ColumnFilter.js.map +1 -1
- package/dist/components/ComponentCollapse.d.ts.map +1 -1
- package/dist/components/ComponentCollapse.js +2 -1
- package/dist/components/ComponentCollapse.js.map +1 -1
- package/dist/components/DataExplorer/DataExplorer.d.ts.map +1 -1
- package/dist/components/DataExplorer/DataExplorer.js.map +1 -1
- package/dist/components/DataGrid/SynapseGrid.d.ts.map +1 -1
- package/dist/components/DataGrid/SynapseGrid.js +231 -219
- package/dist/components/DataGrid/SynapseGrid.js.map +1 -1
- package/dist/components/DataGrid/SyncGridWithSourceButton.d.ts.map +1 -1
- package/dist/components/DataGrid/SyncGridWithSourceButton.js +5 -4
- package/dist/components/DataGrid/SyncGridWithSourceButton.js.map +1 -1
- package/dist/components/DataGrid/columns/AutocompleteColumn.d.ts +11 -2
- package/dist/components/DataGrid/columns/AutocompleteColumn.d.ts.map +1 -1
- package/dist/components/DataGrid/columns/AutocompleteColumn.js +115 -109
- package/dist/components/DataGrid/columns/AutocompleteColumn.js.map +1 -1
- package/dist/components/DataGrid/columns/NumberColumn.js +1 -1
- package/dist/components/DataGrid/columns/NumberColumn.js.map +1 -1
- package/dist/components/DataGrid/columns/NumberOrEnumColumn.d.ts +20 -0
- package/dist/components/DataGrid/columns/NumberOrEnumColumn.d.ts.map +1 -0
- package/dist/components/DataGrid/columns/NumberOrEnumColumn.js +18 -0
- package/dist/components/DataGrid/columns/NumberOrEnumColumn.js.map +1 -0
- package/dist/components/DataGrid/components/ColumnHeaderWithTooltip.d.ts.map +1 -1
- package/dist/components/DataGrid/components/ColumnHeaderWithTooltip.js +7 -5
- package/dist/components/DataGrid/components/ColumnHeaderWithTooltip.js.map +1 -1
- package/dist/components/DataGrid/components/ExportCsvFromGridButton.js +4 -4
- package/dist/components/DataGrid/components/ExportCsvFromGridButton.js.map +1 -1
- package/dist/components/DataGrid/components/ReorderColumnsButton.js +4 -4
- package/dist/components/DataGrid/components/ReorderColumnsButton.js.map +1 -1
- package/dist/components/DataGrid/components/ReorderColumnsDialog.d.ts.map +1 -1
- package/dist/components/DataGrid/components/ReorderColumnsDialog.js +12 -8
- package/dist/components/DataGrid/components/ReorderColumnsDialog.js.map +1 -1
- package/dist/components/DataGrid/components/UploadCsvToGridButton.js +1 -1
- package/dist/components/DataGrid/components/UploadCsvToGridButton.js.map +1 -1
- package/dist/components/DataGrid/components/contextMenu.js +3 -3
- package/dist/components/DataGrid/components/contextMenu.js.map +1 -1
- package/dist/components/DataGrid/hooks/useGridUndoRedo.d.ts.map +1 -1
- package/dist/components/DataGrid/hooks/useGridUndoRedo.js +14 -12
- package/dist/components/DataGrid/hooks/useGridUndoRedo.js.map +1 -1
- package/dist/components/DataGrid/hooks/useStack.d.ts +1 -1
- package/dist/components/DataGrid/hooks/useStack.js +2 -2
- package/dist/components/DataGrid/hooks/useStack.js.map +1 -1
- package/dist/components/DataGrid/utils/applyModelChange.d.ts.map +1 -1
- package/dist/components/DataGrid/utils/applyModelChange.js +14 -14
- package/dist/components/DataGrid/utils/applyModelChange.js.map +1 -1
- package/dist/components/DataGrid/utils/columnFactory.d.ts.map +1 -1
- package/dist/components/DataGrid/utils/columnFactory.js +47 -42
- package/dist/components/DataGrid/utils/columnFactory.js.map +1 -1
- package/dist/components/DataGrid/utils/extractColumnValidationMessages.js +7 -7
- package/dist/components/DataGrid/utils/extractColumnValidationMessages.js.map +1 -1
- package/dist/components/DataGrid/utils/json-rx/JsonRx.js +2 -2
- package/dist/components/DataGrid/utils/json-rx/JsonRx.js.map +1 -1
- package/dist/components/DataGrid/utils/splitPatch.d.ts.map +1 -1
- package/dist/components/DataGrid/utils/splitPatch.js +22 -13
- package/dist/components/DataGrid/utils/splitPatch.js.map +1 -1
- package/dist/components/DownloadCart/DownloadCartPage.js +1 -1
- package/dist/components/DownloadCart/DownloadCartPage.js.map +1 -1
- package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.d.ts.map +1 -1
- package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.js +3 -2
- package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.js.map +1 -1
- package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.module.js.map +1 -1
- package/dist/components/DownloadCart/DownloadIneligibleForPackagingFilesFromListButton.module.scss +1 -3
- package/dist/components/DownloadCart/MeetAccessRequirementCard.js +1 -1
- package/dist/components/DownloadCart/MeetAccessRequirementCard.js.map +1 -1
- package/dist/components/EntityBadgeIcons/EntityBadgeIcons.d.ts.map +1 -1
- package/dist/components/EntityBadgeIcons/EntityBadgeIcons.js +16 -10
- package/dist/components/EntityBadgeIcons/EntityBadgeIcons.js.map +1 -1
- package/dist/components/EntityDownloadButton/EntityDownloadButton.js +1 -1
- package/dist/components/EntityDownloadButton/EntityDownloadButton.js.map +1 -1
- package/dist/components/EntityDownloadConfirmation/EntityDownloadConfirmation.js +5 -5
- package/dist/components/EntityDownloadConfirmation/EntityDownloadConfirmation.js.map +1 -1
- package/dist/components/EntityFinder/EntityFinder.js +4 -4
- package/dist/components/EntityFinder/EntityIdTextField.js +1 -1
- package/dist/components/EntityFinder/EntityIdTextField.js.map +1 -1
- package/dist/components/EntityFinder/details/view/DetailsView.d.ts.map +1 -1
- package/dist/components/EntityFinder/details/view/DetailsView.js +4 -4
- package/dist/components/EntityFinder/details/view/DetailsView.js.map +1 -1
- package/dist/components/EntityFinder/tree/VirtualizedTree.d.ts.map +1 -1
- package/dist/components/EntityFinder/tree/VirtualizedTree.js +5 -4
- package/dist/components/EntityFinder/tree/VirtualizedTree.js.map +1 -1
- package/dist/components/EntityHeaderTable/EntityHeaderTable.js +4 -4
- package/dist/components/EntityHeaderTable/EntityHeaderTable.js.map +1 -1
- package/dist/components/EntityHeaderTable/Filter.d.ts.map +1 -1
- package/dist/components/EntityHeaderTable/Filter.js +1 -1
- package/dist/components/EntityHeaderTable/Filter.js.map +1 -1
- package/dist/components/EntityTreeTable/components/EntityNameCell.d.ts.map +1 -1
- package/dist/components/EntityTreeTable/components/EntityNameCell.js +2 -1
- package/dist/components/EntityTreeTable/components/EntityNameCell.js.map +1 -1
- package/dist/components/EntityUpload/FileUploadProgress.d.ts.map +1 -1
- package/dist/components/EntityUpload/FileUploadProgress.js +11 -7
- package/dist/components/EntityUpload/FileUploadProgress.js.map +1 -1
- package/dist/components/Evaluation/EvaluationRoundEditor.js.map +1 -1
- package/dist/components/Evaluation/round_limits/EvaluationRoundLimitOptionsList.d.ts.map +1 -1
- package/dist/components/Evaluation/round_limits/EvaluationRoundLimitOptionsList.js +4 -3
- package/dist/components/Evaluation/round_limits/EvaluationRoundLimitOptionsList.js.map +1 -1
- package/dist/components/ExperimentalMode/ExperimentalMode.js +1 -1
- package/dist/components/ExperimentalMode/ExperimentalMode.js.map +1 -1
- package/dist/components/ExternalFileHandleLink/ExternalFileHandleLink.js +1 -1
- package/dist/components/ExternalFileHandleLink/ExternalFileHandleLink.js.map +1 -1
- package/dist/components/FeaturedDataTabs/FacetPlotsCard.d.ts.map +1 -1
- package/dist/components/FeaturedDataTabs/FacetPlotsCard.js +80 -84
- package/dist/components/FeaturedDataTabs/FacetPlotsCard.js.map +1 -1
- package/dist/components/FormTemplateEditor/ChoiceOptionsEditor.d.ts.map +1 -1
- package/dist/components/FormTemplateEditor/ChoiceOptionsEditor.js +2 -1
- package/dist/components/FormTemplateEditor/ChoiceOptionsEditor.js.map +1 -1
- package/dist/components/FormTemplateEditor/FieldDefinitionDrawer.d.ts.map +1 -1
- package/dist/components/FormTemplateEditor/FieldDefinitionDrawer.js +2 -1
- package/dist/components/FormTemplateEditor/FieldDefinitionDrawer.js.map +1 -1
- package/dist/components/FormTemplateEditor/FieldLibrary.d.ts.map +1 -1
- package/dist/components/FormTemplateEditor/FieldLibrary.js +2 -1
- package/dist/components/FormTemplateEditor/FieldLibrary.js.map +1 -1
- package/dist/components/FormTemplateEditor/FieldLibraryRow.js +4 -4
- package/dist/components/FormTemplateEditor/FieldLibraryRow.js.map +1 -1
- package/dist/components/FormTemplateEditor/FormStructurePanel.js +7 -7
- package/dist/components/FormTemplateEditor/FormStructurePanel.js.map +1 -1
- package/dist/components/FormTemplateEditor/FormTemplateEditorForm.js +1 -1
- package/dist/components/FormTemplateEditor/FormTemplateEditorForm.js.map +1 -1
- package/dist/components/FormTemplateEditor/StepCard.d.ts.map +1 -1
- package/dist/components/FormTemplateEditor/StepCard.js +15 -10
- package/dist/components/FormTemplateEditor/StepCard.js.map +1 -1
- package/dist/components/FormTemplateEditor/StepFieldRow.d.ts.map +1 -1
- package/dist/components/FormTemplateEditor/StepFieldRow.js +11 -6
- package/dist/components/FormTemplateEditor/StepFieldRow.js.map +1 -1
- package/dist/components/FormTemplateEditor/TemplateFileHandleField.d.ts.map +1 -1
- package/dist/components/FormTemplateEditor/TemplateFileHandleField.js +2 -1
- package/dist/components/FormTemplateEditor/TemplateFileHandleField.js.map +1 -1
- package/dist/components/FormTemplateEditor/schemaFieldUtils.js +2 -2
- package/dist/components/FormTemplateEditor/schemaFieldUtils.js.map +1 -1
- package/dist/components/FullTextSearch/FullTextSearch.js +8 -8
- package/dist/components/GenericCard/CardUtils.js.map +1 -1
- package/dist/components/GenericCard/DuoTermTags/DuoTermTags.js +46 -46
- package/dist/components/GenericCard/DuoTermTags/DuoTermTags.js.map +1 -1
- package/dist/components/GenericCard/DuoTermTags/duoTerms.js +1 -1
- package/dist/components/GenericCard/DuoTermTags/duoTerms.js.map +1 -1
- package/dist/components/GenericCard/PortalDOI/PortalDOI.js +5 -5
- package/dist/components/GenericCard/PortalDOI/PortalDOI.js.map +1 -1
- package/dist/components/GenericCard/TableRowGenericCard.js +38 -38
- package/dist/components/GenericCard/TableRowGenericCard.js.map +1 -1
- package/dist/components/GoalsV3/GoalsV3.js +1 -1
- package/dist/components/GoalsV3/GoalsV3.js.map +1 -1
- package/dist/components/HelpPopover/HelpPopover.js +1 -1
- package/dist/components/HelpPopover/HelpPopover.js.map +1 -1
- package/dist/components/HexGrid/HexGrid.d.ts +3 -1
- package/dist/components/HexGrid/HexGrid.d.ts.map +1 -1
- package/dist/components/HexGrid/HexGrid.js +14 -13
- package/dist/components/HexGrid/HexGrid.js.map +1 -1
- package/dist/components/IconSvg/IconSvg.d.ts.map +1 -1
- package/dist/components/IconSvg/IconSvg.js +154 -47
- package/dist/components/IconSvg/IconSvg.js.map +1 -1
- package/dist/components/IconSvg/index.d.ts +1 -1
- package/dist/components/IconSvg/index.d.ts.map +1 -1
- package/dist/components/IconSvg/index.js.map +1 -1
- package/dist/components/JsonSchemaForm/templates/BaseInputTemplate.d.ts.map +1 -1
- package/dist/components/JsonSchemaForm/templates/BaseInputTemplate.js +3 -3
- package/dist/components/JsonSchemaForm/templates/BaseInputTemplate.js.map +1 -1
- package/dist/components/JsonSchemaForm/templates/ButtonTemplate.d.ts.map +1 -1
- package/dist/components/JsonSchemaForm/templates/ButtonTemplate.js +19 -16
- package/dist/components/JsonSchemaForm/templates/ButtonTemplate.js.map +1 -1
- package/dist/components/JsonSchemaForm/templates/RJSFInputLabel.d.ts.map +1 -1
- package/dist/components/JsonSchemaForm/templates/RJSFInputLabel.js +2 -1
- package/dist/components/JsonSchemaForm/templates/RJSFInputLabel.js.map +1 -1
- package/dist/components/JsonSchemaForm/widgets/PhoneWidget.d.ts +9 -0
- package/dist/components/JsonSchemaForm/widgets/PhoneWidget.d.ts.map +1 -0
- package/dist/components/JsonSchemaForm/widgets/PhoneWidget.js +21 -0
- package/dist/components/JsonSchemaForm/widgets/PhoneWidget.js.map +1 -0
- package/dist/components/Markdown/MarkdownCollapse.d.ts.map +1 -1
- package/dist/components/Markdown/MarkdownCollapse.js +3 -1
- package/dist/components/Markdown/MarkdownCollapse.js.map +1 -1
- package/dist/components/Markdown/MarkdownEditor.js +1 -1
- package/dist/components/Markdown/MarkdownEditor.js.map +1 -1
- package/dist/components/Markdown/widget/index.d.ts +1 -1
- package/dist/components/Markdown/widget/index.d.ts.map +1 -1
- package/dist/components/MissingQueryResultsWarning/MissingQueryResultsWarning.js +1 -1
- package/dist/components/MissingQueryResultsWarning/MissingQueryResultsWarning.js.map +1 -1
- package/dist/components/ModalDownload/ModalDownload.d.ts.map +1 -1
- package/dist/components/ModalDownload/ModalDownload.js +2 -1
- package/dist/components/ModalDownload/ModalDownload.js.map +1 -1
- package/dist/components/OAuthClientManagement/OAuthManagement.js +14 -13
- package/dist/components/OAuthClientManagement/OAuthManagement.js.map +1 -1
- package/dist/components/Plot/BarPlot.js +1 -1
- package/dist/components/Plot/BarPlot.js.map +1 -1
- package/dist/components/Plot/PlotPanelHeader.d.ts +3 -2
- package/dist/components/Plot/PlotPanelHeader.d.ts.map +1 -1
- package/dist/components/Plot/PlotPanelHeader.js.map +1 -1
- package/dist/components/PortalList/PortalCard.d.ts.map +1 -1
- package/dist/components/PortalList/PortalCard.js +6 -5
- package/dist/components/PortalList/PortalCard.js.map +1 -1
- package/dist/components/PortalList/PortalList.js +4 -4
- package/dist/components/PortalList/PortalList.js.map +1 -1
- package/dist/components/ProgrammaticTableDownload/ProgrammaticTableDownload.js +1 -1
- package/dist/components/ProgrammaticTableDownload/ProgrammaticTableDownload.js.map +1 -1
- package/dist/components/ProjectVisibilityChip/ProjectVisibilityChip.js +6 -6
- package/dist/components/ProvenanceGraph/ProvenanceExternalIcon.js +1 -1
- package/dist/components/ProvenanceGraph/ProvenanceExternalIcon.js.map +1 -1
- package/dist/components/ProvenanceGraph/ProvenanceGraph.d.ts.map +1 -1
- package/dist/components/ProvenanceGraph/ProvenanceGraph.js +3 -3
- package/dist/components/ProvenanceGraph/ProvenanceGraph.js.map +1 -1
- package/dist/components/QueryBuilder/FilterConditionRow.d.ts.map +1 -1
- package/dist/components/QueryBuilder/FilterConditionRow.js +31 -30
- package/dist/components/QueryBuilder/FilterConditionRow.js.map +1 -1
- package/dist/components/QueryBuilder/FilterGroupNode.d.ts.map +1 -1
- package/dist/components/QueryBuilder/FilterGroupNode.js +91 -75
- package/dist/components/QueryBuilder/FilterGroupNode.js.map +1 -1
- package/dist/components/QueryBuilder/QueryBuilderControls.css +1 -1
- package/dist/components/QueryBuilder/QueryBuilderControls.d.ts.map +1 -1
- package/dist/components/QueryBuilder/QueryBuilderControls.js +91 -79
- package/dist/components/QueryBuilder/QueryBuilderControls.js.map +1 -1
- package/dist/components/QueryBuilder/QueryBuilderControls.module.js +11 -11
- package/dist/components/QueryBuilder/QueryBuilderControls.module.js.map +1 -1
- package/dist/components/QueryBuilder/QueryBuilderControls.module.scss +2 -0
- package/dist/components/QueryBuilder/QueryBuilderInternalContext.d.ts +2 -0
- package/dist/components/QueryBuilder/QueryBuilderInternalContext.d.ts.map +1 -1
- package/dist/components/QueryBuilder/QueryBuilderInternalContext.js.map +1 -1
- package/dist/components/QueryBuilder/queryBuilderLimits.d.ts +18 -0
- package/dist/components/QueryBuilder/queryBuilderLimits.d.ts.map +1 -0
- package/dist/components/QueryBuilder/queryBuilderLimits.js +38 -0
- package/dist/components/QueryBuilder/queryBuilderLimits.js.map +1 -0
- package/dist/components/QueryBuilder/queryBuilderMetadata.d.ts +0 -8
- package/dist/components/QueryBuilder/queryBuilderMetadata.d.ts.map +1 -1
- package/dist/components/QueryBuilder/queryBuilderMetadata.js +6 -9
- package/dist/components/QueryBuilder/queryBuilderMetadata.js.map +1 -1
- package/dist/components/QueryBuilder/queryBuilderTranslation.d.ts +5 -4
- package/dist/components/QueryBuilder/queryBuilderTranslation.d.ts.map +1 -1
- package/dist/components/QueryBuilder/queryBuilderTranslation.js +58 -33
- package/dist/components/QueryBuilder/queryBuilderTranslation.js.map +1 -1
- package/dist/components/QueryBuilder/useQBCombinedSql.d.ts.map +1 -1
- package/dist/components/QueryBuilder/useQBCombinedSql.js +4 -4
- package/dist/components/QueryBuilder/useQBCombinedSql.js.map +1 -1
- package/dist/components/QueryBuilder/useQBValueDisplayName.d.ts.map +1 -1
- package/dist/components/QueryBuilder/useQBValueDisplayName.js +5 -5
- package/dist/components/QueryBuilder/useQBValueDisplayName.js.map +1 -1
- package/dist/components/QueryCountButton/QueryCountButton.js +5 -5
- package/dist/components/QueryCountButton/QueryCountButton.js.map +1 -1
- package/dist/components/QuerySortSelector.js +5 -5
- package/dist/components/QueryVisualizationWrapper/QueryVisualizationWrapper.js +21 -21
- package/dist/components/QueryVisualizationWrapper/QueryVisualizationWrapper.js.map +1 -1
- package/dist/components/QueryWrapper/AggregateQueryErrorNotice.d.ts +20 -0
- package/dist/components/QueryWrapper/AggregateQueryErrorNotice.d.ts.map +1 -0
- package/dist/components/QueryWrapper/AggregateQueryErrorNotice.js +50 -0
- package/dist/components/QueryWrapper/AggregateQueryErrorNotice.js.map +1 -0
- package/dist/components/QueryWrapper/TableQueryUseQueryOptions.d.ts +5 -3
- package/dist/components/QueryWrapper/TableQueryUseQueryOptions.d.ts.map +1 -1
- package/dist/components/QueryWrapper/TableQueryUseQueryOptions.js +7 -3
- package/dist/components/QueryWrapper/TableQueryUseQueryOptions.js.map +1 -1
- package/dist/components/QueryWrapper/downloadListFiles.d.ts +25 -0
- package/dist/components/QueryWrapper/downloadListFiles.d.ts.map +1 -0
- package/dist/components/QueryWrapper/downloadListFiles.js +39 -0
- package/dist/components/QueryWrapper/downloadListFiles.js.map +1 -0
- package/dist/components/QueryWrapper/useAddSelectedRowsToDownloadList.d.ts +16 -0
- package/dist/components/QueryWrapper/useAddSelectedRowsToDownloadList.d.ts.map +1 -0
- package/dist/components/QueryWrapper/useAddSelectedRowsToDownloadList.js +50 -0
- package/dist/components/QueryWrapper/useAddSelectedRowsToDownloadList.js.map +1 -0
- package/dist/components/QueryWrapper/useGetAddToDownloadListRequestForCurrentQuery.d.ts +4 -1
- package/dist/components/QueryWrapper/useGetAddToDownloadListRequestForCurrentQuery.d.ts.map +1 -1
- package/dist/components/QueryWrapper/useGetAddToDownloadListRequestForCurrentQuery.js +15 -28
- package/dist/components/QueryWrapper/useGetAddToDownloadListRequestForCurrentQuery.js.map +1 -1
- package/dist/components/QueryWrapper/useOnQueryDataChange.d.ts.map +1 -1
- package/dist/components/QueryWrapper/useOnQueryDataChange.js +7 -6
- package/dist/components/QueryWrapper/useOnQueryDataChange.js.map +1 -1
- package/dist/components/QueryWrapperErrorBoundary.d.ts +3 -1
- package/dist/components/QueryWrapperErrorBoundary.d.ts.map +1 -1
- package/dist/components/QueryWrapperErrorBoundary.js +26 -21
- package/dist/components/QueryWrapperErrorBoundary.js.map +1 -1
- package/dist/components/QueryWrapperPlotNav/LastUpdatedOn.js +7 -7
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts +2 -2
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.d.ts.map +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js +34 -32
- package/dist/components/QueryWrapperPlotNav/QueryWrapperPlotNav.js.map +1 -1
- package/dist/components/QueryWrapperPlotNav/QueryWrapperSynapsePlot.js +7 -7
- package/dist/components/QueryWrapperPlotNav/UseRowSet.d.ts.map +1 -1
- package/dist/components/QueryWrapperPlotNav/UseRowSet.js +12 -12
- package/dist/components/QueryWrapperPlotNav/UseRowSet.js.map +1 -1
- package/dist/components/ReleaseCard/ReleaseCardLarge.js +5 -5
- package/dist/components/ReleaseCard/ReleaseCardLarge.js.map +1 -1
- package/dist/components/RowDataTable/CategorizedRowDataTable.css +1 -0
- package/dist/components/RowDataTable/CategorizedRowDataTable.d.ts +33 -0
- package/dist/components/RowDataTable/CategorizedRowDataTable.d.ts.map +1 -0
- package/dist/components/RowDataTable/CategorizedRowDataTable.js +64 -0
- package/dist/components/RowDataTable/CategorizedRowDataTable.js.map +1 -0
- package/dist/components/RowDataTable/CategorizedRowDataTable.module.js +8 -0
- package/dist/components/RowDataTable/CategorizedRowDataTable.module.js.map +1 -0
- package/dist/components/RowDataTable/CategorizedRowDataTable.module.scss +18 -0
- package/dist/components/RowDataTable/RowDataTable.d.ts +13 -0
- package/dist/components/RowDataTable/RowDataTable.d.ts.map +1 -1
- package/dist/components/RowDataTable/RowDataTable.js +25 -8
- package/dist/components/RowDataTable/RowDataTable.js.map +1 -1
- package/dist/components/RssFeedCards/RssFeedCards.js +1 -1
- package/dist/components/RssFeedCards/RssFeedCards.js.map +1 -1
- package/dist/components/SchemaDrivenAnnotationEditor/field/AdditionalPropertiesSchemaField.d.ts.map +1 -1
- package/dist/components/SchemaDrivenAnnotationEditor/field/AdditionalPropertiesSchemaField.js +2 -2
- package/dist/components/SchemaDrivenAnnotationEditor/field/AdditionalPropertiesSchemaField.js.map +1 -1
- package/dist/components/SchemaDrivenAnnotationEditor/template/ObjectFieldTemplate.js +1 -1
- package/dist/components/SchemaDrivenAnnotationEditor/template/ObjectFieldTemplate.js.map +1 -1
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.d.ts +17 -9
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.d.ts.map +1 -1
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js +39 -30
- package/dist/components/SearchQueryWrapper/SearchQueryUseQueryOptions.js.map +1 -1
- package/dist/components/SetAccessRequirementCommonFields/SetAccessRequirementCommonFields.js +24 -24
- package/dist/components/SetAccessRequirementCommonFields/SetAccessRequirementCommonFields.js.map +1 -1
- package/dist/components/ShareThisPage/ShareThisPage.js +4 -4
- package/dist/components/ShareThisPage/ShareThisPage.js.map +1 -1
- package/dist/components/StandaloneQueryWrapper/StandaloneQueryWrapper.js +8 -8
- package/dist/components/SustainabilityScorecard/DialLayout.js +1 -1
- package/dist/components/SustainabilityScorecard/DialLayout.js.map +1 -1
- package/dist/components/SustainabilityScorecard/SustainabilityScorecard.js +1 -1
- package/dist/components/SustainabilityScorecard/SustainabilityScorecard.js.map +1 -1
- package/dist/components/SynapseChat/SynapseChat.js +1 -1
- package/dist/components/SynapseChat/SynapseChat.js.map +1 -1
- package/dist/components/SynapseChat/SynapseChatInteraction.d.ts.map +1 -1
- package/dist/components/SynapseChat/SynapseChatInteraction.js +2 -1
- package/dist/components/SynapseChat/SynapseChatInteraction.js.map +1 -1
- package/dist/components/SynapseChat/SynapseChatMessage.js +1 -1
- package/dist/components/SynapseChat/SynapseChatMessage.js.map +1 -1
- package/dist/components/SynapseChat/components/ChatInputArea/ChatInputArea.js +1 -1
- package/dist/components/SynapseChat/components/ChatInputArea/ChatInputArea.js.map +1 -1
- package/dist/components/SynapseFooter/SynapseFooter.js +1 -1
- package/dist/components/SynapseFooter/SynapseFooter.js.map +1 -1
- package/dist/components/SynapseForm/NavButtons.js.map +1 -1
- package/dist/components/SynapseForm/StepsSideNav.js.map +1 -1
- package/dist/components/SynapseHomepageV2/SynapseFeaturedDatasetItem.js +1 -1
- package/dist/components/SynapseHomepageV2/SynapseFeaturedDatasetItem.js.map +1 -1
- package/dist/components/SynapseHomepageV2/SynapseHomepageNavBar.d.ts.map +1 -1
- package/dist/components/SynapseHomepageV2/SynapseHomepageNavBar.js +2 -1
- package/dist/components/SynapseHomepageV2/SynapseHomepageNavBar.js.map +1 -1
- package/dist/components/SynapseHomepageV2/SynapseInActionItem.js +4 -4
- package/dist/components/SynapseHomepageV2/SynapseInActionItem.js.map +1 -1
- package/dist/components/SynapseHomepageV2/SynapseTrendingProjectsItem.js +1 -1
- package/dist/components/SynapseHomepageV2/SynapseTrendingProjectsItem.js.map +1 -1
- package/dist/components/SynapseNavDrawer/SynapseNavDrawer.d.ts.map +1 -1
- package/dist/components/SynapseNavDrawer/SynapseNavDrawer.js +4 -1
- package/dist/components/SynapseNavDrawer/SynapseNavDrawer.js.map +1 -1
- package/dist/components/SynapsePortalBanners/SynapsePortalBanners.js +1 -1
- package/dist/components/SynapsePortalBanners/SynapsePortalBanners.js.map +1 -1
- package/dist/components/SynapseSearchPageResults/HighlightedTypography.js +1 -1
- package/dist/components/SynapseSearchPageResults/HighlightedTypography.js.map +1 -1
- package/dist/components/SynapseSearchPageResults/SearchFacetPanel/SearchFacetPanelUtils.d.ts.map +1 -1
- package/dist/components/SynapseSearchPageResults/SearchFacetPanel/SearchFacetPanelUtils.js +3 -3
- package/dist/components/SynapseSearchPageResults/SearchFacetPanel/SearchFacetPanelUtils.js.map +1 -1
- package/dist/components/SynapseSearchPageResults/SynapseSearchPageResults.js +1 -1
- package/dist/components/SynapseSearchPageResults/SynapseSearchPageResults.js.map +1 -1
- package/dist/components/SynapseSearchPageResults/SynapseSearchResultsCard.d.ts.map +1 -1
- package/dist/components/SynapseSearchPageResults/SynapseSearchResultsCard.js +12 -9
- package/dist/components/SynapseSearchPageResults/SynapseSearchResultsCard.js.map +1 -1
- package/dist/components/SynapseTable/RowSelection/RowSelectionControls.d.ts.map +1 -1
- package/dist/components/SynapseTable/RowSelection/RowSelectionControls.js +38 -44
- package/dist/components/SynapseTable/RowSelection/RowSelectionControls.js.map +1 -1
- package/dist/components/SynapseTable/RowSelection/RowSelectionUI.js +4 -4
- package/dist/components/SynapseTable/SqlEditor.js +7 -7
- package/dist/components/SynapseTable/SynapseTable.js +8 -8
- package/dist/components/SynapseTable/SynapseTable.js.map +1 -1
- package/dist/components/SynapseTable/SynapseTableRenderers.d.ts.map +1 -1
- package/dist/components/SynapseTable/SynapseTableRenderers.js +73 -72
- package/dist/components/SynapseTable/SynapseTableRenderers.js.map +1 -1
- package/dist/components/SynapseTable/SynapseTableUtils.js +1 -1
- package/dist/components/SynapseTable/SynapseTableUtils.js.map +1 -1
- package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.d.ts.map +1 -1
- package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.js +44 -45
- package/dist/components/SynapseTable/TopLevelControls/TopLevelControls.js.map +1 -1
- package/dist/components/SynapseTable/datasets/DatasetEditorVersionCell.js +1 -1
- package/dist/components/SynapseTable/datasets/DatasetEditorVersionCell.js.map +1 -1
- package/dist/components/SynapseTable/datasets/DatasetItemsEditor.d.ts.map +1 -1
- package/dist/components/SynapseTable/datasets/DatasetItemsEditor.js +6 -6
- package/dist/components/SynapseTable/datasets/DatasetItemsEditor.js.map +1 -1
- package/dist/components/SynapseTable/export/ExportToAnalysisPlatformDialog.js +4 -4
- package/dist/components/SynapseTable/export/ExternalPlatformActionsRequiredPrecheck.js +12 -12
- package/dist/components/SynapseTable/export/ExternalPlatformActionsRequiredPrecheck.js.map +1 -1
- package/dist/components/SynapseTable/table-top/ColumnSelection.js +6 -6
- package/dist/components/SynapseTable/table-top/DownloadOptions.d.ts +0 -1
- package/dist/components/SynapseTable/table-top/DownloadOptions.d.ts.map +1 -1
- package/dist/components/SynapseTable/table-top/DownloadOptions.js +64 -57
- package/dist/components/SynapseTable/table-top/DownloadOptions.js.map +1 -1
- package/dist/components/SynapseTable/usePrefetchTableData.d.ts.map +1 -1
- package/dist/components/SynapseTable/usePrefetchTableData.js +3 -3
- package/dist/components/SynapseTable/usePrefetchTableData.js.map +1 -1
- package/dist/components/TableColumnSchemaEditor/ColumnModelForm.js +2 -2
- package/dist/components/TableColumnSchemaEditor/ColumnModelForm.js.map +1 -1
- package/dist/components/TableColumnSchemaEditor/ImportTableColumnsButton.js +1 -1
- package/dist/components/TableColumnSchemaEditor/ImportTableColumnsButton.js.map +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorTestUtils.js +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorTestUtils.js.map +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorUtils.d.ts.map +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorUtils.js +2 -2
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaEditorUtils.js.map +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaForm.js +59 -59
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaForm.js.map +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaFormActions.d.ts.map +1 -1
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaFormActions.js +6 -4
- package/dist/components/TableColumnSchemaEditor/TableColumnSchemaFormActions.js.map +1 -1
- package/dist/components/TableColumnSchemaEditor/Validators/DatetimeSchema.js +1 -1
- package/dist/components/TableColumnSchemaEditor/Validators/DatetimeSchema.js.map +1 -1
- package/dist/components/TanStackTable/ColumnHeader.js +1 -1
- package/dist/components/TanStackTable/ColumnHeader.js.map +1 -1
- package/dist/components/TanStackTable/ColumnHeaderEnumFilter.js +1 -1
- package/dist/components/TanStackTable/ColumnHeaderEnumFilter.js.map +1 -1
- package/dist/components/TanStackTable/StyledTanStackTable.d.ts.map +1 -1
- package/dist/components/TanStackTable/StyledTanStackTable.js +1 -4
- package/dist/components/TanStackTable/StyledTanStackTable.js.map +1 -1
- package/dist/components/TeamSubjectsSelector/TeamBadgeOrError.js +1 -1
- package/dist/components/TeamSubjectsSelector/TeamBadgeOrError.js.map +1 -1
- package/dist/components/TeamSubjectsSelector/TeamSubjectsSelector.d.ts.map +1 -1
- package/dist/components/TeamSubjectsSelector/TeamSubjectsSelector.js +4 -3
- package/dist/components/TeamSubjectsSelector/TeamSubjectsSelector.js.map +1 -1
- package/dist/components/TermsAndConditions/TermsAndConditions.js.map +1 -1
- package/dist/components/TotalQueryResults.js +14 -14
- package/dist/components/Webhook/WebhookDashboard.d.ts.map +1 -1
- package/dist/components/Webhook/WebhookDashboard.js +3 -3
- package/dist/components/Webhook/WebhookDashboard.js.map +1 -1
- package/dist/components/dataaccess/AccessRequirementDashboard.js +4 -4
- package/dist/components/dataaccess/AccessRequirementDashboard.js.map +1 -1
- package/dist/components/dataaccess/AccessRequirementTable.js +1 -1
- package/dist/components/dataaccess/AccessRequirementTable.js.map +1 -1
- package/dist/components/dataaccess/EDucTemplateTable.d.ts.map +1 -1
- package/dist/components/dataaccess/EDucTemplateTable.js +13 -11
- package/dist/components/dataaccess/EDucTemplateTable.js.map +1 -1
- package/dist/components/dataaccess/FormTemplateTable.js +6 -6
- package/dist/components/dataaccess/FormTemplateTable.js.map +1 -1
- package/dist/components/dataaccess/ReviewerDashboard.js +17 -17
- package/dist/components/dataaccess/ReviewerDashboard.js.map +1 -1
- package/dist/components/dataaccess/SubmissionPage/SubmissionPage.js +4 -4
- package/dist/components/doi/CreateOrUpdateDoiModal.js +1 -1
- package/dist/components/doi/CreateOrUpdateDoiModal.js.map +1 -1
- package/dist/components/download_list/DownloadConfirmationUtils.d.ts +5 -1
- package/dist/components/download_list/DownloadConfirmationUtils.d.ts.map +1 -1
- package/dist/components/download_list/DownloadConfirmationUtils.js +2 -2
- package/dist/components/download_list/DownloadConfirmationUtils.js.map +1 -1
- package/dist/components/download_list/DownloadDetails.d.ts.map +1 -1
- package/dist/components/download_list/DownloadDetails.js +12 -10
- package/dist/components/download_list/DownloadDetails.js.map +1 -1
- package/dist/components/entity/metadata/AnnotationsTable.js +1 -1
- package/dist/components/entity/metadata/AnnotationsTable.js.map +1 -1
- package/dist/components/entity/page/CreatedByModifiedBy.js +1 -1
- package/dist/components/entity/page/CreatedByModifiedBy.js.map +1 -1
- package/dist/components/entity/page/action_menu/EntityActionMenu.d.ts.map +1 -1
- package/dist/components/entity/page/action_menu/EntityActionMenu.js.map +1 -1
- package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.js +1 -1
- package/dist/components/entity/page/title_bar/useGetEntityTitleBarProperties.js.map +1 -1
- package/dist/components/error/ErrorBanner.d.ts.map +1 -1
- package/dist/components/error/ErrorBanner.js +49 -46
- package/dist/components/error/ErrorBanner.js.map +1 -1
- package/dist/components/error/ErrorChip.d.ts.map +1 -1
- package/dist/components/error/ErrorChip.js +2 -1
- package/dist/components/error/ErrorChip.js.map +1 -1
- package/dist/components/file/upload/MultiFileUploadProgress.js +5 -5
- package/dist/components/row_renderers/Dataset.d.ts.map +1 -1
- package/dist/components/row_renderers/Dataset.js +6 -6
- package/dist/components/row_renderers/Dataset.js.map +1 -1
- package/dist/components/row_renderers/Funder.js +1 -1
- package/dist/components/row_renderers/Funder.js.map +1 -1
- package/dist/components/table/CsvPreview/CreateTableFromCsvDialog.js +14 -14
- package/dist/components/table/CsvPreview/CsvPreviewWithOptions.js +4 -4
- package/dist/components/table/CsvPreview/CsvPreviewWithOptions.js.map +1 -1
- package/dist/components/widgets/ElementWithTooltip.d.ts +6 -1
- package/dist/components/widgets/ElementWithTooltip.d.ts.map +1 -1
- package/dist/components/widgets/ElementWithTooltip.js +22 -14
- package/dist/components/widgets/ElementWithTooltip.js.map +1 -1
- package/dist/components/widgets/RangeSlider/RangeSlider.d.ts.map +1 -1
- package/dist/components/widgets/RangeSlider/RangeSlider.js +1 -1
- package/dist/components/widgets/RangeSlider/RangeSlider.js.map +1 -1
- package/dist/components/widgets/SynapseImage.js +1 -1
- package/dist/components/widgets/SynapseImage.js.map +1 -1
- package/dist/components/widgets/facet-nav/FacetNavPanel.d.ts +16 -5
- package/dist/components/widgets/facet-nav/FacetNavPanel.d.ts.map +1 -1
- package/dist/components/widgets/facet-nav/FacetNavPanel.js +115 -102
- package/dist/components/widgets/facet-nav/FacetNavPanel.js.map +1 -1
- package/dist/components/widgets/facet-nav/FacetPlotLegendList.d.ts.map +1 -1
- package/dist/components/widgets/facet-nav/FacetPlotLegendList.js +4 -2
- package/dist/components/widgets/facet-nav/FacetPlotLegendList.js.map +1 -1
- package/dist/components/widgets/facet-nav/FacetPlotLegendTable.js +1 -1
- package/dist/components/widgets/facet-nav/FacetPlotLegendTable.js.map +1 -1
- package/dist/components/widgets/facet-nav/FacetPlotLegendUtils.d.ts +2 -0
- package/dist/components/widgets/facet-nav/FacetPlotLegendUtils.d.ts.map +1 -1
- package/dist/components/widgets/facet-nav/FacetPlotLegendUtils.js.map +1 -1
- package/dist/components/widgets/facet-nav/PlotsContainer.d.ts +7 -0
- package/dist/components/widgets/facet-nav/PlotsContainer.d.ts.map +1 -1
- package/dist/components/widgets/facet-nav/PlotsContainer.js +47 -45
- package/dist/components/widgets/facet-nav/PlotsContainer.js.map +1 -1
- package/dist/components/widgets/facet-nav/SelectionCriteriaPills.js +4 -4
- package/dist/components/widgets/facet-nav/useFacetPlots.d.ts +3 -2
- package/dist/components/widgets/facet-nav/useFacetPlots.d.ts.map +1 -1
- package/dist/components/widgets/facet-nav/useFacetPlots.js +16 -15
- package/dist/components/widgets/facet-nav/useFacetPlots.js.map +1 -1
- package/dist/components/widgets/query-filter/CombinedRangeFacetFilter.js +4 -4
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.d.ts +2 -2
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.d.ts.map +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.js +62 -60
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilter.js.map +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterOption.d.ts +2 -0
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterOption.d.ts.map +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterOption.js +10 -10
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterOption.js.map +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUI.d.ts +1 -0
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUI.d.ts.map +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUI.js +2 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUI.js.map +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUtils.d.ts +3 -2
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUtils.d.ts.map +1 -1
- package/dist/components/widgets/query-filter/EnumFacetFilter/EnumFacetFilterUtils.js.map +1 -1
- package/dist/components/widgets/query-filter/FacetFilterControls.d.ts +3 -2
- package/dist/components/widgets/query-filter/FacetFilterControls.d.ts.map +1 -1
- package/dist/components/widgets/query-filter/FacetFilterControls.js +63 -62
- package/dist/components/widgets/query-filter/FacetFilterControls.js.map +1 -1
- package/dist/components/widgets/query-filter/JsonColumnFacetFilters.d.ts.map +1 -1
- package/dist/components/widgets/query-filter/JsonColumnFacetFilters.js +30 -29
- package/dist/components/widgets/query-filter/JsonColumnFacetFilters.js.map +1 -1
- package/dist/components/widgets/query-filter/RangeFacetFilter.js +5 -5
- package/dist/features/curator/dashboard/components/NextStepButton.d.ts.map +1 -1
- package/dist/features/curator/dashboard/components/NextStepButton.js +7 -6
- package/dist/features/curator/dashboard/components/NextStepButton.js.map +1 -1
- package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.js +8 -8
- package/dist/features/entity/metadata-task/components/CreateOrUpdateCurationTaskDialog.js.map +1 -1
- package/dist/features/entity/metadata-task/components/MetadataTaskTableActionCell.js +4 -4
- package/dist/features/entity/metadata-task/components/MetadataTaskTableActionCell.js.map +1 -1
- package/dist/features/entity/metadata-task/components/MetadataTasksPage.js +4 -4
- package/dist/features/entity/metadata-task/components/MetadataTasksPage.js.map +1 -1
- package/dist/features/entity/metadata-task/components/MetadataTasksTableAssigneeCell.js +1 -1
- package/dist/features/entity/metadata-task/components/MetadataTasksTableAssigneeCell.js.map +1 -1
- package/dist/features/entity/metadata-task/create-task/CurateTaskForm.js +4 -4
- package/dist/features/entity/metadata-task/create-task/CurateTaskForm.js.map +1 -1
- package/dist/features/entity/metadata-task/create-task/TaskCategoryCard.js +1 -1
- package/dist/features/entity/metadata-task/create-task/TaskCategoryCard.js.map +1 -1
- package/dist/features/entity/metadata-task/create-task/TaskFormHeader.js +1 -1
- package/dist/features/entity/metadata-task/create-task/TaskFormHeader.js.map +1 -1
- package/dist/features/entity/metadata-task/create-task/curationTaskFlowRoutes.js +10 -10
- package/dist/features/entity/metadata-task/create-task/curationTaskFlowRoutes.js.map +1 -1
- package/dist/features/team/invitation/components/OpenInvitationsToUserCard.js +1 -1
- package/dist/features/team/invitation/components/OpenInvitationsToUserCard.js.map +1 -1
- package/dist/mocks/cohortBuilder/cohortBuilderMockProfiles.d.ts +53 -0
- package/dist/mocks/cohortBuilder/cohortBuilderMockProfiles.d.ts.map +1 -0
- package/dist/mocks/cohortBuilder/cohortBuilderMockProfiles.js +391 -0
- package/dist/mocks/cohortBuilder/cohortBuilderMockProfiles.js.map +1 -0
- package/dist/mocks/cohortBuilder/cohortBuilderMockQueryEngine.d.ts +41 -0
- package/dist/mocks/cohortBuilder/cohortBuilderMockQueryEngine.d.ts.map +1 -0
- package/dist/mocks/cohortBuilder/cohortBuilderMockQueryEngine.js +379 -0
- package/dist/mocks/cohortBuilder/cohortBuilderMockQueryEngine.js.map +1 -0
- package/dist/mocks/cohortBuilder/cohortBuilderSyntheticData.d.ts +26 -0
- package/dist/mocks/cohortBuilder/cohortBuilderSyntheticData.d.ts.map +1 -0
- package/dist/mocks/cohortBuilder/cohortBuilderSyntheticData.js +112 -0
- package/dist/mocks/cohortBuilder/cohortBuilderSyntheticData.js.map +1 -0
- package/dist/mocks/mockAnnotationColumns.d.ts.map +1 -1
- package/dist/mocks/mockAnnotationColumns.js +1 -1
- package/dist/mocks/mockAnnotationColumns.js.map +1 -1
- package/dist/mocks/msw/handlers/aridhiaHandlers.d.ts +17 -0
- package/dist/mocks/msw/handlers/aridhiaHandlers.d.ts.map +1 -1
- package/dist/mocks/msw/handlers/aridhiaHandlers.js +62 -42
- package/dist/mocks/msw/handlers/aridhiaHandlers.js.map +1 -1
- package/dist/mocks/msw/handlers/asyncJobHandlers.d.ts +21 -2
- package/dist/mocks/msw/handlers/asyncJobHandlers.d.ts.map +1 -1
- package/dist/mocks/msw/handlers/asyncJobHandlers.js +30 -22
- package/dist/mocks/msw/handlers/asyncJobHandlers.js.map +1 -1
- package/dist/mocks/msw/handlers/cohortBuilderHandlers.d.ts +27 -0
- package/dist/mocks/msw/handlers/cohortBuilderHandlers.d.ts.map +1 -0
- package/dist/mocks/msw/handlers/cohortBuilderHandlers.js +158 -0
- package/dist/mocks/msw/handlers/cohortBuilderHandlers.js.map +1 -0
- package/dist/mocks/msw/handlers/entityHandlers.d.ts.map +1 -1
- package/dist/mocks/msw/handlers/entityHandlers.js +70 -67
- package/dist/mocks/msw/handlers/entityHandlers.js.map +1 -1
- package/dist/mocks/msw/handlers/gridHandlers.js +2 -2
- package/dist/mocks/msw/handlers/gridHandlers.js.map +1 -1
- package/dist/mocks/msw/handlers/subscriptionHandlers.js +1 -1
- package/dist/mocks/msw/handlers/subscriptionHandlers.js.map +1 -1
- package/dist/mocks/msw/handlers/userProfileHandlers.d.ts.map +1 -1
- package/dist/mocks/msw/handlers/userProfileHandlers.js +2 -2
- package/dist/mocks/msw/handlers/userProfileHandlers.js.map +1 -1
- package/dist/mocks/msw/server.d.ts.map +1 -1
- package/dist/mocks/msw/server.js +4 -2
- package/dist/mocks/msw/server.js.map +1 -1
- package/dist/mocks/query/mockColumnCategoryTable.d.ts +19 -0
- package/dist/mocks/query/mockColumnCategoryTable.d.ts.map +1 -0
- package/dist/mocks/query/mockColumnCategoryTable.js +188 -0
- package/dist/mocks/query/mockColumnCategoryTable.js.map +1 -0
- package/dist/stories/ColorPaletteInspector.d.ts.map +1 -1
- package/dist/stories/ColorPaletteInspector.js +2 -2
- package/dist/stories/ColorPaletteInspector.js.map +1 -1
- package/dist/style/components/facet_nav/_facet-nav-panel.scss +8 -0
- package/dist/style/main.css +1 -1
- package/dist/synapse-queries/auth/useOIDC.js +2 -2
- package/dist/synapse-queries/auth/useOIDC.js.map +1 -1
- package/dist/synapse-queries/auth/useUnbindOAuthProviderIdentity.js +2 -2
- package/dist/synapse-queries/auth/useUnbindOAuthProviderIdentity.js.map +1 -1
- package/dist/synapse-queries/challenge/useChallenge.js +2 -2
- package/dist/synapse-queries/challenge/useChallenge.js.map +1 -1
- package/dist/synapse-queries/chat/useChat.js +8 -8
- package/dist/synapse-queries/chat/useChat.js.map +1 -1
- package/dist/synapse-queries/curation/task/useCurationTask.js +10 -10
- package/dist/synapse-queries/curation/task/useCurationTask.js.map +1 -1
- package/dist/synapse-queries/dataaccess/useAccessRequirements.js +24 -24
- package/dist/synapse-queries/dataaccess/useAccessRequirements.js.map +1 -1
- package/dist/synapse-queries/dataaccess/useDataAccessSubmission.js +4 -4
- package/dist/synapse-queries/dataaccess/useDataAccessSubmission.js.map +1 -1
- package/dist/synapse-queries/dataaccess/useEDuc.js +6 -6
- package/dist/synapse-queries/dataaccess/useEDuc.js.map +1 -1
- package/dist/synapse-queries/dataaccess/useFormTemplate.js +4 -4
- package/dist/synapse-queries/dataaccess/useFormTemplate.js.map +1 -1
- package/dist/synapse-queries/download/index.js +2 -2
- package/dist/synapse-queries/download/useDownloadList.d.ts +5 -0
- package/dist/synapse-queries/download/useDownloadList.d.ts.map +1 -1
- package/dist/synapse-queries/download/useDownloadList.js +14 -13
- package/dist/synapse-queries/download/useDownloadList.js.map +1 -1
- package/dist/synapse-queries/entity/useEntity.d.ts.map +1 -1
- package/dist/synapse-queries/entity/useEntity.js +20 -20
- package/dist/synapse-queries/entity/useEntity.js.map +1 -1
- package/dist/synapse-queries/entity/useExportToADWorkbench.d.ts.map +1 -1
- package/dist/synapse-queries/entity/useExportToADWorkbench.js +2 -1
- package/dist/synapse-queries/entity/useExportToADWorkbench.js.map +1 -1
- package/dist/synapse-queries/entity/useExportToCavatica.d.ts.map +1 -1
- package/dist/synapse-queries/entity/useExportToCavatica.js +3 -2
- package/dist/synapse-queries/entity/useExportToCavatica.js.map +1 -1
- package/dist/synapse-queries/entity/useExportToPluto.d.ts.map +1 -1
- package/dist/synapse-queries/entity/useExportToPluto.js +2 -1
- package/dist/synapse-queries/entity/useExportToPluto.js.map +1 -1
- package/dist/synapse-queries/entity/useGetQueryResultBundle.d.ts.map +1 -1
- package/dist/synapse-queries/entity/useGetQueryResultBundle.js +4 -7
- package/dist/synapse-queries/entity/useGetQueryResultBundle.js.map +1 -1
- package/dist/synapse-queries/forum/useReply.js +6 -6
- package/dist/synapse-queries/forum/useReply.js.map +1 -1
- package/dist/synapse-queries/forum/useThread.js +14 -14
- package/dist/synapse-queries/forum/useThread.js.map +1 -1
- package/dist/synapse-queries/grid/useEstablishWebsocketConnection.js +1 -1
- package/dist/synapse-queries/grid/useEstablishWebsocketConnection.js.map +1 -1
- package/dist/synapse-queries/grid/useGridSession.js +4 -4
- package/dist/synapse-queries/grid/useGridSession.js.map +1 -1
- package/dist/synapse-queries/index.js +177 -176
- package/dist/synapse-queries/oauth/useOAuthClient.js +9 -9
- package/dist/synapse-queries/oauth/useOAuthClient.js.map +1 -1
- package/dist/synapse-queries/portal/usePortal.js +7 -7
- package/dist/synapse-queries/portal/usePortal.js.map +1 -1
- package/dist/synapse-queries/subscription/useSubscription.js +4 -4
- package/dist/synapse-queries/subscription/useSubscription.js.map +1 -1
- package/dist/synapse-queries/table/useTableUpdateTransaction.js +2 -2
- package/dist/synapse-queries/table/useTableUpdateTransaction.js.map +1 -1
- package/dist/synapse-queries/team/useTeam.js +2 -2
- package/dist/synapse-queries/team/useTeam.js.map +1 -1
- package/dist/synapse-queries/team/useTeamList.d.ts.map +1 -1
- package/dist/synapse-queries/team/useTeamList.js +3 -3
- package/dist/synapse-queries/team/useTeamList.js.map +1 -1
- package/dist/synapse-queries/team/useTeamMembers.js +8 -8
- package/dist/synapse-queries/team/useTeamMembers.js.map +1 -1
- package/dist/synapse-queries/termsOfService/useTermsOfService.js +2 -2
- package/dist/synapse-queries/termsOfService/useTermsOfService.js.map +1 -1
- package/dist/synapse-queries/trash/useTrashCan.js +4 -4
- package/dist/synapse-queries/trash/useTrashCan.js.map +1 -1
- package/dist/synapse-queries/user/useCertificationQuiz.js +2 -2
- package/dist/synapse-queries/user/useCertificationQuiz.js.map +1 -1
- package/dist/synapse-queries/user/useFavorites.js +4 -4
- package/dist/synapse-queries/user/useFavorites.js.map +1 -1
- package/dist/synapse-queries/user/useGetUserChallenges.d.ts.map +1 -1
- package/dist/synapse-queries/user/useGetUserChallenges.js.map +1 -1
- package/dist/synapse-queries/user/useRevokeCertification.js +2 -2
- package/dist/synapse-queries/user/useRevokeCertification.js.map +1 -1
- package/dist/synapse-queries/wiki/useWiki.js +10 -10
- package/dist/synapse-queries/wiki/useWiki.js.map +1 -1
- package/dist/theme/DefaultTheme.d.ts.map +1 -1
- package/dist/theme/DefaultTheme.js +4 -1
- package/dist/theme/DefaultTheme.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/APIConstants.d.ts.map +1 -1
- package/dist/utils/APIConstants.js.map +1 -1
- package/dist/utils/AppUtils/AppUtils.js +1 -1
- package/dist/utils/AppUtils/AppUtils.js.map +1 -1
- package/dist/utils/ContentTypeUtils.js +4 -4
- package/dist/utils/ContentTypeUtils.js.map +1 -1
- package/dist/utils/PermissionLevelToAccessType.js +1 -1
- package/dist/utils/PermissionLevelToAccessType.js.map +1 -1
- package/dist/utils/analytics/useGoogleAnalytics.js +1 -1
- package/dist/utils/analytics/useGoogleAnalytics.js.map +1 -1
- package/dist/utils/context/DocumentMetadataContext.js +1 -1
- package/dist/utils/context/DocumentMetadataContext.js.map +1 -1
- package/dist/utils/functions/AccessControlListUtils.d.ts.map +1 -1
- package/dist/utils/functions/AccessControlListUtils.js +3 -3
- package/dist/utils/functions/AccessControlListUtils.js.map +1 -1
- package/dist/utils/functions/ArrayUtils.js +2 -2
- package/dist/utils/functions/ArrayUtils.js.map +1 -1
- package/dist/utils/functions/EntityTypeUtils.d.ts.map +1 -1
- package/dist/utils/functions/EntityTypeUtils.js.map +1 -1
- package/dist/utils/functions/FileHandleUtils.js +1 -1
- package/dist/utils/functions/FileHandleUtils.js.map +1 -1
- package/dist/utils/functions/RegularExpressions.js +1 -1
- package/dist/utils/functions/RegularExpressions.js.map +1 -1
- package/dist/utils/functions/StringUtils.d.ts.map +1 -1
- package/dist/utils/functions/StringUtils.js +1 -2
- package/dist/utils/functions/StringUtils.js.map +1 -1
- package/dist/utils/functions/deepLinkingUtils.js +2 -2
- package/dist/utils/functions/deepLinkingUtils.js.map +1 -1
- package/dist/utils/functions/enumerationFacet.d.ts +26 -0
- package/dist/utils/functions/enumerationFacet.d.ts.map +1 -0
- package/dist/utils/functions/enumerationFacet.js +27 -0
- package/dist/utils/functions/enumerationFacet.js.map +1 -0
- package/dist/utils/functions/facetCountUtils.d.ts +12 -0
- package/dist/utils/functions/facetCountUtils.d.ts.map +1 -0
- package/dist/utils/functions/facetCountUtils.js +9 -0
- package/dist/utils/functions/facetCountUtils.js.map +1 -0
- package/dist/utils/functions/getEndpoint.js.map +1 -1
- package/dist/utils/functions/getUserData.js +1 -1
- package/dist/utils/functions/getUserData.js.map +1 -1
- package/dist/utils/functions/queryUtils.d.ts +1 -1
- package/dist/utils/functions/queryUtils.d.ts.map +1 -1
- package/dist/utils/functions/queryUtils.js +26 -22
- package/dist/utils/functions/queryUtils.js.map +1 -1
- package/dist/utils/functions/testDownloadSpeed.d.ts.map +1 -1
- package/dist/utils/functions/testDownloadSpeed.js +17 -26
- package/dist/utils/functions/testDownloadSpeed.js.map +1 -1
- package/dist/utils/functions/unCamelCase.js +1 -1
- package/dist/utils/functions/unCamelCase.js.map +1 -1
- package/dist/utils/hooks/useGetInfoFromIds.js +5 -5
- package/dist/utils/hooks/useGetInfoFromIds.js.map +1 -1
- package/dist/utils/hooks/useImmutableTableQuery/TableQueryReducerActions.js +1 -1
- package/dist/utils/hooks/useImmutableTableQuery/TableQueryReducerActions.js.map +1 -1
- package/dist/utils/hooks/useLogin.d.ts.map +1 -1
- package/dist/utils/hooks/useLogin.js +5 -5
- package/dist/utils/hooks/useLogin.js.map +1 -1
- package/dist/utils/hooks/useUploadFileEntity/useCreateFolderPath.js.map +1 -1
- package/dist/utils/jsonschema/collectTopLevelProperties.d.ts +6 -0
- package/dist/utils/jsonschema/collectTopLevelProperties.d.ts.map +1 -1
- package/dist/utils/jsonschema/collectTopLevelProperties.js +1 -1
- package/dist/utils/jsonschema/collectTopLevelProperties.js.map +1 -1
- package/dist/utils/jsonschema/getNumberOrEnumInfo.d.ts +22 -0
- package/dist/utils/jsonschema/getNumberOrEnumInfo.d.ts.map +1 -0
- package/dist/utils/jsonschema/getNumberOrEnumInfo.js +39 -0
- package/dist/utils/jsonschema/getNumberOrEnumInfo.js.map +1 -0
- package/dist/utils/jsonschema/getOnlyNonNullOneOfOption.d.ts +1 -0
- package/dist/utils/jsonschema/getOnlyNonNullOneOfOption.d.ts.map +1 -1
- package/dist/utils/jsonschema/getOnlyNonNullOneOfOption.js +1 -1
- package/dist/utils/jsonschema/getOnlyNonNullOneOfOption.js.map +1 -1
- package/dist/utils/jsonschema/getSchemaPropertyInfo.d.ts +5 -0
- package/dist/utils/jsonschema/getSchemaPropertyInfo.d.ts.map +1 -1
- package/dist/utils/jsonschema/getSchemaPropertyInfo.js +30 -15
- package/dist/utils/jsonschema/getSchemaPropertyInfo.js.map +1 -1
- package/dist/utils/jsonschema/submissionContext.js +2 -2
- package/dist/utils/jsonschema/submissionContext.js.map +1 -1
- package/package.json +7 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenInvitationsToUserCard.js","names":[],"sources":["../../../../../src/features/team/invitation/components/OpenInvitationsToUserCard.tsx"],"sourcesContent":["import { displayToast } from '@/components/ToastMessage/ToastMessage'\nimport { UserBadge } from '@/components/UserCard/UserBadge'\nimport UserOrTeamBadge from '@/components/UserOrTeamBadge/UserOrTeamBadge'\nimport {\n useAddMemberToTeam,\n useDeleteMembershipInvitation,\n useGetAllOpenMembershipInvitations,\n} from '@/synapse-queries/team/useTeamMembers'\nimport { useGetCurrentUserProfile } from '@/synapse-queries/user/useUserBundle'\nimport
|
|
1
|
+
{"version":3,"file":"OpenInvitationsToUserCard.js","names":[],"sources":["../../../../../src/features/team/invitation/components/OpenInvitationsToUserCard.tsx"],"sourcesContent":["import { displayToast } from '@/components/ToastMessage/ToastMessage'\nimport { UserBadge } from '@/components/UserCard/UserBadge'\nimport UserOrTeamBadge from '@/components/UserOrTeamBadge/UserOrTeamBadge'\nimport {\n useAddMemberToTeam,\n useDeleteMembershipInvitation,\n useGetAllOpenMembershipInvitations,\n} from '@/synapse-queries/team/useTeamMembers'\nimport { useGetCurrentUserProfile } from '@/synapse-queries/user/useUserBundle'\nimport ChatTwoTone from '@mui/icons-material/ChatTwoTone'\nimport { Card, CardProps, Collapse, Divider, Tooltip } from '@mui/material'\nimport Button from '@mui/material/Button'\nimport Stack from '@mui/material/Stack'\nimport Typography from '@mui/material/Typography'\nimport { MembershipInvitation } from '@sage-bionetworks/synapse-client/generated/models/index'\nimport { useRef } from 'react'\nimport TransitionGroup from 'react-transition-group/TransitionGroup'\nimport {\n ACCEPT_TEAM_INVITATION_ERROR_MESSAGE,\n ACCEPT_TEAM_INVITATION_SUCCESS_MESSAGE,\n DECLINE_TEAM_INVITATION_ERROR_MESSAGE,\n} from '../utils/constants'\nimport styles from './OpenInvitationsToUserCard.module.scss'\n\nfunction InvitationRow(props: { invitation: MembershipInvitation }) {\n const { invitation } = props\n\n const { mutate: acceptInvitation, isPending: acceptIsPending } =\n useAddMemberToTeam({\n onSuccess: () => {\n displayToast(ACCEPT_TEAM_INVITATION_SUCCESS_MESSAGE, 'success')\n },\n onError: error => {\n displayToast(error.message, 'danger', {\n title: ACCEPT_TEAM_INVITATION_ERROR_MESSAGE,\n })\n },\n })\n const { mutate: deleteMembershipInvitation, isPending: deleteIsPending } =\n useDeleteMembershipInvitation({\n onSuccess: () => {\n displayToast('Invitation dismissed.', 'info')\n },\n onError: error => {\n displayToast(error.message, 'danger', {\n title: DECLINE_TEAM_INVITATION_ERROR_MESSAGE,\n })\n },\n })\n\n return (\n <div key={invitation.id} className={styles.row}>\n <span className={styles.teamName}>\n <UserOrTeamBadge principalId={invitation.teamId} />\n </span>\n <div className={styles.invitationMessage}>\n {invitation.message && (\n <>\n <Tooltip\n title={\n <>\n Message from{' '}\n <UserBadge\n userId={invitation.createdBy}\n showFullName\n showCardOnHover={false}\n disableLink\n />\n </>\n }\n >\n <ChatTwoTone sx={{ color: 'grey.700' }} />\n </Tooltip>\n <Typography variant=\"body2\" color=\"text.secondary\">\n {invitation.message}\n </Typography>\n </>\n )}\n </div>\n <Button\n variant=\"contained\"\n color=\"primary\"\n loading={acceptIsPending}\n disabled={deleteIsPending}\n onClick={() => {\n acceptInvitation({\n teamId: invitation.teamId!,\n userId: invitation.inviteeId!,\n })\n }}\n >\n Join\n </Button>\n <Button\n variant=\"outlined\"\n loading={deleteIsPending}\n disabled={acceptIsPending}\n onClick={() => {\n deleteMembershipInvitation({\n membershipInvitation: invitation,\n })\n }}\n >\n Decline\n </Button>\n </div>\n )\n}\n\ntype OpenInvitationsToUserCardProps = {\n cardProps?: CardProps\n}\n\n/**\n * Shows a card of the open team membership invitations for the current user, if any exist. If no invitations exist, nothing is shown.\n */\nexport default function OpenInvitationsToUserCard(\n props: OpenInvitationsToUserCardProps,\n) {\n const { cardProps } = props\n const { data: currentUser } = useGetCurrentUserProfile()\n const { data: openInvitations, isLoading } =\n useGetAllOpenMembershipInvitations(currentUser?.ownerId!, {\n enabled: Boolean(currentUser?.ownerId),\n })\n\n // Keep track of the maximum number of invitations seen so that if the list of invitations goes down to 0 we can still show the section (with a message indicating there are no invitations) instead of hiding the section entirely.\n // This is to prevent jarring changes in the UI if a user accepts/declines an invitation and the section disappears entirely.\n const maxSeenInvitationsRef = useRef(0)\n maxSeenInvitationsRef.current = Math.max(\n maxSeenInvitationsRef.current,\n openInvitations?.length ?? 0,\n )\n if (\n maxSeenInvitationsRef.current == 0 &&\n (isLoading || !openInvitations || openInvitations.length === 0)\n ) {\n return null\n }\n\n return (\n <Card {...cardProps}>\n <Typography variant=\"headline3\" gutterBottom>\n Pending Team Invitations\n </Typography>\n <Typography variant=\"body1\" gutterBottom>\n You have been invited to join the following team(s). New content may be\n visible to you after you accept a team invitation.\n </Typography>\n {openInvitations && openInvitations.length > 0 ? (\n <Stack\n component={TransitionGroup}\n divider={<Divider flexItem />}\n spacing={2}\n mt={2}\n >\n {openInvitations.map(invitation => (\n <Collapse key={invitation.id}>\n <InvitationRow invitation={invitation} />\n </Collapse>\n ))}\n </Stack>\n ) : (\n <Typography\n variant=\"body1Italic\"\n align=\"center\"\n color=\"text.secondary\"\n mt={2}\n >\n You have no pending team invitations.\n </Typography>\n )}\n </Card>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAwBA,SAAS,EAAc,GAA6C;CAClE,IAAM,EAAE,kBAAe,GAEjB,EAAE,QAAQ,GAAkB,WAAW,MAC3C,EAAmB;EACjB,iBAAiB;GACf,EAAa,GAAwC,SAAS;EAChE;EACA,UAAS,MAAS;GAChB,EAAa,EAAM,SAAS,UAAU,EACpC,OAAO,EACT,CAAC;EACH;CACF,CAAC,GACG,EAAE,QAAQ,GAA4B,WAAW,MACrD,EAA8B;EAC5B,iBAAiB;GACf,EAAa,yBAAyB,MAAM;EAC9C;EACA,UAAS,MAAS;GAChB,EAAa,EAAM,SAAS,UAAU,EACpC,OAAO,EACT,CAAC;EACH;CACF,CAAC;CAEH,OACE,kBAAC,OAAD;EAAyB,WAAW,EAAO;YAA3C;GACE,kBAAC,QAAD;IAAM,WAAW,EAAO;cACtB,kBAAC,GAAD,EAAiB,aAAa,EAAW,OAAS,CAAA;GAC9C,CAAA;GACN,kBAAC,OAAD;IAAK,WAAW,EAAO;cACpB,EAAW,WACV,kBAAA,GAAA,EAAA,UAAA,CACE,kBAAC,GAAD;KACE,OACE,kBAAA,GAAA,EAAA,UAAA;MAAE;MACa;MACb,kBAAC,GAAD;OACE,QAAQ,EAAW;OACnB,cAAA;OACA,iBAAiB;OACjB,aAAA;MACD,CAAA;KACD,EAAA,CAAA;eAGJ,kBAAC,GAAD,EAAa,IAAI,EAAE,OAAO,WAAW,EAAI,CAAA;IAClC,CAAA,GACT,kBAAC,GAAD;KAAY,SAAQ;KAAQ,OAAM;eAC/B,EAAW;IACF,CAAA,CACZ,EAAA,CAAA;GAED,CAAA;GACL,kBAAC,GAAD;IACE,SAAQ;IACR,OAAM;IACN,SAAS;IACT,UAAU;IACV,eAAe;KACb,EAAiB;MACf,QAAQ,EAAW;MACnB,QAAQ,EAAW;KACrB,CAAC;IACH;cACD;GAEO,CAAA;GACR,kBAAC,GAAD;IACE,SAAQ;IACR,SAAS;IACT,UAAU;IACV,eAAe;KACb,EAA2B,EACzB,sBAAsB,EACxB,CAAC;IACH;cACD;GAEO,CAAA;EACL;IAtDK,EAAW,EAsDhB;AAET;AASA,SAAwB,EACtB,GACA;CACA,IAAM,EAAE,iBAAc,GAChB,EAAE,MAAM,MAAgB,EAAyB,GACjD,EAAE,MAAM,GAAiB,iBAC7B,EAAmC,GAAa,SAAU,EACxD,SAAS,EAAQ,GAAa,QAChC,CAAC,GAIG,IAAwB,EAAO,CAAC;CAYtC,OAXA,EAAsB,UAAU,KAAK,IACnC,EAAsB,SACtB,GAAiB,UAAU,CAC7B,GAEE,EAAsB,WAAW,MAChC,KAAa,CAAC,KAAmB,EAAgB,WAAW,KAEtD,OAIP,kBAAC,GAAD;EAAM,GAAI;YAAV;GACE,kBAAC,GAAD;IAAY,SAAQ;IAAY,cAAA;cAAa;GAEjC,CAAA;GACZ,kBAAC,GAAD;IAAY,SAAQ;IAAQ,cAAA;cAAa;GAG7B,CAAA;GACX,KAAmB,EAAgB,SAAS,IAC3C,kBAAC,GAAD;IACE,WAAW;IACX,SAAS,kBAAC,GAAD,EAAS,UAAA,GAAU,CAAA;IAC5B,SAAS;IACT,IAAI;cAEH,EAAgB,KAAI,MACnB,kBAAC,GAAD,EAAA,UACE,kBAAC,GAAD,EAA2B,cAAa,CAAA,EAChC,GAFK,EAAW,EAEhB,CACX;GACI,CAAA,IAEP,kBAAC,GAAD;IACE,SAAQ;IACR,OAAM;IACN,OAAM;IACN,IAAI;cACL;GAEW,CAAA;EAEV;;AAEV"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { AggregateCountSuppressionStrategy } from '@sage-bionetworks/synapse-client/generated/models/AggregateCountSuppressionStrategy';
|
|
2
|
+
import { FacetPostProcessingConfig } from '@sage-bionetworks/synapse-client/generated/models/FacetPostProcessingConfig';
|
|
3
|
+
/**
|
|
4
|
+
* Best-guess Cohort Builder 2.0 source layout, expressed as the columns the two
|
|
5
|
+
* VirtualTables expose. The participant-perspective VT groups MATERIAL by
|
|
6
|
+
* participant; the data-perspective VT groups MATERIAL by file/dataset reference.
|
|
7
|
+
* Data attributes keep the same column name in both VTs (a STRING_LIST in the
|
|
8
|
+
* participant VT, a scalar in MATERIAL and the data VT) so one filter tree can be
|
|
9
|
+
* applied to both as a defining condition.
|
|
10
|
+
*/
|
|
11
|
+
/** Relative frequency of each value, used by the synthetic data generator. */
|
|
12
|
+
export type WeightedValues = Readonly<Record<string, number>>;
|
|
13
|
+
export type MockParticipantAttribute = {
|
|
14
|
+
name: string;
|
|
15
|
+
values: WeightedValues;
|
|
16
|
+
isQuasiIdentifier: boolean;
|
|
17
|
+
};
|
|
18
|
+
export type MockAssay = {
|
|
19
|
+
assay: string;
|
|
20
|
+
dataType: string;
|
|
21
|
+
fileFormats: readonly string[];
|
|
22
|
+
/** Portal-specific data attributes (e.g. specimenType, tissue) and their possible values. */
|
|
23
|
+
extraAttributes: Readonly<Record<string, readonly string[]>>;
|
|
24
|
+
};
|
|
25
|
+
export type MockStudy = {
|
|
26
|
+
name: string;
|
|
27
|
+
participantCount: number;
|
|
28
|
+
/** FILE studies map participants to individual files; DATASET studies map every participant to every study dataset. */
|
|
29
|
+
mapping: 'FILE' | 'DATASET';
|
|
30
|
+
assays: readonly MockAssay[];
|
|
31
|
+
};
|
|
32
|
+
export type CohortBuilderMockProfile = {
|
|
33
|
+
portalName: string;
|
|
34
|
+
participantIdPrefix: string;
|
|
35
|
+
participantsVirtualTableId: string;
|
|
36
|
+
dataVirtualTableId: string;
|
|
37
|
+
/** First synthetic entity ID assigned to a file or dataset reference. */
|
|
38
|
+
firstReferenceEntityId: number;
|
|
39
|
+
participantAttributes: readonly MockParticipantAttribute[];
|
|
40
|
+
extraDataAttributeNames: readonly string[];
|
|
41
|
+
studies: readonly MockStudy[];
|
|
42
|
+
suppressionThreshold: number;
|
|
43
|
+
countSuppressionStrategy: AggregateCountSuppressionStrategy;
|
|
44
|
+
facetPostProcessingConfig: FacetPostProcessingConfig;
|
|
45
|
+
};
|
|
46
|
+
export declare const PARTICIPANT_ID_COLUMN_NAME = "individualId";
|
|
47
|
+
export declare const STUDY_COLUMN_NAME = "study";
|
|
48
|
+
export declare const DATA_REFERENCE_COLUMN_NAME = "dataReference";
|
|
49
|
+
export declare const REFERENCE_TYPE_COLUMN_NAME = "referenceType";
|
|
50
|
+
export declare const CORE_DATA_ATTRIBUTE_NAMES: readonly ["dataType", "assay", "fileFormat"];
|
|
51
|
+
export declare const ELITE_MOCK_PROFILE: CohortBuilderMockProfile;
|
|
52
|
+
export declare const ADKP_MOCK_PROFILE: CohortBuilderMockProfile;
|
|
53
|
+
//# sourceMappingURL=cohortBuilderMockProfiles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cohortBuilderMockProfiles.d.ts","sourceRoot":"","sources":["../../../src/mocks/cohortBuilder/cohortBuilderMockProfiles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,qFAAqF,CAAA;AACvI,OAAO,EAAE,yBAAyB,EAAE,MAAM,6EAA6E,CAAA;AAEvH;;;;;;;GAOG;AAEH,8EAA8E;AAC9E,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAE7D,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,cAAc,CAAA;IACtB,iBAAiB,EAAE,OAAO,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,SAAS,MAAM,EAAE,CAAA;IAC9B,6FAA6F;IAC7F,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC,CAAA;CAC7D,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,gBAAgB,EAAE,MAAM,CAAA;IACxB,uHAAuH;IACvH,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,MAAM,EAAE,SAAS,SAAS,EAAE,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,UAAU,EAAE,MAAM,CAAA;IAClB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,0BAA0B,EAAE,MAAM,CAAA;IAClC,kBAAkB,EAAE,MAAM,CAAA;IAC1B,yEAAyE;IACzE,sBAAsB,EAAE,MAAM,CAAA;IAC9B,qBAAqB,EAAE,SAAS,wBAAwB,EAAE,CAAA;IAC1D,uBAAuB,EAAE,SAAS,MAAM,EAAE,CAAA;IAC1C,OAAO,EAAE,SAAS,SAAS,EAAE,CAAA;IAC7B,oBAAoB,EAAE,MAAM,CAAA;IAC5B,wBAAwB,EAAE,iCAAiC,CAAA;IAC3D,yBAAyB,EAAE,yBAAyB,CAAA;CACrD,CAAA;AAED,eAAO,MAAM,0BAA0B,iBAAiB,CAAA;AACxD,eAAO,MAAM,iBAAiB,UAAU,CAAA;AACxC,eAAO,MAAM,0BAA0B,kBAAkB,CAAA;AACzD,eAAO,MAAM,0BAA0B,kBAAkB,CAAA;AACzD,eAAO,MAAM,yBAAyB,8CAI5B,CAAA;AA8BV,eAAO,MAAM,kBAAkB,EAAE,wBA8JhC,CAAA;AASD,eAAO,MAAM,iBAAiB,EAAE,wBAmK/B,CAAA"}
|
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
//#region src/mocks/cohortBuilder/cohortBuilderMockProfiles.ts
|
|
2
|
+
var e = "individualId", t = "study", n = "dataReference", r = "referenceType", i = [
|
|
3
|
+
"dataType",
|
|
4
|
+
"assay",
|
|
5
|
+
"fileFormat"
|
|
6
|
+
], a = {
|
|
7
|
+
false: 85,
|
|
8
|
+
true: 15
|
|
9
|
+
}, o = {
|
|
10
|
+
portalName: "ELITE",
|
|
11
|
+
participantIdPrefix: "ELITE-SYN",
|
|
12
|
+
participantsVirtualTableId: "syn90000001",
|
|
13
|
+
dataVirtualTableId: "syn90000002",
|
|
14
|
+
firstReferenceEntityId: 901e5,
|
|
15
|
+
participantAttributes: [
|
|
16
|
+
{
|
|
17
|
+
name: "sex",
|
|
18
|
+
values: {
|
|
19
|
+
Female: 58,
|
|
20
|
+
Male: 41,
|
|
21
|
+
Unknown: 1
|
|
22
|
+
},
|
|
23
|
+
isQuasiIdentifier: !0
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: "ageRange",
|
|
27
|
+
values: {
|
|
28
|
+
"20-24": 1,
|
|
29
|
+
"25-29": 1,
|
|
30
|
+
"30-34": 1,
|
|
31
|
+
"35-39": 2,
|
|
32
|
+
"40-44": 2,
|
|
33
|
+
"45-49": 3,
|
|
34
|
+
"50-54": 4,
|
|
35
|
+
"55-59": 5,
|
|
36
|
+
"60-64": 6,
|
|
37
|
+
"65-69": 7,
|
|
38
|
+
"70-74": 8,
|
|
39
|
+
"75-79": 9,
|
|
40
|
+
"80-84": 10,
|
|
41
|
+
"85-89": 11,
|
|
42
|
+
"90-94": 12,
|
|
43
|
+
"95-99": 9,
|
|
44
|
+
"100-104": 5,
|
|
45
|
+
"105-109": .4,
|
|
46
|
+
">109": .1
|
|
47
|
+
},
|
|
48
|
+
isQuasiIdentifier: !0
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: "race",
|
|
52
|
+
values: {
|
|
53
|
+
White: 78,
|
|
54
|
+
"Black or African American": 9,
|
|
55
|
+
Asian: 6,
|
|
56
|
+
"American Indian or Alaska Native": .3,
|
|
57
|
+
"More than one race": 3,
|
|
58
|
+
Unknown: 4
|
|
59
|
+
},
|
|
60
|
+
isQuasiIdentifier: !0
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: "ethnicity",
|
|
64
|
+
values: {
|
|
65
|
+
"Not Hispanic or Latino": 90,
|
|
66
|
+
"Hispanic or Latino": 7,
|
|
67
|
+
Unknown: 3
|
|
68
|
+
},
|
|
69
|
+
isQuasiIdentifier: !0
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: "apoeGenotype",
|
|
73
|
+
values: {
|
|
74
|
+
"e2/e2": .7,
|
|
75
|
+
"e2/e3": 12,
|
|
76
|
+
"e2/e4": 2,
|
|
77
|
+
"e3/e3": 61,
|
|
78
|
+
"e3/e4": 21,
|
|
79
|
+
"e4/e4": 2
|
|
80
|
+
},
|
|
81
|
+
isQuasiIdentifier: !0
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: "familyStudyParticipant",
|
|
85
|
+
values: {
|
|
86
|
+
false: 60,
|
|
87
|
+
true: 40
|
|
88
|
+
},
|
|
89
|
+
isQuasiIdentifier: !1
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: "hasDementia",
|
|
93
|
+
values: a,
|
|
94
|
+
isQuasiIdentifier: !0
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
name: "hasDiabetes",
|
|
98
|
+
values: a,
|
|
99
|
+
isQuasiIdentifier: !0
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: "hasCardiovascularDisease",
|
|
103
|
+
values: {
|
|
104
|
+
false: 70,
|
|
105
|
+
true: 30
|
|
106
|
+
},
|
|
107
|
+
isQuasiIdentifier: !0
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: "mortalityStatus",
|
|
111
|
+
values: {
|
|
112
|
+
Living: 55,
|
|
113
|
+
Deceased: 45
|
|
114
|
+
},
|
|
115
|
+
isQuasiIdentifier: !1
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
extraDataAttributeNames: ["specimenType"],
|
|
119
|
+
studies: [
|
|
120
|
+
{
|
|
121
|
+
name: "LLFS",
|
|
122
|
+
participantCount: 1200,
|
|
123
|
+
mapping: "DATASET",
|
|
124
|
+
assays: [
|
|
125
|
+
{
|
|
126
|
+
assay: "WGS",
|
|
127
|
+
dataType: "genomicVariants",
|
|
128
|
+
fileFormats: ["VCF"],
|
|
129
|
+
extraAttributes: { specimenType: ["blood"] }
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
assay: "SomaScan",
|
|
133
|
+
dataType: "proteomics",
|
|
134
|
+
fileFormats: ["CSV"],
|
|
135
|
+
extraAttributes: { specimenType: ["plasma"] }
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
assay: "LC-MS",
|
|
139
|
+
dataType: "metabolomics",
|
|
140
|
+
fileFormats: ["CSV"],
|
|
141
|
+
extraAttributes: { specimenType: ["plasma"] }
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: "NECS",
|
|
147
|
+
participantCount: 500,
|
|
148
|
+
mapping: "FILE",
|
|
149
|
+
assays: [{
|
|
150
|
+
assay: "WGS",
|
|
151
|
+
dataType: "genomicVariants",
|
|
152
|
+
fileFormats: ["CRAM", "VCF"],
|
|
153
|
+
extraAttributes: { specimenType: ["blood", "saliva"] }
|
|
154
|
+
}, {
|
|
155
|
+
assay: "RNAseq",
|
|
156
|
+
dataType: "geneExpression",
|
|
157
|
+
fileFormats: ["FASTQ", "BAM"],
|
|
158
|
+
extraAttributes: { specimenType: ["blood"] }
|
|
159
|
+
}]
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: "LonGenity",
|
|
163
|
+
participantCount: 700,
|
|
164
|
+
mapping: "FILE",
|
|
165
|
+
assays: [{
|
|
166
|
+
assay: "methylationArray",
|
|
167
|
+
dataType: "epigenetics",
|
|
168
|
+
fileFormats: ["IDAT"],
|
|
169
|
+
extraAttributes: { specimenType: ["blood"] }
|
|
170
|
+
}, {
|
|
171
|
+
assay: "SomaScan",
|
|
172
|
+
dataType: "proteomics",
|
|
173
|
+
fileFormats: ["CSV"],
|
|
174
|
+
extraAttributes: { specimenType: ["plasma"] }
|
|
175
|
+
}]
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
name: "ILO",
|
|
179
|
+
participantCount: 300,
|
|
180
|
+
mapping: "FILE",
|
|
181
|
+
assays: [{
|
|
182
|
+
assay: "scRNAseq",
|
|
183
|
+
dataType: "geneExpression",
|
|
184
|
+
fileFormats: ["FASTQ", "H5AD"],
|
|
185
|
+
extraAttributes: { specimenType: ["PBMC"] }
|
|
186
|
+
}, {
|
|
187
|
+
assay: "metagenomics",
|
|
188
|
+
dataType: "genomicVariants",
|
|
189
|
+
fileFormats: ["FASTQ"],
|
|
190
|
+
extraAttributes: { specimenType: [
|
|
191
|
+
"blood",
|
|
192
|
+
"plasma",
|
|
193
|
+
"PBMC",
|
|
194
|
+
"saliva"
|
|
195
|
+
] }
|
|
196
|
+
}]
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
suppressionThreshold: 20,
|
|
200
|
+
countSuppressionStrategy: "EXCLUDE_ROW",
|
|
201
|
+
facetPostProcessingConfig: {
|
|
202
|
+
algorithm: "ROUNDING",
|
|
203
|
+
parameters: {
|
|
204
|
+
concreteType: "org.sagebionetworks.repo.model.FacetRoundingParameters",
|
|
205
|
+
roundTo: 5
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}, s = {
|
|
209
|
+
portalName: "AD Knowledge Portal",
|
|
210
|
+
participantIdPrefix: "ADKP-SYN",
|
|
211
|
+
participantsVirtualTableId: "syn90000011",
|
|
212
|
+
dataVirtualTableId: "syn90000012",
|
|
213
|
+
firstReferenceEntityId: 902e5,
|
|
214
|
+
participantAttributes: [
|
|
215
|
+
{
|
|
216
|
+
name: "sex",
|
|
217
|
+
values: {
|
|
218
|
+
female: 62,
|
|
219
|
+
male: 38
|
|
220
|
+
},
|
|
221
|
+
isQuasiIdentifier: !0
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
name: "ageDeathRange",
|
|
225
|
+
values: {
|
|
226
|
+
"<70": 6,
|
|
227
|
+
"70-74": 6,
|
|
228
|
+
"75-79": 10,
|
|
229
|
+
"80-84": 18,
|
|
230
|
+
"85-89": 25,
|
|
231
|
+
"90+": 35
|
|
232
|
+
},
|
|
233
|
+
isQuasiIdentifier: !0
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
name: "race",
|
|
237
|
+
values: {
|
|
238
|
+
White: 85,
|
|
239
|
+
"Black or African American": 8,
|
|
240
|
+
Asian: 2,
|
|
241
|
+
"More than one race": 1,
|
|
242
|
+
Unknown: 4
|
|
243
|
+
},
|
|
244
|
+
isQuasiIdentifier: !0
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
name: "isHispanic",
|
|
248
|
+
values: {
|
|
249
|
+
false: 93,
|
|
250
|
+
true: 5,
|
|
251
|
+
Unknown: 2
|
|
252
|
+
},
|
|
253
|
+
isQuasiIdentifier: !0
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
name: "apoeGenotype",
|
|
257
|
+
values: {
|
|
258
|
+
22: 1,
|
|
259
|
+
23: 12,
|
|
260
|
+
24: 2,
|
|
261
|
+
33: 58,
|
|
262
|
+
34: 24,
|
|
263
|
+
44: 3
|
|
264
|
+
},
|
|
265
|
+
isQuasiIdentifier: !0
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
name: "diagnosis",
|
|
269
|
+
values: {
|
|
270
|
+
control: 30,
|
|
271
|
+
"Alzheimer's Disease": 45,
|
|
272
|
+
MCI: 20,
|
|
273
|
+
"frontotemporal dementia": .5,
|
|
274
|
+
other: 4.5
|
|
275
|
+
},
|
|
276
|
+
isQuasiIdentifier: !1
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
name: "braak",
|
|
280
|
+
values: {
|
|
281
|
+
"Stage 0": 3,
|
|
282
|
+
"Stage I": 8,
|
|
283
|
+
"Stage II": 12,
|
|
284
|
+
"Stage III": 20,
|
|
285
|
+
"Stage IV": 25,
|
|
286
|
+
"Stage V": 22,
|
|
287
|
+
"Stage VI": 10
|
|
288
|
+
},
|
|
289
|
+
isQuasiIdentifier: !1
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
name: "amyCerad",
|
|
293
|
+
values: {
|
|
294
|
+
None: 25,
|
|
295
|
+
Sparse: 15,
|
|
296
|
+
Moderate: 25,
|
|
297
|
+
Frequent: 35
|
|
298
|
+
},
|
|
299
|
+
isQuasiIdentifier: !1
|
|
300
|
+
}
|
|
301
|
+
],
|
|
302
|
+
extraDataAttributeNames: ["tissue"],
|
|
303
|
+
studies: [
|
|
304
|
+
{
|
|
305
|
+
name: "ROSMAP",
|
|
306
|
+
participantCount: 900,
|
|
307
|
+
mapping: "FILE",
|
|
308
|
+
assays: [
|
|
309
|
+
{
|
|
310
|
+
assay: "rnaSeq",
|
|
311
|
+
dataType: "geneExpression",
|
|
312
|
+
fileFormats: ["fastq", "bam"],
|
|
313
|
+
extraAttributes: { tissue: ["dorsolateral prefrontal cortex"] }
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
assay: "snrnaSeq",
|
|
317
|
+
dataType: "geneExpression",
|
|
318
|
+
fileFormats: ["fastq", "h5ad"],
|
|
319
|
+
extraAttributes: { tissue: ["dorsolateral prefrontal cortex"] }
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
assay: "wholeGenomeSeq",
|
|
323
|
+
dataType: "genomicVariants",
|
|
324
|
+
fileFormats: ["cram", "vcf"],
|
|
325
|
+
extraAttributes: { tissue: ["dorsolateral prefrontal cortex"] }
|
|
326
|
+
}
|
|
327
|
+
]
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
name: "MSBB",
|
|
331
|
+
participantCount: 300,
|
|
332
|
+
mapping: "FILE",
|
|
333
|
+
assays: [{
|
|
334
|
+
assay: "rnaSeq",
|
|
335
|
+
dataType: "geneExpression",
|
|
336
|
+
fileFormats: ["fastq", "bam"],
|
|
337
|
+
extraAttributes: { tissue: [
|
|
338
|
+
"dorsolateral prefrontal cortex",
|
|
339
|
+
"temporal cortex",
|
|
340
|
+
"cerebellum",
|
|
341
|
+
"parahippocampal gyrus"
|
|
342
|
+
] }
|
|
343
|
+
}, {
|
|
344
|
+
assay: "TMT quantitation",
|
|
345
|
+
dataType: "proteomics",
|
|
346
|
+
fileFormats: ["raw", "csv"],
|
|
347
|
+
extraAttributes: { tissue: ["parahippocampal gyrus"] }
|
|
348
|
+
}]
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
name: "MayoRNAseq",
|
|
352
|
+
participantCount: 250,
|
|
353
|
+
mapping: "FILE",
|
|
354
|
+
assays: [{
|
|
355
|
+
assay: "rnaSeq",
|
|
356
|
+
dataType: "geneExpression",
|
|
357
|
+
fileFormats: ["fastq", "bam"],
|
|
358
|
+
extraAttributes: { tissue: ["temporal cortex", "cerebellum"] }
|
|
359
|
+
}]
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
name: "DiverseCohorts",
|
|
363
|
+
participantCount: 400,
|
|
364
|
+
mapping: "DATASET",
|
|
365
|
+
assays: [{
|
|
366
|
+
assay: "rnaSeq",
|
|
367
|
+
dataType: "geneExpression",
|
|
368
|
+
fileFormats: ["bam"],
|
|
369
|
+
extraAttributes: { tissue: ["dorsolateral prefrontal cortex"] }
|
|
370
|
+
}, {
|
|
371
|
+
assay: "snATACSeq",
|
|
372
|
+
dataType: "epigenetics",
|
|
373
|
+
fileFormats: ["tsv"],
|
|
374
|
+
extraAttributes: { tissue: ["dorsolateral prefrontal cortex"] }
|
|
375
|
+
}]
|
|
376
|
+
}
|
|
377
|
+
],
|
|
378
|
+
suppressionThreshold: 20,
|
|
379
|
+
countSuppressionStrategy: "EXCLUDE_ROW",
|
|
380
|
+
facetPostProcessingConfig: {
|
|
381
|
+
algorithm: "NOISE",
|
|
382
|
+
parameters: {
|
|
383
|
+
concreteType: "org.sagebionetworks.repo.model.FacetNoiseParameters",
|
|
384
|
+
epsilon: 1
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
};
|
|
388
|
+
//#endregion
|
|
389
|
+
export { s as ADKP_MOCK_PROFILE, i as CORE_DATA_ATTRIBUTE_NAMES, n as DATA_REFERENCE_COLUMN_NAME, o as ELITE_MOCK_PROFILE, e as PARTICIPANT_ID_COLUMN_NAME, r as REFERENCE_TYPE_COLUMN_NAME, t as STUDY_COLUMN_NAME };
|
|
390
|
+
|
|
391
|
+
//# sourceMappingURL=cohortBuilderMockProfiles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cohortBuilderMockProfiles.js","names":[],"sources":["../../../src/mocks/cohortBuilder/cohortBuilderMockProfiles.ts"],"sourcesContent":["import { AggregateCountSuppressionStrategy } from '@sage-bionetworks/synapse-client/generated/models/AggregateCountSuppressionStrategy'\nimport { FacetPostProcessingConfig } from '@sage-bionetworks/synapse-client/generated/models/FacetPostProcessingConfig'\n\n/**\n * Best-guess Cohort Builder 2.0 source layout, expressed as the columns the two\n * VirtualTables expose. The participant-perspective VT groups MATERIAL by\n * participant; the data-perspective VT groups MATERIAL by file/dataset reference.\n * Data attributes keep the same column name in both VTs (a STRING_LIST in the\n * participant VT, a scalar in MATERIAL and the data VT) so one filter tree can be\n * applied to both as a defining condition.\n */\n\n/** Relative frequency of each value, used by the synthetic data generator. */\nexport type WeightedValues = Readonly<Record<string, number>>\n\nexport type MockParticipantAttribute = {\n name: string\n values: WeightedValues\n isQuasiIdentifier: boolean\n}\n\nexport type MockAssay = {\n assay: string\n dataType: string\n fileFormats: readonly string[]\n /** Portal-specific data attributes (e.g. specimenType, tissue) and their possible values. */\n extraAttributes: Readonly<Record<string, readonly string[]>>\n}\n\nexport type MockStudy = {\n name: string\n participantCount: number\n /** FILE studies map participants to individual files; DATASET studies map every participant to every study dataset. */\n mapping: 'FILE' | 'DATASET'\n assays: readonly MockAssay[]\n}\n\nexport type CohortBuilderMockProfile = {\n portalName: string\n participantIdPrefix: string\n participantsVirtualTableId: string\n dataVirtualTableId: string\n /** First synthetic entity ID assigned to a file or dataset reference. */\n firstReferenceEntityId: number\n participantAttributes: readonly MockParticipantAttribute[]\n extraDataAttributeNames: readonly string[]\n studies: readonly MockStudy[]\n suppressionThreshold: number\n countSuppressionStrategy: AggregateCountSuppressionStrategy\n facetPostProcessingConfig: FacetPostProcessingConfig\n}\n\nexport const PARTICIPANT_ID_COLUMN_NAME = 'individualId'\nexport const STUDY_COLUMN_NAME = 'study'\nexport const DATA_REFERENCE_COLUMN_NAME = 'dataReference'\nexport const REFERENCE_TYPE_COLUMN_NAME = 'referenceType'\nexport const CORE_DATA_ATTRIBUTE_NAMES = [\n 'dataType',\n 'assay',\n 'fileFormat',\n] as const\n\nconst TRUE_FALSE_RARE: WeightedValues = { false: 85, true: 15 }\nconst TRUE_FALSE_COMMON: WeightedValues = { false: 60, true: 40 }\n\n// ADM-8371: 5-year bins with a censored top bin.\nconst ELITE_AGE_RANGES: WeightedValues = {\n '20-24': 1,\n '25-29': 1,\n '30-34': 1,\n '35-39': 2,\n '40-44': 2,\n '45-49': 3,\n '50-54': 4,\n '55-59': 5,\n '60-64': 6,\n '65-69': 7,\n '70-74': 8,\n '75-79': 9,\n '80-84': 10,\n '85-89': 11,\n '90-94': 12,\n '95-99': 9,\n '100-104': 5,\n '105-109': 0.4,\n '>109': 0.1,\n}\n\nconst ELITE_BLOOD_SPECIMENS = ['blood', 'plasma', 'PBMC', 'saliva'] as const\n\nexport const ELITE_MOCK_PROFILE: CohortBuilderMockProfile = {\n portalName: 'ELITE',\n participantIdPrefix: 'ELITE-SYN',\n participantsVirtualTableId: 'syn90000001',\n dataVirtualTableId: 'syn90000002',\n firstReferenceEntityId: 90100000,\n participantAttributes: [\n {\n name: 'sex',\n values: { Female: 58, Male: 41, Unknown: 1 },\n isQuasiIdentifier: true,\n },\n { name: 'ageRange', values: ELITE_AGE_RANGES, isQuasiIdentifier: true },\n {\n name: 'race',\n values: {\n White: 78,\n 'Black or African American': 9,\n Asian: 6,\n 'American Indian or Alaska Native': 0.3,\n 'More than one race': 3,\n Unknown: 4,\n },\n isQuasiIdentifier: true,\n },\n {\n name: 'ethnicity',\n values: {\n 'Not Hispanic or Latino': 90,\n 'Hispanic or Latino': 7,\n Unknown: 3,\n },\n isQuasiIdentifier: true,\n },\n {\n name: 'apoeGenotype',\n values: {\n 'e2/e2': 0.7,\n 'e2/e3': 12,\n 'e2/e4': 2,\n 'e3/e3': 61,\n 'e3/e4': 21,\n 'e4/e4': 2,\n },\n isQuasiIdentifier: true,\n },\n {\n name: 'familyStudyParticipant',\n values: TRUE_FALSE_COMMON,\n isQuasiIdentifier: false,\n },\n { name: 'hasDementia', values: TRUE_FALSE_RARE, isQuasiIdentifier: true },\n { name: 'hasDiabetes', values: TRUE_FALSE_RARE, isQuasiIdentifier: true },\n {\n name: 'hasCardiovascularDisease',\n values: { false: 70, true: 30 },\n isQuasiIdentifier: true,\n },\n {\n name: 'mortalityStatus',\n values: { Living: 55, Deceased: 45 },\n isQuasiIdentifier: false,\n },\n ],\n extraDataAttributeNames: ['specimenType'],\n studies: [\n {\n name: 'LLFS',\n participantCount: 1200,\n mapping: 'DATASET',\n assays: [\n {\n assay: 'WGS',\n dataType: 'genomicVariants',\n fileFormats: ['VCF'],\n extraAttributes: { specimenType: ['blood'] },\n },\n {\n assay: 'SomaScan',\n dataType: 'proteomics',\n fileFormats: ['CSV'],\n extraAttributes: { specimenType: ['plasma'] },\n },\n {\n assay: 'LC-MS',\n dataType: 'metabolomics',\n fileFormats: ['CSV'],\n extraAttributes: { specimenType: ['plasma'] },\n },\n ],\n },\n {\n name: 'NECS',\n participantCount: 500,\n mapping: 'FILE',\n assays: [\n {\n assay: 'WGS',\n dataType: 'genomicVariants',\n fileFormats: ['CRAM', 'VCF'],\n extraAttributes: { specimenType: ['blood', 'saliva'] },\n },\n {\n assay: 'RNAseq',\n dataType: 'geneExpression',\n fileFormats: ['FASTQ', 'BAM'],\n extraAttributes: { specimenType: ['blood'] },\n },\n ],\n },\n {\n name: 'LonGenity',\n participantCount: 700,\n mapping: 'FILE',\n assays: [\n {\n assay: 'methylationArray',\n dataType: 'epigenetics',\n fileFormats: ['IDAT'],\n extraAttributes: { specimenType: ['blood'] },\n },\n {\n assay: 'SomaScan',\n dataType: 'proteomics',\n fileFormats: ['CSV'],\n extraAttributes: { specimenType: ['plasma'] },\n },\n ],\n },\n {\n name: 'ILO',\n participantCount: 300,\n mapping: 'FILE',\n assays: [\n {\n assay: 'scRNAseq',\n dataType: 'geneExpression',\n fileFormats: ['FASTQ', 'H5AD'],\n extraAttributes: { specimenType: ['PBMC'] },\n },\n {\n assay: 'metagenomics',\n dataType: 'genomicVariants',\n fileFormats: ['FASTQ'],\n extraAttributes: { specimenType: ELITE_BLOOD_SPECIMENS },\n },\n ],\n },\n ],\n suppressionThreshold: 20,\n countSuppressionStrategy: 'EXCLUDE_ROW',\n facetPostProcessingConfig: {\n algorithm: 'ROUNDING',\n parameters: {\n concreteType: 'org.sagebionetworks.repo.model.FacetRoundingParameters',\n roundTo: 5,\n },\n },\n}\n\nconst ADKP_BRAIN_TISSUES = [\n 'dorsolateral prefrontal cortex',\n 'temporal cortex',\n 'cerebellum',\n 'parahippocampal gyrus',\n] as const\n\nexport const ADKP_MOCK_PROFILE: CohortBuilderMockProfile = {\n portalName: 'AD Knowledge Portal',\n participantIdPrefix: 'ADKP-SYN',\n participantsVirtualTableId: 'syn90000011',\n dataVirtualTableId: 'syn90000012',\n firstReferenceEntityId: 90200000,\n participantAttributes: [\n {\n name: 'sex',\n values: { female: 62, male: 38 },\n isQuasiIdentifier: true,\n },\n {\n name: 'ageDeathRange',\n values: {\n '<70': 6,\n '70-74': 6,\n '75-79': 10,\n '80-84': 18,\n '85-89': 25,\n '90+': 35,\n },\n isQuasiIdentifier: true,\n },\n {\n name: 'race',\n values: {\n White: 85,\n 'Black or African American': 8,\n Asian: 2,\n 'More than one race': 1,\n Unknown: 4,\n },\n isQuasiIdentifier: true,\n },\n {\n name: 'isHispanic',\n values: { false: 93, true: 5, Unknown: 2 },\n isQuasiIdentifier: true,\n },\n {\n name: 'apoeGenotype',\n values: { '22': 1, '23': 12, '24': 2, '33': 58, '34': 24, '44': 3 },\n isQuasiIdentifier: true,\n },\n {\n name: 'diagnosis',\n values: {\n control: 30,\n \"Alzheimer's Disease\": 45,\n MCI: 20,\n 'frontotemporal dementia': 0.5,\n other: 4.5,\n },\n isQuasiIdentifier: false,\n },\n {\n name: 'braak',\n values: {\n 'Stage 0': 3,\n 'Stage I': 8,\n 'Stage II': 12,\n 'Stage III': 20,\n 'Stage IV': 25,\n 'Stage V': 22,\n 'Stage VI': 10,\n },\n isQuasiIdentifier: false,\n },\n {\n name: 'amyCerad',\n values: { None: 25, Sparse: 15, Moderate: 25, Frequent: 35 },\n isQuasiIdentifier: false,\n },\n ],\n extraDataAttributeNames: ['tissue'],\n studies: [\n {\n name: 'ROSMAP',\n participantCount: 900,\n mapping: 'FILE',\n assays: [\n {\n assay: 'rnaSeq',\n dataType: 'geneExpression',\n fileFormats: ['fastq', 'bam'],\n extraAttributes: { tissue: ['dorsolateral prefrontal cortex'] },\n },\n {\n assay: 'snrnaSeq',\n dataType: 'geneExpression',\n fileFormats: ['fastq', 'h5ad'],\n extraAttributes: { tissue: ['dorsolateral prefrontal cortex'] },\n },\n {\n assay: 'wholeGenomeSeq',\n dataType: 'genomicVariants',\n fileFormats: ['cram', 'vcf'],\n extraAttributes: { tissue: ['dorsolateral prefrontal cortex'] },\n },\n ],\n },\n {\n name: 'MSBB',\n participantCount: 300,\n mapping: 'FILE',\n assays: [\n {\n assay: 'rnaSeq',\n dataType: 'geneExpression',\n fileFormats: ['fastq', 'bam'],\n extraAttributes: { tissue: ADKP_BRAIN_TISSUES },\n },\n {\n assay: 'TMT quantitation',\n dataType: 'proteomics',\n fileFormats: ['raw', 'csv'],\n extraAttributes: { tissue: ['parahippocampal gyrus'] },\n },\n ],\n },\n {\n name: 'MayoRNAseq',\n participantCount: 250,\n mapping: 'FILE',\n assays: [\n {\n assay: 'rnaSeq',\n dataType: 'geneExpression',\n fileFormats: ['fastq', 'bam'],\n extraAttributes: { tissue: ['temporal cortex', 'cerebellum'] },\n },\n ],\n },\n {\n name: 'DiverseCohorts',\n participantCount: 400,\n mapping: 'DATASET',\n assays: [\n {\n assay: 'rnaSeq',\n dataType: 'geneExpression',\n fileFormats: ['bam'],\n extraAttributes: { tissue: ['dorsolateral prefrontal cortex'] },\n },\n {\n assay: 'snATACSeq',\n dataType: 'epigenetics',\n fileFormats: ['tsv'],\n extraAttributes: { tissue: ['dorsolateral prefrontal cortex'] },\n },\n ],\n },\n ],\n suppressionThreshold: 20,\n countSuppressionStrategy: 'EXCLUDE_ROW',\n facetPostProcessingConfig: {\n algorithm: 'NOISE',\n parameters: {\n concreteType: 'org.sagebionetworks.repo.model.FacetNoiseParameters',\n epsilon: 1.0,\n },\n },\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { BelowThresholdErrorResponse } from '@sage-bionetworks/synapse-client/generated/models/BelowThresholdErrorResponse';
|
|
2
|
+
import { ColumnModel } from '@sage-bionetworks/synapse-client/generated/models/ColumnModel';
|
|
3
|
+
import { ErrorResponse } from '@sage-bionetworks/synapse-client/generated/models/ErrorResponse';
|
|
4
|
+
import { QueryResultBundle } from '@sage-bionetworks/synapse-client/generated/models/QueryResultBundle';
|
|
5
|
+
import { RowSuppressionErrorResponse } from '@sage-bionetworks/synapse-client/generated/models/RowSuppressionErrorResponse';
|
|
6
|
+
import { QueryBundleRequest } from '@sage-bionetworks/synapse-types';
|
|
7
|
+
import { CohortBuilderSyntheticData } from './cohortBuilderSyntheticData';
|
|
8
|
+
/**
|
|
9
|
+
* Which access tier the mocked caller has on the participants source:
|
|
10
|
+
* - `FULL`: the caller met the access requirement (exact results, rows allowed).
|
|
11
|
+
* - `AGGREGATE_ONLY`: authenticated but unapproved (count gate, post-processed
|
|
12
|
+
* facets, no participant rows).
|
|
13
|
+
*/
|
|
14
|
+
export type CohortBuilderAccess = 'FULL' | 'AGGREGATE_ONLY';
|
|
15
|
+
export type CohortBuilderMockErrorBody = ErrorResponse | BelowThresholdErrorResponse | RowSuppressionErrorResponse;
|
|
16
|
+
export type CohortBuilderMockQueryResult = {
|
|
17
|
+
status: 200;
|
|
18
|
+
body: QueryResultBundle;
|
|
19
|
+
} | {
|
|
20
|
+
status: number;
|
|
21
|
+
body: CohortBuilderMockErrorBody;
|
|
22
|
+
};
|
|
23
|
+
export declare const MOCK_BELOW_THRESHOLD_HTTP_STATUS = 403;
|
|
24
|
+
export declare const MOCK_ROW_SUPPRESSED_HTTP_STATUS = 403;
|
|
25
|
+
/** Column models of both VirtualTables, derived from the synthetic data's profile. */
|
|
26
|
+
export declare function getCohortBuilderColumnModels(data: CohortBuilderSyntheticData): {
|
|
27
|
+
participants: ColumnModel[];
|
|
28
|
+
dataReferences: ColumnModel[];
|
|
29
|
+
};
|
|
30
|
+
/** The stack default of `org.sagebionetworks.table.query.cohort.max.values`. */
|
|
31
|
+
export declare const MOCK_MAX_COHORT_VALUES = 10000;
|
|
32
|
+
export type CohortBuilderMockQueryOptions = {
|
|
33
|
+
/** Maximum number of distinct values in one cohort. Defaults to {@link MOCK_MAX_COHORT_VALUES}. */
|
|
34
|
+
maxCohortValues?: number;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Emulates a Cohort Builder 2.0 table query against synthetic data, returning
|
|
38
|
+
* either a QueryResultBundle or the error the backend would return.
|
|
39
|
+
*/
|
|
40
|
+
export declare function runCohortBuilderMockQuery(data: CohortBuilderSyntheticData, request: QueryBundleRequest, access: CohortBuilderAccess, options?: CohortBuilderMockQueryOptions): CohortBuilderMockQueryResult;
|
|
41
|
+
//# sourceMappingURL=cohortBuilderMockQueryEngine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cohortBuilderMockQueryEngine.d.ts","sourceRoot":"","sources":["../../../src/mocks/cohortBuilder/cohortBuilderMockQueryEngine.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+EAA+E,CAAA;AAC3H,OAAO,EAAE,WAAW,EAAE,MAAM,+DAA+D,CAAA;AAC3F,OAAO,EAAE,aAAa,EAAE,MAAM,iEAAiE,CAAA;AAE/F,OAAO,EAAE,iBAAiB,EAAE,MAAM,qEAAqE,CAAA;AACvG,OAAO,EAAE,2BAA2B,EAAE,MAAM,+EAA+E,CAAA;AAG3H,OAAO,EASL,kBAAkB,EAGnB,MAAM,iCAAiC,CAAA;AAQxC,OAAO,EACL,0BAA0B,EAG3B,MAAM,8BAA8B,CAAA;AAErC;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,gBAAgB,CAAA;AAE3D,MAAM,MAAM,0BAA0B,GAClC,aAAa,GACb,2BAA2B,GAC3B,2BAA2B,CAAA;AAE/B,MAAM,MAAM,4BAA4B,GACpC;IAAE,MAAM,EAAE,GAAG,CAAC;IAAC,IAAI,EAAE,iBAAiB,CAAA;CAAE,GACxC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,0BAA0B,CAAA;CAAE,CAAA;AAExD,eAAO,MAAM,gCAAgC,MAAM,CAAA;AACnD,eAAO,MAAM,+BAA+B,MAAM,CAAA;AA2BlD,sFAAsF;AACtF,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,0BAA0B;;;EA6B5E;AA4lBD,gFAAgF;AAChF,eAAO,MAAM,sBAAsB,QAAS,CAAA;AAK5C,MAAM,MAAM,6BAA6B,GAAG;IAC1C,mGAAmG;IACnG,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB,CAAA;AAySD;;;GAGG;AACH,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,0BAA0B,EAChC,OAAO,EAAE,kBAAkB,EAC3B,MAAM,EAAE,mBAAmB,EAC3B,OAAO,GAAE,6BAAkC,GAC1C,4BAA4B,CAS9B"}
|