cloud-ide-lms-model 1.0.9 → 1.0.11

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.
package/lib/index.d.ts CHANGED
@@ -2,3 +2,4 @@ export * from './schema';
2
2
  export * from './common-types';
3
3
  export * from "./model";
4
4
  export * from "./utilities";
5
+ export * from './routes';
package/lib/index.js CHANGED
@@ -18,3 +18,4 @@ __exportStar(require("./schema"), exports);
18
18
  __exportStar(require("./common-types"), exports);
19
19
  __exportStar(require("./model"), exports);
20
20
  __exportStar(require("./utilities"), exports);
21
+ __exportStar(require("./routes"), exports);
@@ -0,0 +1,7 @@
1
+ declare const controllerRoutes: {
2
+ /** Endpoint to core module
3
+ * for more details refer https://docs.google.com/document/d/1CwB4evLsQuatG4jI0U1faRtmqtNmIfZOE4fDWiz9-sQ/edit#bookmark=id.r7i5y3qldjhw
4
+ */
5
+ coreRoutes: string;
6
+ };
7
+ export { controllerRoutes };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.controllerRoutes = void 0;
4
+ const controllerRoutes = {
5
+ /** Endpoint to core module
6
+ * for more details refer https://docs.google.com/document/d/1CwB4evLsQuatG4jI0U1faRtmqtNmIfZOE4fDWiz9-sQ/edit#bookmark=id.r7i5y3qldjhw
7
+ */
8
+ coreRoutes: "core"
9
+ };
10
+ exports.controllerRoutes = controllerRoutes;
11
+ Object.freeze(controllerRoutes);
@@ -0,0 +1,7 @@
1
+ declare const coreRoutes: {
2
+ /** Endpoint to get file details
3
+ * for more details refer https://docs.google.com/document/d/1CwB4evLsQuatG4jI0U1faRtmqtNmIfZOE4fDWiz9-sQ/edit#bookmark=id.adkmvq2c22du
4
+ */
5
+ getFileDetails: string;
6
+ };
7
+ export { coreRoutes };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.coreRoutes = void 0;
4
+ const coreRoutes = {
5
+ /** Endpoint to get file details
6
+ * for more details refer https://docs.google.com/document/d/1CwB4evLsQuatG4jI0U1faRtmqtNmIfZOE4fDWiz9-sQ/edit#bookmark=id.adkmvq2c22du
7
+ */
8
+ getFileDetails: "get-file-details"
9
+ };
10
+ exports.coreRoutes = coreRoutes;
11
+ Object.freeze(coreRoutes);
@@ -0,0 +1,2 @@
1
+ export * from "./controllerRoutes";
2
+ export * from './coreRoutes';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./controllerRoutes"), exports);
18
+ __exportStar(require("./coreRoutes"), exports);
@@ -1,3 +1,4 @@
1
1
  export declare function stringInterpolation(variables: {
2
2
  [key: string]: string;
3
3
  }, body: string, data: any): Promise<string>;
4
+ export declare const cidePath: () => void;
@@ -16,7 +16,7 @@ var __asyncValues = (this && this.__asyncValues) || function (o) {
16
16
  function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.stringInterpolation = void 0;
19
+ exports.cidePath = exports.stringInterpolation = void 0;
20
20
  function stringInterpolation(variables, body, data) {
21
21
  return __awaiter(this, void 0, void 0, function* () {
22
22
  /*
@@ -178,3 +178,9 @@ function stringInterpolation(variables, body, data) {
178
178
  });
179
179
  }
180
180
  exports.stringInterpolation = stringInterpolation;
181
+ const cidePath = () => {
182
+ const join = (path) => {
183
+ return path.join("/");
184
+ };
185
+ };
186
+ exports.cidePath = cidePath;
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.9",
8
+ "version": "1.0.11",
9
9
  "description": "Package for Model management of Cloud IDEsys LMS",
10
10
  "main": "lib/index.js",
11
11
  "types": "lib/index.d.ts",