mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
18 lines
508 B
JavaScript
18 lines
508 B
JavaScript
const utils = require('../utils');
|
|
const model = require('../model');
|
|
const BaseDocument = require('../model/document');
|
|
const BaseMeta = require('../model/meta');
|
|
const _session = require('../session');
|
|
const errors = require('./errors');
|
|
|
|
|
|
module.exports = {
|
|
init_libs(frappe) {
|
|
Object.assign(frappe, utils);
|
|
frappe.model = model;
|
|
frappe.BaseDocument = BaseDocument;
|
|
frappe.BaseMeta = BaseMeta;
|
|
frappe._session = _session;
|
|
frappe.errors = errors;
|
|
}
|
|
} |