brainy/src/transaction/operations/index.ts

33 lines
789 B
TypeScript
Raw Normal View History

/**
* Transaction Operations
*
* Re-exports all transactional operations for storage and indexes.
* These operations provide atomicity with rollback support.
*
* @module transaction/operations
*/
// Storage Operations
export {
SaveNounMetadataOperation,
SaveNounOperation,
DeleteNounMetadataOperation,
SaveVerbMetadataOperation,
SaveVerbOperation,
DeleteVerbMetadataOperation,
UpdateNounMetadataOperation,
UpdateVerbMetadataOperation
} from './StorageOperations.js'
// Index Operations
export {
AddToHNSWOperation,
RemoveFromHNSWOperation,
AddToMetadataIndexOperation,
RemoveFromMetadataIndexOperation,
AddToGraphIndexOperation,
RemoveFromGraphIndexOperation,
BatchAddToHNSWOperation,
BatchAddToMetadataIndexOperation
} from './IndexOperations.js'