@thangnv-dev/mastra-nest
v0.0.9
Published
Reusable library package in this monorepo.
Readme
@thangnv-dev/mastra-nest
Reusable library package in this monorepo.
Install
npm install @thangnv-dev/mastra-nestUsage
import * as api from '@thangnv-dev/mastra-nest'Public API
This package exports the following API surface from src/index.ts:
export { MastraModule } from './mastra.module.js'
export {
InjectMastra,
InjectAgent,
InjectWorkflow,
InjectMemory,
InjectTool,
InjectVector,
InjectProcessor,
InjectScorer,
} from './decorators.js'
export {
MASTRA_TOKEN,
getAgentToken,
getWorkflowToken,
getMemoryToken,
getToolToken,
getVectorToken,
getProcessorToken,
getScorerToken,
} from './tokens.js'
export type {
Provider,
MastraFeatureProvider,
MastraTool,
MastraVector,
MastraProcessor,
MastraScorer,
MastraFeatureOptions,
MastraRootOptions,
MastraRootAsyncOptions,
} from './types.js'
Development
yarn workspace @thangnv-dev/mastra-nest build
yarn workspace @thangnv-dev/mastra-nest test