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 136abe1 commit 9b7f4b9
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 @@ -22,7 +22,17 @@ import 'package:flutter/foundation.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 9b7f4b9

Please sign in to comment.