()
| 31 | return plugins.map(pluginEntityToDomain) |
| 32 | }, |
| 33 | async getPluginCount() { |
| 34 | const plugins = await ky |
| 35 | .selectFrom('plugin') |
| 36 | .select(ky.fn.count<SqliteCount>('name').as('c')) |
| 37 | .executeTakeFirstOrThrow() |
| 38 | return plugins.c |
| 39 | }, |
| 40 | async deletePlugin(name: PluginName) { |
| 41 | await ky.deleteFrom('plugin').where('name', '=', name).execute() |
| 42 | }, |
nothing calls this directly
no outgoing calls
no test coverage detected