Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISettingRead

This accessor provides methods for accessing App settings in a read-only-fashion.

Hierarchy

  • ISettingRead

Index

Methods

getById

  • getById(id: string): Promise<ISetting>
  • Gets the App's setting by the provided id. Does not throw an error but instead will return undefined it doesn't exist.

    Parameters

    • id: string

      the id of the setting

    Returns Promise<ISetting>

getValueById

  • getValueById(id: string): Promise<any>
  • Gets the App's setting value by the provided id. Note: this will throw an error if the setting doesn't exist

    Parameters

    • id: string

      the id of the setting value to get

    Returns Promise<any>

Generated using TypeDoc