@samepage/internal
Version:
Utilities used across modules - not meant for use by users directly
15 lines • 522 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const setupWsFeatures_1 = require("./setupWsFeatures");
const sendToNotebook = ({ target, operation, data = {} }) => {
(0, setupWsFeatures_1.sendToBackend)({
operation: "PROXY",
data: {
...data,
...(typeof target === "string" ? { notebookUuid: target } : target),
proxyOperation: operation,
},
});
};
exports.default = sendToNotebook;
//# sourceMappingURL=sendToNotebook.js.map