Skip to content

@camera.ui/sdk / storage / JsonSchemaButton

Interface: JsonSchemaButton

Defined in: storage/index.ts:245

Button schema: triggers an action without storing a value.

Extends

Properties

color?

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

Defined in: storage/index.ts:249

Button color variant.


description

description: string

Defined in: storage/index.ts:52

Field description/help text.

Inherited from

JsonFactorySchema.description


group?

optional group?: string

Defined in: storage/index.ts:54

Optional group name for organizing fields.

Inherited from

JsonFactorySchema.group


key

key: string

Defined in: storage/index.ts:48

Unique field identifier.

Inherited from

JsonFactorySchema.key


onSet

onSet: () => Promise<void>

Defined in: storage/index.ts:251

Click handler.

Returns

Promise<void>


title

title: string

Defined in: storage/index.ts:50

Display title.

Inherited from

JsonFactorySchema.title


type

type: "button"

Defined in: storage/index.ts:247

Schema type discriminator.

Overrides

JsonFactorySchema.type