Initial commit
This commit is contained in:
@@ -1,17 +1,24 @@
|
||||
export class WindowApiConst {
|
||||
/** Channel used by the renderer process to send data to the main process */
|
||||
public static readonly MULTIPLES_INPUT = 'getMultiplesInput';
|
||||
public static readonly FILELIST_INPUT = 'getFileListInput';
|
||||
public static readonly FILELIST_OUTPUT = 'getFileListOutput';
|
||||
|
||||
/** Channel used by the renderer process to receive data from the main process */
|
||||
public static readonly MULTIPLES_OUTPUT = 'getMultiplesOutput';
|
||||
public static readonly PROJECT_INPUT = 'getProjectInput';
|
||||
public static readonly PROJECT_OUTPUT = 'getProjectOutput';
|
||||
|
||||
public static readonly PRINT_OUTPUT = 'getPrintOutput';
|
||||
public static readonly PRINT_INPUT = 'getPrintInput';
|
||||
|
||||
/** Whitelist of the safe channels to use when sending data to the main process */
|
||||
public static readonly SENDING_SAFE_CHANNELS = [
|
||||
WindowApiConst.MULTIPLES_INPUT,
|
||||
WindowApiConst.FILELIST_INPUT,
|
||||
WindowApiConst.PROJECT_INPUT,
|
||||
WindowApiConst.PRINT_INPUT,
|
||||
];
|
||||
|
||||
/** Whitelist of the safe channels to use when receiving data from the main process */
|
||||
public static readonly RECEIVING_SAFE_CHANNELS = [
|
||||
WindowApiConst.MULTIPLES_OUTPUT,
|
||||
WindowApiConst.FILELIST_OUTPUT,
|
||||
WindowApiConst.PROJECT_OUTPUT,
|
||||
WindowApiConst.PROJECT_OUTPUT,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@ import { WindowApi } from './apis/window-api';
|
||||
export * from './apis/window-api';
|
||||
export * from './apis/window-api-consts';
|
||||
export * from './models/config/app-config';
|
||||
export * from './models/door';
|
||||
|
||||
declare global {
|
||||
// Global augmentation of the `Window` interface
|
||||
|
||||
9
workspaces/shared-lib/models/door.ts
Normal file
9
workspaces/shared-lib/models/door.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export interface Door {
|
||||
nr?: string;
|
||||
lr?: string;
|
||||
pivot?: string;
|
||||
type?: string;
|
||||
remark?: string;
|
||||
modelKruk?: string;
|
||||
krukSlot?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user