| 67 | }; |
| 68 | |
| 69 | interface Rule { |
| 70 | predefined: any; |
| 71 | check?: CheckFuction; // 检查是否有效的函数 |
| 72 | minimalVersion?: string; |
| 73 | needSave?: boolean; |
| 74 | metadata?: FieldMetadataMap; // 字段UI元数据(仅用于UI渲染,不持久化) |
| 75 | notice?: string; |
| 76 | docUrl?: string; |
| 77 | } |
| 78 | |
| 79 | export class ColorRule implements Rule { |
| 80 | predefined: ColorConfig; |
nothing calls this directly
no outgoing calls
no test coverage detected