EntityActionEntry: {
    build: (ctx: EntityActionContext) => EntityActionDef | undefined;
    name: string;
    rendererKey?: string;
    requiresCapabilities?: HostCapabilityId[];
    surfaces?: ActionSurface[];
    tester: (schema: JSONSchema7, ctx: EntityActionContext) => number;
}

Type declaration

  • build: (ctx: EntityActionContext) => EntityActionDef | undefined
  • name: string
  • OptionalrendererKey?: string

    Optional custom renderer component name — resolved in detail-renderer.

  • OptionalrequiresCapabilities?: HostCapabilityId[]

    All must be present on the host for this entry to apply.

  • Optionalsurfaces?: ActionSurface[]

    Omit = all surfaces; else restrict to listed surfaces.

  • tester: (schema: JSONSchema7, ctx: EntityActionContext) => number

    -1 = not applicable; higher rank = more important = inline slot.