next/lib/server/dbHelpers
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 66d6168a31
refactor(server/utils): add transformer for regular chapter objects
this transforms a story object into a slightly different object to be served by the api. notable differences are the `totalChapters` field and the removal of the `chapters` array. `chapters` is then replaced by a `currentChapter` object, representing the currently "selected" chapter, with an added `text` field
2023-10-03 00:46:57 -04:00
..
chapterTransformer.ts refactor(server/utils): add transformer for regular chapter objects 2023-10-03 00:46:57 -04:00
listQuerier.ts refactor(server/utils): move listQuerier to separate database helper folder 2023-10-03 00:30:22 -04:00