跳到主要内容

WorkingTreeCaptureMountPoint

Defined in: packages/rxdb/src/capture/capture-mount-points.ts:58

一条必须挂载工作树捕获的写原语。

Remarks​

method 窄到 keyof RawWritePrimitives:登记一个不存在的原语、或原语改名后忘了改这里, 都是编译错误而不是一条静默失配的规则。

Extends​

Properties​

host​

readonly host: string;

Defined in: packages/rxdb/src/capture/capture-mount-points.ts:39

声明该方法的抽象基类名

Inherited from​

WorkingTreeWritePrimitiveSignature.host


method​

readonly method: keyof RawWritePrimitives;

Defined in: packages/rxdb/src/capture/capture-mount-points.ts:63

这一行挂的是哪个写原语

Overrides​

WorkingTreeWritePrimitiveSignature.method


ordinal​

readonly ordinal: WorkingTreeCaptureMountPointOrdinal;

Defined in: packages/rxdb/src/capture/capture-mount-points.ts:60

对应契约 §1 表格的第几行


parameters​

readonly parameters: readonly string[];

Defined in: packages/rxdb/src/capture/capture-mount-points.ts:45

形参名,按声明顺序;可选标记与类型不参与

Inherited from​

WorkingTreeWritePrimitiveSignature.parameters


why​

readonly why: string;

Defined in: packages/rxdb/src/capture/capture-mount-points.ts:66

为什么必须挂——注册表本身要能当文档读