chore: generate

This commit is contained in:
opencode-agent[bot]
2026-04-17 00:50:44 +00:00
parent 51d8219c46
commit 266fb93422
4 changed files with 7 additions and 27 deletions
+1 -6
View File
@@ -61,12 +61,7 @@ export const layer = Layer.effect(
const get = Effect.fn("Todo.get")(function* (sessionID: SessionID) {
const rows = yield* Effect.sync(() =>
Database.use((db) =>
db
.select()
.from(TodoTable)
.where(eq(TodoTable.session_id, sessionID))
.orderBy(asc(TodoTable.position))
.all(),
db.select().from(TodoTable).where(eq(TodoTable.session_id, sessionID)).orderBy(asc(TodoTable.position)).all(),
),
)
return rows.map((row) => ({