2018-01-08 18:00:14 +05:30
|
|
|
const utils = require('../utils');
|
2018-02-14 18:20:56 +05:30
|
|
|
const format = require('../utils/format');
|
2018-01-15 17:25:31 +05:30
|
|
|
const errors = require('./errors');
|
2018-02-16 18:43:46 +05:30
|
|
|
const BaseDocument = require('frappejs/model/document');
|
|
|
|
const BaseMeta = require('frappejs/model/meta');
|
2018-01-08 18:00:14 +05:30
|
|
|
|
|
|
|
module.exports = {
|
2021-12-31 13:40:17 +05:30
|
|
|
initLibs(frappe) {
|
|
|
|
Object.assign(frappe, utils);
|
|
|
|
Object.assign(frappe, format);
|
|
|
|
frappe.errors = errors;
|
|
|
|
frappe.BaseDocument = BaseDocument;
|
|
|
|
frappe.BaseMeta = BaseMeta;
|
|
|
|
},
|
|
|
|
};
|