@prismshadow/penguin-library-setting · library/setting/src/setting.ts:33

UiPrefsStore

interface

UiPrefsStore: the mechanism UiPrefsRepo implements.

API

@Interface()
export abstract class UiPrefsStore {
  abstract get(userId: string): string | null;
  abstract set(userId: string, prefsJson: string): void;
}

Contract Topology

Static AST wiring across @Module / @Provide / @Use
@Moduleexported by
@Provideprovided by

Members (2)

get

get(userId: string): string | null
@paramuserIdstring
@returnsstring | null

set

set(userId: string, prefsJson: string): void
@paramuserIdstring
@paramprefsJsonstring
@returnsvoid