Skip to content

Commit ab35f4f

Browse files
committed
fix: add back simple definition for internal typing
1 parent 10a0668 commit ab35f4f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/SchemaMigrations/Migrations.js

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
// @flow
22

3+
export interface SchemaOptions {
4+
definitions: JSONSchema[];
5+
strict: ?boolean;
6+
deleteExtraFields: ?boolean;
7+
recreateModifiedFields: ?boolean;
8+
lockSchemas: ?boolean;
9+
beforeMigration: ?() => void | Promise<void>;
10+
afterMigration: ?() => void | Promise<void>;
11+
}
12+
313
export type FieldValueType =
414
| 'String'
515
| 'Boolean'

0 commit comments

Comments
 (0)