// Copyright (c) Cratis. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. import { IEventMigrationBuilder } from './IEventMigrationBuilder.js'; /** * Defines an event type migration. */ export interface IEventTypeMigration { /** * Define the upcast migration. * @param builder - The migration builder to use. */ upcast(builder: IEventMigrationBuilder): void; /** * Define the downcast migration. * @param builder - The migration builder to use. */ downcast(builder: IEventMigrationBuilder): void; }