nestjs-api-tools
Version:
Wrappers for convenient API development including validation, logging and i18n wrappers
14 lines (10 loc) • 502 B
text/typescript
export const CACHE_SERVICE_OPTIONS = 'CACHE_SERVICE_OPTIONS';
export const DISCORD_SERVICE_OPTIONS = 'DISCORD_SERVICE_OPTIONS';
export const IP_ALLOWLIST_GUARD_OPTIONS = 'IP_WHITELIST_GUARD_OPTIONS';
export const VALIDATION_PIPE_OPTIONS = 'VALIDATION_PIPE_OPTIONS';
export const LIMIT_PARAM = 'limit';
export const OFFSET_PARAM = 'offset';
export const PAGE_PARAM = 'page';
export const SIZE_PARAM = 'size';
export const IP_ALLOWLIST = 'ip-allowlist';
export const POSTGRES_MAX_INT = 2_147_483_647;