@pai/files
FileProvider contract. Apps pick Mongo GridFS or in-memory.
FileProvider stores immutable attachment bytes. You do not implement this unless you are writing an adapter.
| Callable | When |
|---|---|
createMongoFileProvider() | Production |
createInMemoryFileProvider() | Tests, first app |
Pass as createPai({ files }). Upload first, then send — Files.