mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 03:23:07 +00:00
64387: Upload bitstream component + Edit bitstream placeholder
This commit is contained in:
21
src/app/shared/uploader/uploader-properties.model.ts
Normal file
21
src/app/shared/uploader/uploader-properties.model.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
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;
|
||||
}
|
Reference in New Issue
Block a user