namirasoft-node 1.0.20 → 1.0.22
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/dist/BaseTable.d.ts +2 -0
- package/dist/BaseTable.js +7 -0
- package/dist/BaseTable.js.map +1 -1
- package/package.json +2 -2
- package/public/index.html +11 -5
- package/src/BaseTable.ts +9 -0
package/dist/BaseTable.d.ts
CHANGED
package/dist/BaseTable.js
CHANGED
|
@@ -5,6 +5,13 @@ class BaseTable {
|
|
|
5
5
|
constructor(database) {
|
|
6
6
|
this.database = database;
|
|
7
7
|
}
|
|
8
|
+
getSecureColumns() {
|
|
9
|
+
return [];
|
|
10
|
+
}
|
|
11
|
+
secure(obj) {
|
|
12
|
+
let cols = this.getSecureColumns();
|
|
13
|
+
cols.forEach(col => delete obj[col]);
|
|
14
|
+
}
|
|
8
15
|
}
|
|
9
16
|
exports.BaseTable = BaseTable;
|
|
10
17
|
//# sourceMappingURL=BaseTable.js.map
|
package/dist/BaseTable.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTable.js","sourceRoot":"","sources":["../src/BaseTable.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;IAGlB,YAAY,QAAW;QAEnB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;CACJ;
|
|
1
|
+
{"version":3,"file":"BaseTable.js","sourceRoot":"","sources":["../src/BaseTable.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;IAGlB,YAAY,QAAW;QAEnB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IACD,gBAAgB;QAEZ,OAAO,EAAE,CAAC;IACd,CAAC;IACD,MAAM,CAAC,GAAQ;QAEX,IAAI,IAAI,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACnC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;IACzC,CAAC;CACJ;AAhBD,8BAgBC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "namirasoft-node",
|
|
3
3
|
"description": "Namira Software Corporation Node NPM Package",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.22",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"scripts": {},
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"cors": "^2.8.5",
|
|
19
19
|
"express": "^4.18.2",
|
|
20
20
|
"joi": "^17.11.0",
|
|
21
|
-
"namirasoft-core": "^1.0.
|
|
21
|
+
"namirasoft-core": "^1.0.13",
|
|
22
22
|
"namirasoft-log": "^1.0.1",
|
|
23
23
|
"nodemailer": "^6.9.7",
|
|
24
24
|
"nodemailer-smtp-transport": "^2.7.4",
|
package/public/index.html
CHANGED
|
@@ -53,10 +53,14 @@
|
|
|
53
53
|
justify-content: space-between;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
.
|
|
56
|
+
.big-logo {
|
|
57
57
|
width: 128px;
|
|
58
58
|
height: 128px;
|
|
59
59
|
}
|
|
60
|
+
|
|
61
|
+
h3 {
|
|
62
|
+
font-size: 1.25rem;
|
|
63
|
+
}
|
|
60
64
|
</style>
|
|
61
65
|
</head>
|
|
62
66
|
|
|
@@ -64,7 +68,7 @@
|
|
|
64
68
|
<div class="container page-parent">
|
|
65
69
|
<div>
|
|
66
70
|
<div class="header">
|
|
67
|
-
<img src="@logo" alt="Project Logo" class="img-fluid
|
|
71
|
+
<img src="@logo" alt="Project Logo" class="img-fluid big-logo">
|
|
68
72
|
<h1>@title</h1>
|
|
69
73
|
<h5>@description</h5>
|
|
70
74
|
</div>
|
|
@@ -86,9 +90,11 @@
|
|
|
86
90
|
</div>
|
|
87
91
|
</div>
|
|
88
92
|
<div class="company">
|
|
89
|
-
<
|
|
90
|
-
|
|
91
|
-
|
|
93
|
+
<a href="https://namirasoft.com" target="_blank">
|
|
94
|
+
<img src="https://static.namirasoft.com/logo/namirasoft/base.png" alt="Company Logo"
|
|
95
|
+
class="img-fluid big-logo">
|
|
96
|
+
<h3>Namira Software Corporation</h3>
|
|
97
|
+
</a>
|
|
92
98
|
<p>©Copyright 2010 to 2023 <a target="_blank" href="https://namirasoft.com">Namira Software Corporation</a>.
|
|
93
99
|
All rights
|
|
94
100
|
reserved.</p>
|
package/src/BaseTable.ts
CHANGED