Add study completion, checkpoints, lesson announcements, and lesson-thread defaults

This commit is contained in:
nmemmert committed 2026-06-02 12:03:29 -04:00
1 parent 33ac2fb5d0
commit b18f4e88fa
4 files changed
+362 -8

No files matched your search

+23 -1
View File
@@ -10,6 +10,9 @@ export type ColossiansStudySection = {
greekNotes: string[]
studyQuestions: string[]
focusQuestion?: string
announcement?: string
checkpointPrompt?: string
checkpointQuestions?: string[]
releasedAt?: string
}
@@ -25,8 +28,25 @@ function section(
studyQuestions: string[],
greekNotes: string[] = [],
releasedAt: string | undefined = undefined,
checkpointPrompt: string | undefined = undefined,
checkpointQuestions: string[] = [],
): ColossiansStudySection {
return { id, chapter, reference, title, audioEmbedUrl, passageText, summary, commentary, studyQuestions, greekNotes, ...(releasedAt ? { releasedAt } : {}) }
return {
id,
chapter,
reference,
title,
audioEmbedUrl,
passageText,
summary,
commentary,
studyQuestions,
greekNotes,
announcement: undefined,
checkpointPrompt,
checkpointQuestions,
...(releasedAt ? { releasedAt } : {}),
}
}
export const DEFAULT_COLOSSIANS_STUDY_SECTIONS: ColossiansStudySection[] = [
@@ -50,6 +70,8 @@ export const DEFAULT_COLOSSIANS_STUDY_SECTIONS: ColossiansStudySection[] = [
'Peace (eirene): wholeness and well-being that flows from reconciliation with God.',
],
'2026-11-09T00:00:00Z',
'What do you want to remember from this greeting as you begin the lesson?',
['Why does Paul begin with grace and peace?', 'What tone does this create for the rest of the study?'],
),
section('1-3-8', 1, '1:3-8', 'Thanksgiving and Report', '', '', 'Paul thanks God for faith, hope, and love, and reports that the gospel is bearing fruit.', 'The gospel is shown to be active and alive. Paul points to evidence of real spiritual growth, not merely religious activity.', ['What signs of gospel growth does Paul mention?', 'How do faith, hope, and love work together here?'], [], '2026-11-23T00:00:00Z'),
section('1-9-14', 1, '1:9-14', 'Paul\'s Prayer', '', '', 'Paul prays for spiritual wisdom, endurance, and a life worthy of the Lord.', 'This prayer shows that knowledge and fruitfulness belong together. Paul wants the believers to know God\'s will and walk in a way that reflects it.', ['What does Paul ask God to produce?', 'How does this prayer shape the goals of the study?'], [], '2026-12-07T00:00:00Z'),