Sha256: 27798f93bea4db3e2d24f604390fba1a6ed732743c6fae06b30a3fcc3f01db2a

Contents?: true

Size: 628 Bytes

Versions: 2

Compression:

Stored size: 628 Bytes

Contents

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

export const INSIGHTS_CLOUD_SYNC_SUCCESS = 'INSIGHTS_CLOUD_SYNC_SUCCESS';

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

2 entries across 2 versions & 1 rubygems

Version Path
foreman_rh_cloud-3.0.16 webpack/InsightsCloudSync/InsightsCloudSyncConstants.js
foreman_rh_cloud-3.0.15 webpack/InsightsCloudSync/InsightsCloudSyncConstants.js