@trudb/tru-common-lib 0.0.513 → 0.0.514

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.
@@ -3,17 +3,21 @@ import { TruBreezeContextFactory, TruBreezeContext } from './tru-breeze-context-
3
3
  import { TruEntityAccessor } from './tru-entity-accessor';
4
4
  import { TruUiNotification } from './tru-ui-notification';
5
5
  import { TruAppEnvironment } from './tru-app-environment';
6
- import { Observable } from 'rxjs';
6
+ import { Observable, Subject } from 'rxjs';
7
+ import { TruDataChange } from '../classes/tru-data-change';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class TruDataContext {
9
10
  private breezeContextFactory;
10
11
  private appEnvironment;
11
12
  private entityAccessor;
12
13
  private uiNotification;
14
+ private _dataChanged$;
13
15
  private _breezeContext;
14
16
  private _pendingDeleteEntities;
15
17
  private _pendingCascadeDeleteEntities;
16
18
  constructor(breezeContextFactory: TruBreezeContextFactory, appEnvironment: TruAppEnvironment, entityAccessor: TruEntityAccessor, uiNotification: TruUiNotification);
19
+ onDataChanged(): Subject<TruDataChange>;
20
+ dataChanged(change: TruDataChange): void;
17
21
  validationChangeDetection: Observable<unknown>;
18
22
  getValidationErrors: (entities?: Array<Entity> | null) => any;
19
23
  private formatValidationErrors;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trudb/tru-common-lib",
3
- "version": "0.0.513",
3
+ "version": "0.0.514",
4
4
  "type": "module",
5
5
  "peerDependencies": {},
6
6
  "dependencies": {