// The plugin's config service — the kit's ConfigService over the contract schema. // Raw round-trip by construction: the file on disk is always the authored shape. import { type ConfigService, makeConfigService, type PluginInfo, } from "@punktfunk/plugin-kit"; import { RomConfigSchema } from "@rom-manager/contract"; import { Context, Layer } from "effect"; export class RomConfig extends Context.Service< RomConfig, ConfigService >()("rom-manager/RomConfig") { static readonly layer: Layer.Layer = Layer.effect(RomConfig)(makeConfigService({ schema: RomConfigSchema })); }