|
typeSpacingRules := map[reflect.Type]spacingRule{ |
|
reflect.TypeOf(&Config{}): {gapWithinType: false}, |
|
reflect.TypeOf(&Secret{}): {gapWithinType: false, skipGapAfterTypes: []reflect.Type{reflect.TypeOf(&Config{})}}, |
|
reflect.TypeOf(&Database{}): {gapWithinType: false}, |
|
reflect.TypeOf(&Topic{}): {gapWithinType: false}, |
|
reflect.TypeOf(&Subscription{}): {gapWithinType: false, skipGapAfterTypes: []reflect.Type{reflect.TypeOf(&Topic{})}}, |
|
reflect.TypeOf(&Enum{}): {gapWithinType: true}, |
|
reflect.TypeOf(&Data{}): {gapWithinType: true}, |
|
reflect.TypeOf(&Verb{}): {gapWithinType: true}, |
|
} |
We've added some decl types since this mapping was last updated. Make sure to update frontend/console/src/features/modules/schema/schema.utils.ts
at the same time.