跳到主要内容

GetAllRepositorySyncStatusFilter

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

getAllRepositorySyncStatus 的过滤选项

Properties​

enabled?​

optional enabled?: boolean;

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

按启用状态过滤 如果为 true,则仅返回启用的仓库 如果为 false,则仅返回禁用的仓库 如果为 undefined,则返回全部


hasPendingChanges?​

optional hasPendingChanges?: boolean;

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

按待处理变更过滤 如果为 true,则仅返回 pushableCount > 0 或 pullableCount > 0 的仓库 如果为 false,则仅返回没有待处理变更的仓库 如果为 undefined,则返回全部


syncType?​

optional syncType?: SyncTypeValue[];

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

按同步类型过滤 如果提供,则仅返回这些同步类型的仓库