Preparing search index...
    Draft: Omit<T, "id">

    Draft variant of a persisted DB element: the same shape without the database-assigned id.

    Represents a record built in memory but not yet inserted. The database assigns id on insert, producing the full persisted type. Use this for insert inputs so that persisted reads keep a guaranteed, non-optional id.

    Type Parameters

    • T extends { id: number }

      A persisted element type whose id is a required number