@lubusin/wp-frappe-data-store / ResourceFieldDefinition
Type Alias: ResourceFieldDefinition
ResourceFieldDefinition =
object
Defined in: src/types.ts:15
Normalized metadata definition for a single field within a Frappe DocType.
Properties
description?
optionaldescription?:string
Defined in: src/types.ts:18
id
id:
string
Defined in: src/types.ts:16
label
label:
string
Defined in: src/types.ts:17
options?
optionaloptions?:string[]
Defined in: src/types.ts:28
placeholder?
optionalplaceholder?:string
Defined in: src/types.ts:19
readOnly?
optionalreadOnly?:boolean
Defined in: src/types.ts:30
required?
optionalrequired?:boolean
Defined in: src/types.ts:29
type?
optionaltype?:"text"|"textarea"|"select"|"checkbox"|"date"|"datetime"|"number"
Defined in: src/types.ts:20