@@ -333,6 +333,16 @@ message ExperimentalSchemaDiffResponse {
333333 ZedToken read_at = 2 ;
334334}
335335
336+ message ExpRelationSubjectTypeChange {
337+ ExpRelation relation = 1 ;
338+ ExpTypeReference changed_subject_type = 2 ;
339+ }
340+
341+ message ExpCaveatParameterTypeChange {
342+ ExpCaveatParameter parameter = 1 ;
343+ string previous_type = 2 ;
344+ }
345+
336346message ExpSchemaDiff {
337347 oneof diff {
338348 ExpDefinition definition_added = 1 ;
@@ -341,17 +351,18 @@ message ExpSchemaDiff {
341351 ExpRelation relation_added = 4 ;
342352 ExpRelation relation_removed = 5 ;
343353 ExpRelation relation_doc_comment_changed = 6 ;
344- ExpRelation relation_type_changed = 7 ;
345- ExpPermission permission_added = 8 ;
346- ExpPermission permission_removed = 9 ;
347- ExpPermission permission_doc_comment_changed = 10 ;
348- ExpPermission permission_expr_changed = 11 ;
349- ExpCaveat caveat_added = 12 ;
350- ExpCaveat caveat_removed = 13 ;
351- ExpCaveat caveat_doc_comment_changed = 14 ;
352- ExpCaveat caveat_expr_changed = 15 ;
353- ExpCaveatParameter caveat_parameter_added = 16 ;
354- ExpCaveatParameter caveat_parameter_removed = 17 ;
355- ExpCaveatParameter caveat_parameter_type_changed = 18 ;
354+ ExpRelationSubjectTypeChange relation_subject_type_added = 7 ;
355+ ExpRelationSubjectTypeChange relation_subject_type_removed = 8 ;
356+ ExpPermission permission_added = 9 ;
357+ ExpPermission permission_removed = 10 ;
358+ ExpPermission permission_doc_comment_changed = 11 ;
359+ ExpPermission permission_expr_changed = 12 ;
360+ ExpCaveat caveat_added = 13 ;
361+ ExpCaveat caveat_removed = 14 ;
362+ ExpCaveat caveat_doc_comment_changed = 15 ;
363+ ExpCaveat caveat_expr_changed = 16 ;
364+ ExpCaveatParameter caveat_parameter_added = 17 ;
365+ ExpCaveatParameter caveat_parameter_removed = 18 ;
366+ ExpCaveatParameterTypeChange caveat_parameter_type_changed = 19 ;
356367 }
357368}
0 commit comments