cloud-ide-lms-model 1.0.74 → 1.0.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,6 +7,13 @@
|
|
|
7
7
|
* 'APPLICATION_ERROR' - for application errors LIKE database connection failure, email service failure, internal server errors
|
|
8
8
|
*/
|
|
9
9
|
export type log_type = 'TRACE' | 'SECURITY' | 'APPLICATION_ERROR';
|
|
10
|
+
/**
|
|
11
|
+
* @description type for diagnostic codes
|
|
12
|
+
* @typedef {string} diagnostic_code
|
|
13
|
+
* @property {string} diagnostic_code - code for specific application errors, e.g., 'APPLICATION_ERROR_500'
|
|
14
|
+
* 'APPLICATION_ERROR_500' - for internal server errors, indicating a general application failure
|
|
15
|
+
*/
|
|
16
|
+
export type diagnostic_code = "APPLICATION_ERROR_500" | "";
|
|
10
17
|
declare class ICoreSylog {
|
|
11
18
|
_id?: string;
|
|
12
19
|
sylog_id_user?: string;
|
|
@@ -17,7 +24,7 @@ declare class ICoreSylog {
|
|
|
17
24
|
sylog_security_event?: string;
|
|
18
25
|
sylog_previous_data?: object;
|
|
19
26
|
sylog_updated_data?: object;
|
|
20
|
-
sylog_diagnostic_code?:
|
|
27
|
+
sylog_diagnostic_code?: diagnostic_code;
|
|
21
28
|
sylog_ip_address?: string;
|
|
22
29
|
sylog_message?: string;
|
|
23
30
|
sylog_timestamp?: Date;
|