@servicenow/sdk - v4.13.3
    Preparing search index...

    Type Alias DatabaseViewTables<Tables>

    DatabaseViewTables: {
        [K in keyof Tables]: Tables[K] extends {
            table: infer T extends TableName;
        }
            ? DatabaseViewTable<T>
            : Tables[K]
    }

    Narrows each entry in tables so its fields are checked against the specific table declared on that same entry, instead of the union of every table in the system. Inferring Tables as a tuple (via a const type parameter on DatabaseView) lets each array position carry its own table literal.

    Type Parameters