Prayer journal: pinning, waiting/partial status, import, dashboard card
Build and Push Docker Image / build-and-push (push) Successful in 5m14s
Build and Push Docker Image / build-and-push (push) Successful in 5m14s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6d647e8d8a
commit
1cf157be64
10 files changed
+365
-22
No files matched your search
@@ -28,6 +28,9 @@ export function cleanPrayer(raw, now = Date.now()) {
|
||||
createdAt: time(raw.createdAt, updatedAt), updatedAt,
|
||||
answeredAt: Number.isFinite(raw.answeredAt) && raw.answeredAt > 0 ? raw.answeredAt : null,
|
||||
answerNote: text(raw.answerNote, 1000).trim(),
|
||||
status: raw.status === 'waiting' || raw.status === 'partial' ? raw.status : '',
|
||||
pinned: raw.pinned === true,
|
||||
rank: int(raw.rank, 0, 100_000) ? raw.rank : null,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user