law-common 9.1.3-beta.1 → 9.1.3-beta.3

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.
@@ -75,14 +75,6 @@ export declare enum EntityEnum {
75
75
  export type EntityRelations = {
76
76
  [K in EntityEnum]: K;
77
77
  };
78
- export type ISearchIncludeEntity<T extends EntityEnum> = {
79
- name: T;
80
- relations?: ISearchIncludeEntity<EntityRelations[EntityEnum]>[];
81
- entities?: ISearchIncludeEntity<EntityRelations[EntityEnum]>[];
82
- columnKeys?: EntityKeyType<EntityRelations[T]>[];
83
- mappingProperties?: EntityKeyType<T>[];
84
- searchProperty?: EntityKeyType<T>;
85
- };
86
78
  export type IEntityServiceResponse = {
87
79
  [K in EntityEnum]?: IBaseEntityServiceResponse<EntityKeyType<K>>;
88
80
  };
@@ -141,6 +133,14 @@ export type IEntityFilterData<T extends EnumEntityType<EntityEnum>> = ConvertToA
141
133
  entities?: ISearchIncludeEntity<EntityEnum>[];
142
134
  columnKeys?: (keyof T)[];
143
135
  };
136
+ export type ISearchIncludeEntity<T extends EntityEnum> = ConvertToArray<IEntityUpdateDto<EnumEntityType<EntityRelations[T]>>> & {
137
+ name: T;
138
+ relations?: ISearchIncludeEntity<EntityRelations[EntityEnum]>[];
139
+ entities?: ISearchIncludeEntity<EntityRelations[EntityEnum]>[];
140
+ columnKeys?: EntityKeyType<EntityRelations[T]>[];
141
+ mappingProperties?: EntityKeyType<T>[];
142
+ searchProperty?: EntityKeyType<T>;
143
+ };
144
144
  export type IEntityHistoryParsed = {
145
145
  parsedData: any;
146
146
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "law-common",
3
- "version": "9.1.3-beta.1",
3
+ "version": "9.1.3-beta.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [