updatableFieldsOf
Αυτό το περιεχόμενο δεν είναι ακόμη διαθέσιμο στη γλώσσα σου.
updatableFieldsOf(
schema): readonlystring[]
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.
Parameters
Section titled “Parameters”schema
Section titled “schema”ZodType
A command schema, usually a z.object().
Returns
Section titled “Returns”readonly string[]
The marked field names, frozen.