cloud-ide-model-schema 1.1.45 → 1.1.47
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,8 @@
|
|
|
1
|
+
import { ICoreSycr } from "cloud-ide-lms-model";
|
|
2
|
+
import mongoose from "mongoose";
|
|
3
|
+
declare const CCoreSycr: mongoose.Model<ICoreSycr, {}, {}, {}, mongoose.Document<unknown, {}, ICoreSycr, {}> & ICoreSycr & Required<{
|
|
4
|
+
_id: string;
|
|
5
|
+
}> & {
|
|
6
|
+
__v: number;
|
|
7
|
+
}, any>;
|
|
8
|
+
export { CCoreSycr };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CCoreSycr = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* SCHEMA START */
|
|
6
|
+
var core_iso_currency = new mongoose_1.Schema({
|
|
7
|
+
sycr_code: {
|
|
8
|
+
type: String,
|
|
9
|
+
maxlength: 3,
|
|
10
|
+
required: true,
|
|
11
|
+
unique: true
|
|
12
|
+
},
|
|
13
|
+
sycr_name: {
|
|
14
|
+
type: String,
|
|
15
|
+
maxlength: 40,
|
|
16
|
+
required: true
|
|
17
|
+
},
|
|
18
|
+
sycr_numeric_code: {
|
|
19
|
+
type: Number,
|
|
20
|
+
maxlength: 3,
|
|
21
|
+
required: true,
|
|
22
|
+
},
|
|
23
|
+
sycr_symbol: {
|
|
24
|
+
type: String,
|
|
25
|
+
required: true,
|
|
26
|
+
maxlength: 3,
|
|
27
|
+
},
|
|
28
|
+
sycr_symbol_location: {
|
|
29
|
+
type: String,
|
|
30
|
+
required: true,
|
|
31
|
+
enum: ["S", "B"],
|
|
32
|
+
default: "S"
|
|
33
|
+
},
|
|
34
|
+
sycr_decimal_places: {
|
|
35
|
+
type: Number,
|
|
36
|
+
default: 0
|
|
37
|
+
},
|
|
38
|
+
sycr_fraction_name: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: ""
|
|
41
|
+
},
|
|
42
|
+
sycr_country_syctr: {
|
|
43
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
44
|
+
ref: "core_system_country"
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
var CCoreSycr = mongoose_1.default.model("core_iso_currency", core_iso_currency);
|
|
48
|
+
exports.CCoreSycr = CCoreSycr;
|
|
@@ -18,6 +18,7 @@ import { CCoreSyth } from './core_system_themes';
|
|
|
18
18
|
import { CCoreSyupth } from './core_system_theme_user_preferences';
|
|
19
19
|
import { CCoreSyoth } from './core_system_organization_themes';
|
|
20
20
|
import { CCoreSypn } from './core_system_page_notes_manager';
|
|
21
|
+
import { CCoreSycr } from './core_iso_currency';
|
|
21
22
|
export { CCoreSypg, CCoreSytm, CCoreSyme, CCoreSylog, CCoreSyen, CCoreSyco, CCoreSypin, CCoreSyptb, CCoreSypgr, CCoreSype, CCoreSygms, CCoreSygmt, CCoreSyenm, CCoreCyfm, CCoreSyctr,
|
|
22
23
|
/** system language schemas */
|
|
23
24
|
CCoreSylang,
|
|
@@ -28,4 +29,6 @@ CCoreSyupth,
|
|
|
28
29
|
/** System theme Variables for Organization */
|
|
29
30
|
CCoreSyoth,
|
|
30
31
|
/** System Page notes manager */
|
|
31
|
-
CCoreSypn
|
|
32
|
+
CCoreSypn,
|
|
33
|
+
/** ISO Currency */
|
|
34
|
+
CCoreSycr };
|
package/lib/schema/core/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CCoreSypn = exports.CCoreSyoth = exports.CCoreSyupth = exports.CCoreSyth = exports.CCoreSylang = exports.CCoreSyctr = exports.CCoreCyfm = exports.CCoreSyenm = exports.CCoreSygmt = exports.CCoreSygms = exports.CCoreSype = exports.CCoreSypgr = exports.CCoreSyptb = exports.CCoreSypin = exports.CCoreSyco = exports.CCoreSyen = exports.CCoreSylog = exports.CCoreSyme = exports.CCoreSytm = exports.CCoreSypg = void 0;
|
|
3
|
+
exports.CCoreSycr = exports.CCoreSypn = exports.CCoreSyoth = exports.CCoreSyupth = exports.CCoreSyth = exports.CCoreSylang = exports.CCoreSyctr = exports.CCoreCyfm = exports.CCoreSyenm = exports.CCoreSygmt = exports.CCoreSygms = exports.CCoreSype = exports.CCoreSypgr = exports.CCoreSyptb = exports.CCoreSypin = exports.CCoreSyco = exports.CCoreSyen = exports.CCoreSylog = exports.CCoreSyme = exports.CCoreSytm = exports.CCoreSypg = void 0;
|
|
4
4
|
var core_system_pages_1 = require("./core_system_pages");
|
|
5
5
|
Object.defineProperty(exports, "CCoreSypg", { enumerable: true, get: function () { return core_system_pages_1.CCoreSypg; } });
|
|
6
6
|
var core_system_pages_theme_1 = require("./core_system_pages_theme");
|
|
@@ -41,3 +41,5 @@ var core_system_organization_themes_1 = require("./core_system_organization_them
|
|
|
41
41
|
Object.defineProperty(exports, "CCoreSyoth", { enumerable: true, get: function () { return core_system_organization_themes_1.CCoreSyoth; } });
|
|
42
42
|
var core_system_page_notes_manager_1 = require("./core_system_page_notes_manager");
|
|
43
43
|
Object.defineProperty(exports, "CCoreSypn", { enumerable: true, get: function () { return core_system_page_notes_manager_1.CCoreSypn; } });
|
|
44
|
+
var core_iso_currency_1 = require("./core_iso_currency");
|
|
45
|
+
Object.defineProperty(exports, "CCoreSycr", { enumerable: true, get: function () { return core_iso_currency_1.CCoreSycr; } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"cloud-ide-lms-model": "^1.0.
|
|
3
|
+
"cloud-ide-lms-model": "^1.0.120",
|
|
4
4
|
"dotenv": "^16.5.0",
|
|
5
5
|
"mongoose": "^8.15.0"
|
|
6
6
|
},
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript": "^5.8.3"
|
|
10
10
|
},
|
|
11
11
|
"name": "cloud-ide-model-schema",
|
|
12
|
-
"version": "1.1.
|
|
12
|
+
"version": "1.1.47",
|
|
13
13
|
"description": "Pachage for schema management of Cloud IDEsys LMS",
|
|
14
14
|
"main": "lib/index.js",
|
|
15
15
|
"types": "lib/index.d.ts",
|