Sha256: bddbd155ea36046315847a4ac99d98444f7604986dc558249fa42018808b6b1a

Contents?: true

Size: 644 Bytes

Versions: 6

Compression:

Stored size: 644 Bytes

Contents

import { translate as __ } from 'foremanReact/common/I18n';

const ACS_KEY = 'ACS';
export const CREATE_ACS_KEY = 'ACS_CREATE';
export const EDIT_ACS_KEY = 'ACS_EDIT';
export const DELETE_ACS_KEY = 'ACS_DELETE';
export const SMART_PROXY_KEY = 'SMART_PROXY';
export const PRODUCTS_KEY = 'PRODUCTS';
export const SSL_CERTS = 'SSL_CERTS';
export const acsRefreshKey = acsId => `${ACS_KEY}_REFRESH_${acsId}`;
export const acsDetailsKey = acsId => `${ACS_KEY}_DETAILS_${acsId}`;

export const YUM = __('Yum');
export const FILE = __('File');

export const ACS_TYPE_TRANSLATIONS_ENUM = {
  [YUM]: 'yum',
  [FILE]: 'file',
};

export default ACS_KEY;

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
katello-4.6.2.1 webpack/scenes/AlternateContentSources/ACSConstants.js
katello-4.6.2 webpack/scenes/AlternateContentSources/ACSConstants.js
katello-4.6.1 webpack/scenes/AlternateContentSources/ACSConstants.js
katello-4.6.0 webpack/scenes/AlternateContentSources/ACSConstants.js
katello-4.6.0.rc2 webpack/scenes/AlternateContentSources/ACSConstants.js
katello-4.6.0.rc1 webpack/scenes/AlternateContentSources/ACSConstants.js