cloud-ide-lms-model 1.0.16 → 1.0.18

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,4 @@
1
+ interface GetElementDataRequest {
2
+ sype_key: string;
3
+ }
4
+ export { GetElementDataRequest };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import { ICoreSypc, ICoreSypg, ICoreSypgr, ICoreSyptb, ICoreSytm, ITabs } from "../../schema";
1
+ import { ICoreSype, ICoreSypg, ICoreSypgr, ICoreSyptb, ICoreSytm, ITabs } from "../../schema";
2
2
  import { controllerResponse } from "../../utilities";
3
3
  type IDesignConfigErrorLogger = {
4
4
  [key in keyof MDesignConfig]: string;
@@ -18,7 +18,7 @@ interface designConfigResponseData {
18
18
  [key: string]: ICoreSypgr;
19
19
  };
20
20
  controls?: {
21
- [key: string]: ICoreSypc;
21
+ [key: string]: ICoreSype;
22
22
  };
23
23
  tab?: {
24
24
  [key: string]: ICoreTabs;
@@ -0,0 +1,3 @@
1
+ interface GetElementDataRequest {
2
+ sype_key: string;
3
+ }
@@ -0,0 +1 @@
1
+ "use strict";
@@ -1,8 +1,8 @@
1
- declare const coreRoutes: {
1
+ declare const coreRoutesUrl: {
2
+ module: string;
2
3
  /** Endpoint to get file details (get-file-details)
3
4
  * for more details refer https://docs.google.com/document/d/1CwB4evLsQuatG4jI0U1faRtmqtNmIfZOE4fDWiz9-sQ/edit?pli=1#bookmark=id.nhxx52qzdmct
4
5
  */
5
- module: string;
6
6
  getFileDetails: string;
7
7
  };
8
- export { coreRoutes };
8
+ export { coreRoutesUrl };
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.coreRoutes = void 0;
4
- const coreRoutes = {
3
+ exports.coreRoutesUrl = void 0;
4
+ const coreRoutesUrl = {
5
+ module: 'core',
5
6
  /** Endpoint to get file details (get-file-details)
6
7
  * for more details refer https://docs.google.com/document/d/1CwB4evLsQuatG4jI0U1faRtmqtNmIfZOE4fDWiz9-sQ/edit?pli=1#bookmark=id.nhxx52qzdmct
7
8
  */
8
- module: 'core',
9
9
  getFileDetails: "get-file-details"
10
10
  };
11
- exports.coreRoutes = coreRoutes;
12
- Object.freeze(coreRoutes);
11
+ exports.coreRoutesUrl = coreRoutesUrl;
12
+ Object.freeze(coreRoutesUrl);
@@ -1,8 +1,8 @@
1
- declare const hostManagerRoutes: {
1
+ declare const hostManagerRoutesUrl: {
2
2
  /** Base path for host name to interceptor and replace with actual URL
3
3
  * for more details refer https://docs.google.com/document/d/1CwB4evLsQuatG4jI0U1faRtmqtNmIfZOE4fDWiz9-sQ/edit?pli=1#bookmark=id.j3vzaryhajl1
4
4
  * __version__ need to add in future
5
5
  */
6
6
  coreModuleHost: string;
7
7
  };
8
- export { hostManagerRoutes };
8
+ export { hostManagerRoutesUrl };
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.hostManagerRoutes = void 0;
4
- const hostManagerRoutes = {
3
+ exports.hostManagerRoutesUrl = void 0;
4
+ const hostManagerRoutesUrl = {
5
5
  /** Base path for host name to interceptor and replace with actual URL
6
6
  * for more details refer https://docs.google.com/document/d/1CwB4evLsQuatG4jI0U1faRtmqtNmIfZOE4fDWiz9-sQ/edit?pli=1#bookmark=id.j3vzaryhajl1
7
7
  * __version__ need to add in future
8
8
  */
9
9
  coreModuleHost: "__cloud_ide_suite_layout__"
10
10
  };
11
- exports.hostManagerRoutes = hostManagerRoutes;
12
- Object.freeze(hostManagerRoutes);
11
+ exports.hostManagerRoutesUrl = hostManagerRoutesUrl;
12
+ Object.freeze(hostManagerRoutesUrl);
@@ -0,0 +1,5 @@
1
+ declare const COLLECTIONS: {
2
+ email_vendor: string;
3
+ core_page_elements: string;
4
+ };
5
+ export { COLLECTIONS };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.COLLECTIONS = void 0;
4
+ const COLLECTIONS = {
5
+ email_vendor: "email_vendor",
6
+ core_page_elements: "core_page_elements"
7
+ };
8
+ exports.COLLECTIONS = COLLECTIONS;
@@ -0,0 +1,22 @@
1
+ interface ICoreSype {
2
+ _id?: string;
3
+ sype_key: string;
4
+ sype_type?: string;
5
+ sype_placeholder?: string;
6
+ sype_auto_complete?: string;
7
+ sype_page_id_sypg?: string;
8
+ sype_title?: string;
9
+ sype_title_placement?: SypeTitlePlacement;
10
+ sype_min_length?: number;
11
+ sype_max_length?: number;
12
+ sype_width?: SypeWidth;
13
+ sype_regex?: string;
14
+ sype_required?: boolean;
15
+ sype_tooltip?: string;
16
+ sype_disabled?: boolean;
17
+ sype_default?: boolean | string | number;
18
+ sype_isactive?: boolean;
19
+ }
20
+ type SypeWidth = number | "sm" | "lg" | "md" | undefined;
21
+ type SypeTitlePlacement = "center";
22
+ export { ICoreSype };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,7 +7,7 @@ export * from './core_system_config';
7
7
  export * from './core_pin_code';
8
8
  export * from './core_page_tab';
9
9
  export * from './core_page_grid';
10
- export * from './core_page_controls';
10
+ export * from './core_page_elements';
11
11
  export * from './core_general_master';
12
12
  export * from './core_general_master_type';
13
13
  export * from './core_entity_mapping';
@@ -23,7 +23,7 @@ __exportStar(require("./core_system_config"), exports);
23
23
  __exportStar(require("./core_pin_code"), exports);
24
24
  __exportStar(require("./core_page_tab"), exports);
25
25
  __exportStar(require("./core_page_grid"), exports);
26
- __exportStar(require("./core_page_controls"), exports);
26
+ __exportStar(require("./core_page_elements"), exports);
27
27
  __exportStar(require("./core_general_master"), exports);
28
28
  __exportStar(require("./core_general_master_type"), exports);
29
29
  __exportStar(require("./core_entity_mapping"), exports);
@@ -1,3 +1,4 @@
1
+ export * from './collection_names';
1
2
  export * from "./auth";
2
3
  export * from "./core";
3
4
  export * from "./email";
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./collection_names"), exports);
17
18
  __exportStar(require("./auth"), exports);
18
19
  __exportStar(require("./core"), exports);
19
20
  __exportStar(require("./email"), exports);
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "typescript": "^5.4.2"
6
6
  },
7
7
  "name": "cloud-ide-lms-model",
8
- "version": "1.0.16",
8
+ "version": "1.0.18",
9
9
  "description": "Package for Model management of Cloud IDEsys LMS",
10
10
  "main": "lib/index.js",
11
11
  "types": "lib/index.d.ts",