@camera.ui/sdk / storage / JsonSchemaSubmit
Interface: JsonSchemaSubmit
Defined in: storage/index.ts:255
Submit button schema: submits form data and can return an updated schema.
Extends
Properties
color?
optionalcolor?:"success"|"info"|"warn"|"danger"
Defined in: storage/index.ts:259
Button color variant.
description
description:
string
Defined in: storage/index.ts:52
Field description/help text.
Inherited from
group?
optionalgroup?:string
Defined in: storage/index.ts:54
Optional group name for organizing fields.
Inherited from
key
key:
string
Defined in: storage/index.ts:48
Unique field identifier.
Inherited from
onClick
onClick: (
value) =>Promise<void|FormSubmitResponse>
Defined in: storage/index.ts:261
Submit handler; receives form values, can return toast/schema updates.
Parameters
value
any
Returns
Promise<void | FormSubmitResponse>
title
title:
string
Defined in: storage/index.ts:50
Display title.
Inherited from
type
type:
"submit"
Defined in: storage/index.ts:257
Schema type discriminator.