Skip to content
Merged
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
5 changes: 3 additions & 2 deletions docs/src/api/params.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,16 @@ Defaults to `left`.

## input-files
- `files` <[path]|[Array]<[path]>|[Object]|[Array]<[Object]>>
- alias-csharp: FilePayload
- alias-java: FilePayload
- alias: FilePayload
- `name` <[string]> File name
- `mimeType` <[string]> File type
- `buffer` <[Buffer]> File content

## drop-payload
- `payload` <[Object]>
- alias: DropPayload
- `files` ?<[path]|[Array]<[path]>|[Object]|[Array]<[Object]>>
- alias: FilePayload

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we can use the same alias in multiple places, we rather need mixins to avoid issues.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would be a bigger refactoring unrelated to this roll as we already have this logic in other places too

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not let this logic in if I was reviewing it, let's use this as an opportunity to fix it. Should be a 1 min job

- `name` <[string]> File name
- `mimeType` <[string]> File type
- `buffer` <[Buffer]> File content
Expand Down
Loading