namirasoft-node 1.4.9 → 1.4.10

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.
@@ -8,10 +8,10 @@ import { BaseTypeSchema, BaseVariableSchema, ControllerSchema } from 'namirasoft
8
8
  export declare abstract class BaseController<D extends BaseDatabase, State, Props, Output> {
9
9
  protected showLogAtTheBeginning: boolean;
10
10
  protected showLogAtTheEnd: boolean;
11
- protected app: BaseApplication<D>;
12
- protected req: express.Request;
13
- protected res: express.Response;
14
- protected meta: Meta;
11
+ app: BaseApplication<D>;
12
+ req: express.Request;
13
+ res: express.Response;
14
+ meta: Meta;
15
15
  protected output: Output | null;
16
16
  protected result: any;
17
17
  protected database: D;
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.4.9",
11
+ "version": "1.4.10",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/index.js",
@@ -20,7 +20,7 @@
20
20
  "@supercharge/request-ip": "^1.2.0",
21
21
  "@types/cors": "^2.8.17",
22
22
  "@types/express": "^5.0.0",
23
- "@types/node": "^22.7.4",
23
+ "@types/node": "^22.7.5",
24
24
  "@types/node-cron": "^3.0.11",
25
25
  "@types/nodemailer": "^6.4.16",
26
26
  "@types/nodemailer-smtp-transport": "^2.7.8",
@@ -28,9 +28,9 @@
28
28
  "@types/swagger-jsdoc": "^6.0.4",
29
29
  "@types/swagger-ui-express": "^4.1.6",
30
30
  "cors": "^2.8.5",
31
- "express": "^4.21.0",
31
+ "express": "^4.21.1",
32
32
  "joi": "^17.13.3",
33
- "namirasoft-core": "^1.4.10",
33
+ "namirasoft-core": "^1.4.12",
34
34
  "namirasoft-log": "^1.4.4",
35
35
  "namirasoft-schema": "^1.4.0",
36
36
  "node-cron": "^3.0.3",
@@ -10,10 +10,10 @@ export abstract class BaseController<D extends BaseDatabase, State, Props, Outpu
10
10
  {
11
11
  protected showLogAtTheBeginning: boolean = false;
12
12
  protected showLogAtTheEnd: boolean = true;
13
- protected app: BaseApplication<D>;
14
- protected req: express.Request;
15
- protected res: express.Response;
16
- protected meta!: Meta;
13
+ public app: BaseApplication<D>;
14
+ public req: express.Request;
15
+ public res: express.Response;
16
+ public meta!: Meta;
17
17
  protected output!: Output | null;
18
18
  protected result!: any;
19
19
  protected database!: D;