department-of-veterans-affairs/vets-website

View on GitHub
src/applications/yellow-ribbon/constants/index.js

Summary

Maintainability
A
0 mins
Test Coverage
export const CONTRIBUTION_AMOUNT_SUMMARY_TEXT =
  '"Schools that provide maximum funding"';
export const FETCH_RESULTS = 'yellow-ribbon/FETCH_RESULTS';
export const FETCH_RESULTS_FAILURE = 'yellow-ribbon/FETCH_RESULTS_FAILURE';
export const FETCH_RESULTS_SUCCESS = 'yellow-ribbon/FETCH_RESULTS_SUCCESS';
export const NUMBER_OF_STUDENTS_SUMMARY_TEXT =
  '"Schools that provide funding to all eligible students"';
export const TOGGLE_SHOW_MOBILE_FORM = 'yellow-ribbon/TOGGLE_SHOW_MOBILE_FORM';
export const TOGGLE_TOOL_TIP = 'yellow-ribbon/TOGGLE_TOOL_TIP';
export const TOOL_TIP_LABEL = 'Tips to improve search results';
export const TOOL_TIP_CONTENT =
  "Enter a school's full name. For example, search for New York University not NYU.";
// TITLE_CASE_NONCAPITALIZED_WORDS represents a set of conjunctions, prepositions, and articles not capitalized in title case; its composition can be modified here as needed.
export const TITLE_CASE_NONCAPITALIZED_WORDS = Object.freeze([
  'and',
  'or',
  'but',
  'a',
  'an',
  'the',
  'as',
  'at',
  'by',
  'for',
  'in',
  'of',
  'on',
  'to',
  'nor',
  'with',
]);