aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-02 11:24:16 +0900
committernsfisis <nsfisis@gmail.com>2026-05-02 11:24:16 +0900
commitd9b78a9fa440d84c6cd0c1f2a6ebb43df895ccdf (patch)
treeb7a287338bfbebf9082f800faeab6bd93b195cb3 /.github/workflows
parent7ca9941982a7d7a4c126d215770ce71ad2f7f427 (diff)
downloadkioku-d9b78a9fa440d84c6cd0c1f2a6ebb43df895ccdf.tar.gz
kioku-d9b78a9fa440d84c6cd0c1f2a6ebb43df895ccdf.tar.zst
kioku-d9b78a9fa440d84c6cd0c1f2a6ebb43df895ccdf.zip
refactor(notes): extract card generation into shared module
Pull pure card-generation logic (template rendering and the initial FSRS state for new cards) out of the server note repository into src/shared/card-generator.ts so both server and client can call it. The server's note.create / createMany now delegate the rendering work to the shared function and only insert the resulting payload, preserving the existing behavior. Groundwork for offline-first note CRUD on the client. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions