mirror of
https://github.com/frappe/books.git
synced 2024-12-23 11:29:03 +00:00
20 lines
611 B
JavaScript
20 lines
611 B
JavaScript
const utils = require('../utils');
|
|
const number_format = require('../utils/number_format');
|
|
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);
|
|
Object.assign(frappe, number_format);
|
|
frappe.model = model;
|
|
frappe.BaseDocument = BaseDocument;
|
|
frappe.BaseMeta = BaseMeta;
|
|
frappe._session = _session;
|
|
frappe.errors = errors;
|
|
}
|
|
} |