UNPKG

bapig

Version:

Welcome to BAPIG, a powerful backend solution designed to streamline your development process. With over 40 built-in functionalities, BAPIG simplifies CRUD operations, facilitates authentication and encryption, handles communication tasks, and much more.

8 lines (7 loc) 420 B
import { controllerResponse, createFieldEncryption } from "../../types"; /** * Create document field encryption async function. * @param document Object containing schema, fieldToEncrypt, and documentData. * @returns Controller response indicating success or failure and relevant message. */ export declare function createDocumentFieldEncryption(document: createFieldEncryption): Promise<controllerResponse>;