ia-common 1.1.1-beta.25 → 1.1.1-beta.27

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.
@@ -22,4 +22,5 @@ export interface IFiles {
22
22
  export type IBankDetailsDtoExclude = "qrCode";
23
23
  export interface IBankEntityCreateDto extends Omit<IEntityCreateDto<EnumEntityType<EntityEnum.BANK_DETAIL>>, IBankDetailsDtoExclude> {
24
24
  qrCodeDocument?: string;
25
+ qrCode?: string | null;
25
26
  }
@@ -1,5 +1,4 @@
1
1
  import { EntityEnum, EnumEntityType, IBankDetailEntity, IEntityUpdateDto, IUploadedMulterFile, Modify } from "../../@type";
2
- import { IBankDetailsDtoExclude } from "./bank-details-create-dto..interface";
3
2
  export interface IUpdateBankDetailResponse extends Modify<IBankDetailEntity, {
4
3
  createdOn: string;
5
4
  updatedOn: string;
@@ -18,6 +17,6 @@ export interface IUpdateBankDetailRequest {
18
17
  export interface IBankDetailsUpdateDtoValidationDetails {
19
18
  bankDetailsEntity: IBankDetailEntity;
20
19
  }
21
- export interface IBankEntityUpdateDto extends Omit<IEntityUpdateDto<EnumEntityType<EntityEnum.BANK_DETAIL>>, IBankDetailsDtoExclude> {
20
+ export interface IBankEntityUpdateDto extends IEntityUpdateDto<EnumEntityType<EntityEnum.BANK_DETAIL>> {
22
21
  qrCodeDocument?: string;
23
22
  }
@@ -6,7 +6,7 @@ export interface IBankDetailEntity extends IAuditColumnEntity {
6
6
  accountNo: string;
7
7
  ifscCode: string;
8
8
  upiId?: string;
9
- qrCode: string | null;
9
+ qrCode?: string | null;
10
10
  bankAddress: string;
11
11
  branch: string;
12
12
  accountName: string;
@@ -179,7 +179,9 @@ function getPropertyFilterByPermissionFn(permissionFilterConfig, propertyNames,
179
179
  continue;
180
180
  }
181
181
  // --------- CASE 3: No permission restriction → use dto filter ----------
182
- result.include[propertyName] = dtoFilter;
182
+ if (Array.isArray(dtoFilter)) {
183
+ result.include[propertyName] = dtoFilter;
184
+ }
183
185
  }
184
186
  return result;
185
187
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ia-common",
3
- "version": "1.1.1-beta.25",
3
+ "version": "1.1.1-beta.27",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",