feat: angular upgrade - 13.3.2 => 14.2.3

This commit is contained in:
Amadou Ada DIENE
2022-09-22 23:26:39 +02:00
committed by DIENE
parent 573b91d224
commit fa6222a1a8
36 changed files with 12612 additions and 9188 deletions

View File

@@ -1,17 +1,17 @@
export class WindowApiConst {
/** Channel used by the renderer process to send data to the main process */
public static readonly MULTIPLES_INPUT = "getMultiplesInput";
/** Channel used by the renderer process to send data to the main process */
public static readonly MULTIPLES_INPUT = 'getMultiplesInput';
/** Channel used by the renderer process to receive data from the main process */
public static readonly MULTIPLES_OUTPUT = "getMultiplesOutput";
/** Channel used by the renderer process to receive data from the main process */
public static readonly MULTIPLES_OUTPUT = 'getMultiplesOutput';
/** Whitelist of the safe channels to use when sending data to the main process */
public static readonly SENDING_SAFE_CHANNELS = [
WindowApiConst.MULTIPLES_INPUT,
];
/** Whitelist of the safe channels to use when sending data to the main process */
public static readonly SENDING_SAFE_CHANNELS = [
WindowApiConst.MULTIPLES_INPUT,
];
/** Whitelist of the safe channels to use when receiving data from the main process */
public static readonly RECEIVING_SAFE_CHANNELS = [
WindowApiConst.MULTIPLES_OUTPUT,
];
/** Whitelist of the safe channels to use when receiving data from the main process */
public static readonly RECEIVING_SAFE_CHANNELS = [
WindowApiConst.MULTIPLES_OUTPUT,
];
}

View File

@@ -4,7 +4,7 @@ export interface WindowApi {
* @param channel used by the renderer to receive data and by the main to send them
* @param func the callback function to execute when data are available
*/
receive<Out>(channel: string, func: (output: Out) => void): void;
receive<Out>(channel: string, callback: (output: Out) => void): void;
/**
* This method is used by the renderer process to send data to the main process