Skip to content

Commit 374da2e

Browse files
Merge pull request #284 from code0-tech/feat/add-fileName-to-File
Update type_string to include fileName in file.rs
2 parents 8014299 + a07b958 commit 374da2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/taurus-core/src/runtime/functions

crates/taurus-core/src/runtime/functions/file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ taurus_macros::data_type! {
3232
display_message(en_US = "File"),
3333
alias(en_US = "file;document;blob;attachment;binary"),
3434
generic_keys = ["M extends TEXT"],
35-
type_string = "{ contentType: M; valueType: 'base64'; value: string }",
35+
type_string = "{ contentType: M; fileName: string; valueType: 'base64'; value: string }",
3636
linked_data_type_identifiers = ["TEXT"],
3737
}
3838

0 commit comments

Comments
 (0)