mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 10:34:15 +00:00
22 lines
421 B
TypeScript
22 lines
421 B
TypeScript
import { MetadataMap } from '../../core/shared/metadata.models';
|
|
|
|
/**
|
|
* Properties to send to the REST API for uploading a bitstream
|
|
*/
|
|
export class UploaderProperties {
|
|
/**
|
|
* A custom name for the bitstream
|
|
*/
|
|
name: string;
|
|
|
|
/**
|
|
* Metadata for the bitstream (e.g. dc.description)
|
|
*/
|
|
metadata: MetadataMap;
|
|
|
|
/**
|
|
* The name of the bundle to upload the bitstream to
|
|
*/
|
|
bundleName: string;
|
|
}
|