@cccsaurora/howler-ui 2.14.0-dev.264 → 2.14.0-dev.265
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/api/action/execute.ts +3 -3
- package/api/action/index.ts +5 -5
- package/api/action/operations.ts +3 -3
- package/api/analytic/comments/index.ts +4 -4
- package/api/analytic/comments/react.ts +2 -2
- package/api/analytic/favourite.ts +2 -2
- package/api/analytic/index.ts +7 -7
- package/api/analytic/notebooks/index.ts +3 -3
- package/api/analytic/owner.ts +3 -3
- package/api/analytic/rules.ts +3 -3
- package/api/auth/apikey.ts +2 -2
- package/api/auth/index.ts +3 -3
- package/api/auth/login.ts +3 -3
- package/api/configs/index.ts +2 -2
- package/api/dossier/hit.ts +2 -2
- package/api/dossier/index.ts +2 -2
- package/api/help.ts +1 -1
- package/api/hit/assign.ts +3 -3
- package/api/hit/comments/index.ts +4 -4
- package/api/hit/comments/react.ts +2 -2
- package/api/hit/index.ts +7 -7
- package/api/hit/labels.ts +4 -4
- package/api/hit/overwrite.ts +3 -3
- package/api/hit/transition.ts +4 -4
- package/api/index.ts +18 -18
- package/api/notebook/environments.ts +2 -2
- package/api/notebook/index.ts +4 -4
- package/api/overview/index.ts +2 -2
- package/api/search/action.ts +4 -4
- package/api/search/analytic.ts +4 -4
- package/api/search/count/hit.ts +3 -3
- package/api/search/count/index.ts +3 -3
- package/api/search/dossier.ts +4 -4
- package/api/search/eql/hit.ts +4 -4
- package/api/search/facet/hit.ts +3 -3
- package/api/search/facet/index.ts +3 -3
- package/api/search/fields/hit.ts +3 -3
- package/api/search/fields/index.ts +4 -4
- package/api/search/fields/user.ts +4 -4
- package/api/search/grouped/hit.ts +4 -4
- package/api/search/grouped/index.ts +4 -4
- package/api/search/grouped/user.ts +4 -4
- package/api/search/histogram/hit.ts +3 -3
- package/api/search/histogram/index.ts +3 -3
- package/api/search/hit.ts +6 -6
- package/api/search/index.ts +14 -14
- package/api/search/overview.ts +4 -4
- package/api/search/sigma/hit.ts +4 -4
- package/api/search/template.ts +4 -4
- package/api/search/user.ts +4 -4
- package/api/search/view.ts +4 -4
- package/api/template/index.ts +2 -2
- package/api/user/avatar/index.ts +2 -2
- package/api/user/groups.ts +2 -2
- package/api/user/index.ts +5 -5
- package/api/user/whoami.ts +3 -3
- package/api/view/favourite.ts +2 -2
- package/api/view/index.ts +3 -3
- package/commons/components/app/AppConfigs.ts +2 -2
- package/commons/components/app/AppContexts.ts +5 -5
- package/commons/components/app/AppDefaults.ts +1 -1
- package/commons/components/app/AppNotificationService.ts +1 -1
- package/commons/components/app/AppProvider.tsx +14 -14
- package/commons/components/app/AppSearchService.ts +1 -1
- package/commons/components/app/AppSkeleton.tsx +3 -3
- package/commons/components/app/hooks/useApp.tsx +1 -1
- package/commons/components/app/hooks/useAppBanner.tsx +1 -1
- package/commons/components/app/hooks/useAppBar.tsx +1 -1
- package/commons/components/app/hooks/useAppBreadcrumbs.tsx +1 -1
- package/commons/components/app/hooks/useAppConfigs.tsx +2 -2
- package/commons/components/app/hooks/useAppLanguage.tsx +2 -2
- package/commons/components/app/hooks/useAppLayout.tsx +1 -1
- package/commons/components/app/hooks/useAppLeftNav.tsx +1 -1
- package/commons/components/app/hooks/useAppLogo.tsx +2 -2
- package/commons/components/app/hooks/useAppNotification.tsx +1 -1
- package/commons/components/app/hooks/useAppQuickSearch.tsx +1 -1
- package/commons/components/app/hooks/useAppSearchService.tsx +2 -2
- package/commons/components/app/hooks/useAppSitemap.tsx +3 -3
- package/commons/components/app/hooks/useAppSwitcher.tsx +1 -1
- package/commons/components/app/hooks/useAppTheme.tsx +1 -1
- package/commons/components/app/hooks/useAppUser.tsx +2 -2
- package/commons/components/app/providers/AppBarProvider.tsx +9 -9
- package/commons/components/app/providers/AppBreadcrumbsProvider.tsx +5 -5
- package/commons/components/app/providers/AppLayoutProvider.tsx +7 -7
- package/commons/components/app/providers/AppLeftNavProvider.tsx +5 -5
- package/commons/components/app/providers/AppNotificationProvider.tsx +1 -1
- package/commons/components/app/providers/AppQuickSearchProvider.tsx +6 -6
- package/commons/components/app/providers/AppSearchServiceProvider.tsx +3 -3
- package/commons/components/app/providers/AppSwitcherProvider.tsx +3 -3
- package/commons/components/app/providers/AppUserProvider.tsx +2 -2
- package/commons/components/breadcrumbs/BreadcrumbIcon.tsx +1 -1
- package/commons/components/breadcrumbs/BreadcrumbLastItem.tsx +2 -2
- package/commons/components/breadcrumbs/BreadcrumbLinkItem.tsx +2 -2
- package/commons/components/breadcrumbs/BreadcrumbList.tsx +3 -3
- package/commons/components/breadcrumbs/Breadcrumbs.tsx +2 -2
- package/commons/components/display/AppAvatar.tsx +1 -1
- package/commons/components/display/AppListEmpty.tsx +1 -1
- package/commons/components/display/AppToc.tsx +3 -3
- package/commons/components/display/hooks/useAppColor.tsx +1 -1
- package/commons/components/leftnav/LeftNavDrawer.tsx +4 -4
- package/commons/components/leftnav/LeftNavGroup.tsx +3 -3
- package/commons/components/leftnav/LeftNavItem.tsx +2 -2
- package/commons/components/notification/Notification.tsx +4 -4
- package/commons/components/notification/elements/NotificationCloseButton.tsx +1 -1
- package/commons/components/notification/elements/NotificationContainer.tsx +5 -5
- package/commons/components/notification/elements/NotificationEndOfPage.tsx +1 -1
- package/commons/components/notification/elements/NotificationItems.tsx +2 -2
- package/commons/components/notification/elements/item/NotificationItem.tsx +7 -7
- package/commons/components/notification/elements/item/NotificationItemAuthor.tsx +1 -1
- package/commons/components/notification/elements/item/NotificationItemContent.tsx +1 -1
- package/commons/components/notification/elements/item/NotificationItemDate.tsx +1 -1
- package/commons/components/notification/elements/item/NotificationItemTitle.tsx +1 -1
- package/commons/components/pages/PageContent.tsx +1 -1
- package/commons/components/pages/PageFullScreen.tsx +3 -3
- package/commons/components/pages/PageHeader.tsx +1 -1
- package/commons/components/search/AppSearch.tsx +4 -4
- package/commons/components/search/AppSearchResult.tsx +4 -4
- package/commons/components/topnav/AppBar.tsx +9 -9
- package/commons/components/topnav/AppName.tsx +1 -1
- package/commons/components/topnav/AppSwitcher.tsx +1 -1
- package/commons/components/topnav/Notifications.tsx +2 -2
- package/commons/components/topnav/ThemeSelection.tsx +2 -2
- package/commons/components/topnav/ThemeSelectionIcon.tsx +2 -2
- package/commons/components/topnav/UserProfile.tsx +3 -3
- package/commons/components/utils/hooks/useLocalStorageItem.tsx +1 -1
- package/commons/components/utils/hooks/useThemeBuilder.tsx +2 -2
- package/components/app/App.tsx +57 -57
- package/components/app/AppContainer.tsx +1 -1
- package/components/app/drawers/ApiKeyDrawer.tsx +5 -5
- package/components/app/drawers/AssignUserDrawer.tsx +6 -6
- package/components/app/drawers/ViewGroupsDrawer.tsx +1 -1
- package/components/app/hooks/useMatchers.tsx +2 -2
- package/components/app/hooks/useTitle.tsx +1 -1
- package/components/app/providers/AnalyticProvider.tsx +5 -5
- package/components/app/providers/ApiConfigProvider.tsx +1 -1
- package/components/app/providers/AppDrawerProvider.tsx +1 -1
- package/components/app/providers/AvatarProvider.tsx +2 -2
- package/components/app/providers/CustomPluginProvider.tsx +1 -1
- package/components/app/providers/FavouritesProvider.tsx +3 -3
- package/components/app/providers/FieldProvider.tsx +3 -3
- package/components/app/providers/HitProvider.tsx +5 -5
- package/components/app/providers/HitSearchProvider.tsx +12 -12
- package/components/app/providers/LocalStorageProvider.tsx +2 -2
- package/components/app/providers/OverviewProvider.tsx +3 -3
- package/components/app/providers/ParameterProvider.tsx +1 -1
- package/components/app/providers/SocketProvider.tsx +5 -5
- package/components/app/providers/UserListProvider.tsx +3 -3
- package/components/app/providers/ViewProvider.tsx +7 -7
- package/components/elements/Comment.tsx +7 -7
- package/components/elements/EditRow.tsx +1 -1
- package/components/elements/PluginChip.tsx +1 -1
- package/components/elements/PluginTypography.tsx +1 -1
- package/components/elements/ThemedEditor.tsx +3 -3
- package/components/elements/UserList.tsx +1 -1
- package/components/elements/addons/layout/FlexPort.tsx +1 -1
- package/components/elements/addons/layout/FlexVertical.tsx +2 -2
- package/components/elements/addons/layout/vsbox/VSBox.tsx +1 -1
- package/components/elements/addons/lists/TuiList.tsx +1 -1
- package/components/elements/addons/lists/TuiListBase.tsx +2 -2
- package/components/elements/addons/lists/hooks/useTuiListKeyboard.tsx +2 -2
- package/components/elements/addons/lists/table/TuiTable.tsx +1 -1
- package/components/elements/addons/lists/table/TuiTableBody.tsx +1 -1
- package/components/elements/addons/lists/table/TuiTableHead.tsx +1 -1
- package/components/elements/addons/search/phrase/Phrase.tsx +1 -1
- package/components/elements/display/ActionButton.tsx +4 -4
- package/components/elements/display/Classification.tsx +1 -1
- package/components/elements/display/HandlebarsMarkdown.tsx +2 -2
- package/components/elements/display/HowlerAvatar.tsx +3 -3
- package/components/elements/display/HowlerAvatarHeader.tsx +1 -1
- package/components/elements/display/ItemManager.tsx +7 -7
- package/components/elements/display/Markdown.tsx +1 -1
- package/components/elements/display/Modal.tsx +1 -1
- package/components/elements/display/UserPageWrapper.tsx +2 -2
- package/components/elements/display/features/DevelopmentBanner.tsx +2 -2
- package/components/elements/display/features/DevelopmentIcon.tsx +2 -2
- package/components/elements/display/handlebars/helpers.tsx +4 -4
- package/components/elements/display/icons/BundleButton.tsx +1 -1
- package/components/elements/display/icons/SocketBadge.tsx +2 -2
- package/components/elements/display/json/JSONViewer.tsx +7 -7
- package/components/elements/display/modals/ConfirmDeleteModal.tsx +1 -1
- package/components/elements/display/modals/ConfirmNotebookModal.tsx +1 -1
- package/components/elements/display/modals/CreateActionModal.tsx +3 -3
- package/components/elements/display/modals/RationaleModal.tsx +2 -2
- package/components/elements/hit/HitActions.tsx +13 -13
- package/components/elements/hit/HitBanner.tsx +6 -6
- package/components/elements/hit/HitBannerTooltip.tsx +1 -1
- package/components/elements/hit/HitCard.tsx +1 -1
- package/components/elements/hit/HitComments.tsx +11 -11
- package/components/elements/hit/HitDetails.tsx +2 -2
- package/components/elements/hit/HitLabels.tsx +6 -6
- package/components/elements/hit/HitNotebooks.tsx +8 -8
- package/components/elements/hit/HitOutline.tsx +4 -4
- package/components/elements/hit/HitOverview.tsx +4 -4
- package/components/elements/hit/HitQuickSearch.tsx +4 -4
- package/components/elements/hit/HitRelated.tsx +1 -1
- package/components/elements/hit/HitSummary.tsx +13 -13
- package/components/elements/hit/HitWorklog.tsx +7 -7
- package/components/elements/hit/actions/DropdownActions.tsx +1 -1
- package/components/elements/hit/aggregate/HitGraph.tsx +8 -8
- package/components/elements/hit/elements/Assigned.tsx +4 -4
- package/components/elements/hit/elements/EscalationChip.tsx +2 -2
- package/components/elements/hit/elements/HitTimestamp.tsx +3 -3
- package/components/elements/hit/outlines/DefaultOutline.tsx +4 -4
- package/components/elements/hit/outlines/al/AssemblyLineRules.tsx +2 -2
- package/components/elements/hit/related/PivotLink.tsx +3 -3
- package/components/elements/hit/related/RelatedIcon.tsx +2 -2
- package/components/elements/hit/related/RelatedLink.tsx +1 -1
- package/components/elements/view/ViewTitle.tsx +1 -1
- package/components/hooks/useHitActions.tsx +12 -12
- package/components/hooks/useHitSelection.tsx +7 -7
- package/components/hooks/useMyApi.tsx +2 -2
- package/components/hooks/useMyLocalStorage.ts +5 -5
- package/components/hooks/useMyPreferences.tsx +6 -6
- package/components/hooks/useMySearch.tsx +7 -7
- package/components/hooks/useMySitemap.tsx +2 -2
- package/components/hooks/useMyTheme.tsx +1 -1
- package/components/hooks/useMyUser.tsx +2 -2
- package/components/hooks/useMyUserFunctions.tsx +8 -8
- package/components/hooks/useMyUserList.tsx +1 -1
- package/components/hooks/useMyUtils.tsx +1 -1
- package/components/logins/Login.tsx +4 -4
- package/components/logins/auth/OAuthLogin.tsx +3 -3
- package/components/logins/hooks/useLogin.tsx +11 -11
- package/components/routes/404.tsx +1 -1
- package/components/routes/ErrorOccured.tsx +2 -2
- package/components/routes/Logout.tsx +3 -3
- package/components/routes/action/edit/ActionEditor.tsx +13 -13
- package/components/routes/action/shared/ActionReportDisplay.tsx +2 -2
- package/components/routes/action/shared/OperationEntry.tsx +4 -4
- package/components/routes/action/shared/OperationStep.tsx +8 -8
- package/components/routes/action/useMyActionFunctions.tsx +9 -9
- package/components/routes/action/view/ActionDetails.tsx +12 -12
- package/components/routes/action/view/ActionSearch.tsx +14 -14
- package/components/routes/action/view/Integrations.tsx +2 -2
- package/components/routes/admin/users/UserEditor.tsx +8 -8
- package/components/routes/admin/users/UserSearch.tsx +19 -19
- package/components/routes/advanced/QueryBuilder.tsx +14 -14
- package/components/routes/advanced/QueryEditor.tsx +3 -3
- package/components/routes/advanced/RuleModal.tsx +10 -10
- package/components/routes/advanced/eqlCompletionProvider.ts +1 -1
- package/components/routes/advanced/historyCompletionProvider.ts +2 -2
- package/components/routes/advanced/luceneCompletionProvider.ts +3 -3
- package/components/routes/advanced/yamlCompletionProvider.ts +1 -1
- package/components/routes/analytics/AnalyticComments.tsx +9 -9
- package/components/routes/analytics/AnalyticDetails.tsx +12 -12
- package/components/routes/analytics/AnalyticHitComments.tsx +8 -8
- package/components/routes/analytics/AnalyticNotebooks.tsx +9 -9
- package/components/routes/analytics/AnalyticOverview.tsx +6 -6
- package/components/routes/analytics/AnalyticOverviews.tsx +3 -3
- package/components/routes/analytics/AnalyticSearch.tsx +15 -15
- package/components/routes/analytics/AnalyticTemplates.tsx +5 -5
- package/components/routes/analytics/RuleView.tsx +4 -4
- package/components/routes/analytics/TriageSettings.tsx +6 -6
- package/components/routes/analytics/widgets/Assessment.tsx +5 -5
- package/components/routes/analytics/widgets/Created.tsx +4 -4
- package/components/routes/analytics/widgets/Detection.tsx +2 -2
- package/components/routes/analytics/widgets/Escalation.tsx +5 -5
- package/components/routes/analytics/widgets/Stacked.tsx +3 -3
- package/components/routes/analytics/widgets/Status.tsx +2 -2
- package/components/routes/dossiers/DossierCard.tsx +3 -3
- package/components/routes/dossiers/DossierEditor.tsx +5 -5
- package/components/routes/dossiers/Dossiers.tsx +10 -10
- package/components/routes/dossiers/LeadEditor.tsx +3 -3
- package/components/routes/dossiers/LeadForm.tsx +1 -1
- package/components/routes/dossiers/PivotForm.tsx +4 -4
- package/components/routes/help/ActionDocumentation.tsx +3 -3
- package/components/routes/help/ActionIntroductionDocumentation.tsx +7 -7
- package/components/routes/help/ApiDocumentation.tsx +8 -8
- package/components/routes/help/AuthDocumentation.tsx +3 -3
- package/components/routes/help/BundleDocumentation.tsx +1 -1
- package/components/routes/help/ClientDocumentation.tsx +3 -3
- package/components/routes/help/Help.tsx +5 -5
- package/components/routes/help/HitBannerDocumentation.tsx +5 -5
- package/components/routes/help/HitDocumentation.tsx +2 -2
- package/components/routes/help/HitLabelsDocumentation.tsx +1 -1
- package/components/routes/help/HitLinksDocumentation.tsx +2 -2
- package/components/routes/help/HitSchemaDocumentation.tsx +3 -3
- package/components/routes/help/NotebookDocumentation.tsx +3 -3
- package/components/routes/help/OverviewDocumentation.tsx +3 -3
- package/components/routes/help/RetentionDocumentation.tsx +7 -7
- package/components/routes/help/SearchDocumentation.tsx +6 -6
- package/components/routes/help/TemplateDocumentation.tsx +5 -5
- package/components/routes/help/ViewDocumentation.tsx +3 -3
- package/components/routes/hits/search/BundleParentMenu.tsx +5 -5
- package/components/routes/hits/search/BundleScroller.tsx +1 -1
- package/components/routes/hits/search/CustomSort.tsx +2 -2
- package/components/routes/hits/search/HitBrowser.tsx +10 -10
- package/components/routes/hits/search/HitContextMenu.tsx +11 -11
- package/components/routes/hits/search/HitQuery.tsx +5 -5
- package/components/routes/hits/search/InformationPane.tsx +35 -35
- package/components/routes/hits/search/SearchPane.tsx +21 -21
- package/components/routes/hits/search/ViewLink.tsx +3 -3
- package/components/routes/hits/search/grid/AddColumnModal.tsx +3 -3
- package/components/routes/hits/search/grid/ColumnHeader.tsx +2 -2
- package/components/routes/hits/search/grid/EnhancedCell.tsx +1 -1
- package/components/routes/hits/search/grid/HitGrid.tsx +12 -12
- package/components/routes/hits/search/grid/HitRow.tsx +7 -7
- package/components/routes/hits/search/shared/CustomSpan.tsx +1 -1
- package/components/routes/hits/search/shared/HitFilter.tsx +4 -4
- package/components/routes/hits/search/shared/HitSort.tsx +2 -2
- package/components/routes/hits/search/shared/QuerySettings.tsx +2 -2
- package/components/routes/hits/search/shared/SearchSpan.tsx +3 -3
- package/components/routes/hits/view/HitViewer.tsx +28 -28
- package/components/routes/hits/view/LeadRenderer.tsx +3 -3
- package/components/routes/home/AddNewCard.tsx +5 -5
- package/components/routes/home/AnalyticCard.tsx +3 -3
- package/components/routes/home/ViewCard.tsx +7 -7
- package/components/routes/home/index.tsx +9 -9
- package/components/routes/overviews/OverviewCard.tsx +3 -3
- package/components/routes/overviews/OverviewEditor.tsx +2 -2
- package/components/routes/overviews/OverviewViewer.tsx +13 -13
- package/components/routes/overviews/Overviews.tsx +10 -10
- package/components/routes/overviews/startingTemplate.ts +1 -1
- package/components/routes/settings/AdminSection.tsx +1 -1
- package/components/routes/settings/LocalSection.tsx +4 -4
- package/components/routes/settings/ProfileSection.tsx +4 -4
- package/components/routes/settings/SecuritySection.tsx +5 -5
- package/components/routes/settings/Settings.tsx +6 -6
- package/components/routes/templates/TemplateCard.tsx +1 -1
- package/components/routes/templates/TemplateEditor.tsx +4 -4
- package/components/routes/templates/TemplateViewer.tsx +10 -10
- package/components/routes/templates/Templates.tsx +11 -11
- package/components/routes/views/ViewComposer.tsx +21 -21
- package/components/routes/views/Views.tsx +16 -16
- package/index.tsx +3 -3
- package/models/entities/HowlerUser.d.ts +1 -1
- package/models/socket/HitUpdate.d.ts +1 -1
- package/package.json +4 -32
- package/plugins/HowlerPlugin.ts +12 -12
- package/plugins/store.ts +1 -1
- package/rest/AxiosClient.ts +3 -3
- package/rest/FetchClient.ts +2 -2
- package/rest/index.ts +1 -1
- package/utils/actionUtils.ts +2 -2
- package/utils/hitFunctions.ts +1 -1
- package/utils/localStorage.ts +1 -1
- package/utils/sessionStorage.ts +1 -1
- package/utils/socketUtils.ts +2 -2
- package/components/app/hooks/useMatchers.test.ts +0 -328
- package/components/app/providers/ViewProvider.test.tsx +0 -244
- package/tests/MockLocalStorage.ts +0 -46
- package/tests/server-handlers.ts +0 -114
- package/tests/server.ts +0 -6
package/api/action/execute.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { hpost, joinAllUri, joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/action';
|
|
3
|
-
import type { ActionReport, ActionRequest } from 'models/ActionTypes';
|
|
1
|
+
import { hpost, joinAllUri, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/action';
|
|
3
|
+
import type { ActionReport, ActionRequest } from '@cccsaurora/howler-ui/models/ActionTypes';
|
|
4
4
|
|
|
5
5
|
export const uri = (id?: string) => {
|
|
6
6
|
return id ? joinAllUri(parentUri(), id, 'execute') : joinUri(parentUri(), 'execute');
|
package/api/action/index.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { hdelete, hpatch, hpost, hput, joinAllUri, joinUri, uri as parentUri } from 'api';
|
|
2
|
-
import * as execute from 'api/action/execute';
|
|
3
|
-
import * as operations from 'api/action/operations';
|
|
4
|
-
import { action } from 'api/search';
|
|
5
|
-
import type { Action } from 'models/entities/generated/Action';
|
|
1
|
+
import { hdelete, hpatch, hpost, hput, joinAllUri, joinUri, uri as parentUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import * as execute from '@cccsaurora/howler-ui/api/action/execute';
|
|
3
|
+
import * as operations from '@cccsaurora/howler-ui/api/action/operations';
|
|
4
|
+
import { action } from '@cccsaurora/howler-ui/api/search';
|
|
5
|
+
import type { Action } from '@cccsaurora/howler-ui/models/entities/generated/Action';
|
|
6
6
|
|
|
7
7
|
export const uri = (id?: string) => {
|
|
8
8
|
return id ? joinAllUri(parentUri(), 'action', id) : joinUri(parentUri(), 'action');
|
package/api/action/operations.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { hget, joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/action';
|
|
3
|
-
import type { ActionOperation } from 'models/ActionTypes';
|
|
1
|
+
import { hget, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/action';
|
|
3
|
+
import type { ActionOperation } from '@cccsaurora/howler-ui/models/ActionTypes';
|
|
4
4
|
|
|
5
5
|
export const uri = () => {
|
|
6
6
|
return joinUri(parentUri(), 'operations');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { hdelete, hget, hpost, hput, joinAllUri, joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/analytic';
|
|
3
|
-
import type { Analytic } from 'models/entities/generated/Analytic';
|
|
4
|
-
import type { Comment } from 'models/entities/generated/Comment';
|
|
1
|
+
import { hdelete, hget, hpost, hput, joinAllUri, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/analytic';
|
|
3
|
+
import type { Analytic } from '@cccsaurora/howler-ui/models/entities/generated/Analytic';
|
|
4
|
+
import type { Comment } from '@cccsaurora/howler-ui/models/entities/generated/Comment';
|
|
5
5
|
import * as react from './react';
|
|
6
6
|
|
|
7
7
|
export const uri = (analytic: string, comment?: string) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { hdelete, hput, joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/analytic/comments';
|
|
1
|
+
import { hdelete, hput, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/analytic/comments';
|
|
3
3
|
|
|
4
4
|
export const uri = (analytic: string, comment: string) => {
|
|
5
5
|
return joinUri(parentUri(analytic, comment), 'react');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { hdelete, hpost, joinAllUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/analytic';
|
|
1
|
+
import { hdelete, hpost, joinAllUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/analytic';
|
|
3
3
|
|
|
4
4
|
export const uri = (id: string) => {
|
|
5
5
|
return joinAllUri(parentUri(), id, 'favourite');
|
package/api/analytic/index.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { hdelete, hget, hput, joinAllUri, joinUri, uri as parentUri } from 'api';
|
|
2
|
-
import * as comments from 'api/analytic/comments';
|
|
3
|
-
import * as favourite from 'api/analytic/favourite';
|
|
4
|
-
import * as notebooks from 'api/analytic/notebooks';
|
|
5
|
-
import * as owner from 'api/analytic/owner';
|
|
6
|
-
import * as rules from 'api/analytic/rules';
|
|
7
|
-
import type { Analytic } from 'models/entities/generated/Analytic';
|
|
1
|
+
import { hdelete, hget, hput, joinAllUri, joinUri, uri as parentUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import * as comments from '@cccsaurora/howler-ui/api/analytic/comments';
|
|
3
|
+
import * as favourite from '@cccsaurora/howler-ui/api/analytic/favourite';
|
|
4
|
+
import * as notebooks from '@cccsaurora/howler-ui/api/analytic/notebooks';
|
|
5
|
+
import * as owner from '@cccsaurora/howler-ui/api/analytic/owner';
|
|
6
|
+
import * as rules from '@cccsaurora/howler-ui/api/analytic/rules';
|
|
7
|
+
import type { Analytic } from '@cccsaurora/howler-ui/models/entities/generated/Analytic';
|
|
8
8
|
|
|
9
9
|
export type EditOptions = Pick<Analytic, 'description' | 'rule' | 'rule_crontab' | 'triage_settings'>;
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { hdelete, hpost, joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/analytic';
|
|
3
|
-
import type { Analytic } from 'models/entities/generated/Analytic';
|
|
1
|
+
import { hdelete, hpost, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/analytic';
|
|
3
|
+
import type { Analytic } from '@cccsaurora/howler-ui/models/entities/generated/Analytic';
|
|
4
4
|
|
|
5
5
|
export const uri = (analytic: string) => {
|
|
6
6
|
return joinUri(parentUri(analytic), 'notebooks');
|
package/api/analytic/owner.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { hpost, joinAllUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/analytic';
|
|
3
|
-
import type { Analytic } from 'models/entities/generated/Analytic';
|
|
1
|
+
import { hpost, joinAllUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/analytic';
|
|
3
|
+
import type { Analytic } from '@cccsaurora/howler-ui/models/entities/generated/Analytic';
|
|
4
4
|
|
|
5
5
|
export const uri = (id: string) => {
|
|
6
6
|
return joinAllUri(parentUri(), id, 'owner');
|
package/api/analytic/rules.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { hpost, joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/analytic';
|
|
3
|
-
import type { Analytic } from 'models/entities/generated/Analytic';
|
|
1
|
+
import { hpost, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/analytic';
|
|
3
|
+
import type { Analytic } from '@cccsaurora/howler-ui/models/entities/generated/Analytic';
|
|
4
4
|
|
|
5
5
|
export const uri = () => {
|
|
6
6
|
return joinUri(parentUri(), 'rules');
|
package/api/auth/apikey.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { hdelete, hpost, joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/auth';
|
|
1
|
+
import { hdelete, hpost, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/auth';
|
|
3
3
|
|
|
4
4
|
export type Privileges = 'R' | 'W' | 'E' | 'I';
|
|
5
5
|
|
package/api/auth/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { joinUri, uri as parentUri } from 'api';
|
|
2
|
-
import * as apikey from 'api/auth/apikey';
|
|
3
|
-
import * as login from 'api/auth/login';
|
|
1
|
+
import { joinUri, uri as parentUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import * as apikey from '@cccsaurora/howler-ui/api/auth/apikey';
|
|
3
|
+
import * as login from '@cccsaurora/howler-ui/api/auth/login';
|
|
4
4
|
|
|
5
5
|
export const uri = () => {
|
|
6
6
|
return joinUri(parentUri(), 'auth');
|
package/api/auth/login.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { hget, hpost, joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/auth';
|
|
3
|
-
import { MY_LOCAL_STORAGE_PREFIX, StorageKey } from 'utils/constants';
|
|
1
|
+
import { hget, hpost, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/auth';
|
|
3
|
+
import { MY_LOCAL_STORAGE_PREFIX, StorageKey } from '@cccsaurora/howler-ui/utils/constants';
|
|
4
4
|
|
|
5
5
|
export type PostLoginBody = {
|
|
6
6
|
user?: string;
|
package/api/configs/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { hget, joinUri, uri as parentUri } from 'api';
|
|
2
|
-
import type { ApiType } from 'models/entities/generated/ApiType';
|
|
1
|
+
import { hget, joinUri, uri as parentUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { ApiType } from '@cccsaurora/howler-ui/models/entities/generated/ApiType';
|
|
3
3
|
|
|
4
4
|
export const uri = () => {
|
|
5
5
|
return joinUri(parentUri(), 'configs');
|
package/api/dossier/hit.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable import/no-cycle */
|
|
2
|
-
import { hget, joinAllUri } from 'api';
|
|
3
|
-
import type { Dossier } from 'models/entities/generated/Dossier';
|
|
2
|
+
import { hget, joinAllUri } from '@cccsaurora/howler-ui/api';
|
|
3
|
+
import type { Dossier } from '@cccsaurora/howler-ui/models/entities/generated/Dossier';
|
|
4
4
|
import { uri as parentUri } from '.';
|
|
5
5
|
|
|
6
6
|
const uri = (id: string) => joinAllUri(parentUri(), 'hit', id);
|
package/api/dossier/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// eslint-disable-next-line import/no-cycle
|
|
2
|
-
import { hdelete, hget, hpost, hput, joinAllUri, joinUri, uri as parentUri } from 'api';
|
|
3
|
-
import type { Dossier } from 'models/entities/generated/Dossier';
|
|
2
|
+
import { hdelete, hget, hpost, hput, joinAllUri, joinUri, uri as parentUri } from '@cccsaurora/howler-ui/api';
|
|
3
|
+
import type { Dossier } from '@cccsaurora/howler-ui/models/entities/generated/Dossier';
|
|
4
4
|
import * as hit from './hit';
|
|
5
5
|
|
|
6
6
|
export const uri = (id?: string) => {
|
package/api/help.ts
CHANGED
package/api/hit/assign.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { hput, joinAllUri } from 'api';
|
|
2
|
-
import type { HitActionBody, HitActionResponse } from 'api/hit';
|
|
3
|
-
import { uri as parentUri } from 'api/hit';
|
|
1
|
+
import { hput, joinAllUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HitActionBody, HitActionResponse } from '@cccsaurora/howler-ui/api/hit';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/hit';
|
|
4
4
|
|
|
5
5
|
export const uri = (id: string) => {
|
|
6
6
|
return joinAllUri(parentUri(), id, 'assign');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { hdelete, hget, hpost, hput, joinAllUri, joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/hit';
|
|
3
|
-
import type { Comment } from 'models/entities/generated/Comment';
|
|
4
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
1
|
+
import { hdelete, hget, hpost, hput, joinAllUri, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/hit';
|
|
3
|
+
import type { Comment } from '@cccsaurora/howler-ui/models/entities/generated/Comment';
|
|
4
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
5
5
|
import * as react from './react';
|
|
6
6
|
|
|
7
7
|
export const uri = (hit: string, comment?: string) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// eslint-disable-next-line import/no-cycle
|
|
2
|
-
import { hdelete, hput, joinUri } from 'api';
|
|
3
|
-
import { uri as parentUri } from 'api/hit/comments';
|
|
2
|
+
import { hdelete, hput, joinUri } from '@cccsaurora/howler-ui/api';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/hit/comments';
|
|
4
4
|
|
|
5
5
|
export const uri = (hit: string, comment: string) => {
|
|
6
6
|
return joinUri(parentUri(hit, comment), 'react');
|
package/api/hit/index.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { hdelete, hget, hpost, joinAllUri, joinUri, uri as parentUri } from 'api';
|
|
2
|
-
import * as assign from 'api/hit/assign';
|
|
3
|
-
import * as comments from 'api/hit/comments';
|
|
4
|
-
import * as labels from 'api/hit/labels';
|
|
5
|
-
import * as overwrite from 'api/hit/overwrite';
|
|
6
|
-
import * as transition from 'api/hit/transition';
|
|
7
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
1
|
+
import { hdelete, hget, hpost, joinAllUri, joinUri, uri as parentUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import * as assign from '@cccsaurora/howler-ui/api/hit/assign';
|
|
3
|
+
import * as comments from '@cccsaurora/howler-ui/api/hit/comments';
|
|
4
|
+
import * as labels from '@cccsaurora/howler-ui/api/hit/labels';
|
|
5
|
+
import * as overwrite from '@cccsaurora/howler-ui/api/hit/overwrite';
|
|
6
|
+
import * as transition from '@cccsaurora/howler-ui/api/hit/transition';
|
|
7
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
8
8
|
|
|
9
9
|
export type HitActionBody = {
|
|
10
10
|
value: string;
|
package/api/hit/labels.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { hdelete, hput, joinAllUri } from 'api';
|
|
2
|
-
import type { LabelActionBody } from 'api/hit';
|
|
3
|
-
import { uri as parentUri } from 'api/hit';
|
|
4
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
1
|
+
import { hdelete, hput, joinAllUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { LabelActionBody } from '@cccsaurora/howler-ui/api/hit';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/hit';
|
|
4
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
5
5
|
|
|
6
6
|
export const uri = (id: string, category: string) => {
|
|
7
7
|
return joinAllUri(parentUri(), id, 'labels', category);
|
package/api/hit/overwrite.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { hput, joinAllUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/hit';
|
|
3
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
1
|
+
import { hput, joinAllUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/hit';
|
|
3
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
4
4
|
|
|
5
5
|
export const uri = (id: string) => {
|
|
6
6
|
return joinAllUri(parentUri(), id, 'overwrite');
|
package/api/hit/transition.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { hpost, joinAllUri } from 'api';
|
|
2
|
-
import type { HitTransitionBody } from 'api/hit';
|
|
3
|
-
import { uri as parentUri } from 'api/hit';
|
|
4
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
1
|
+
import { hpost, joinAllUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HitTransitionBody } from '@cccsaurora/howler-ui/api/hit';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/hit';
|
|
4
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
5
5
|
|
|
6
6
|
export const uri = (id: string) => {
|
|
7
7
|
return joinAllUri(parentUri(), id, 'transition');
|
package/api/index.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import * as action from 'api/action';
|
|
2
|
-
import * as analytic from 'api/analytic';
|
|
3
|
-
import * as auth from 'api/auth';
|
|
4
|
-
import * as configs from 'api/configs';
|
|
5
|
-
import * as dossier from 'api/dossier';
|
|
6
|
-
import * as help from 'api/help';
|
|
7
|
-
import * as hit from 'api/hit';
|
|
8
|
-
import * as notebook from 'api/notebook';
|
|
9
|
-
import * as overview from 'api/overview';
|
|
10
|
-
import * as search from 'api/search';
|
|
11
|
-
import * as template from 'api/template';
|
|
12
|
-
import * as user from 'api/user';
|
|
13
|
-
import * as view from 'api/view';
|
|
14
|
-
import AxiosClient from 'rest/AxiosClient';
|
|
1
|
+
import * as action from '@cccsaurora/howler-ui/api/action';
|
|
2
|
+
import * as analytic from '@cccsaurora/howler-ui/api/analytic';
|
|
3
|
+
import * as auth from '@cccsaurora/howler-ui/api/auth';
|
|
4
|
+
import * as configs from '@cccsaurora/howler-ui/api/configs';
|
|
5
|
+
import * as dossier from '@cccsaurora/howler-ui/api/dossier';
|
|
6
|
+
import * as help from '@cccsaurora/howler-ui/api/help';
|
|
7
|
+
import * as hit from '@cccsaurora/howler-ui/api/hit';
|
|
8
|
+
import * as notebook from '@cccsaurora/howler-ui/api/notebook';
|
|
9
|
+
import * as overview from '@cccsaurora/howler-ui/api/overview';
|
|
10
|
+
import * as search from '@cccsaurora/howler-ui/api/search';
|
|
11
|
+
import * as template from '@cccsaurora/howler-ui/api/template';
|
|
12
|
+
import * as user from '@cccsaurora/howler-ui/api/user';
|
|
13
|
+
import * as view from '@cccsaurora/howler-ui/api/view';
|
|
14
|
+
import AxiosClient from '@cccsaurora/howler-ui/rest/AxiosClient';
|
|
15
15
|
import urlJoin from 'url-join';
|
|
16
|
-
import { StorageKey } from 'utils/constants';
|
|
16
|
+
import { StorageKey } from '@cccsaurora/howler-ui/utils/constants';
|
|
17
17
|
import {
|
|
18
18
|
getStored as getLocalStored,
|
|
19
19
|
removeStored as removeLocalStored,
|
|
20
20
|
saveLoginCredential,
|
|
21
21
|
setStored as setLocalStored
|
|
22
|
-
} from 'utils/localStorage';
|
|
23
|
-
import { getStored as getSessionStored, setStored as setSessionStored } from 'utils/sessionStorage';
|
|
24
|
-
import getXSRFCookie from 'utils/xsrf';
|
|
22
|
+
} from '@cccsaurora/howler-ui/utils/localStorage';
|
|
23
|
+
import { getStored as getSessionStored, setStored as setSessionStored } from '@cccsaurora/howler-ui/utils/sessionStorage';
|
|
24
|
+
import getXSRFCookie from '@cccsaurora/howler-ui/utils/xsrf';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Concrete Rest HTTP client implementation.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { hget, joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/notebook';
|
|
1
|
+
import { hget, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/notebook';
|
|
3
3
|
|
|
4
4
|
export type EnvsResponse = {
|
|
5
5
|
envs: { name: string; url: string; default: boolean; user_interface: string }[];
|
package/api/notebook/index.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { hpost, joinUri, uri as parentUri } from 'api';
|
|
2
|
-
import type { Analytic } from 'models/entities/generated/Analytic';
|
|
3
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
1
|
+
import { hpost, joinUri, uri as parentUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { Analytic } from '@cccsaurora/howler-ui/models/entities/generated/Analytic';
|
|
3
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
4
4
|
|
|
5
|
-
import * as environments from 'api/notebook/environments';
|
|
5
|
+
import * as environments from '@cccsaurora/howler-ui/api/notebook/environments';
|
|
6
6
|
|
|
7
7
|
export type NotebookResponse = {
|
|
8
8
|
nb_content: any;
|
package/api/overview/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { hdelete, hget, hpost, hput, joinAllUri, joinUri, uri as parentUri } from 'api';
|
|
2
|
-
import type { Overview } from 'models/entities/generated/Overview';
|
|
1
|
+
import { hdelete, hget, hpost, hput, joinAllUri, joinUri, uri as parentUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { Overview } from '@cccsaurora/howler-ui/models/entities/generated/Overview';
|
|
3
3
|
|
|
4
4
|
export const uri = (id?: string) => {
|
|
5
5
|
return id ? joinAllUri(parentUri(), 'overview', id) : joinUri(parentUri(), 'overview');
|
package/api/search/action.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { hpost, joinUri } from 'api';
|
|
2
|
-
import type { HowlerSearchRequest, HowlerSearchResponse } from 'api/search';
|
|
3
|
-
import { uri as parentUri } from 'api/search';
|
|
4
|
-
import type { Action } from 'models/entities/generated/Action';
|
|
1
|
+
import { hpost, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HowlerSearchRequest, HowlerSearchResponse } from '@cccsaurora/howler-ui/api/search';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search';
|
|
4
|
+
import type { Action } from '@cccsaurora/howler-ui/models/entities/generated/Action';
|
|
5
5
|
|
|
6
6
|
export const uri = () => {
|
|
7
7
|
return joinUri(parentUri(), 'action');
|
package/api/search/analytic.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { hpost, joinUri } from 'api';
|
|
2
|
-
import type { HowlerSearchRequest, HowlerSearchResponse } from 'api/search';
|
|
3
|
-
import { uri as parentUri } from 'api/search';
|
|
4
|
-
import type { Analytic } from 'models/entities/generated/Analytic';
|
|
1
|
+
import { hpost, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HowlerSearchRequest, HowlerSearchResponse } from '@cccsaurora/howler-ui/api/search';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search';
|
|
4
|
+
import type { Analytic } from '@cccsaurora/howler-ui/models/entities/generated/Analytic';
|
|
5
5
|
|
|
6
6
|
export const uri = () => {
|
|
7
7
|
return joinUri(parentUri(), 'analytic');
|
package/api/search/count/hit.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { hpost, joinUri } from 'api';
|
|
2
|
-
import type { HowlerCountResult, HowlerCountSearchRequest } from 'api/search/count';
|
|
3
|
-
import { uri as parentUri } from 'api/search/count';
|
|
1
|
+
import { hpost, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HowlerCountResult, HowlerCountSearchRequest } from '@cccsaurora/howler-ui/api/search/count';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search/count';
|
|
4
4
|
|
|
5
5
|
export const uri = () => {
|
|
6
6
|
return joinUri(parentUri(), 'hit');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/search';
|
|
3
|
-
import * as hit from 'api/search/count/hit';
|
|
1
|
+
import { joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search';
|
|
3
|
+
import * as hit from '@cccsaurora/howler-ui/api/search/count/hit';
|
|
4
4
|
|
|
5
5
|
export interface HowlerCountSearchRequest {
|
|
6
6
|
query: string;
|
package/api/search/dossier.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { hpost, joinUri } from 'api';
|
|
2
|
-
import type { HowlerSearchRequest, HowlerSearchResponse } from 'api/search';
|
|
3
|
-
import { uri as parentUri } from 'api/search';
|
|
4
|
-
import type { Dossier } from 'models/entities/generated/Dossier';
|
|
1
|
+
import { hpost, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HowlerSearchRequest, HowlerSearchResponse } from '@cccsaurora/howler-ui/api/search';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search';
|
|
4
|
+
import type { Dossier } from '@cccsaurora/howler-ui/models/entities/generated/Dossier';
|
|
5
5
|
|
|
6
6
|
export const uri = () => {
|
|
7
7
|
return joinUri(parentUri(), 'dossier');
|
package/api/search/eql/hit.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { hpost, joinAllUri } from 'api';
|
|
2
|
-
import type { HowlerEQLSearchRequest, HowlerEQLSearchResponse } from 'api/search';
|
|
3
|
-
import { uri as parentUri } from 'api/search';
|
|
4
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
1
|
+
import { hpost, joinAllUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HowlerEQLSearchRequest, HowlerEQLSearchResponse } from '@cccsaurora/howler-ui/api/search';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search';
|
|
4
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
5
5
|
|
|
6
6
|
export const uri = () => {
|
|
7
7
|
return joinAllUri(parentUri(), 'hit', 'eql');
|
package/api/search/facet/hit.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { hpost, joinUri } from 'api';
|
|
2
|
-
import type { HowlerFacetSearchRequest, HowlerFacetSearchResponse } from 'api/search/facet';
|
|
3
|
-
import { uri as parentUri } from 'api/search/facet';
|
|
1
|
+
import { hpost, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HowlerFacetSearchRequest, HowlerFacetSearchResponse } from '@cccsaurora/howler-ui/api/search/facet';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search/facet';
|
|
4
4
|
|
|
5
5
|
export const uri = () => {
|
|
6
6
|
return joinUri(parentUri(), 'hit');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/search';
|
|
3
|
-
import * as hit from 'api/search/facet/hit';
|
|
1
|
+
import { joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search';
|
|
3
|
+
import * as hit from '@cccsaurora/howler-ui/api/search/facet/hit';
|
|
4
4
|
|
|
5
5
|
export const uri = () => {
|
|
6
6
|
return joinUri(parentUri(), 'facet');
|
package/api/search/fields/hit.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { hget, joinUri } from 'api';
|
|
2
|
-
import type { SearchField } from 'api/search/fields';
|
|
3
|
-
import { indexed, uri as parentUri } from 'api/search/fields';
|
|
1
|
+
import { hget, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { SearchField } from '@cccsaurora/howler-ui/api/search/fields';
|
|
3
|
+
import { indexed, uri as parentUri } from '@cccsaurora/howler-ui/api/search/fields';
|
|
4
4
|
|
|
5
5
|
export const uri = () => {
|
|
6
6
|
return joinUri(parentUri(), 'hit');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { uri as parentUri } from 'api/search';
|
|
2
|
-
import * as hit from 'api/search/fields/hit';
|
|
3
|
-
import * as user from 'api/search/fields/user';
|
|
1
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search';
|
|
2
|
+
import * as hit from '@cccsaurora/howler-ui/api/search/fields/hit';
|
|
3
|
+
import * as user from '@cccsaurora/howler-ui/api/search/fields/user';
|
|
4
4
|
// import urlJoin from 'url-join';
|
|
5
|
-
import { joinUri } from 'api';
|
|
5
|
+
import { joinUri } from '@cccsaurora/howler-ui/api';
|
|
6
6
|
|
|
7
7
|
export type SearchField = {
|
|
8
8
|
key?: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as api from 'api';
|
|
2
|
-
import type { SearchField } from 'api/search/fields';
|
|
3
|
-
import { indexed, uri as parentUri } from 'api/search/fields';
|
|
1
|
+
import * as api from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { SearchField } from '@cccsaurora/howler-ui/api/search/fields';
|
|
3
|
+
import { indexed, uri as parentUri } from '@cccsaurora/howler-ui/api/search/fields';
|
|
4
4
|
// import urlJoin from 'url-join';
|
|
5
|
-
import { joinUri } from 'api';
|
|
5
|
+
import { joinUri } from '@cccsaurora/howler-ui/api';
|
|
6
6
|
|
|
7
7
|
export const uri = () => {
|
|
8
8
|
return joinUri(parentUri(), 'user');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { hpost, joinAllUri } from 'api';
|
|
2
|
-
import type { HowlerGroupedSearchRequest, HowlerGroupedSearchResponse } from 'api/search/grouped';
|
|
3
|
-
import { uri as parentUri } from 'api/search/grouped';
|
|
4
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
1
|
+
import { hpost, joinAllUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HowlerGroupedSearchRequest, HowlerGroupedSearchResponse } from '@cccsaurora/howler-ui/api/search/grouped';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search/grouped';
|
|
4
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
5
5
|
|
|
6
6
|
export const uri = (field: string) => {
|
|
7
7
|
return joinAllUri(parentUri(), 'hit', field);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/search';
|
|
3
|
-
import * as hit from 'api/search/grouped/hit';
|
|
4
|
-
import * as user from 'api/search/grouped/user';
|
|
1
|
+
import { joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search';
|
|
3
|
+
import * as hit from '@cccsaurora/howler-ui/api/search/grouped/hit';
|
|
4
|
+
import * as user from '@cccsaurora/howler-ui/api/search/grouped/user';
|
|
5
5
|
|
|
6
6
|
export const uri = () => {
|
|
7
7
|
return joinUri(parentUri(), 'grouped');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { hpost, joinAllUri } from 'api';
|
|
2
|
-
import type { HowlerGroupedSearchRequest, HowlerGroupedSearchResponse } from 'api/search/grouped';
|
|
3
|
-
import { uri as parentUri } from 'api/search/grouped';
|
|
4
|
-
import type { HowlerUser } from 'models/entities/HowlerUser';
|
|
1
|
+
import { hpost, joinAllUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HowlerGroupedSearchRequest, HowlerGroupedSearchResponse } from '@cccsaurora/howler-ui/api/search/grouped';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search/grouped';
|
|
4
|
+
import type { HowlerUser } from '@cccsaurora/howler-ui/models/entities/HowlerUser';
|
|
5
5
|
|
|
6
6
|
export type HowlerApiUser = Omit<HowlerUser, 'username'> & { uname: string };
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { hpost, joinAllUri } from 'api';
|
|
2
|
-
import type { HowlerHistogramSearchRequest, HowlerHistogramSearchResponse } from 'api/search/histogram';
|
|
3
|
-
import { uri as parentUri } from 'api/search/histogram';
|
|
1
|
+
import { hpost, joinAllUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HowlerHistogramSearchRequest, HowlerHistogramSearchResponse } from '@cccsaurora/howler-ui/api/search/histogram';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search/histogram';
|
|
4
4
|
|
|
5
5
|
export const uri = (field: string) => {
|
|
6
6
|
return joinAllUri(parentUri(), 'hit', field);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { joinUri } from 'api';
|
|
2
|
-
import { uri as parentUri } from 'api/search';
|
|
3
|
-
import * as hit from 'api/search/histogram/hit';
|
|
1
|
+
import { joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search';
|
|
3
|
+
import * as hit from '@cccsaurora/howler-ui/api/search/histogram/hit';
|
|
4
4
|
|
|
5
5
|
export const uri = () => {
|
|
6
6
|
return joinUri(parentUri(), 'histogram');
|
package/api/search/hit.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { hpost, joinUri } from 'api';
|
|
2
|
-
import type { HowlerSearchRequest, HowlerSearchResponse } from 'api/search';
|
|
3
|
-
import { uri as parentUri } from 'api/search';
|
|
4
|
-
import type { Hit } from 'models/entities/generated/Hit';
|
|
1
|
+
import { hpost, joinUri } from '@cccsaurora/howler-ui/api';
|
|
2
|
+
import type { HowlerSearchRequest, HowlerSearchResponse } from '@cccsaurora/howler-ui/api/search';
|
|
3
|
+
import { uri as parentUri } from '@cccsaurora/howler-ui/api/search';
|
|
4
|
+
import type { Hit } from '@cccsaurora/howler-ui/models/entities/generated/Hit';
|
|
5
5
|
|
|
6
|
-
import * as eql from 'api/search/eql/hit';
|
|
7
|
-
import * as sigma from 'api/search/sigma/hit';
|
|
6
|
+
import * as eql from '@cccsaurora/howler-ui/api/search/eql/hit';
|
|
7
|
+
import * as sigma from '@cccsaurora/howler-ui/api/search/sigma/hit';
|
|
8
8
|
|
|
9
9
|
export const uri = () => {
|
|
10
10
|
return joinUri(parentUri(), 'hit');
|