uppy/packages/@uppy
Copilot 47879609c7
Export AssemblyInstructionsInput type from @uppy/transloadit (#6184)
The `AssemblyInstructionsInput` type from `@transloadit/types` is now
publicly exported from `@uppy/transloadit`, allowing consumers to type
their assembly parameters without importing from the external package.

## Changes

- Re-exported `AssemblyInstructionsInput` type in
`packages/@uppy/transloadit/src/index.ts`

## Usage

```typescript
import type { AssemblyInstructionsInput } from '@uppy/transloadit'

const params: AssemblyInstructionsInput = {
  steps: {
    encode: {
      robot: '/video/encode',
      use: ':original',
      preset: 'mp4',
    },
  },
}
```

The type was already imported internally and aliased as
`AssemblyParameters`. This change makes it available to plugin
consumers.

<!-- START COPILOT ORIGINAL PROMPT -->



<details>

<summary>Original prompt</summary>

> Make the AssemblyInstructionsInput type available from the
@uppy/transloadit package by re-exporting it from
packages/@uppy/transloadit/src/index.ts.
> 
> Background
> - The Transloadit plugin imports the type AssemblyInstructionsInput
from the external package @transloadit/types and aliases it as
AssemblyParameters in packages/@uppy/transloadit/src/index.ts.
> - Consumers of the @uppy/transloadit package need direct access to the
AssemblyInstructionsInput type but it is not currently exported from the
plugin package.
> 
> Change requested
> - Add a type re-export so that consumers can import
AssemblyInstructionsInput from the transloadit plugin package, e.g.
>   import type { AssemblyInstructionsInput } from '@uppy/transloadit'
> 
> Files to change
> - packages/@uppy/transloadit/src/index.ts
> - Add the following export alongside the other package exports (near
the end of the module where other exports live):
> 
> ```typescript name=packages/@uppy/transloadit/src/index.ts
url=https://github.com/transloadit/uppy/blob/main/packages/@uppy/transloadit/src/index.ts
> -export { COMPANION_URL, COMPANION_ALLOWED_HOSTS }
> +export { COMPANION_URL, COMPANION_ALLOWED_HOSTS }
> +
> +// Re-export type from @transloadit/types so callers can import it
from the plugin package.
> +export type { AssemblyInstructionsInput } from '@transloadit/types'
> ```
> 
> Notes
> - This is a purely type-only export and should be erased at compile
time; it does not add runtime code.
> - No other behavior or API surface should change.
> 
> Please create a branch, apply the change, and open a pull request with
a descriptive title and a short description of the change. Run
TypeScript build checks if available.
> 


</details>



<!-- START COPILOT CODING AGENT SUFFIX -->

*This pull request was created from Copilot chat.*
>

<!-- START COPILOT CODING AGENT TIPS -->
---

💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mifi <402547+mifi@users.noreply.github.com>
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2026-03-02 10:38:57 +08:00
..
angular build(deps): bump @angular/compiler from 19.2.17 to 19.2.18 (#6128) 2026-01-12 11:13:45 +01:00
audio build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
aws-s3 Dedupe dependencies (#6085) 2025-12-05 10:22:11 +01:00
box build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
companion upgrade aws-sdk in @uppy/companion (#6180) 2026-02-13 18:03:55 +05:30
companion-client [ci] release (#6011) 2025-10-17 20:24:52 +02:00
components [ci] release (#6166) 2026-02-03 11:08:41 +01:00
compressor build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
core build(deps): bump lodash from 4.17.21 to 4.17.23 (#6152) 2026-01-26 15:01:18 +01:00
dashboard build(deps): bump lodash from 4.17.21 to 4.17.23 (#6152) 2026-01-26 15:01:18 +01:00
drag-drop build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
drop-target [ci] release (#6060) 2025-12-02 10:09:28 +01:00
dropbox build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
facebook build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
form [ci] release (#6060) 2025-12-02 10:09:28 +01:00
golden-retriever build(deps): bump lodash from 4.17.21 to 4.17.23 (#6152) 2026-01-26 15:01:18 +01:00
google-drive build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
google-drive-picker build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
google-photos-picker build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
image-editor [ci] release (#6166) 2026-02-03 11:08:41 +01:00
image-generator build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
instagram build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
locales [ci] release (#6166) 2026-02-03 11:08:41 +01:00
onedrive build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
provider-views build(deps): bump lodash from 4.17.21 to 4.17.23 (#6152) 2026-01-26 15:01:18 +01:00
react [ci] release (#6166) 2026-02-03 11:08:41 +01:00
remote-sources [ci] release (#6060) 2025-12-02 10:09:28 +01:00
screen-capture build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
status-bar build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
store-default [ci] release (#5918) 2025-08-22 09:02:12 +02:00
svelte [ci] release (#6166) 2026-02-03 11:08:41 +01:00
thumbnail-generator [ci] release (#6060) 2025-12-02 10:09:28 +01:00
transloadit Export AssemblyInstructionsInput type from @uppy/transloadit (#6184) 2026-03-02 10:38:57 +08:00
tus [ci] release (#6166) 2026-02-03 11:08:41 +01:00
unsplash build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
url build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
utils @uppy/utils,@uppy/xhr-upload: create and use new queue (#6105) 2026-02-05 15:46:45 +01:00
vue [ci] release (#6166) 2026-02-03 11:08:41 +01:00
webcam build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
webdav build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00
xhr-upload @uppy/xhr-upload: add browser tests (#6169) 2026-02-19 15:10:17 +01:00
zoom build(deps): bump preact from 10.26.9 to 10.26.10 (#6123) 2026-01-08 12:00:59 +01:00