cloud-ide-lms-model 1.0.73 → 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.
|
@@ -5,6 +5,8 @@ type ISystemThemeRequestErrorLogger = {
|
|
|
5
5
|
};
|
|
6
6
|
declare class MSystemThemeRequest {
|
|
7
7
|
syth_theme_id?: string;
|
|
8
|
+
syupth_user_id_user?: string;
|
|
9
|
+
syoth_entity_id_syen?: string;
|
|
8
10
|
constructor(init: MSystemThemeRequest);
|
|
9
11
|
Validate?(): Partial<ISystemThemeRequestErrorLogger>;
|
|
10
12
|
}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @description type for system logs
|
|
3
|
+
* @typedef {string} log_type
|
|
4
|
+
* @property {string} log_type - type of log, can be 'TRACE', 'SECURITY', 'APPLICATION_ERROR'
|
|
5
|
+
* 'TRACE' - for general tracing of actions like login, logout, page access,
|
|
6
|
+
* 'SECURITY' - for security related events like unauthorized access, password reset, etc.
|
|
7
|
+
* 'APPLICATION_ERROR' - for application errors LIKE database connection failure, email service failure, internal server errors
|
|
8
|
+
*/
|
|
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" | "";
|
|
2
17
|
declare class ICoreSylog {
|
|
3
18
|
_id?: string;
|
|
4
19
|
sylog_id_user?: string;
|
|
@@ -9,7 +24,7 @@ declare class ICoreSylog {
|
|
|
9
24
|
sylog_security_event?: string;
|
|
10
25
|
sylog_previous_data?: object;
|
|
11
26
|
sylog_updated_data?: object;
|
|
12
|
-
sylog_diagnostic_code?:
|
|
27
|
+
sylog_diagnostic_code?: diagnostic_code;
|
|
13
28
|
sylog_ip_address?: string;
|
|
14
29
|
sylog_message?: string;
|
|
15
30
|
sylog_timestamp?: Date;
|