export const StepFunctionRegistryLayer = StepFunctionRegistry.Live;
const standaloneServicesLayer = Layer.mergeAll(
JobStore.Memory,
CursorStore.Memory,
JobMessageQueue.Memory,
StepFunctionRegistryLayer,
);
const JobGeneratorLayer = Layer.provide(
JobGenerator.Live,
standaloneServicesLayer,
);
export const JobServiceLayer = Layer.provide(
JobService.Memory,
Layer.merge(JobGeneratorLayer, standaloneServicesLayer),
);
export const StepFunctionRegistryLayer = StepFunctionRegistry.Live;
const standaloneServicesLayer = Layer.mergeAll(
JobStore.Memory,
CursorStore.Memory,
JobMessageQueue.Memory,
StepFunctionRegistryLayer,
);
const JobGeneratorLayer = Layer.provide(
JobGenerator.Live,
standaloneServicesLayer,
);
export const JobServiceLayer = Layer.provide(
JobService.Memory,
Layer.merge(JobGeneratorLayer, standaloneServicesLayer),
);