Skip to content

RedDokia API Reference / RedDokiaViewMetadataPatch

Type Alias: RedDokiaViewMetadataPatch<TParams> ​

ts
type RedDokiaViewMetadataPatch<TParams> = Partial<Pick<RedDokiaViewSchema<TParams>, 
  | "templateId"
  | "title"
  | "icon"
  | "badge"
  | "closable"
  | "dirty"
  | "pinned"
  | "minWidth"
  | "maxWidth"
  | "minHeight"
  | "maxHeight"
| "params">>;

Partial mutable metadata patch accepted by controller.updateView(viewId, patch) and persisted in runtimeViews.

Type Parameters ​

Type ParameterDefault type
TParamsRecord<string, any>