Skip to content

Commit

Permalink
fix: add back simple definition for internal typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Moumouls committed Apr 3, 2022
1 parent 10a0668 commit ab35f4f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/SchemaMigrations/Migrations.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
// @flow

export interface SchemaOptions {
definitions: JSONSchema[];
strict: ?boolean;
deleteExtraFields: ?boolean;
recreateModifiedFields: ?boolean;
lockSchemas: ?boolean;
beforeMigration: ?() => void | Promise<void>;
afterMigration: ?() => void | Promise<void>;
}

export type FieldValueType =
| 'String'
| 'Boolean'
Expand Down

0 comments on commit ab35f4f

Please sign in to comment.