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

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


onSet

onSet: () => Promise<void>

Defined in: storage/index.ts:250

Click handler

Returns

Promise<void>


title

title: string

Defined in: storage/index.ts:54

Display title

Inherited from

JsonFactorySchema.title


type

type: "button"

Defined in: storage/index.ts:246

Field type

Overrides

JsonFactorySchema.type