react-native-sdk
react-native-sdk copied to clipboard
Use of Ignores API not consistent with JS lib or CLI
Noticed there is an ignores.add method here. It's not consistent.
Seems like a nice helper, we could add it in the other clients as well
Or maybe we leave it here for now, but add the standard ignores paths too?
Noticed @carsonfarmer did similar for Textile.messages(threadId) and Textile.likes(threadId) which are actually part of the Threads endpoint, /threads/:id/messages but seem like helpful organization in the client. I'll go see about adding a set of Textile.invites methods
Nevermind! carson did that too
what'll this guy think of next...
i take it back. that was Textile.invites. but just went to add a Textile.ignores and it gets confusing when you have different ignore types, ignore block, ignore invite, remove file maybe. I'd say we should add the blocks methods to the mobile clients and move ignores to there.