Closed rvsteen closed 4 years ago
You might want to squash those commits before we merge this onto master.
@floriansimon1 I fixed the naming. Please let me know a better way if you know one. I've tried several ways, @kevinley had a quick look as well. Curry is not an option due to optional parameters.
Looks good to me! Excellent work!
Closed because @kevinley and I did a manual merge after introducing git flow.
Initial version supporting only a few API calls. As OCS has several methods for each category (users/groups/activity etc.) I have created the method names. For Example, Users will (eventually) have: list, get, enable/disable, delete, add. Alternatively, we could create the methods as
put: (sanePath: string, content: Webdav.ContentType) => Promise<void>;
get: (sanePath: string) => Promise<string>;
users: { get => Promise; list => Promise; delete => Promise; }
.Added new method getProperties to get the properties of a Folder (though it can be used for files as well).