mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-27 12:27:29 -07:00
14148f6c4a
Resolve #7779
14 lines
358 B
TypeScript
14 lines
358 B
TypeScript
|
|
// If you change DB_* values, you must also change the DB schema.
|
|
|
|
/**
|
|
* Maximum note text length that can be stored in DB.
|
|
* Surrogate pairs count as one
|
|
*/
|
|
export const DB_MAX_NOTE_TEXT_LENGTH = 8192;
|
|
|
|
/**
|
|
* Maximum image description length that can be stored in DB.
|
|
* Surrogate pairs count as one
|
|
*/
|
|
export const DB_MAX_IMAGE_COMMENT_LENGTH = 512;
|