Merge pull request #1605 from atmire/w2p-90873_issue-1380_Standard-bundles-in-upload-bitstream

Add standard bundles in upload bitstream
This commit is contained in:
Tim Donohue
2022-04-27 14:21:13 -05:00
committed by GitHub
9 changed files with 168 additions and 37 deletions

View File

@@ -14,6 +14,7 @@ import { ServerConfig } from './server-config.interface';
import { SubmissionConfig } from './submission-config.interface';
import { ThemeConfig } from './theme.model';
import { UIServerConfig } from './ui-server-config.interface';
import { BundleConfig } from './bundle-config.interface';
export class DefaultAppConfig implements AppConfig {
production = false;
@@ -300,6 +301,11 @@ export class DefaultAppConfig implements AppConfig {
]
},
];
// The default bundles that should always be displayed when you edit or add a bundle even when no bundle has been
// added to the item yet.
bundle: BundleConfig = {
standardBundles: ['ORIGINAL', 'THUMBNAIL', 'LICENSE']
};
// Whether to enable media viewer for image and/or video Bitstreams (i.e. Bitstreams whose MIME type starts with "image" or "video").
// For images, this enables a gallery viewer where you can zoom or page through images.
// For videos, this enables embedded video streaming