mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 16:23:06 +10:00
Implementation of a universal upload allowing for multiple storage backends starting with `database` and `s3`. Allows clients to put and retrieve files from either client or server using a blend of client and server actions.
6 lines
159 B
TypeScript
6 lines
159 B
TypeScript
import { customAlphabet } from 'nanoid';
|
|
|
|
export const alphaid = customAlphabet('0123456789abcdefghijklmnopqrstuvwxyz', 10);
|
|
|
|
export { nanoid } from 'nanoid';
|