cloud-ide-lms-model 1.0.11 → 1.0.13
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/routes/controllerRoutes.d.ts +6 -1
- package/lib/routes/controllerRoutes.js +5 -1
- package/lib/routes/hostManagerRoutes.d.ts +15 -0
- package/lib/routes/hostManagerRoutes.js +23 -0
- package/lib/routes/index.d.ts +1 -2
- package/lib/routes/index.js +1 -2
- package/lib/utilities/helpers/string.helper.d.ts +3 -1
- package/lib/utilities/helpers/string.helper.js +3 -4
- package/package.json +1 -1
|
@@ -2,6 +2,11 @@ declare const controllerRoutes: {
|
|
|
2
2
|
/** Endpoint to core module
|
|
3
3
|
* for more details refer https://docs.google.com/document/d/1CwB4evLsQuatG4jI0U1faRtmqtNmIfZOE4fDWiz9-sQ/edit#bookmark=id.r7i5y3qldjhw
|
|
4
4
|
*/
|
|
5
|
-
coreRoutes:
|
|
5
|
+
coreRoutes: {
|
|
6
|
+
url: string;
|
|
7
|
+
children: {
|
|
8
|
+
getFileDetails: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
6
11
|
};
|
|
7
12
|
export { controllerRoutes };
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.controllerRoutes = void 0;
|
|
4
|
+
const coreRoutes_1 = require("./coreRoutes");
|
|
4
5
|
const controllerRoutes = {
|
|
5
6
|
/** Endpoint to core module
|
|
6
7
|
* for more details refer https://docs.google.com/document/d/1CwB4evLsQuatG4jI0U1faRtmqtNmIfZOE4fDWiz9-sQ/edit#bookmark=id.r7i5y3qldjhw
|
|
7
8
|
*/
|
|
8
|
-
coreRoutes:
|
|
9
|
+
coreRoutes: {
|
|
10
|
+
url: "core",
|
|
11
|
+
children: coreRoutes_1.coreRoutes
|
|
12
|
+
}
|
|
9
13
|
};
|
|
10
14
|
exports.controllerRoutes = controllerRoutes;
|
|
11
15
|
Object.freeze(controllerRoutes);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface CloudIdeRoute {
|
|
2
|
+
[key: string]: {
|
|
3
|
+
url: string;
|
|
4
|
+
children: {
|
|
5
|
+
[key: string]: {
|
|
6
|
+
url: string;
|
|
7
|
+
children: {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
declare const hostManagerRoutes: CloudIdeRoute;
|
|
15
|
+
export { hostManagerRoutes };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.hostManagerRoutes = void 0;
|
|
4
|
+
const controllerRoutes_1 = require("./controllerRoutes");
|
|
5
|
+
const hostManagerRoutes = {
|
|
6
|
+
/** Base path for host name to interceptor and replace with actual URL
|
|
7
|
+
* for more details refer
|
|
8
|
+
*/
|
|
9
|
+
cloudIdeSuteLayoutHost: {
|
|
10
|
+
url: "https://__cloud_ide_suite_layout__/__version__",
|
|
11
|
+
children: controllerRoutes_1.controllerRoutes
|
|
12
|
+
},
|
|
13
|
+
cloudIdeSuteAdminHost: {
|
|
14
|
+
url: "https://__cloud_ide_suite_admin__/__version__",
|
|
15
|
+
children: controllerRoutes_1.controllerRoutes
|
|
16
|
+
},
|
|
17
|
+
cloudIdeSuteInventoryHost: {
|
|
18
|
+
url: "https://__cloud_ide_suite_inventory__/__version__",
|
|
19
|
+
children: controllerRoutes_1.controllerRoutes
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
exports.hostManagerRoutes = hostManagerRoutes;
|
|
23
|
+
Object.freeze(hostManagerRoutes);
|
package/lib/routes/index.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from './coreRoutes';
|
|
1
|
+
export * from './hostManagerRoutes';
|
package/lib/routes/index.js
CHANGED
|
@@ -14,5 +14,4 @@ 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("./
|
|
18
|
-
__exportStar(require("./coreRoutes"), exports);
|
|
17
|
+
__exportStar(require("./hostManagerRoutes"), exports);
|
|
@@ -178,9 +178,8 @@ function stringInterpolation(variables, body, data) {
|
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
180
|
exports.stringInterpolation = stringInterpolation;
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
exports.cidePath = {
|
|
182
|
+
join: (path) => {
|
|
183
183
|
return path.join("/");
|
|
184
|
-
}
|
|
184
|
+
}
|
|
185
185
|
};
|
|
186
|
-
exports.cidePath = cidePath;
|