RecipeInterface
RecipeInterface: { getDashboardBundleLocation: any; shouldAllowAccess: any }
Type declaration
getDashboardBundleLocation:function
- getDashboardBundleLocation(input: { userContext: UserContext }): Promise<string>
Parameters
input: { userContext: UserContext }
Returns Promise<string>
shouldAllowAccess:function
- shouldAllowAccess(input: { config: TypeNormalisedInput; req: BaseRequest; userContext: UserContext }): Promise<boolean>
Parameters
input: { config: TypeNormalisedInput; req: BaseRequest; userContext: UserContext }
config: TypeNormalisedInput
userContext: UserContext
Returns Promise<boolean>