From d939e8f893b6f07f05826d61f2f545e81874840d Mon Sep 17 00:00:00 2001 From: Davor Hrg Date: Mon, 11 Mar 2024 23:36:37 +0100 Subject: [PATCH] typo --- packages/postmessage/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/postmessage/README.md b/packages/postmessage/README.md index ff31720..6bb7f30 100644 --- a/packages/postmessage/README.md +++ b/packages/postmessage/README.md @@ -40,6 +40,12 @@ Here is partial sample of jsdoc definitions for jscad worker @prop {Array} alias - @prop {Array} bundles - bundle alias {name:path} +@typedef RunScriptOptions +@prop {string} script - script source +@prop {string} url - script url/name +@prop {string} base - base url +@prop {string} base - root (do not allow paths below that root) + @typedef ScriptResponse @prop {Array} entities @prop {number} mainTime - script run time @@ -48,7 +54,7 @@ Here is partial sample of jsdoc definitions for jscad worker @typedef JscadWorker @prop {String} name @prop {(options:InitOptions)=>Promise} init -@prop {(options:RunMainOptions)=>Promise} runMain +@prop {(options:RunScriptOptions)=>Promise} runScript */ ```