Support passing high-level default properties to roku-deploy so that you don't need to specify them in calls later on. (i.e. you already specified host in the constructor, so you wouldn't need to pass that when calling .sideload()).
new RokuDeploy({
host: '1.2.3.4',
password: 'aaaa'
ecpPort: 8060
});
Open questions:
- how do we handle specific function interfaces? host is required to run
.sideload(), except when pre-populated in the constructor. so that makes things a little confusing. maybe there's a typescript trick we can do where, if you specify a field in the constructor, we return a different type back that narrows the options on the functions accordingly? Might not be worth the complexity...
Support passing high-level default properties to roku-deploy so that you don't need to specify them in calls later on. (i.e. you already specified host in the constructor, so you wouldn't need to pass that when calling
.sideload()).Open questions:
.sideload(), except when pre-populated in the constructor. so that makes things a little confusing. maybe there's a typescript trick we can do where, if you specify a field in the constructor, we return a different type back that narrows the options on the functions accordingly? Might not be worth the complexity...