跳到主要内容

envelopePlaintextPatches()

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

Defined in: packages/rxdb-adapter-encrypted/src/encrypt-patch.ts:23

Walk top-level keys of a plaintext patch; for each key present in entity.encryptedPropertyMap, replace the value with an envelope string produced by keyring.encrypt. Non-encrypted keys are copied through.

Parameters

ParameterType
argsPatchWalkArgs

Returns

Promise<Record<string, unknown>>