refactor: prepare augmentation system for 2.0 clean architecture
- Removed factory function exports from index.ts - Removed unused augmentationFactory imports - Added deprecated type definitions temporarily to maintain compilation - Created REFACTOR-2.0-AUGMENTATIONS.md documenting cleanup plan - All old types marked as @deprecated for removal before final 2.0 This is an intermediate state - full refactor documented in REFACTOR-2.0-AUGMENTATIONS.md
This commit is contained in:
parent
a0dca5651f
commit
31720de34e
4 changed files with 93 additions and 114 deletions
|
|
@ -46,31 +46,6 @@ abstract class BaseConduitAugmentation extends BaseAugmentation {
|
|||
): Promise<WebSocketConnection | null>
|
||||
}
|
||||
|
||||
/**
|
||||
* WebRTC Conduit Augmentation (placeholder for backwards compatibility)
|
||||
* @deprecated Use WebSocketConduitAugmentation instead
|
||||
*/
|
||||
export class WebRTCConduitAugmentation extends BaseConduitAugmentation {
|
||||
readonly name = 'webrtc-conduit'
|
||||
|
||||
async execute<T = any>(
|
||||
operation: string,
|
||||
params: any,
|
||||
context?: AugmentationContext
|
||||
): Promise<T | void> {
|
||||
// Placeholder - WebRTC not yet implemented
|
||||
this.log('WebRTC conduit not yet implemented, use WebSocket instead', 'warn')
|
||||
}
|
||||
|
||||
async establishConnection(
|
||||
targetSystemId: string,
|
||||
config?: Record<string, unknown>
|
||||
): Promise<WebSocketConnection | null> {
|
||||
this.log('WebRTC conduit not yet implemented, use WebSocket instead', 'warn')
|
||||
return null
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* WebSocket Conduit Augmentation
|
||||
* Syncs data between Brainy instances using WebSockets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue