implementation of server synchronization

This commit is contained in:
lotte
2018-09-14 09:26:30 +02:00
parent acb5f5197d
commit 17ad62c172
11 changed files with 378 additions and 48 deletions

View 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;
};