mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 11:03:05 +00:00
[CST-9636] Added state transformer to file model, added tests for bulk access control service
This commit is contained in:
@@ -150,7 +150,7 @@ export class AccessControlFormContainerComponent<T extends DSpaceObject> impleme
|
||||
}
|
||||
|
||||
|
||||
const initialState = {
|
||||
const initialState: AccessControlFormState = {
|
||||
item: {
|
||||
toggleStatus: false,
|
||||
accessMode: '',
|
||||
@@ -163,6 +163,18 @@ const initialState = {
|
||||
},
|
||||
};
|
||||
|
||||
export interface AccessControlFormState {
|
||||
item: {
|
||||
toggleStatus: boolean,
|
||||
accessMode: string,
|
||||
},
|
||||
bitstream: {
|
||||
toggleStatus: boolean,
|
||||
accessMode: string,
|
||||
changesLimit: string,
|
||||
selectedBitstreams: ListableObject[],
|
||||
}
|
||||
}
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
|
Reference in New Issue
Block a user