// Copyright (c) Cratis. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. import type { AppendOptions } from '../eventSequences/AppendOptions.js'; import type { ReadModelScenario } from './ReadModelScenario.js'; import { ReadModelScenarioGiven } from './ReadModelScenarioGiven.js'; /** Selects the event source for events seeded into a read model scenario. */ export class ReadModelScenarioGivenBuilder { constructor(private readonly _scenario: ReadModelScenario) {} /** Creates a builder for the selected event source. */ forEventSource(id: string, options?: AppendOptions): ReadModelScenarioGiven { return new ReadModelScenarioGiven(this._scenario, id, options); } }