(password: string = faker.internet.password())
| 32 | } |
| 33 | |
| 34 | export function createPassword(password: string = faker.internet.password()) { |
| 35 | return { |
| 36 | hash: bcrypt.hashSync(password, 10), |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | let noteImages: Array<Awaited<ReturnType<typeof img>>> | undefined |
| 41 | export async function getNoteImages() { |