File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ const client = await setup({
100100 }
101101 }),
102102 // Return a mapping of user roles and abilities.
103- // This function is paramaterised with a list of all CRUD abilities that have been
103+ // This function is parameterised with a list of all CRUD abilities that have been
104104 // automatically generated by Yates, as well as any customAbilities that have been defined.
105105 getRoles : (abilities ) => {
106106 return {
Original file line number Diff line number Diff line change @@ -796,7 +796,7 @@ export interface SetupParams<
796796 customAbilities ?: K ;
797797 /**
798798 * A function that returns the roles for your application.
799- * This is paramaterised by the abilities, so you can use it to create roles that are a combination of abilities.
799+ * This is parameterised by the abilities, so you can use it to create roles that are a combination of abilities.
800800 */
801801 getRoles : ( abilities : DefaultAbilities < ContextKeys , YModels > & K ) => {
802802 [ role : string ] : AllAbilities < ContextKeys , YModels > [ ] | "*" ;
You can’t perform that action at this time.
0 commit comments