constants.ts 749 B

1234567891011121314
  1. import { ManipulationSettings, QuoteKind } from 'ts-morph';
  2. export const defaultManipulationSettings: Partial<ManipulationSettings> = {
  3. quoteKind: QuoteKind.Single,
  4. useTrailingCommas: true,
  5. };
  6. export const pascalCaseRegex = /^[A-Z][a-zA-Z0-9]*$/;
  7. export const AdminUiExtensionTypeName = 'AdminUiExtension';
  8. export const AdminUiAppConfigName = 'AdminUiAppConfig';
  9. export const Messages = {
  10. NoPluginsFound: `No plugins were found in this project. Create a plugin first by selecting "[Plugin] Create a new Vendure plugin"`,
  11. NoEntitiesFound: `No entities were found in this plugin.`,
  12. NoServicesFound: `No services were found in this plugin. Create a service first by selecting "[Plugin: Service] Add a new service to a plugin"`,
  13. };