@@ -40,6 +40,8 @@ const setPrioritySchema = schema.maybe(
4040
4141const unfollowSchema = schema . maybe ( schema . object ( { } ) ) ; // Unfollow has no options
4242
43+ const migrateSchema = schema . maybe ( schema . object ( { enabled : schema . literal ( false ) } ) ) ;
44+
4345const allocateNodeSchema = schema . maybe ( schema . recordOf ( schema . string ( ) , schema . string ( ) ) ) ;
4446const allocateSchema = schema . maybe (
4547 schema . object ( {
@@ -76,6 +78,7 @@ const warmPhaseSchema = schema.maybe(
7678 schema . object ( {
7779 min_age : minAgeSchema ,
7880 actions : schema . object ( {
81+ migrate : migrateSchema ,
7982 set_priority : setPrioritySchema ,
8083 unfollow : unfollowSchema ,
8184 readonly : schema . maybe ( schema . object ( { } ) ) , // Readonly has no options
@@ -94,6 +97,7 @@ const coldPhaseSchema = schema.maybe(
9497 schema . object ( {
9598 min_age : minAgeSchema ,
9699 actions : schema . object ( {
100+ migrate : migrateSchema ,
97101 set_priority : setPrioritySchema ,
98102 unfollow : unfollowSchema ,
99103 allocate : allocateSchema ,
@@ -111,6 +115,7 @@ const frozenPhaseSchema = schema.maybe(
111115 schema . object ( {
112116 min_age : minAgeSchema ,
113117 actions : schema . object ( {
118+ migrate : migrateSchema ,
114119 set_priority : setPrioritySchema ,
115120 unfollow : unfollowSchema ,
116121 allocate : allocateSchema ,
0 commit comments