Skip to content

Commit

Permalink
fix: add granular read ops enum
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronZyLee committed Feb 7, 2023
1 parent a28960c commit 7819ffc
Showing 1 changed file with 27 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,32 @@ public enum ModelOperation {
DELETE,

/**
* Relates to API queries (`get` and `list` operations).
* Relates to API queries (all read operations).
*/
READ
READ,

/**
* Relates to `get` API query.
*/
GET,

/**
* Relates to `list` API query.
*/
LIST,

/**
* Relates to `sync` API query.
*/
SYNC,

/**
* Relates to `subscribe` API query.
*/
LISTEN,

/**
* Relates to `search` API query.
*/
SEARCH
}

0 comments on commit 7819ffc

Please sign in to comment.