(ctx: TRPCContext)
| 23 | |
| 24 | // No-op method for protected routes that really should be accessible to anyone. |
| 25 | export const requireNothing = (ctx: TRPCContext) => { |
| 26 | ctx.markAccessControlRun(); |
| 27 | }; |
| 28 | |
| 29 | export const requireCanViewProject = async (projectId: string, ctx: TRPCContext) => { |
| 30 | ctx.markAccessControlRun(); |
no outgoing calls
no test coverage detected