shared-constants.ts 715 B

123456789101112131415
  1. /*
  2. * This file contains constants which are shared between more than one sub-module
  3. * e.g. values required by both the server and admin-ui.
  4. */
  5. export const API_PORT = 3000;
  6. export const API_PATH = 'api';
  7. export const AUTH_TOKEN_KEY = 'vendure-auth-token';
  8. export const REFRESH_TOKEN_KEY = 'vendure-refresh-token';
  9. export const DEFAULT_CHANNEL_CODE = '__default_channel__';
  10. export const SUPER_ADMIN_ROLE_CODE = '__super_admin_role__';
  11. export const SUPER_ADMIN_ROLE_DESCRIPTION = 'SuperAdmin';
  12. export const SUPER_ADMIN_USER_IDENTIFIER = 'superadmin';
  13. export const SUPER_ADMIN_USER_PASSWORD = 'superadmin';
  14. export const CUSTOMER_ROLE_CODE = '__customer_role__';
  15. export const CUSTOMER_ROLE_DESCRIPTION = 'Customer';