Skip to content

@camera.ui/sdk / storage / JsonSchemaSubmit

Interface: JsonSchemaSubmit

Defined in: storage/index.ts:256

Submit button schema - submits form data and can return updated schema.

Extends

Properties

color?

optional color?: "success" | "info" | "warn" | "danger"

Defined in: storage/index.ts:259

Button color variant


description

description: string

Defined in: storage/index.ts:56

Field description/help text

Inherited from

JsonFactorySchema.description


group?

optional group?: string

Defined in: storage/index.ts:58

Optional group name for organizing fields

Inherited from

JsonFactorySchema.group


key

key: string

Defined in: storage/index.ts:52

Unique field identifier

Inherited from

JsonFactorySchema.key


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:54

Display title

Inherited from

JsonFactorySchema.title


type

type: "submit"

Defined in: storage/index.ts:257

Field type

Overrides

JsonFactorySchema.type