@ -4,7 +4,7 @@ CREATE VIEW program_sequences AS
WITH psi_sorted AS (
SELECT psi.program_id program_id,
json_object(
'section_id', psi.section_id,
'sectionId', psi.section_id,
'duration', psi.duration)
obj
FROM program_sequence_items AS psi
@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize};
use std::{sync::Arc, time::Duration};
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ProgramItem {
pub section_id: SectionId,
#[serde(