Sha256: 2f143b7eb7931d396939da57f3f9e1e47a82c8ff73b9333bd9d307f6ac34b69c

Contents?: true

Size: 612 Bytes

Versions: 8

Compression:

Stored size: 612 Bytes

Contents

import { translate as __ } from 'foremanReact/common/I18n';
import { getControllerSearchProps } from 'foremanReact/constants';
import { foremanUrl } from '../ForemanRhCloudHelpers';

export const INSIGHTS_CLOUD_SYNC = 'INSIGHTS_CLOUD_SYNC';

export const INSIGHTS_SYNC_PAGE_TITLE = __('Red Hat Insights');

export const INSIGHTS_PATH = foremanUrl('/foreman_rh_cloud/insights_cloud');

export const INSIGHTS_SAVE_AND_SYNC_PATH = foremanUrl(
  '/insights_cloud/save_token_and_sync'
);

export const INSIGHTS_SEARCH_PROPS = {
  ...getControllerSearchProps('/insights_cloud/hits'),
  controller: 'insights_hits',
};

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
foreman_rh_cloud-4.0.21.1 webpack/InsightsCloudSync/InsightsCloudSyncConstants.js
foreman_rh_cloud-3.0.21.1 webpack/InsightsCloudSync/InsightsCloudSyncConstants.js
foreman_rh_cloud-3.0.21 webpack/InsightsCloudSync/InsightsCloudSyncConstants.js
foreman_rh_cloud-3.0.20 webpack/InsightsCloudSync/InsightsCloudSyncConstants.js
foreman_rh_cloud-3.0.19 webpack/InsightsCloudSync/InsightsCloudSyncConstants.js
foreman_rh_cloud-3.0.18.1 webpack/InsightsCloudSync/InsightsCloudSyncConstants.js
foreman_rh_cloud-3.0.18 webpack/InsightsCloudSync/InsightsCloudSyncConstants.js
foreman_rh_cloud-3.0.17 webpack/InsightsCloudSync/InsightsCloudSyncConstants.js