跳到主要内容

RepositorySyncStatus

Defined in: rxdb-plugin-sync/src/get-repository-sync-status.ts:32

仓库同步状态

Properties​

branchId​

branchId: string;

Defined in: rxdb-plugin-sync/src/get-repository-sync-status.ts:41

分支 ID


enabled​

enabled: boolean;

Defined in: rxdb-plugin-sync/src/get-repository-sync-status.ts:51

是否启用同步


lastPulledAt​

lastPulledAt: Date | null;

Defined in: rxdb-plugin-sync/src/get-repository-sync-status.ts:66

最后一次拉取时间戳


lastPullRemoteChangeId​

lastPullRemoteChangeId: number | null;

Defined in: rxdb-plugin-sync/src/get-repository-sync-status.ts:71

最后一次拉取到的远端 changeId


lastPushedAt​

lastPushedAt: Date | null;

Defined in: rxdb-plugin-sync/src/get-repository-sync-status.ts:61

最后一次推送时间戳


lastPushedChangeId​

lastPushedChangeId: number | null;

Defined in: rxdb-plugin-sync/src/get-repository-sync-status.ts:56

最后一次推送的 changeId


pullableCount​

pullableCount: number;

Defined in: rxdb-plugin-sync/src/get-repository-sync-status.ts:81

可供拉取的变更数量


pushableCount​

pushableCount: number;

Defined in: rxdb-plugin-sync/src/get-repository-sync-status.ts:76

待推送的变更数量


repository​

repository: RepositoryIdentifier;

Defined in: rxdb-plugin-sync/src/get-repository-sync-status.ts:36

仓库标识


syncType​

syncType: SyncTypeValue;

Defined in: rxdb-plugin-sync/src/get-repository-sync-status.ts:46

同步类型