You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A CASL MongoAbility whose conditions are
statically typed against your schema. can('update', 'Note', { userId }) only
accepts fields that exist on Note, and conditions use the standard CASL
mongo-query operators ($eq/$ne/$in/$nin/$gt/$gte/$lt/$lte/…).
Type Parameters
TSubjectMap
TSubjectMapextendsRecord<string, object>
The subject map, e.g. SubjectMap<Resolvers, ResolversTypes>.