mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
18 lines
464 B
JavaScript
18 lines
464 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');
|
||
|
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
}
|