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 +1 -0
- package/lib/index.js +1 -0
- package/lib/routes/controllerRoutes.d.ts +7 -0
- package/lib/routes/controllerRoutes.js +11 -0
- package/lib/routes/coreRoutes.d.ts +7 -0
- package/lib/routes/coreRoutes.js +11 -0
- package/lib/routes/index.d.ts +2 -0
- package/lib/routes/index.js +18 -0
- package/lib/utilities/helpers/string.helper.d.ts +1 -0
- package/lib/utilities/helpers/string.helper.js +7 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -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,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,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);
|
|
@@ -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;
|