cloud-ide-lms-model 1.0.128 → 1.0.130
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.
|
@@ -1,10 +1,22 @@
|
|
|
1
|
+
import { MTableQueries } from "../../common-types";
|
|
1
2
|
import { ICoreSycr } from "../../schema";
|
|
2
3
|
import { controllerResponse } from "../../utilities";
|
|
3
4
|
type ICoreSycrErrorLogger = {
|
|
4
5
|
[key in keyof ICoreSycr]: string;
|
|
5
6
|
};
|
|
7
|
+
type ICoreSycrListErrorLogger = {
|
|
8
|
+
[key in keyof MSycrList]: string;
|
|
9
|
+
};
|
|
10
|
+
declare class MSycrList extends MTableQueries {
|
|
11
|
+
constructor(init: MSycrList);
|
|
12
|
+
Validate?(): Partial<ICoreSycrListErrorLogger>;
|
|
13
|
+
}
|
|
6
14
|
interface currencyInsertUpdateControllerResponse extends controllerResponse {
|
|
7
15
|
data?: ICoreSycr;
|
|
8
16
|
}
|
|
17
|
+
interface currencyListControllerResponse extends controllerResponse {
|
|
18
|
+
data?: ICoreSycr[];
|
|
19
|
+
}
|
|
9
20
|
export { ICoreSycrErrorLogger, //interface
|
|
10
|
-
currencyInsertUpdateControllerResponse
|
|
21
|
+
currencyInsertUpdateControllerResponse, // above coresponding to payload abd this corespons to rresponse,
|
|
22
|
+
MSycrList, ICoreSycrListErrorLogger, currencyListControllerResponse };
|
|
@@ -1,2 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MSycrList = void 0;
|
|
4
|
+
const common_types_1 = require("../../common-types");
|
|
5
|
+
/* INTERFACE END */
|
|
6
|
+
class MSycrList extends common_types_1.MTableQueries {
|
|
7
|
+
constructor(init) {
|
|
8
|
+
super(init);
|
|
9
|
+
Object.assign(this, init);
|
|
10
|
+
}
|
|
11
|
+
Validate() {
|
|
12
|
+
let errorLogger = {};
|
|
13
|
+
// Log errors here
|
|
14
|
+
return errorLogger;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.MSycrList = MSycrList;
|
package/lib/routes/coreRoutes.js
CHANGED
|
@@ -36,6 +36,10 @@ const coreRoutesUrl = {
|
|
|
36
36
|
* @description Endpoint to get the pin code (pin-code)
|
|
37
37
|
*/
|
|
38
38
|
pinCode: "pin-code",
|
|
39
|
+
/**
|
|
40
|
+
* @description Endpoint to get the currency (currency)
|
|
41
|
+
*/
|
|
42
|
+
currency: "currency"
|
|
39
43
|
};
|
|
40
44
|
exports.coreRoutesUrl = coreRoutesUrl;
|
|
41
45
|
Object.freeze(coreRoutesUrl);
|