Entracte (TypeScript)
    Preparing search index...

    Type Alias ChoresState

    type ChoresState = {
        date: string;
        ever_used_chores: boolean;
        items: string[];
        prompted_date: string;
        rotation: number;
    }
    Index

    Properties

    date: string
    ever_used_chores: boolean

    Backend-internal: whether the user has ever saved a non-empty list, so the morning prompt only nudges people who actually use chores. On the wire but unused by the UI.

    items: string[]
    prompted_date: string

    Backend-internal: the day the morning prompt last fired. On the wire (get_chores returns the full state) but unused by the UI.

    rotation: number