feat(types): extend FileSystemHandle and optimize imports for consistency
- Added `getFile` method to `FileSystemHandle` interface for enhanced TypeScript compatibility with File System Access API. - Improved maintainability by reformatting and aligning imports in `brainyData.ts`. - Standardized spacing and indentation across structured comments and interface fields. Purpose: Improve TypeScript support for file system operations and enhance code readability with consistent formatting and import management.
This commit is contained in:
parent
7cec5fb90a
commit
e1632523b4
4 changed files with 2745 additions and 2723 deletions
10
src/index.ts
10
src/index.ts
|
|
@ -83,13 +83,11 @@ export {
|
|||
import {
|
||||
OPFSStorage,
|
||||
MemoryStorage,
|
||||
createStorage
|
||||
} from './storage/opfsStorage.js'
|
||||
import { FileSystemStorage } from './storage/fileSystemStorage.js'
|
||||
import {
|
||||
FileSystemStorage,
|
||||
R2Storage,
|
||||
S3CompatibleStorage
|
||||
} from './storage/s3CompatibleStorage.js'
|
||||
S3CompatibleStorage,
|
||||
createStorage
|
||||
} from './storage/storageFactory.js'
|
||||
|
||||
export {
|
||||
OPFSStorage,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue