mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 19:13:08 +00:00
implementation of server synchronization
This commit is contained in:
12
src/config/auto-sync-config.interface.ts
Normal file
12
src/config/auto-sync-config.interface.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { RestRequestMethod } from '../app/core/data/request.models';
|
||||
|
||||
/* enum indices */
|
||||
type TimePerMethod = {
|
||||
[method in RestRequestMethod]: number;
|
||||
};
|
||||
|
||||
export interface AutoSyncConfig {
|
||||
defaultTime: number;
|
||||
timePerMethod: TimePerMethod;
|
||||
maxBufferSize: number;
|
||||
};
|
Reference in New Issue
Block a user