Options
All
  • Public
  • Public/Protected
  • All
Menu

PreferenceStore implementation that stores preferences in the backend GraphQL store.

Hierarchy

Implements

  • PreferenceStore

Index

Constructors

constructor

Properties

Private context

context: HandlerContext

Methods

delete

  • delete(key: string, options?: object): Promise<void>

Protected doDelete

  • doDelete(name: string, namespace: string): Promise<void>

Protected doGet

  • doGet(name: string, namespace: string): Promise<Preference | undefined>

Protected doList

  • doList(namespace: string): Promise<Preference[]>

Protected doPut

get

  • get<V>(key: string, options?: object): Promise<V | undefined>

list

  • list<V>(scope: PreferenceScope | string): Promise<Array<object>>

put

  • put<V>(key: string, value: V, options?: object): Promise<V>

Protected scope

  • scope(scope: PreferenceScope | string): string

Protected scopeKey

  • scopeKey(key: string, scope?: string): string

Generated using TypeDoc