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 authored and HuiSF committed May 3, 2023
1 parent 460b5dc commit 601de95
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/amplify_core/lib/src/types/models/auth_rule.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,17 @@ import 'package:meta/meta.dart';

enum AuthStrategy { OWNER, GROUPS, PRIVATE, PUBLIC }

enum ModelOperation { CREATE, UPDATE, DELETE, READ }
enum ModelOperation {
CREATE,
UPDATE,
DELETE,
READ,
GET,
LIST,
SYNC,
LISTEN,
SEARCH
}

enum AuthRuleProvider { APIKEY, OIDC, IAM, USERPOOLS, FUNCTION }

Expand Down

0 comments on commit 601de95

Please sign in to comment.