mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-16 12:46:42 +01:00
9 lines
183 B
TypeScript
9 lines
183 B
TypeScript
|
export default global.db.collection('drive_folders');
|
||
|
|
||
|
export function isValidFolderName(name: string): boolean {
|
||
|
return (
|
||
|
(name.trim().length > 0) &&
|
||
|
(name.length <= 200)
|
||
|
);
|
||
|
}
|