@promptbook/remote-server 0.86.22 → 0.86.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/index.es.js +5 -138
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/utils.index.d.ts +0 -2
- package/package.json +2 -2
- package/umd/index.umd.js +5 -138
- package/umd/index.umd.js.map +1 -1
- package/esm/typings/src/conversion/utils/extractVariablesFromScript.d.ts +0 -14
- package/esm/typings/src/conversion/utils/extractVariablesFromScript.test.d.ts +0 -1
- package/esm/typings/src/scripting/javascript/JavascriptEvalExecutionTools.test.d.ts +0 -4
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { string_javascript } from '../../types/typeAliases';
|
|
2
|
-
import type { string_typescript } from '../../types/typeAliases';
|
|
3
|
-
/**
|
|
4
|
-
* Extract all used variable names from ginen JavaScript/TypeScript script
|
|
5
|
-
*
|
|
6
|
-
* @param script JavaScript/TypeScript script
|
|
7
|
-
* @returns Set of variable names
|
|
8
|
-
* @throws {ParseError} if the script is invalid
|
|
9
|
-
* @public exported from `@promptbook/utils` <- Note: [👖] This is usable elsewhere than in Promptbook, so keeping in utils
|
|
10
|
-
*/
|
|
11
|
-
export declare function extractVariablesFromScript(script: string_javascript | string_typescript): Set<string>;
|
|
12
|
-
/**
|
|
13
|
-
* TODO: [🔣] Support for multiple languages - python, java,...
|
|
14
|
-
*/
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|