cloud-ide-lms-model 1.0.107 → 1.0.109
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.
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ICoreSyupth } from "../../schema";
|
|
2
|
+
import { controllerResponse } from "../../utilities";
|
|
3
|
+
type ISystemThemeUserPreferencesRequestErrorLogger = {
|
|
4
|
+
[key in keyof MSystemThemeUserPreferencesRequest]: string;
|
|
5
|
+
};
|
|
6
|
+
declare class MSystemThemeUserPreferencesRequest {
|
|
7
|
+
syth_theme_id?: string;
|
|
8
|
+
syupth_user_id_user?: string;
|
|
9
|
+
syoth_entity_id_syen?: string;
|
|
10
|
+
syupth_system_theme_id_syth?: string;
|
|
11
|
+
syupth_overrides?: any;
|
|
12
|
+
constructor(init: MSystemThemeUserPreferencesRequest);
|
|
13
|
+
Validate?(): Partial<ISystemThemeUserPreferencesRequestErrorLogger>;
|
|
14
|
+
}
|
|
15
|
+
interface SystemThemeUserPreferencesControllerRespoonse extends controllerResponse {
|
|
16
|
+
data?: ICoreSyupth;
|
|
17
|
+
}
|
|
18
|
+
export { ISystemThemeUserPreferencesRequestErrorLogger, //interface
|
|
19
|
+
MSystemThemeUserPreferencesRequest, // model
|
|
20
|
+
SystemThemeUserPreferencesControllerRespoonse, };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MSystemThemeUserPreferencesRequest = void 0;
|
|
4
|
+
/* INTERFACE END */
|
|
5
|
+
/* MODEL START */
|
|
6
|
+
class MSystemThemeUserPreferencesRequest {
|
|
7
|
+
constructor(init) {
|
|
8
|
+
Object.assign(this, init);
|
|
9
|
+
}
|
|
10
|
+
Validate() {
|
|
11
|
+
let errorLogger = {};
|
|
12
|
+
if (!this.syth_theme_id) {
|
|
13
|
+
errorLogger.syth_theme_id = "Theme ID is Required!";
|
|
14
|
+
}
|
|
15
|
+
if (!this.syupth_user_id_user) {
|
|
16
|
+
errorLogger.syupth_user_id_user = "User ID is Required!";
|
|
17
|
+
}
|
|
18
|
+
if (!this.syupth_overrides) {
|
|
19
|
+
errorLogger.syupth_overrides = "Overrides are Required!";
|
|
20
|
+
}
|
|
21
|
+
if (!this.syupth_system_theme_id_syth) {
|
|
22
|
+
errorLogger.syupth_system_theme_id_syth = "System Theme ID is Required!";
|
|
23
|
+
}
|
|
24
|
+
return errorLogger;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.MSystemThemeUserPreferencesRequest = MSystemThemeUserPreferencesRequest;
|
package/lib/model/core/index.js
CHANGED