MCPcopy Create free account
hub / github.com/OneNoteDev/WebClipper / storeValue

Method storeValue

src/scripts/clipperUI/frontEndGlobals.ts:74–79  ·  view source on GitHub ↗
(key: string, value: string)

Source from the content-addressed store, hash-verified

72 }
73
74 public static storeValue(key: string, value: string): void {
75 if (!Clipper.storage) {
76 throw new Error("The remote storage needs to be set up with the extension communicator first");
77 }
78 Clipper.storage.setValue(key, value, undefined);
79 }
80
81 private static setUpRemoteStorage(extensionCommunicator: Communicator) {
82 Clipper.storage = new RemoteStorage(Clipper.getExtensionCommunicator());

Callers 13

handleSignInMethod · 0.80
startClipMethod · 0.80
setDoNotPromptStatusMethod · 0.80
onSectionClickedMethod · 0.80
getDialogButtonsMethod · 0.80
testsMethod · 0.80
testsMethod · 0.80
initializeClipperStorageFunction · 0.80

Calls 1

setValueMethod · 0.65

Tested by

no test coverage detected