跳到主要内容

envelopePlaintextPatches

const envelopePlaintextPatches: (args) => Promise<Record<string, unknown>>;

Defined in: packages/rxdb-adapter-encrypted/dist/encrypt-patch.d.ts:14

遍历明文补丁的顶层键;对于 entity.encryptedPropertyMap 中存在的键, 将值替换为 keyring.encrypt 生成的信封字符串。未加密的键直接复制。

Parameters​

ParameterType
argsPatchWalkArgs

Returns​

Promise<Record<string, unknown>>