Closed doubleface closed 5 years ago
@nono I did the fixes after your comments. Are you ok now ?
@edas @nono @y-lohse I removed the use of querystring which is a node internal module and I saw that cozy-drive uses cozy-client-js for some features.
I tested it with a connector in 'int' environment an I can see the metadata in io.cozy.files.
Also, shouldn't we put /dist in gitignore ?
@edas I was not part of this decision to keep the dist directory in git. But since now travis builds this directory itself before publishing, I suppose we could remove it. But this should not be part of this PR.
This follows api defined in https://github.com/cozy/cozy-stack/pull/1929. Metadata is created in io.cozy.files.metadata, and metadata id is referenced in file creation options.