Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 167x 167x 392x 392x 392x 392x 392x 392x 392x | import { makeAutoObservable, observableRef, observableShallow } from 'mobx';
import { Ref } from '../model/ref';
export class OriginStore {
origins: Ref[] = [];
list: string[] = [];
lookup = new Map<string, string>();
tunnelLookup = new Map<string, string>();
reverseLookup = new Map<string, string>();
originMap = new Map<string, Map<string, string>>();
constructor() {
makeAutoObservable(this, {
origins: observableShallow,
list: observableRef,
lookup: observableRef,
tunnelLookup: observableRef,
reverseLookup: observableRef,
originMap: observableRef,
});
}
}
|