@omnia/fx 8.0.266-dev → 8.0.267-dev

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,9 +2,11 @@ import { BusinessProfile, BusinessProfileProperty } from "@omnia/fx-models";
2
2
  export declare const useBusinessProfileJourneyStore: () => {
3
3
  state: {
4
4
  selectingBusinessProfile: BusinessProfile;
5
+ saving: any;
5
6
  };
6
7
  events: {
7
8
  onMutatedSelectingBusinessProfile: import("@omnia/fx").MessageBusExposeOnlySubscription<BusinessProfile>;
9
+ onMutatedSaving: import("@omnia/fx").MessageBusExposeOnlySubscription<any>;
8
10
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
9
11
  actions: {
10
12
  onDispatching: {
@@ -14,6 +16,9 @@ export declare const useBusinessProfileJourneyStore: () => {
14
16
  saveBusinessProfile: {
15
17
  subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
16
18
  };
19
+ onSaving: {
20
+ subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
21
+ };
17
22
  onUpdatingBusinessProfilePropertiesBag: {
18
23
  subscribe(fn: (bpProperties: BusinessProfileProperty[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
19
24
  };
@@ -28,6 +33,9 @@ export declare const useBusinessProfileJourneyStore: () => {
28
33
  saveBusinessProfile: {
29
34
  subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
30
35
  };
36
+ onSaving: {
37
+ subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
38
+ };
31
39
  onUpdatingBusinessProfilePropertiesBag: {
32
40
  subscribe(fn: (result: BusinessProfileProperty[], bpProperties: BusinessProfileProperty[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
33
41
  };
@@ -42,6 +50,9 @@ export declare const useBusinessProfileJourneyStore: () => {
42
50
  saveBusinessProfile: {
43
51
  subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
44
52
  };
53
+ onSaving: {
54
+ subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
55
+ };
45
56
  onUpdatingBusinessProfilePropertiesBag: {
46
57
  subscribe(fn: (failureReason: any, bpProperties: BusinessProfileProperty[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
47
58
  };
@@ -52,6 +63,7 @@ export declare const useBusinessProfileJourneyStore: () => {
52
63
  } & {
53
64
  registerOnSaveBusinessProfile(fn: () => void | Promise<void>): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
54
65
  saveBusinessProfile(): Promise<void>;
66
+ onSaving(): void;
55
67
  onUpdatingBusinessProfilePropertiesBag: (bpProperties: Array<BusinessProfileProperty>) => BusinessProfileProperty[];
56
68
  selectingBusinessProfile: (businessProfile: BusinessProfile) => void;
57
69
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.266-dev",
4
+ "version": "8.0.267-dev",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.266-dev",
23
+ "@omnia/fx-models": "8.0.267-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",