@oneplatform/plugin-sdk / WidgetMetadata
Interface: WidgetMetadata¶
Defined in: packages/plugin-sdk/src/types/metadata.ts:122
Extends¶
Properties¶
author¶
author:
string
Defined in: packages/plugin-sdk/src/types/metadata.ts:25
Plugin author name or organization.
Inherited from¶
configSchema¶
configSchema:
JSONSchema
Defined in: packages/plugin-sdk/src/types/metadata.ts:31
JSON Schema for the tenant-admin configuration form.
Inherited from¶
description¶
description:
string
Defined in: packages/plugin-sdk/src/types/metadata.ts:19
Brief description shown in the marketplace. 10-500 characters.
Inherited from¶
icon?¶
optionalicon?:string
Defined in: packages/plugin-sdk/src/types/metadata.ts:28
URL or data URI for the plugin icon. PNG or SVG, max 64KB.
Inherited from¶
id¶
id:
string
Defined in: packages/plugin-sdk/src/types/metadata.ts:13
Must match manifest.id exactly.
Inherited from¶
maxHeight?¶
optionalmaxHeight?:number
Defined in: packages/plugin-sdk/src/types/metadata.ts:135
Maximum grid height. Omit for no constraint.
maxWidth?¶
optionalmaxWidth?:number
Defined in: packages/plugin-sdk/src/types/metadata.ts:132
Maximum grid width. Omit for no constraint.
minHeight¶
minHeight:
number
Defined in: packages/plugin-sdk/src/types/metadata.ts:129
Minimum grid height. Integer 1-12.
minWidth¶
minWidth:
number
Defined in: packages/plugin-sdk/src/types/metadata.ts:126
Minimum grid width. Integer 1-12.
name¶
name:
string
Defined in: packages/plugin-sdk/src/types/metadata.ts:16
Human-readable display name. 2-100 characters.
Inherited from¶
slots¶
slots:
WidgetSlotDeclaration[]
Defined in: packages/plugin-sdk/src/types/metadata.ts:138
Slots this widget can render in.
tags?¶
optionaltags?:string[]
Defined in: packages/plugin-sdk/src/types/metadata.ts:34
Discoverability tags shown in the marketplace filter UI.
Inherited from¶
type¶
readonlytype:"widget"
Defined in: packages/plugin-sdk/src/types/metadata.ts:123
version¶
version:
string
Defined in: packages/plugin-sdk/src/types/metadata.ts:22
Must match manifest.version exactly.