@usine/config/instance-folder
Classes
Section titled “Classes”InstanceFolder
Section titled “InstanceFolder”Loads an instance folder; an invalid usine.yaml fails the load, an invalid loop is quarantined and its siblings still load.
Extends
Section titled “Extends”Context.ServiceClass
Properties
Section titled “Properties”Service
Section titled “Service”
readonlyService:object
The service’s operations: what yield* InstanceFolder returns.
readonlyload: (root) =>Effect.Effect<LoadedInstance,FactoryConfigError>
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
root |
InstanceDirectory |
Returns
Section titled “Returns”Effect.Effect<LoadedInstance, FactoryConfigError>
readonlystaticlayer:Layer<InstanceFolder,never,ConfigParser|FileSystem|Path>