Formats/Field.ps1xml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
    <ViewDefinitions>
        <View>
            <Name>Field ListView</Name>
            <ViewSelectedBy>
                <TypeName>MG.Sonarr.Results.Field</TypeName>
            </ViewSelectedBy>
            <ListControl>
                <ListEntries>
                    <ListEntry>
                        <ListItems>
                            <ListItem>
                                <PropertyName>HelpText</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>-not [string]::IsNullOrEmpty($_.HelpText)</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Label</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Name</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Order</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>SelectOptions</PropertyName>
                                <ItemSelectionCondition>
                                    <ScriptBlock>$_.SelectOptions -ne $null -and $_.SelectOptions.Length -gt 0</ScriptBlock>
                                </ItemSelectionCondition>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Type</PropertyName>
                            </ListItem>
                            <ListItem>
                                <PropertyName>Value</PropertyName>
                            </ListItem>
                        </ListItems>
                    </ListEntry>
                </ListEntries>
            </ListControl>
        </View>
    </ViewDefinitions>
</Configuration>