-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinterface.d.ts
44 lines (38 loc) · 886 Bytes
/
interface.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
export interface IElectronAPI {
loadPreferences: () => Promise<void>;
cancelBluetoothRequest: () => void;
bluetoothPairingRequest: (callback: any) => void;
bluetoothPairingResponse: (response: any) => void;
}
export interface DataItem {
instanceID: string;
age: string;
id: number;
name: string;
recoredCreateTime: number;
recoredTotalTime: number;
recoredEndTime: number;
describe: string;
eegInputMarkerList: string;
irInputMarkerList: string;
markerList: string;
waveLength: number;
}
declare global {
interface Window {
electronAPI: IElectronAPI;
p5: any;
GPoint: any
GPlot: any
}
}
interface loadingType {
show(text?:string):null
hide():null
}
declare module '@vue/runtime-core' {
interface ComponentCustomProperties {
$exportCsv: (record: DataItem, tableName: string) => void,
loading: loadingType;
}
}