Function: defineSynthProfile()
defineSynthProfile(
spec):SynthProfile
Define a reusable, frozen synthetic-fixture profile.
Parameters
spec
The profile spec; name is required and non-empty.
Returns
A deep-frozen SynthProfile.
Throws
SynthError SYNTH_INVALID_PROFILE when name is missing or blank.
Example
import { defineSynthProfile } from "@cosyte/synth";
const acme = defineSynthProfile({ name: "acme-hospital", quirks: [] });