mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
incr: remove common
- utils is frontend safe
This commit is contained in:
parent
26e030106f
commit
9424b131be
@ -1,6 +1,6 @@
|
||||
import { getMoneyMaker } from 'pesa';
|
||||
import { markRaw } from 'vue';
|
||||
import * as errors from './common/errors';
|
||||
import * as errors from './utils/errors';
|
||||
import { asyncHandler, getDuplicates, getRandomString } from './utils';
|
||||
import {
|
||||
DEFAULT_DISPLAY_PRECISION,
|
||||
|
@ -1,6 +1,6 @@
|
||||
import frappe from 'frappe';
|
||||
import { validTypes } from 'frappe/backends/helpers';
|
||||
import { ValueError } from 'frappe/common/errors';
|
||||
import { ValueError } from 'frappe/utils/errors';
|
||||
import { indicators as indicatorColor } from '../../src/colors';
|
||||
import { t } from '../utils/translation';
|
||||
import Document from './document';
|
||||
|
@ -4,7 +4,7 @@ import {
|
||||
getSnippets,
|
||||
getWhitespaceSanitized,
|
||||
} from '../../scripts/helpers';
|
||||
import { ValueError } from '../common/errors';
|
||||
import { ValueError } from './errors';
|
||||
|
||||
class TranslationString {
|
||||
constructor(...args) {
|
||||
|
@ -5,7 +5,7 @@ import {
|
||||
LinkValidationError,
|
||||
MandatoryError,
|
||||
ValidationError,
|
||||
} from 'frappe/common/errors';
|
||||
} from 'frappe/utils/errors';
|
||||
import Document from 'frappe/model/document';
|
||||
import config, { ConfigKeys, TelemetrySetting } from './config';
|
||||
import { IPC_ACTIONS, IPC_MESSAGES } from './messages';
|
||||
|
Loading…
Reference in New Issue
Block a user