electron
electron: {
API: {
removeRequestListener: (() => void);
requestListener: ((callback) => void);
};
MetaStoreInstance: {
removeListener: (() => void);
setInstanceListener: ((navigate) => void);
};
auth: {
abortSignIn: (() => any);
authContextListener: ((setAuth) => void);
configOIDC: ((config) => any);
removeAuthContextListener: (() => void);
signIn: (() => any);
signOut: (() => any);
};
infos: {
getConstants: ((callback) => any);
};
maskHandler: {
getVisibilityState: ((path) => any);
insertIntoVisibilityState: ((mask, pathToInsert) => any);
assignMaskHandler(mask, schemaMaskId) => void;
unsetMaskHandler() => void;
};
store: {
handleElectronStoreChange: ((callback, subChannel) => void);
removeElectronStoreChangeHandler: ((subChannel) => void);
get(key) => any;
set(property, val, setMask?) => void;
};
}
Type declaration
-
API: {
removeRequestListener: (() => void);
requestListener: ((callback) => void);
}
-
removeRequestListener: (() => void)
-
requestListener: ((callback) => void)
-
- (callback): void
-
Returns void
-
MetaStoreInstance: {
removeListener: (() => void);
setInstanceListener: ((navigate) => void);
}
-
removeListener: (() => void)
-
setInstanceListener: ((navigate) => void)
-
- (navigate): void
-
Parameters
-
navigate: NavigateFunction
Returns void
-
auth: {
abortSignIn: (() => any);
authContextListener: ((setAuth) => void);
configOIDC: ((config) => any);
removeAuthContextListener: (() => void);
signIn: (() => any);
signOut: (() => any);
}
-
abortSignIn: (() => any)
-
authContextListener: ((setAuth) => void)
-
- (setAuth): void
-
Returns void
-
configOIDC: ((config) => any)
-
- (config): any
-
Returns any
-
removeAuthContextListener: (() => void)
-
signIn: (() => any)
-
signOut: (() => any)
-
infos: {
getConstants: ((callback) => any);
}
-
getConstants: ((callback) => any)
-
- (callback): any
-
Returns any
-
maskHandler: {
getVisibilityState: ((path) => any);
insertIntoVisibilityState: ((mask, pathToInsert) => any);
assignMaskHandler(mask, schemaMaskId) => void;
unsetMaskHandler() => void;
}
-
getVisibilityState: ((path) => any)
-
insertIntoVisibilityState: ((mask, pathToInsert) => any)
-
- (mask, pathToInsert): any
-
Parameters
-
mask: any
-
pathToInsert: string
Returns any
-
assignMaskHandler:function
- assignMaskHandler(mask, schemaMaskId): void
-
Parameters
-
mask: any
-
schemaMaskId: string
Returns void
-
unsetMaskHandler:function
- unsetMaskHandler(): void
-
Returns void
-
store: {
handleElectronStoreChange: ((callback, subChannel) => void);
removeElectronStoreChangeHandler: ((subChannel) => void);
get(key) => any;
set(property, val, setMask?) => void;
}
-
handleElectronStoreChange: ((callback, subChannel) => void)
-
- (callback, subChannel): void
-
Parameters
-
callback: any
-
subChannel: string
Returns void
-
removeElectronStoreChangeHandler: ((subChannel) => void)
-
- (subChannel): void
-
Returns void
-
get:function
- get(key): any
-
Returns any
-
set:function
- set(property, val, setMask?): void
-
Parameters
-
property: any
-
val: any
-
setMask: boolean = true
Returns void
Removes an
API:request
event ipc listener