Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | 27x 27x 27x 27x 27x 27x 27x 27x 27x | import { API_ENDPOINTS } from '@repo/constants/endpoints';
export const BASE_URL_API = process.env.BASE_URL_API;
export const SPACE_URL_API = process.env.SPACE_URL_API;
export const E2E_SERVER_URL = process.env.E2E_SERVER_URL || 'http://localhost:3001';
export const FLASH_WS_URL = process.env.FLASH_WS_URL;
export const CHATBOT_BASE_URL =
process.env.CHATBOT_BASE_URL || process.env.ON_BEHALF_BASE_URL || 'http://localhost:8787';
export const ENDPOINTS = API_ENDPOINTS;
export const QUERY_KEYS = {
LIST_REQUESTS: 'requests',
MY_REQUESTS: 'my-requests',
PROFILE_MY_REQUESTS: 'profile-my-requests',
PROFILE_INCOMING_REQUESTS: 'profile-incoming-requests',
GET_REQUEST: 'request',
ME: 'me',
ROOMS: 'rooms',
MEAL_RESERVATIONS: 'meal-reservations',
EMPLOYEES: 'employees',
EXTRA_USERS: 'extra-users',
HOLIDAYS: 'holidays',
MEETING_ROOMS: 'meeting-rooms',
MEETING_ROOMS_BOOKED: 'meeting-rooms-booked',
};
export const CACHE_TIME = {
SHORT: 30 * 1000, // 30 seconds
MEDIUM: 2 * 60 * 1000, // 2 minutes
LONG: 10 * 60 * 1000, // 10 minutes
};
export const PROCESSING_BY_RESPONSE = {
NONE: 'none',
};
|