Skip to content

Commit

Permalink
add doc for bimig
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Feb 6, 2023
1 parent 70bdfb6 commit e37f874
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ export interface SavedObjectModelBidirectionalMigration<
PreviousAttributes = unknown,
NewAttributes = unknown
> {
/**
* The upward (old=>new) migration.
*/
up: SavedObjectModelMigrationFn<PreviousAttributes, NewAttributes>;
/**
* The downward (new=>old) migration.
*/
down: SavedObjectModelMigrationFn<NewAttributes, PreviousAttributes>;
}

0 comments on commit e37f874

Please sign in to comment.