You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// @flow
|
|
|
|
|
|
|
|
export type Device = {
|
|
|
|
manufacturer: string,
|
|
|
|
path: string,
|
|
|
|
product: string,
|
|
|
|
productId: string,
|
|
|
|
vendorId: string,
|
|
|
|
}
|
|
|
|
|
|
|
|
export type Devices = Array<Device>
|
|
|
|
|
|
|
|
// -------------------- Settings
|
|
|
|
|
|
|
|
export type SettingsProfile = {
|
|
|
|
password: {
|
|
|
|
state: boolean,
|
|
|
|
value: string,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
export type SettingsDisplay = {
|
|
|
|
language: string,
|
|
|
|
}
|
|
|
|
|
|
|
|
export type SettingsMoney = {
|
|
|
|
counterValue: string,
|
|
|
|
}
|
|
|
|
|
|
|
|
export type Settings = SettingsProfile & SettingsDisplay & SettingsMoney
|
|
|
|
|
|
|
|
export type T = (string, ?Object) => string
|