Skip to main content

Type Alias: FrappeDoc<T>

FrappeDoc<T> = Omit<T, FrappeDocMetaKeys> & object

Defined in: packages/client/src/core/types.ts:52

Base interface for all Frappe documents. Extra API keys exist at runtime but are not typed.

Type Declaration​

creation​

creation: string

docstatus​

docstatus: 0 | 1 | 2

doctype​

doctype: string

idx​

idx: number

modified​

modified: string

modified_by​

modified_by: string

name​

name: string

owner​

owner: string

parent?​

optional parent?: string

parentfield?​

optional parentfield?: string

parenttype?​

optional parenttype?: string

Type Parameters​

T​

T