This commit is contained in:
Daniel Lugo 2020-10-06 13:16:03 -04:00
parent 5e43e8d88a
commit 4fe541b02c

View file

@ -3,12 +3,15 @@
*/
// @ts-check
const { makePromise, Constants } = require('shock-common')
/**
* @typedef {import('./contact-api/SimpleGUN').ValidDataValue} ValidDataValue
*/
const { getGun, getUser } = require('./Mediator')
/**
* @param {string} rawPath
* @param {import('./contact-api/SimpleGUN').ValidDataValue} value
* @param {ValidDataValue} value
* @returns {Promise<void>}
*/
const put = async (rawPath, value) => {
@ -54,7 +57,7 @@ const put = async (rawPath, value) => {
/**
* @param {string} rawPath
* @param {import('./contact-api/SimpleGUN').ValidDataValue} value
* @param {ValidDataValue} value
* @returns {Promise<string>}
*/
const set = async (rawPath, value) => {