namirasoft-core 1.1.0 → 1.1.1

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,5 +1,5 @@
1
- export type BaseDatabaseRow = {
2
- id: number;
1
+ export type BaseDatabaseRow<ID> = {
2
+ id: ID;
3
3
  createdAt: string;
4
4
  updatedAt: string;
5
5
  deletedAt: string;
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
- {
2
- "name": "namirasoft-core",
3
- "description": "Namira Software Corporation Core 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
- "@types/md5": "^2.3.5",
12
- "@types/node": "^20.9.0",
13
- "axios": "^1.6.2",
14
- "md5": "^2.3.0",
15
- "moment": "^2.29.4",
16
- "phone": "^3.1.41"
17
- }
1
+ {
2
+ "name": "namirasoft-core",
3
+ "description": "Namira Software Corporation Core NPM Package",
4
+ "version": "1.1.1",
5
+ "main": "./dist/index.js",
6
+ "types": "./dist/index.d.ts",
7
+ "scripts": {},
8
+ "author": "Amir Abolhasani",
9
+ "license": "MIT",
10
+ "dependencies": {
11
+ "@types/md5": "^2.3.5",
12
+ "@types/node": "^20.9.2",
13
+ "axios": "^1.6.2",
14
+ "md5": "^2.3.0",
15
+ "moment": "^2.29.4",
16
+ "phone": "^3.1.41"
17
+ }
18
18
  }
@@ -1,6 +1,6 @@
1
- export type BaseDatabaseRow =
1
+ export type BaseDatabaseRow<ID> =
2
2
  {
3
- id: number;
3
+ id: ID;
4
4
  createdAt: string;
5
5
  updatedAt: string;
6
6
  deletedAt: string;