title: formatMessage()

in Composer/packages/client/src/constants.tsx [391:494]


    title: formatMessage('Warning'),
    subText: formatMessage(
      'The skill you tried to remove from the project is currently used in the below bot(s). Removing this skill won’t delete the files, but it will cause your Bot to malfunction without additional action.'
    ),
    subTextNoUse: formatMessage(
      'You are about to remove the skill from this project. Removing this skill won’t delete the files.'
    ),
    footerText: formatMessage('Do you wish to continue?'),
  };
};

export const SupportedFileTypes = [
  'accdb',
  'csv',
  'docx',
  'dotx',
  'mpt',
  'odt',
  'one',
  'onepkg',
  'onetoc',
  'pptx',
  'pub',
  'vsdx',
  'xls',
  'xlsx',
  'xsn',
];

export const USER_TOKEN_STORAGE_KEY = 'composer.userToken';

export enum AppUpdaterStatus {
  BREAKING_UPDATE_AVAILABLE,
  IDLE,
  UPDATE_AVAILABLE,
  UPDATE_UNAVAILABLE,
  UPDATE_IN_PROGRESS,
  UPDATE_FAILED,
  UPDATE_SUCCEEDED,
}

export const EmptyBotTemplateId = 'EmptyBot';

export const nameRegex = /^[a-zA-Z0-9-_]+$/;

export const botNameRegex = /^[a-zA-Z0-9_]+$/;

export const invalidNameCharRegex = /[^a-zA-Z0-9-_]/g;

export const authConfig = {
  // for web login
  clientId: process.env.WEBLOGIN_CLIENTID,
  scopes: [
    'https://management.core.windows.net/user_impersonation',
    'https://graph.microsoft.com/Application.ReadWrite.All',
  ],
  tenantId: process.env.WEBLOGIN_TENANTID,
  redirectUrl: process.env.WEBLOGIN_REDIRECTURL,
};

export const armScopes = {
  scopes: ['https://management.core.windows.net/user_impersonation'],
  targetResource: 'https://management.core.windows.net/',
};
export const graphScopes = {
  scopes: ['https://graph.microsoft.com/Application.ReadWrite.All'],
  targetResource: 'https://graph.microsoft.com/',
};
export const vaultScopes = {
  scopes: ['https://vault.azure.net/user_impersonation'],
  targetResource: 'https://vault.azure.net/',
};

export const authUrl = `https://login.microsoftonline.com/${authConfig.tenantId}/oauth2/v2.0/authorize`;

export const triggerNotSupportedWarning = () =>
  formatMessage(
    'This trigger type is not supported by the RegEx recognizer. To ensure this trigger is fired, change the recognizer type.'
  );

// TODO: replace language options with available languages pertinent to the selected template (issue #5554)
export const defaultPrimaryLanguage = 'english';

export const runtimeLanguageOptions: IDropdownOption[] = [
  { key: nodeFeedKey, text: 'Node' },
  { key: csharpFeedKey, text: 'Dot Net' },
];

export const defaultRuntime = 'azureWebApp';

export const runtimeOptions: IDropdownOption[] = [
  { key: webAppRuntimeKey, text: 'Azure Web App' },
  { key: functionsRuntimeKey, text: 'Azure Functions' },
];

export const onboardingDisabled = false;

export const defaultTeamsManifest: TeamsManifest = {
  $schema: 'https://developer.microsoft.com/en-us/json-schemas/teams/v1.9/MicrosoftTeams.schema.json',
  manifestVersion: '1.9',
  version: '1.0.0',
  id: '',
  packageName: '',
  developer: {