namirasoft-node 1.0.27 → 1.1.0
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/BaseApplication.d.ts +1 -1
- package/dist/BaseController.d.ts +1 -1
- package/package.json +32 -32
- package/src/BaseApplication.ts +1 -1
- package/src/BaseController.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import express, { Router } from 'express';
|
|
2
2
|
import { BaseDatabase } from './BaseDatabase';
|
|
3
|
-
import { ILogger } from "namirasoft-log";
|
|
3
|
+
import { ILogger } from "namirasoft-nws-log";
|
|
4
4
|
import { BaseApplicationLink } from './BaseApplicationLink';
|
|
5
5
|
export declare abstract class BaseApplication<D extends BaseDatabase> {
|
|
6
6
|
private title;
|
package/dist/BaseController.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as express from 'express';
|
|
|
2
2
|
import { BaseDatabase } from './BaseDatabase';
|
|
3
3
|
import { SchemaLike } from 'joi';
|
|
4
4
|
import { AnomalyDetector } from './AnomalyDetector';
|
|
5
|
-
import { ILogger } from 'namirasoft-log';
|
|
5
|
+
import { ILogger } from 'namirasoft-nws-log';
|
|
6
6
|
import { Meta } from './Meta';
|
|
7
7
|
export declare abstract class BaseController<D extends BaseDatabase, State, Props> {
|
|
8
8
|
protected showLogAtTheBeginning: boolean;
|
package/package.json
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "namirasoft-node",
|
|
3
|
-
"description": "Namira Software Corporation Node NPM Package",
|
|
4
|
-
"version": "1.0
|
|
5
|
-
"main": "./dist/index.js",
|
|
6
|
-
"types": "./dist/index.d.ts",
|
|
7
|
-
"scripts": {},
|
|
8
|
-
"author": "Amir Abolhasani",
|
|
9
|
-
"license": "MIT",
|
|
10
|
-
"dependencies": {
|
|
11
|
-
"@supercharge/request-ip": "^1.2.0",
|
|
12
|
-
"@types/cors": "^2.8.16",
|
|
13
|
-
"@types/express": "^4.17.21",
|
|
14
|
-
"@types/nodemailer": "^6.4.14",
|
|
15
|
-
"@types/nodemailer-smtp-transport": "^2.7.8",
|
|
16
|
-
"@types/swagger-jsdoc": "^6.0.3",
|
|
17
|
-
"@types/swagger-ui-express": "^4.1.6",
|
|
18
|
-
"cors": "^2.8.5",
|
|
19
|
-
"express": "^4.18.2",
|
|
20
|
-
"joi": "^17.11.0",
|
|
21
|
-
"namirasoft-core": "^1.0
|
|
22
|
-
"namirasoft-log": "^1.0
|
|
23
|
-
"nodemailer": "^6.9.7",
|
|
24
|
-
"nodemailer-smtp-transport": "^2.7.4",
|
|
25
|
-
"request-ip": "^3.3.0",
|
|
26
|
-
"sequelize": "^6.35.0",
|
|
27
|
-
"swagger-jsdoc": "^6.2.8",
|
|
28
|
-
"swagger-ui-express": "^5.0.0"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@types/node": "^20.9.0"
|
|
32
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "namirasoft-node",
|
|
3
|
+
"description": "Namira Software Corporation Node NPM Package",
|
|
4
|
+
"version": "1.1.0",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"scripts": {},
|
|
8
|
+
"author": "Amir Abolhasani",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@supercharge/request-ip": "^1.2.0",
|
|
12
|
+
"@types/cors": "^2.8.16",
|
|
13
|
+
"@types/express": "^4.17.21",
|
|
14
|
+
"@types/nodemailer": "^6.4.14",
|
|
15
|
+
"@types/nodemailer-smtp-transport": "^2.7.8",
|
|
16
|
+
"@types/swagger-jsdoc": "^6.0.3",
|
|
17
|
+
"@types/swagger-ui-express": "^4.1.6",
|
|
18
|
+
"cors": "^2.8.5",
|
|
19
|
+
"express": "^4.18.2",
|
|
20
|
+
"joi": "^17.11.0",
|
|
21
|
+
"namirasoft-core": "^1.1.0",
|
|
22
|
+
"namirasoft-nws-log": "^1.1.0",
|
|
23
|
+
"nodemailer": "^6.9.7",
|
|
24
|
+
"nodemailer-smtp-transport": "^2.7.4",
|
|
25
|
+
"request-ip": "^3.3.0",
|
|
26
|
+
"sequelize": "^6.35.0",
|
|
27
|
+
"swagger-jsdoc": "^6.2.8",
|
|
28
|
+
"swagger-ui-express": "^5.0.0"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@types/node": "^20.9.0"
|
|
32
|
+
}
|
|
33
33
|
}
|
package/src/BaseApplication.ts
CHANGED
|
@@ -4,7 +4,7 @@ import fs from "fs";
|
|
|
4
4
|
import swaggerUi from 'swagger-ui-express';
|
|
5
5
|
import swaggerJSDoc from 'swagger-jsdoc';
|
|
6
6
|
import { BaseDatabase } from './BaseDatabase';
|
|
7
|
-
import { ILogger } from "namirasoft-log";
|
|
7
|
+
import { ILogger } from "namirasoft-nws-log";
|
|
8
8
|
import { BaseApplicationLink } from './BaseApplicationLink';
|
|
9
9
|
import path from 'path';
|
|
10
10
|
import { PackageService } from 'namirasoft-core';
|
package/src/BaseController.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as express from 'express';
|
|
|
2
2
|
import { BaseDatabase } from './BaseDatabase';
|
|
3
3
|
import { SchemaLike } from 'joi';
|
|
4
4
|
import { AnomalyDetector } from './AnomalyDetector';
|
|
5
|
-
import { ILogger } from 'namirasoft-log';
|
|
5
|
+
import { ILogger } from 'namirasoft-nws-log';
|
|
6
6
|
import { Meta } from './Meta';
|
|
7
7
|
import Joi from 'joi';
|
|
8
8
|
import { ErrorOperation, HTTPError } from 'namirasoft-core';
|