Skip to main content

extended

frappe-js-client/extended — higher-level, more application-specific modules: permission, workflow, report, desk, and site. Kept out of the root entry point so a CRUD-only consumer does not pay for this code.

Example

import { createFrappeClient } from 'frappe-js-client'
import { withExtended } from 'frappe-js-client/extended'

const frappe = withExtended(createFrappeClient({ url: 'https://frappe.example.com' }))
await frappe.workflow.apply(doc, 'Approve')

Interfaces

Type Aliases

Functions