Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions packages/skyflow-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3723,9 +3723,6 @@ const options = {
const fileElement = container.create(fileElementInput, options);
```

The vault API defaults `returnFileMetadata` to `false`; the SDK defaults it to `true` to keep the existing render response. Set it to `false` to omit `fileMetadata` from the response, in which case zip detection relies on the file name alone.


An example of a inputStyles object:

```javascript
Expand Down Expand Up @@ -4358,9 +4355,6 @@ const options = {
const fileElement = container.create(fileElementInput, options);
```

The vault API defaults `returnFileMetadata` to `false`; the SDK defaults it to `true` to keep the existing render response. Set it to `false` to omit `fileMetadata` from the response, in which case zip detection relies on the file name alone.


An example of a inputStyles object:

```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ <h3>Collect Composable Elements</h3>
blockEmptyFiles: true, // default is false, if set to true, it will block empty files
maxFileSize: 1000000, // default is 32000000 (32MB), if set, it will block files greater than the specified size
maxFileCount: 3, // default is 5, if set, it will block if the number of files exceeds the specified number
returnFileMetadata: false
}

const fileElement = collectContainer.create({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ <h3>Collect Elements</h3>
const options = {
allowedFileType: ["<allowedFileType1>", "<allowedFileType2>"],
blockEmptyFiles: true, // default is false, if set to true, it will block empty files
returnFileMetadata: false,
}

const fileElement = collectContainer.create({
Expand Down
Loading