import { Db } from 'mongodb' ; import { nanoid } from 'nanoid' ; export const getOneDoc = async ( db , id ) => { } ; export const getDocsByFolder = async ( db , folderId ) => { } ; export const createDoc = async ( db , doc ) => { } ; export const updateOne = async ( db , id , updates ) => { } ;