(toolkitId: string)
| 304 | ); |
| 305 | |
| 306 | const requireToolkit = (toolkitId: string) => |
| 307 | getEntry(toolkitId).pipe( |
| 308 | Effect.flatMap((entry) => (entry ? Effect.succeed(entry) : fail("Toolkit not found."))), |
| 309 | ); |
| 310 | |
| 311 | const assertSlugAvailable = (slug: string, ignoreToolkitId?: string) => |
| 312 | storage.toolkits.query({ where: { slug } }).pipe( |
no test coverage detected