Interface RenameFieldOperation<Schema>

An operation to rename fields in the UDT.

Example

{
rename: {
fields: {
street: 'streetAddress',
zip: 'postalCode',
},
},
}
interface RenameFieldOperation<Schema> {
    fields: Partial<Record<keyof Schema & string, string>>;
}

Type Parameters

Properties

Properties

fields: Partial<Record<keyof Schema & string, string>>

The fields to rename in the UDT, mapping from old field name to new field name.