talawa-api / Exports / constants
- ACCESS_TOKEN_SECRET
- ACTION_ITEM_CATEGORY_ALREADY_EXISTS
- ACTION_ITEM_CATEGORY_NOT_FOUND_ERROR
- ACTION_ITEM_NOT_FOUND_ERROR
- ADMIN_CANNOT_CHANGE_ITS_ROLE
- ADMIN_CHANGING_ROLE_OF_CREATOR
- ADMIN_REMOVING_ADMIN
- ADMIN_REMOVING_CREATOR
- ADVERTISEMENT_NOT_FOUND_ERROR
- BASE_URL
- CHAT_NOT_FOUND_ERROR
- COMMENT_NOT_FOUND_ERROR
- CUSTOM_DATA_NOT_FOUND
- CUSTOM_FIELD_NAME_MISSING
- CUSTOM_FIELD_NOT_FOUND
- CUSTOM_FIELD_TYPE_MISSING
- EMAIL_ALREADY_EXISTS_ERROR
- END_DATE_VALIDATION_ERROR
- ERROR_IN_SENDING_MAIL
- EVENT_NOT_FOUND_ERROR
- FEEDBACK_ALREADY_SUBMITTED
- FIELD_NON_EMPTY_ERROR
- IMAGE_SIZE_LIMIT_KB
- INCORRECT_TAG_INPUT
- INPUT_NOT_FOUND_ERROR
- INTERNAL_SERVER_ERROR
- INVALID_CREDENTIALS_ERROR
- INVALID_FILE_TYPE
- INVALID_OTP
- INVALID_REFRESH_TOKEN_ERROR
- INVALID_ROLE_TYPE
- INVALID_TAG_INPUT
- IN_PRODUCTION
- LAST_RESORT_SUPERADMIN_EMAIL
- LENGTH_VALIDATION_ERROR
- LOG
- LOG_PATH
- MAIL_PASSWORD
- MAIL_USERNAME
- MAXIMUM_FETCH_LIMIT
- MAXIMUM_IMAGE_SIZE_LIMIT_KB
- MEMBERSHIP_REQUEST_ALREADY_EXISTS
- MEMBERSHIP_REQUEST_NOT_FOUND_ERROR
- MEMBER_NOT_FOUND_ERROR
- MILLISECONDS_IN_A_WEEK
- MONGO_DB_URL
- NO_CHANGE_IN_TAG_NAME
- ORGANIZATION_IMAGE_NOT_FOUND_ERROR
- ORGANIZATION_MEMBER_NOT_FOUND_ERROR
- ORGANIZATION_NOT_AUTHORIZED_ERROR
- ORGANIZATION_NOT_FOUND_ERROR
- PLEASE_PROVIDE_TITLE
- PLUGIN_NOT_FOUND
- POST_NEEDS_TO_BE_PINNED
- POST_NOT_FOUND_ERROR
- RECAPTCHA_SECRET_KEY
- REDIS_HOST
- REDIS_PASSWORD
- REDIS_PORT
- REFRESH_TOKEN_SECRET
- REGEX_VALIDATION_ERROR
- REGISTRANT_ALREADY_EXIST_ERROR
- SAME_FILE_ERROR
- SAMPLE_ORGANIZATION_ALREADY_EXISTS
- SMTP_OPTIONS
- START_DATE_VALIDATION_ERROR
- STATUS_ACTIVE
- SUPERADMIN_CANT_CHANGE_OWN_ROLE
- TAG_ALREADY_EXISTS
- TAG_NOT_FOUND
- TRANSLATION_ALREADY_PRESENT_ERROR
- UNAUTHENTICATED_ERROR
- URL
- USER_ALREADY_CHECKED_IN
- USER_ALREADY_HAS_TAG
- USER_ALREADY_MEMBER_ERROR
- USER_ALREADY_REGISTERED_FOR_EVENT
- USER_ALREADY_UNREGISTERED_ERROR
- USER_BLOCKING_SELF
- USER_DOES_NOT_BELONG_TO_TAGS_ORGANIZATION
- USER_DOES_NOT_HAVE_THE_TAG
- USER_NOT_AUTHORIZED_ADMIN
- USER_NOT_AUTHORIZED_ERROR
- USER_NOT_AUTHORIZED_SUPERADMIN
- USER_NOT_AUTHORIZED_TO_CREATE_TAG
- USER_NOT_AUTHORIZED_TO_PIN
- USER_NOT_CHECKED_IN
- USER_NOT_FOUND_ERROR
- USER_NOT_MEMBER_FOR_ORGANIZATION
- USER_NOT_ORGANIZATION_ADMIN
- USER_NOT_REGISTERED_FOR_EVENT
- USER_PROFILE_IMAGE_NOT_FOUND_ERROR
- USER_REMOVING_SELF
- USER_TO_BE_REMOVED_NOT_FOUND_ERROR
- VOLUNTEER_NOT_FOUND_ERROR
- VOLUNTEER_NOT_MEMBER_ERROR
- iv
- key
• Const
ACCESS_TOKEN_SECRET: undefined
| string
= ENV.ACCESS_TOKEN_SECRET
• Const
ACTION_ITEM_CATEGORY_ALREADY_EXISTS: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
ACTION_ITEM_CATEGORY_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
ACTION_ITEM_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
ADMIN_CANNOT_CHANGE_ITS_ROLE: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
ADMIN_CHANGING_ROLE_OF_CREATOR: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
ADMIN_REMOVING_ADMIN: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
ADMIN_REMOVING_CREATOR: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
ADVERTISEMENT_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
BASE_URL: string
• Const
CHAT_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
COMMENT_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
CUSTOM_DATA_NOT_FOUND: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
CUSTOM_FIELD_NAME_MISSING: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
CUSTOM_FIELD_NOT_FOUND: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
CUSTOM_FIELD_TYPE_MISSING: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
EMAIL_ALREADY_EXISTS_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
END_DATE_VALIDATION_ERROR: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
ERROR_IN_SENDING_MAIL: "Error in sending mail"
• Const
EVENT_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
FEEDBACK_ALREADY_SUBMITTED: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
FIELD_NON_EMPTY_ERROR: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
IMAGE_SIZE_LIMIT_KB: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
INCORRECT_TAG_INPUT: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
INPUT_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
INTERNAL_SERVER_ERROR: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
INVALID_CREDENTIALS_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
INVALID_FILE_TYPE: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
INVALID_OTP: "Invalid OTP"
• Const
INVALID_REFRESH_TOKEN_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
INVALID_ROLE_TYPE: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
INVALID_TAG_INPUT: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
IN_PRODUCTION: boolean
• Const
LAST_RESORT_SUPERADMIN_EMAIL: undefined
| string
= process.env.LAST_RESORT_SUPERADMIN_EMAIL
• Const
LENGTH_VALIDATION_ERROR: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
LOG: boolean
• Const
LOG_PATH: undefined
| string
= ENV.LOG_PATH
• Const
MAIL_PASSWORD: undefined
| string
= ENV.MAIL_PASSWORD
• Const
MAIL_USERNAME: undefined
| string
= ENV.MAIL_USERNAME
• Const
MAXIMUM_FETCH_LIMIT: 100
• Const
MAXIMUM_IMAGE_SIZE_LIMIT_KB: 20000
• Const
MEMBERSHIP_REQUEST_ALREADY_EXISTS: "Membership Request already exists"
• Const
MEMBERSHIP_REQUEST_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
MEMBER_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
MILLISECONDS_IN_A_WEEK: number
• Const
MONGO_DB_URL: undefined
| string
= ENV.MONGO_DB_URL
• Const
NO_CHANGE_IN_TAG_NAME: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
ORGANIZATION_IMAGE_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
ORGANIZATION_MEMBER_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
ORGANIZATION_NOT_AUTHORIZED_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
ORGANIZATION_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
PLEASE_PROVIDE_TITLE: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
PLUGIN_NOT_FOUND: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
POST_NEEDS_TO_BE_PINNED: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
POST_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
RECAPTCHA_SECRET_KEY: undefined
| string
= ENV.RECAPTCHA_SECRET_KEY
• Const
REDIS_HOST: string
• Const
REDIS_PASSWORD: undefined
| string
= process.env.REDIS_PASSWORD
• Const
REDIS_PORT: number
• Const
REFRESH_TOKEN_SECRET: undefined
| string
= ENV.REFRESH_TOKEN_SECRET
• Const
REGEX_VALIDATION_ERROR: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
REGISTRANT_ALREADY_EXIST_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
SAME_FILE_ERROR: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
SAMPLE_ORGANIZATION_ALREADY_EXISTS: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
SMTP_OPTIONS: Object
Name | Type |
---|---|
IS_SMTP |
boolean |
SMTP_HOST |
undefined | string |
SMTP_PASSWORD |
undefined | string |
SMTP_PORT |
undefined | string |
SMTP_SSL_TLS |
boolean |
SMTP_USERNAME |
undefined | string |
• Const
START_DATE_VALIDATION_ERROR: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
STATUS_ACTIVE: "ACTIVE"
• Const
SUPERADMIN_CANT_CHANGE_OWN_ROLE: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
TAG_ALREADY_EXISTS: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
TAG_NOT_FOUND: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
TRANSLATION_ALREADY_PRESENT_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
UNAUTHENTICATED_ERROR: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
URL: "http://localhost:4000/graphql"
| "http://calico.palisadoes.org/talawa/graphql"
• Const
USER_ALREADY_CHECKED_IN: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_ALREADY_HAS_TAG: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_ALREADY_MEMBER_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_ALREADY_REGISTERED_FOR_EVENT: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_ALREADY_UNREGISTERED_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_BLOCKING_SELF: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_DOES_NOT_BELONG_TO_TAGS_ORGANIZATION: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_DOES_NOT_HAVE_THE_TAG: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_NOT_AUTHORIZED_ADMIN: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_NOT_AUTHORIZED_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_NOT_AUTHORIZED_SUPERADMIN: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_NOT_AUTHORIZED_TO_CREATE_TAG: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_NOT_AUTHORIZED_TO_PIN: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_NOT_CHECKED_IN: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_NOT_MEMBER_FOR_ORGANIZATION: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_NOT_ORGANIZATION_ADMIN: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_NOT_REGISTERED_FOR_EVENT: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_PROFILE_IMAGE_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_REMOVING_SELF: Object
Name | Type |
---|---|
CODE |
string |
MESSAGE |
string |
PARAM |
string |
• Const
USER_TO_BE_REMOVED_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
VOLUNTEER_NOT_FOUND_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
VOLUNTEER_NOT_MEMBER_ERROR: Object
Name | Type |
---|---|
CODE |
string |
DESC |
string |
MESSAGE |
string |
PARAM |
string |
• Const
iv: string
• Const
key: string