refactor: extract Watchable<T> base class for SDK effect wrappers

Eliminates boilerplate across 7 wrapper classes (GetContainerIp,
GetHostInfo, GetOutboundGateway, GetServiceManifest, GetSslCertificate,
GetStatus, GetSystemSmtp) by moving shared const/once/watch/onChange/
waitFor logic into an abstract Watchable<T> base class.
This commit is contained in:
Aiden McClelland
2026-03-09 15:54:02 -06:00
parent c52fcf5087
commit 76de6be7de
9 changed files with 162 additions and 720 deletions

View File

@@ -15,6 +15,7 @@ export { once } from './once'
export { asError } from './asError'
export * as Patterns from './patterns'
export * from './typeHelpers'
export { Watchable } from './Watchable'
export { GetContainerIp } from './GetContainerIp'
export { GetHostInfo } from './GetHostInfo'
export { GetOutboundGateway } from './GetOutboundGateway'