refactor main and rendered ipc
This commit is contained in:
parent
17e4b06948
commit
ddb2f4df0f
28 changed files with 758 additions and 211 deletions
10
src/types.ts
10
src/types.ts
|
|
@ -19,7 +19,7 @@ export interface ClientMessage {
|
|||
}
|
||||
|
||||
export interface ClientRequest {
|
||||
intent: string;
|
||||
intent: string;
|
||||
params: object;
|
||||
epic: string | boolean;
|
||||
confidence: number;
|
||||
|
|
@ -50,8 +50,10 @@ export interface Profile {
|
|||
}
|
||||
|
||||
export interface AuthProtocol {
|
||||
key: boolean | string;
|
||||
profile: boolean | Profile;
|
||||
token: null | string;
|
||||
profile: null | Profile;
|
||||
password?: string;
|
||||
email?: string;
|
||||
}
|
||||
|
||||
export interface LogoutRequest {
|
||||
|
|
@ -71,4 +73,4 @@ export interface StandardMessage {
|
|||
};
|
||||
context: string;
|
||||
modifier: string;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue