(
c: RouteContext,
adapter: StudioApiAdapter,
opts?: { mustExist?: boolean },
)
| 137 | } |
| 138 | |
| 139 | function resolveProjectFile( |
| 140 | c: RouteContext, |
| 141 | adapter: StudioApiAdapter, |
| 142 | opts?: { mustExist?: boolean }, |
| 143 | ) { |
| 144 | return resolveProjectPath(c, adapter, (id) => `/projects/${id}/files/`, opts); |
| 145 | } |
| 146 | |
| 147 | function resolveFileMutationContext(c: RouteContext, adapter: StudioApiAdapter, operation: string) { |
| 148 | return resolveProjectPath(c, adapter, (id) => `/projects/${id}/file-mutations/${operation}/`); |
no test coverage detected