Skip to content

@camera.ui/sdk / storage / FormSubmitResponse

Interface: FormSubmitResponse

Defined in: storage/index.ts:321

Form submit response — returned by JsonSchemaSubmit.onClick.

Used to react to a user-triggered submit (e.g. "Test connection", "Pair device") with optional UI feedback. Either field may be set:

  • toast shows a transient banner.
  • schema replaces the current form schema, useful for multi-step flows where the next step depends on the submitted values.

Properties

schema?

optional schema?: JsonSchemaWithoutCallbacks[]

Defined in: storage/index.ts:325

Optional updated schema definitions (full replacement of fields).


toast?

optional toast?: ToastMessage

Defined in: storage/index.ts:323

Optional toast banner to display after the submit completes.