You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: desktop/src-tauri/src/types/generated/template.rs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ pub mod error {
42
42
#[doc = " ],"]
43
43
#[doc = " \"properties\": {"]
44
44
#[doc = " \"asTemplate\": {"]
45
-
#[doc = " \"description\": \"If true, the artifact will be copied as a template file. The file will be rendered using Go templating from \\nthe form data. [Sprig functions](https://masterminds.github.io/sprig/) are available for use in the template.\\n\","]
45
+
#[doc = " \"description\": \"If true, the artifact will be copied as a template file. The file will be rendered using Go templating from \\nthe form data. [Expr language functions](https://expr-lang.org/docs/language-definition) are available for use in the template.\\n\","]
#[doc = "If true, the artifact will be copied as a template file. The file will be rendered using Go templating from \nthe form data. [Sprig functions](https://masterminds.github.io/sprig/) are available for use in the template.\n"]
79
+
#[doc = "If true, the artifact will be copied as a template file. The file will be rendered using Go templating from \nthe form data. [Expr language functions](https://expr-lang.org/docs/language-definition) are available for use in the template.\n"]
80
80
#[serde(rename = "asTemplate",default)]
81
81
pubas_template:bool,
82
82
#[doc = "The directory to copy the file to. If not set, the file will be copied to the root of the flow file directory.\nThe directory will be created if it does not exist.\n"]
Copy file name to clipboardExpand all lines: docs/schemas/template_schema.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@
16
16
],
17
17
"properties": {
18
18
"asTemplate": {
19
-
"description": "If true, the artifact will be copied as a template file. The file will be rendered using Go templating from \nthe form data. [Sprig functions](https://masterminds.github.io/sprig/) are available for use in the template.\n",
19
+
"description": "If true, the artifact will be copied as a template file. The file will be rendered using Go templating from \nthe form data. [Expr language functions](https://expr-lang.org/docs/language-definition) are available for use in the template.\n",
|`asTemplate`| If true, the artifact will be copied as a template file. The file will be rendered using Go templating from the form data. [Sprig functions](https://masterminds.github.io/sprig/) are available for use in the template. |`boolean`| false ||
39
+
|`asTemplate`| If true, the artifact will be copied as a template file. The file will be rendered using Go templating from the form data. [Expr language functions](https://expr-lang.org/docs/language-definition) are available for use in the template. |`boolean`| false ||
40
40
|`dstDir`| The directory to copy the file to. If not set, the file will be copied to the root of the flow file directory. The directory will be created if it does not exist. |`string`|||
41
41
|`dstName`| The name of the file to copy to. If not set, the file will be copied with the same name. |`string`|||
42
42
|`if`| An expression that determines whether the the artifact should be copied, using the Expr language syntax. The expression is evaluated at runtime and must resolve to a boolean value. If the condition is not met, the artifact will not be copied. The expression has access to OS/architecture information (os, arch), environment variables (env), form input (form), and context information (name, workspace, directory, etc.). See the [flow documentation](https://flowexec.io/guide/templating) for more information. |`string`|||
Copy file name to clipboardExpand all lines: internal/mcp/resources/template_schema.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@
16
16
],
17
17
"properties": {
18
18
"asTemplate": {
19
-
"description": "If true, the artifact will be copied as a template file. The file will be rendered using Go templating from \nthe form data. [Sprig functions](https://masterminds.github.io/sprig/) are available for use in the template.\n",
19
+
"description": "If true, the artifact will be copied as a template file. The file will be rendered using Go templating from \nthe form data. [Expr language functions](https://expr-lang.org/docs/language-definition) are available for use in the template.\n",
0 commit comments