@flowgram.ai/variable-layout 0.5.7 → 1.0.0
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/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -107,7 +107,7 @@ declare class FlowNodeVariableData extends EntityData {
|
|
|
107
107
|
* @param key - The key of the variable to retrieve. Defaults to 'outputs'.
|
|
108
108
|
* @returns The value of the variable, or undefined if not found.
|
|
109
109
|
*/
|
|
110
|
-
getVar(key?: string): ASTNode<any
|
|
110
|
+
getVar(key?: string): ASTNode<any> | undefined;
|
|
111
111
|
/**
|
|
112
112
|
* Clears a variable from the public AST (Abstract Syntax Tree) by key.
|
|
113
113
|
*
|
|
@@ -136,7 +136,7 @@ declare class FlowNodeVariableData extends EntityData {
|
|
|
136
136
|
* @param key - The key of the variable to retrieve. Defaults to 'outputs'.
|
|
137
137
|
* @returns The value of the variable, or undefined if not found.
|
|
138
138
|
*/
|
|
139
|
-
getPrivateVar(key?: string): ASTNode<any
|
|
139
|
+
getPrivateVar(key?: string): ASTNode<any> | undefined;
|
|
140
140
|
/**
|
|
141
141
|
* Clears a variable from the private AST (Abstract Syntax Tree) by key.
|
|
142
142
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -107,7 +107,7 @@ declare class FlowNodeVariableData extends EntityData {
|
|
|
107
107
|
* @param key - The key of the variable to retrieve. Defaults to 'outputs'.
|
|
108
108
|
* @returns The value of the variable, or undefined if not found.
|
|
109
109
|
*/
|
|
110
|
-
getVar(key?: string): ASTNode<any
|
|
110
|
+
getVar(key?: string): ASTNode<any> | undefined;
|
|
111
111
|
/**
|
|
112
112
|
* Clears a variable from the public AST (Abstract Syntax Tree) by key.
|
|
113
113
|
*
|
|
@@ -136,7 +136,7 @@ declare class FlowNodeVariableData extends EntityData {
|
|
|
136
136
|
* @param key - The key of the variable to retrieve. Defaults to 'outputs'.
|
|
137
137
|
* @returns The value of the variable, or undefined if not found.
|
|
138
138
|
*/
|
|
139
|
-
getPrivateVar(key?: string): ASTNode<any
|
|
139
|
+
getPrivateVar(key?: string): ASTNode<any> | undefined;
|
|
140
140
|
/**
|
|
141
141
|
* Clears a variable from the private AST (Abstract Syntax Tree) by key.
|
|
142
142
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowgram.ai/variable-layout",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"homepage": "https://flowgram.ai/",
|
|
5
5
|
"repository": "https://github.com/bytedance/flowgram.ai",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"inversify": "^6.0.1",
|
|
20
20
|
"reflect-metadata": "~0.2.2",
|
|
21
|
-
"@flowgram.ai/core": "0.
|
|
22
|
-
"@flowgram.ai/document": "0.
|
|
23
|
-
"@flowgram.ai/variable-core": "0.
|
|
24
|
-
"@flowgram.ai/free-layout-core": "0.
|
|
21
|
+
"@flowgram.ai/core": "1.0.0",
|
|
22
|
+
"@flowgram.ai/document": "1.0.0",
|
|
23
|
+
"@flowgram.ai/variable-core": "1.0.0",
|
|
24
|
+
"@flowgram.ai/free-layout-core": "1.0.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@vitest/coverage-v8": "^3.2.4",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"tsup": "^8.0.1",
|
|
30
30
|
"typescript": "^5.8.3",
|
|
31
31
|
"vitest": "^3.2.4",
|
|
32
|
-
"@flowgram.ai/eslint-config": "0.
|
|
33
|
-
"@flowgram.ai/ts-config": "0.
|
|
32
|
+
"@flowgram.ai/eslint-config": "1.0.0",
|
|
33
|
+
"@flowgram.ai/ts-config": "1.0.0"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public",
|