Μετάβαση στο περιεχόμενο

updatableFieldsOf

Αυτό το περιεχόμενο δεν είναι ακόμη διαθέσιμο στη γλώσσα σου.

updatableFieldsOf(schema): readonly string[]

Defined in: packages/pipeline-zod/src/updatable.ts:84

Lists the fields of an object schema marked with updatable, in shape order.

Only the top-level object is read, also through a top-level .transform() or .pipe(): a mark inside a nested object, an array or a union is not listed. Any other schema has no updatable fields.

ZodType

A command schema, usually a z.object().

readonly string[]

The marked field names, frozen.