| 7 |
1 |
| our $rschema = do{my$var={base=>"firefox::local_profile_name",clsets_after_base=>[{description=>"\nThis is like `firefox::local_profile_name` schema, but adds a default value rule\nto pick the first profile in the local Firefox installation.\n\n",examples=>[{test=>0,valid=>0,value=>""},{summary=>"Assuming the profile named \"default\" exists in local Firefox installation and is the first one",test=>0,valid=>1,value=>"default"}],summary=>"Firefox profile name, must exist in local Firefox installation, default to first","x.perl.default_value_rules"=>["Firefox::first_local_profile_name"]}],clsets_after_type=>[{description=>"\nThis is currently just `str` with a minimum length of 1, but adds a completion\nrule to complete from list of profiles from local Firefox installation.\n\n",examples=>[{valid=>0,value=>""},{valid=>1,value=>"standard"}],min_len=>1,summary=>"Firefox profile name","x.completion"=>"firefox_profile_name"},{description=>"\nThis is like the `firefox::profile_name` schema, but adds a check (in\n`prefilter` clause) that the profile must exist in local Firefox installation.\n\n",examples=>[{test=>0,valid=>0,value=>""},{summary=>"Assuming the profile named \"default\" exists in local Firefox installation",test=>0,valid=>1,value=>"default"}],prefilters=>["Firefox::check_profile_name_exists"],summary=>"Firefox profile name, must exist in local Firefox installation"},'$var->{clsets_after_base}[0]'],"clsets_after_type.alt.merge.merged"=>['$var->{clsets_after_type}[0]','$var->{clsets_after_type}[1]','$var->{clsets_after_base}[0]'],resolve_path=>["str","firefox::profile_name","firefox::local_profile_name"],type=>"str",v=>2};$var->{clsets_after_type}[2]=$var->{clsets_after_base}[0];$var->{"clsets_after_type.alt.merge.merged"}[0]=$var->{clsets_after_type}[0];$var->{"clsets_after_type.alt.merge.merged"}[1]=$var->{clsets_after_type}[1];$var->{"clsets_after_type.alt.merge.merged"}[2]=$var->{clsets_after_base}[0];$var}; |