cloud-ide-lms-model 1.0.71 → 1.0.72
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,21 @@
|
|
|
1
|
+
import { ICoreSyoth, ICoreSyth, ICoreSyupth } from "../../schema";
|
|
2
|
+
import { controllerResponse } from "../../utilities";
|
|
3
|
+
type ISystemThemeRequestErrorLogger = {
|
|
4
|
+
[key in keyof MSystemThemeRequest]: string;
|
|
5
|
+
};
|
|
6
|
+
declare class MSystemThemeRequest {
|
|
7
|
+
syth_theme_id?: string;
|
|
8
|
+
constructor(init: MSystemThemeRequest);
|
|
9
|
+
Validate?(): Partial<ISystemThemeRequestErrorLogger>;
|
|
10
|
+
}
|
|
11
|
+
interface SystemThemeControllerRespoonse extends controllerResponse {
|
|
12
|
+
data?: SystemThemeControllerRespoonseData;
|
|
13
|
+
}
|
|
14
|
+
interface SystemThemeControllerRespoonseData {
|
|
15
|
+
core_system_themes?: ICoreSyth;
|
|
16
|
+
core_system_theme_user_preferences?: ICoreSyupth;
|
|
17
|
+
core_system_organization_themes?: ICoreSyoth;
|
|
18
|
+
}
|
|
19
|
+
export { ISystemThemeRequestErrorLogger, //interface
|
|
20
|
+
MSystemThemeRequest, // model
|
|
21
|
+
SystemThemeControllerRespoonse, SystemThemeControllerRespoonseData };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MSystemThemeRequest = void 0;
|
|
4
|
+
/* INTERFACE END */
|
|
5
|
+
/* MODEL START */
|
|
6
|
+
class MSystemThemeRequest {
|
|
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
|
+
return errorLogger;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.MSystemThemeRequest = MSystemThemeRequest;
|
|
@@ -5,5 +5,9 @@ declare const designConfigRoutesUrl: {
|
|
|
5
5
|
* for more details refer {@link https://docs.google.com/document/d/1CwB4evLsQuatG4jI0U1faRtmqtNmIfZOE4fDWiz9-sQ/edit?pli=1&tab=t.0#bookmark=id.qbwilgqdw9a2}
|
|
6
6
|
*/
|
|
7
7
|
getPageData: string;
|
|
8
|
+
/**
|
|
9
|
+
* this will return the user specific design, else org
|
|
10
|
+
*/
|
|
11
|
+
getSystemTheme: string;
|
|
8
12
|
};
|
|
9
13
|
export { designConfigRoutesUrl };
|
|
@@ -7,7 +7,11 @@ const designConfigRoutesUrl = {
|
|
|
7
7
|
* @description Endpoint to get page details (page)
|
|
8
8
|
* for more details refer {@link https://docs.google.com/document/d/1CwB4evLsQuatG4jI0U1faRtmqtNmIfZOE4fDWiz9-sQ/edit?pli=1&tab=t.0#bookmark=id.qbwilgqdw9a2}
|
|
9
9
|
*/
|
|
10
|
-
getPageData: "page"
|
|
10
|
+
getPageData: "page",
|
|
11
|
+
/**
|
|
12
|
+
* this will return the user specific design, else org
|
|
13
|
+
*/
|
|
14
|
+
getSystemTheme: "system-theme"
|
|
11
15
|
};
|
|
12
16
|
exports.designConfigRoutesUrl = designConfigRoutesUrl;
|
|
13
17
|
Object.freeze(designConfigRoutesUrl);
|