Skip to content

Commit

Permalink
feat(core): add granular model read operations (aws-amplify#2611)
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronZyLee authored and Stivenmore committed Jun 9, 2023
1 parent a0a56a8 commit e6978ed
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 e6978ed

Please sign in to comment.