跳到主要内容

envelopePlaintextPatches

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

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

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>>