/**
* Global Enums
*
* This file contains all global enums used across the application.
* These enums are not specific to any particular domain.
*/
/**
* Database Operation Enum - For database operations
* @category Types
* @enum {string}
*/
export var DatabaseOperation;
(function (DatabaseOperation) {
DatabaseOperation["CREATE"] = "create";
DatabaseOperation["READ"] = "read";
DatabaseOperation["UPDATE"] = "update";
DatabaseOperation["DELETE"] = "delete";
})(DatabaseOperation || (DatabaseOperation = {}));
/**
* Error Code Enum - Application error codes
* @category Types
* @enum {string}
*/
export var ErrorCode;
(function (ErrorCode) {
ErrorCode["VALIDATION_ERROR"] = "VALIDATION_ERROR";
ErrorCode["AUTHENTICATION_ERROR"] = "AUTHENTICATION_ERROR";
ErrorCode["AUTHORIZATION_ERROR"] = "AUTHORIZATION_ERROR";
ErrorCode["NOT_FOUND_ERROR"] = "NOT_FOUND_ERROR";
ErrorCode["CONFLICT_ERROR"] = "CONFLICT_ERROR";
ErrorCode["INTERNAL_ERROR"] = "INTERNAL_ERROR";
ErrorCode["EXTERNAL_SERVICE_ERROR"] = "EXTERNAL_SERVICE_ERROR";
})(ErrorCode || (ErrorCode = {}));
Source