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.

52 lines
940 B

7 years ago
// @flow
export type Device = {
manufacturer: string,
path: string,
product: string,
productId: string,
vendorId: string,
}
export type Devices = Array<Device>
// -------------------- Settings
export type CurrencySettings = {
coinType: number,
confirmationsToSpend: number,
minConfirmationsToSpend: number,
maxConfirmationsToSpend: number,
confirmationsNb: number,
minConfirmationsNb: number,
maxConfirmationsNb: number,
transactionFees: number,
}
export type Settings = {
language: string,
username: string,
counterValue: string,
password: {
isEnabled: boolean,
value: string,
},
currencies: CurrencySettings[],
marketIndicator: 'eastern' | 'western',
}
export type T = (?string, ?Object) => string
// -------------------- Manager
export type MemoryInfos = {
applicationsSize: number,
freeSize: number,
systemSize: number,
totalAppSlots: number,
usedAppSlots: number,
}