basalt / drives/src / DriveSinkInput
Interface: DriveSinkInput
Defined in: drives/src/import.ts:42
What a sink is handed.
Properties
connection
> connection: DriveConnectionView
Defined in: drives/src/import.ts:43
content?
> optional content?: object
Defined in: drives/src/import.ts:51
The bytes — present only under the copy strategy.
Under reference this is absent and nothing was downloaded: that is the whole point of the strategy, so no egress is paid and no copy exists.
contentType?
> optional contentType?: string
size?
> optional size?: number
stream
> stream: Readable
item
> item: DriveItem
Defined in: drives/src/import.ts:44
strategy
> strategy: DriveImportStrategy
Defined in: drives/src/import.ts:54
version
> version: string
Defined in: drives/src/import.ts:53
The content version this import represents; store it if you want your own provenance.