Created
May 15, 2018 06:15
-
-
Save JakeDawkins/59e27bea360ff69c05e1453b4ba10a0e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const User = { | |
| getAll: () => { /* fetching/transform logic for all users */ }, | |
| getById: (id) => { /* fetching/transform logic for a single user */ }, | |
| getByGroupId: (id) => { /* fetching/transform logic for a group of users */ }, | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment