Files
dspace-angular/src/app/shared/uploader/uploader-properties.model.ts
2019-08-16 13:35:04 +02:00

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;
}