RevTurbineConfigProvider
Provider abstraction for Playbook access inside the SDK.
Local mode typically uses a static provider backed by localRuntime.playbook (or its deprecated exportedConfig alias).
Other modes can provide custom or REST-backed resolvers via refresh().
Implement getPlaybook() — getExportedConfig() is the deprecated
spelling of the same accessor, kept so an already-shipped implementation
keeps compiling. Both are optional on this interface so that neither
spelling breaks an existing implements clause; the
RevTurbineInitOptions.configProvider option intersects this with a
union that still requires exactly one of them, so a provider supplying
neither remains a compile error at the call site it is passed to.
Methods
Section titled “Methods”getExportedConfig()?
Section titled “getExportedConfig()?”
optionalgetExportedConfig():ConfigArtifact|undefined
Returns
Section titled “Returns”ConfigArtifact | undefined
getPlaybook()?
Section titled “getPlaybook()?”
optionalgetPlaybook():ConfigArtifact|undefined
Return the latest available Playbook snapshot.
Returns
Section titled “Returns”ConfigArtifact | undefined
refresh()?
Section titled “refresh()?”
optionalrefresh():Promise<ConfigArtifact|undefined>
Optionally refresh the snapshot (for example, from a REST API).
Returns
Section titled “Returns”Promise<ConfigArtifact | undefined>