@sprucelabs/spruce-form-utils 18.1.4 → 18.1.5

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.
@@ -19,11 +19,11 @@ export default class RemoteFormCardViewController extends AbstractViewController
19
19
  render(): SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
20
20
  }
21
21
  export interface RemoteFormCardViewControllerOptions {
22
- onDone: OnDoneHandler;
23
- onError: OnErrorHandler;
22
+ onDone: RemoteFormCardOnDoneHandler;
23
+ onError: RemoteFormCardOnErrorHandler;
24
24
  }
25
- type OnDoneHandler = () => void | Promise<void>;
26
- type OnErrorHandler = (error: Error) => void | Promise<void>;
25
+ export type RemoteFormCardOnDoneHandler = () => void | Promise<void>;
26
+ export type RemoteFormCardOnErrorHandler = (error: Error) => void | Promise<void>;
27
27
  export interface RemoteFormCardLoadOptions {
28
28
  router: Router;
29
29
  formId: string;
@@ -32,4 +32,3 @@ export interface RemoteFormCardLoadOptions {
32
32
  export interface RemoteFormCard extends ViewController<Card> {
33
33
  load(options: RemoteFormCardLoadOptions): Promise<SpruceSchemas.Forms.v2021_07_02.GetFormResponsePayload | null>;
34
34
  }
35
- export {};
@@ -19,11 +19,11 @@ export default class RemoteFormCardViewController extends AbstractViewController
19
19
  render(): SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
20
20
  }
21
21
  export interface RemoteFormCardViewControllerOptions {
22
- onDone: OnDoneHandler;
23
- onError: OnErrorHandler;
22
+ onDone: RemoteFormCardOnDoneHandler;
23
+ onError: RemoteFormCardOnErrorHandler;
24
24
  }
25
- type OnDoneHandler = () => void | Promise<void>;
26
- type OnErrorHandler = (error: Error) => void | Promise<void>;
25
+ export type RemoteFormCardOnDoneHandler = () => void | Promise<void>;
26
+ export type RemoteFormCardOnErrorHandler = (error: Error) => void | Promise<void>;
27
27
  export interface RemoteFormCardLoadOptions {
28
28
  router: Router;
29
29
  formId: string;
@@ -32,4 +32,3 @@ export interface RemoteFormCardLoadOptions {
32
32
  export interface RemoteFormCard extends ViewController<Card> {
33
33
  load(options: RemoteFormCardLoadOptions): Promise<SpruceSchemas.Forms.v2021_07_02.GetFormResponsePayload | null>;
34
34
  }
35
- export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-form-utils",
3
3
  "description": "Support for working with forms and Sprucebot. 📄",
4
- "version": "18.1.4",
4
+ "version": "18.1.5",
5
5
  "skill": {
6
6
  "namespace": "forms"
7
7
  },