Files
weiguang-jewelry-ledger/新账系统/web/src/shared/index.ts
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
794 B
TypeScript
Raw Normal View History

// 共用计算模块的唯一入口:与旧界面、服务端读取同一份源文件(../public/*.js),不复制业务算法。
import LedgerCalc from '@public/calculations.js';
import CreditCardFees from '@public/credit-card-fees.js';
import FeeEstimates from '@public/fee-estimates.js';
import OrderFormula from '@public/order-formula.js';
import OrderTemplates from '@public/order-templates.js';
import OrderCopy from '@public/order-copy.js';
import OrderEntryModel from '@public/order-entry-model.js';
export const Calc = LedgerCalc;
export const Cards = CreditCardFees;
export const Fees = FeeEstimates;
export const Formula = OrderFormula;
export const Templates = OrderTemplates;
export const Copy = OrderCopy;
export const Model = OrderEntryModel;
export type * from './types';