mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-11 12:03:03 +00:00
Fix circular dependency
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
import {ListableObject} from '../object-collection/shared/listable-object.model';
|
||||
|
||||
export const accessControlInitialFormState: AccessControlFormState = {
|
||||
item: {
|
||||
toggleStatus: false,
|
||||
accessMode: 'replace',
|
||||
},
|
||||
bitstream: {
|
||||
toggleStatus: false,
|
||||
accessMode: 'replace',
|
||||
changesLimit: 'all', // 'all' | 'selected'
|
||||
selectedBitstreams: [] as ListableObject[],
|
||||
},
|
||||
};
|
||||
|
||||
export interface AccessControlFormState {
|
||||
item: {
|
||||
toggleStatus: boolean,
|
||||
accessMode: 'add' | 'replace',
|
||||
},
|
||||
bitstream: {
|
||||
toggleStatus: boolean,
|
||||
accessMode: 'add' | 'replace',
|
||||
changesLimit: string,
|
||||
selectedBitstreams: ListableObject[],
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user