## Server Testing Utils - Add TestServer, TestClient, MockRoom for unit testing - Export testing utilities from @esengine/server/testing ## Transaction Storage (BREAKING) - Simplify RedisStorage/MongoStorage to factory pattern only - Remove DI client injection option - Add lazy connection and Symbol.asyncDispose support - Add 161 unit tests with full coverage ## Pathfinding Tests - Add 150 unit tests covering all components - BinaryHeap, Heuristics, AStarPathfinder, GridMap, NavMesh, PathSmoother ## Docs - Update storage.md for new factory pattern API
37 lines
821 B
TypeScript
37 lines
821 B
TypeScript
/**
|
|
* @zh 操作模块导出
|
|
* @en Operations module exports
|
|
*/
|
|
|
|
export { BaseOperation } from './BaseOperation.js';
|
|
|
|
export {
|
|
CurrencyOperation,
|
|
createCurrencyOperation,
|
|
type CurrencyOperationType,
|
|
type CurrencyOperationData,
|
|
type CurrencyOperationResult,
|
|
type ICurrencyProvider
|
|
} from './CurrencyOperation.js';
|
|
|
|
export {
|
|
InventoryOperation,
|
|
createInventoryOperation,
|
|
type InventoryOperationType,
|
|
type InventoryOperationData,
|
|
type InventoryOperationResult,
|
|
type IInventoryProvider,
|
|
type ItemData
|
|
} from './InventoryOperation.js';
|
|
|
|
export {
|
|
TradeOperation,
|
|
createTradeOperation,
|
|
type TradeOperationData,
|
|
type TradeOperationResult,
|
|
type TradeItem,
|
|
type TradeCurrency,
|
|
type TradeParty,
|
|
type ITradeProvider
|
|
} from './TradeOperation.js';
|