mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-03 16:06:46 +02:00
Initial commit 🍀
This commit is contained in:
8
src/api/models/drive-folder.ts
Normal file
8
src/api/models/drive-folder.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export default global.db.collection('drive_folders');
|
||||
|
||||
export function isValidFolderName(name: string): boolean {
|
||||
return (
|
||||
(name.trim().length > 0) &&
|
||||
(name.length <= 200)
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user