@mody-park-cha-raja/finance_common 4.9.0 → 4.11.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/index.d.mts CHANGED
@@ -621,6 +621,10 @@ type IEntityFilterSearchData<K extends EntityList = EntityList> = {
621
621
  columnKeys?: (keyof EntityType<K>)[];
622
622
  orderBy?: Partial<Record<keyof EntityType<K>, OrderByDirection>>;
623
623
  limit?: number;
624
+ greaterThan?: EntityType<K>[keyof EntityType<K>];
625
+ lessThan?: EntityType<K>[keyof EntityType<K>];
626
+ ge?: EntityType<K>[keyof EntityType<K>];
627
+ le?: EntityType<K>[keyof EntityType<K>];
624
628
  };
625
629
  type IEntityFilterData<T> = {
626
630
  [K in keyof T]?: T[K][];
@@ -631,6 +635,10 @@ type IEntityFilterData<T> = {
631
635
  relations?: IEntityFilterSearchData<EntityList>[];
632
636
  orderBy?: Partial<Record<keyof T, OrderByDirection>>;
633
637
  limit?: number;
638
+ greaterThan?: T[keyof T];
639
+ lessThan?: T[keyof T];
640
+ ge?: T[keyof T];
641
+ le?: T[keyof T];
634
642
  };
635
643
  interface IEntityFilterSearchDataV2<K extends EntityList = EntityList> {
636
644
  /**
package/dist/index.d.ts CHANGED
@@ -621,6 +621,10 @@ type IEntityFilterSearchData<K extends EntityList = EntityList> = {
621
621
  columnKeys?: (keyof EntityType<K>)[];
622
622
  orderBy?: Partial<Record<keyof EntityType<K>, OrderByDirection>>;
623
623
  limit?: number;
624
+ greaterThan?: EntityType<K>[keyof EntityType<K>];
625
+ lessThan?: EntityType<K>[keyof EntityType<K>];
626
+ ge?: EntityType<K>[keyof EntityType<K>];
627
+ le?: EntityType<K>[keyof EntityType<K>];
624
628
  };
625
629
  type IEntityFilterData<T> = {
626
630
  [K in keyof T]?: T[K][];
@@ -631,6 +635,10 @@ type IEntityFilterData<T> = {
631
635
  relations?: IEntityFilterSearchData<EntityList>[];
632
636
  orderBy?: Partial<Record<keyof T, OrderByDirection>>;
633
637
  limit?: number;
638
+ greaterThan?: T[keyof T];
639
+ lessThan?: T[keyof T];
640
+ ge?: T[keyof T];
641
+ le?: T[keyof T];
634
642
  };
635
643
  interface IEntityFilterSearchDataV2<K extends EntityList = EntityList> {
636
644
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mody-park-cha-raja/finance_common",
3
- "version": "4.9.0",
3
+ "version": "4.11.0",
4
4
  "description": "Common interfaces, models, enums, and utilities for the Mody Park Cha Raja finance ecosystem",
5
5
  "homepage": "https://github.com/mody-park-cha-raja/finance-common#readme",
6
6
  "bugs": {