Sanity Library Reference Docs
    Preparing search index...

    One row of a todoList-sugar array entry, as the desugared of persists it. The sugar guarantees the COLUMNS in the schema, not values per row — field validation wraps every declared column in optional, so a status-less row is valid lake data. _key + label identify a row; status / assignee / dueDate are per-row optional. Rows are lake data any client can write — read them through isTodoListItem, never a cast.

    interface TodoListItem {
        _key: string;
        assignee?: Assignee[];
        dueDate?: string | null;
        label: string;
        status?: string | null;
    }
    Index

    Properties

    _key: string
    assignee?: Assignee[]

    Singular assignment slot: any number of routing roles and at most one user.

    dueDate?: string | null
    label: string
    status?: string | null