Type Alias: PluginSettingField
Properties
| Property | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Unique key for this setting (example: "apiKey") |
type | "text" | "number" | "email" | "select" | "boolean" | "password" | "chips" | Yes | Input type (example: "password") |
label | string | Yes | Human-readable label (example: "OpenAI API Key") |
description | string | No | Help text (example: "Your API key from OpenAI dashboard") |
required | boolean | No | Whether this setting is required |
default | object | No | Default value |
options | string[] | No | Options for select type |
validation | object | No | Validation rules |
Defined in
4Players/cortex-typescript-sdk/src/resources/plugins.ts:9