@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:
|
|
23
|
-
onError:
|
|
22
|
+
onDone: RemoteFormCardOnDoneHandler;
|
|
23
|
+
onError: RemoteFormCardOnErrorHandler;
|
|
24
24
|
}
|
|
25
|
-
type
|
|
26
|
-
type
|
|
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:
|
|
23
|
-
onError:
|
|
22
|
+
onDone: RemoteFormCardOnDoneHandler;
|
|
23
|
+
onError: RemoteFormCardOnErrorHandler;
|
|
24
24
|
}
|
|
25
|
-
type
|
|
26
|
-
type
|
|
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 {};
|