node-hue-api
Version:
Philips Hue API Library for Node.js
9 lines (8 loc) • 323 B
JavaScript
import { Placeholder } from './Placeholder';
import { types } from '@peter-murray/hue-bridge-model';
export class UsernamePlaceholder extends Placeholder {
constructor(name) {
const type = new types.StringType({ name: 'username', minLength: 1, optional: false });
super(type, 'username', name);
}
}