Sha256: 28a591dc73ca9685b07fee5df18924d687b9e06f062d46c8e6201c883d4aaea2

Contents?: true

Size: 954 Bytes

Versions: 10

Compression:

Stored size: 954 Bytes

Contents

import { foremanUrl } from 'foremanReact/common/helpers';

export const JOB_INVOCATION_KEY = 'JOB_INVOCATION_KEY';
export const CURRENT_PERMISSIONS = 'CURRENT_PERMISSIONS';
export const UPDATE_JOB = 'UPDATE_JOB';
export const CANCEL_JOB = 'CANCEL_JOB';
export const GET_TASK = 'GET_TASK';
export const CHANGE_ENABLED_RECURRING_LOGIC = 'CHANGE_ENABLED_RECURRING_LOGIC';
export const CANCEL_RECURRING_LOGIC = 'CANCEL_RECURRING_LOGIC';
export const GET_REPORT_TEMPLATES = 'GET_REPORT_TEMPLATES';
export const GET_REPORT_TEMPLATE_INPUTS = 'GET_REPORT_TEMPLATE_INPUTS';
export const currentPermissionsUrl = foremanUrl(
  '/api/v2/permissions/current_permissions'
);

export const STATUS = {
  PENDING: 'pending',
  SUCCEEDED: 'succeeded',
  FAILED: 'failed',
  CANCELLED: 'cancelled',
};

export const DATE_OPTIONS = {
  day: 'numeric',
  month: 'short',
  year: 'numeric',
  hour: '2-digit',
  minute: '2-digit',
  hour12: false,
  timeZoneName: 'short',
};

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
foreman_remote_execution-14.0.2 webpack/JobInvocationDetail/JobInvocationConstants.js
foreman_remote_execution-14.0.1 webpack/JobInvocationDetail/JobInvocationConstants.js
foreman_remote_execution-13.2.6 webpack/JobInvocationDetail/JobInvocationConstants.js
foreman_remote_execution-14.0.0 webpack/JobInvocationDetail/JobInvocationConstants.js
foreman_remote_execution-13.2.5 webpack/JobInvocationDetail/JobInvocationConstants.js
foreman_remote_execution-13.2.4 webpack/JobInvocationDetail/JobInvocationConstants.js
foreman_remote_execution-13.2.3 webpack/JobInvocationDetail/JobInvocationConstants.js
foreman_remote_execution-13.2.2 webpack/JobInvocationDetail/JobInvocationConstants.js
foreman_remote_execution-13.2.1 webpack/JobInvocationDetail/JobInvocationConstants.js
foreman_remote_execution-13.2.0 webpack/JobInvocationDetail/JobInvocationConstants.js