Lime Web Components API Documentation - v6.24.0
    Preparing search index...

    Variable PlatformServiceNameConst

    PlatformServiceName: PlatformServiceNameType = ...

    Core platform service names for accessing built-in services via the platform.

    Use these strongly-typed keys to retrieve platform services.

    const http = platform.get(PlatformServiceName.Http);
    const commandBus = platform.get(PlatformServiceName.CommandBus);
    const limeObjects = platform.get(PlatformServiceName.LimeObjectRepository);
    const limeTypes = platform.get(PlatformServiceName.LimeTypeRepository);
    const navigator = platform.get(PlatformServiceName.Navigator);

    Available services include:

    • Http - HTTP client for API requests
    • CommandBus - Command pattern implementation for actions
    • LimeObjectRepository - CRUD operations for business objects
    • LimeTypeRepository - Schema and metadata access
    • Navigator - Client-side routing
    • EventDispatcher - Event pub/sub system
    • Translator - Localization service
    • And many more...