AI Notice: Most documentation right now was auto-generated by an LLM. Handwritten documentation will be implemented over time on the road to 1.0
MetadataColumnPolicy
Policy for how a metadata provider contributes Details view columns.
Signature
interface MetadataColumnPolicy {
showInColumnMenu?: boolean;
columnWhitelist?: string[];
autoVisible?: "never" | "when-any" | "when-dominant";
defaultVisibleFields?: string[];
excludeFromDominance?: boolean;
requiresValueSampling?: boolean;
}Members
| Name | Type | Required | Description |
|---|---|---|---|
showInColumnMenu | boolean | no | Whether this provider contributes fields to the Details column menu. Default true when schema exists. |
columnWhitelist | string[] | no | If set, only these schema keys appear in the Details column menu (and auto-visible picks from this set). Omit for all schema fields. An empty array excludes the provider from column contributions. Does not override showInColumnMenu when that is false. |
autoVisible | "never" | "when-any" | "when-dominant" | no | Whether columns can be auto-shown from file matching alone. Default “when-dominant”. |
defaultVisibleFields | string[] | no | Fields to show automatically when the provider qualifies. Defaults to the first few schema fields. |
excludeFromDominance | boolean | no | Exclude this provider from dominance ratios. Useful for global/base providers. |
requiresValueSampling | boolean | no | Matching by extension/category is not enough; values may require sampling. |