law-common 10.19.1-beta.5 → 10.19.1-beta.7

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.
@@ -293,3 +293,6 @@ export type EntityIndexMap = {
293
293
  [id: number]: EnumToModel<key>;
294
294
  };
295
295
  };
296
+ export type IPremissionFilterConfig<T extends EntityEnum | VirtualEntityEnum> = {
297
+ [key: string]: () => Promise<IEntityFilterData<EnumEntityType<T>>>;
298
+ };
@@ -245,7 +245,7 @@ BillingEntityModel.relationConfigs = [
245
245
  },
246
246
  {
247
247
  name: entity_utils_interface_1.EntityEnum.BILLING_TRANSACTION,
248
- relation: relation_type_enum_1.RelationType.ONE,
248
+ relation: relation_type_enum_1.RelationType.MANY,
249
249
  key: "billingTransactions",
250
250
  mapKeyConfig: {
251
251
  relationKey: "billingId",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "law-common",
3
- "version": "10.19.1-beta.5",
3
+ "version": "10.19.1-beta.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [