MCPcopy Create free account
hub / github.com/gotify/server / constructor

Method constructor

ui/src/message/MessagesStore.ts:30–35  ·  view source on GitHub ↗
(
        private readonly appStore: BaseStore<IApplication>,
        private readonly snack: SnackReporter
    )

Source from the content-addressed store, hash-verified

28 private loading = false;
29
30 public constructor(
31 private readonly appStore: BaseStore<IApplication>,
32 private readonly snack: SnackReporter
33 ) {
34 reaction(() => appStore.getItems(), this.createEmptyStatesForApps);
35 }
36
37 private stateOf = (appId: number, create = true) => {
38 if (!this.state[appId] && create) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected