mirror of
https://github.com/frappe/books.git
synced 2024-11-10 15:50:56 +00:00
20 lines
574 B
JavaScript
20 lines
574 B
JavaScript
const utils = require('../utils');
|
|
const models = require('../model/models');
|
|
const model = require('../model');
|
|
const _document = require('../model/document');
|
|
const meta = require('../model/meta');
|
|
const _session = require('../session');
|
|
const errors = require('./errors');
|
|
|
|
|
|
module.exports = {
|
|
init_libs(frappe) {
|
|
Object.assign(frappe, utils);
|
|
frappe.model = model;
|
|
frappe.models = new models.Models();
|
|
frappe.document = _document;
|
|
frappe.meta = meta;
|
|
frappe._session = _session;
|
|
frappe.errors = errors;
|
|
}
|
|
} |