Skip to main content

Interface: UiResourceMeta

Defined in: registerAppResource.ts:70

Rendering and security configuration for an app's view (_meta.ui).

Properties

csp?

optional csp?: UiResourceCsp

Defined in: registerAppResource.ts:72

Origins the view may reach; omitted means none.


domain?

optional domain?: string

Defined in: registerAppResource.ts:80

Dedicated sandbox origin for the view, for cases needing a stable origin (OAuth callbacks, CORS, API key allowlists). The accepted format is host-specific; consult the host's documentation rather than deriving one.


permissions?

optional permissions?: UiResourcePermissions

Defined in: registerAppResource.ts:74

Browser capabilities requested for the view.


prefersBorder?

optional prefersBorder?: boolean

Defined in: registerAppResource.ts:82

Whether the host should draw a border and background around the view.