10 Commits

Author SHA1 Message Date
Jayden Seric
4d258cf0d5 Removed encoding from the File type.
It was missleading, as the encoding was only for the upload stream, not the file contents when stored.
2018-09-18 22:08:10 +10:00
Jayden Seric
af6c8d9b84 Constant capitalization tweak. 2018-09-18 22:00:42 +10:00
Jayden Seric
ac2b467719 Removed Upload scalar resolver.
It is handled by apollo-server automatically.
2018-09-18 20:31:11 +10:00
Jayden Seric
8c632e0dc7 Updated dependencies, refactored ESLint config to use eslint-config-env. 2018-06-24 14:52:36 +10:00
Samuel Horton
07f24fb414 fix(api): resolve when file is done being written to fs rather than when read stream ends 2018-03-22 16:43:38 -07:00
Jayden Seric
f2cdf0fbba Update apollo-upload-server and use native modules. 2018-01-30 04:13:55 +11:00
Jayden Seric
ee32d8ced7 Updated apollo-upload-server to v4.0.0-alpha.2.
Also updated server-side error handling accordingly.
2018-01-03 20:07:38 +11:00
Jayden Seric
5329d7002c Syntax simplification. 2017-11-20 15:32:42 +11:00
Jayden Seric
3f33fb16d8 Support latest client and server alphas.
Also:

- Update deps.
- Lock `apollo-cache-inmemory` to v1.0.0 since newer versions are buggy.
- New file naming approach for stored uploads.
- More intuitive mixed ESM/CJS module imports in the API.
2017-11-20 00:40:10 +11:00
Jayden Seric
9420391054 Using ESM instead of Webpack for the API. 2017-10-02 16:50:25 +11:00