invoice-system-common 1.0.7 → 1.0.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.
@@ -1,6 +1,10 @@
1
- import { IEntityCreateDto, IEntityFilterData, IEntityUpdateDto } from '../helpers/generics';
2
- import { IUserEntity } from './user.entity.interface';
3
- export interface IUserCreateDto extends IEntityCreateDto<IUserEntity> {
1
+ import { IEntityCreateDto, IEntityFilterData, IEntityUpdateDto } from "../helpers/generics";
2
+ import { IUserEntity } from "./user.entity.interface";
3
+ export type IUserCreateDtoExclude = "organizationId";
4
+ export type IUserCreateDtoInclude = "aadharFile" | "panFile";
5
+ export interface IUserCreateDto extends Omit<IEntityCreateDto<IUserEntity>, IUserCreateDtoExclude> {
6
+ aadharFile?: any;
7
+ panFile?: any;
4
8
  }
5
9
  export interface IUserUpdateDto extends IEntityUpdateDto<IUserEntity> {
6
10
  }
package/package.json CHANGED
@@ -1,29 +1,29 @@
1
- {
2
- "name": "invoice-system-common",
3
- "version": "1.0.7",
4
- "description": "",
5
- "homepage": "https://github.com/Kashyap2210/invoice-system-common#readme",
6
- "bugs": {
7
- "url": "https://github.com/Kashyap2210/invoice-system-common/issues"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/Kashyap2210/invoice-system-common.git"
12
- },
13
- "license": "ISC",
14
- "author": "Kashyap Solanki",
15
- "type": "commonjs",
16
- "main": "dist/index.js",
17
- "types": "dist/index.d.ts",
18
- "files": [
19
- "dist"
20
- ],
21
- "scripts": {
22
- "test": "echo \"Error: no test specified\" && exit 1",
23
- "build": "tsc",
24
- "full-publish": "npm run build && npm publish"
25
- },
26
- "devDependencies": {
27
- "typescript": "^5.8.3"
28
- }
29
- }
1
+ {
2
+ "name": "invoice-system-common",
3
+ "version": "1.0.10",
4
+ "description": "",
5
+ "homepage": "https://github.com/Kashyap2210/invoice-system-common#readme",
6
+ "bugs": {
7
+ "url": "https://github.com/Kashyap2210/invoice-system-common/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/Kashyap2210/invoice-system-common.git"
12
+ },
13
+ "license": "ISC",
14
+ "author": "Kashyap Solanki",
15
+ "type": "commonjs",
16
+ "main": "dist/index.js",
17
+ "types": "dist/index.d.ts",
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "scripts": {
22
+ "test": "echo \"Error: no test specified\" && exit 1",
23
+ "build": "tsc",
24
+ "full-publish": "npm run build && npm version patch && git push --follow-tags && npm publish"
25
+ },
26
+ "devDependencies": {
27
+ "typescript": "^5.8.3"
28
+ }
29
+ }