Service container for the Lime CRM platform

Hierarchy

  • LimeWebComponentPlatform

Properties

Methods

Properties

type: "LimeCRMWebClient" | "LimeCRMDesktopClient" | "LimeCRMWebAdminClient"

Methods

  • Check if a service is currently registered on the platform

    Parameters

    • name: string

      the name of the service

    Returns boolean

  • Beta

    Check if a feature is enabled

    Parameters

    • name: never

      name of the feature switch

    Returns boolean

  • Register a service on the platform

    Core platform service names are defined by the enum PlatformServiceName. Third parties that wants to register a service should add a prefix to the service name, e.g. the plugin name.

    Parameters

    • name: string

      the name of the service

    • service: any

      the service

    Returns void