fix: shared-lib not found
https://github.com/sourcygen/electron-angular-quick-start/issues/4
This commit is contained in:
10
workspaces/shared-lib/.dist/apis/window-api-consts.d.ts
vendored
Normal file
10
workspaces/shared-lib/.dist/apis/window-api-consts.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
export declare class WindowApiConst {
|
||||
/** Channel used by the renderer process to send data to the main process */
|
||||
static readonly MULTIPLES_INPUT = 'getMultiplesInput';
|
||||
/** Channel used by the renderer process to receive data from the main process */
|
||||
static readonly MULTIPLES_OUTPUT = 'getMultiplesOutput';
|
||||
/** Whitelist of the safe channels to use when sending data to the main process */
|
||||
static readonly SENDING_SAFE_CHANNELS: string[];
|
||||
/** Whitelist of the safe channels to use when receiving data from the main process */
|
||||
static readonly RECEIVING_SAFE_CHANNELS: string[];
|
||||
}
|
||||
10
workspaces/shared-lib/.dist/apis/window-api-consts.js
Normal file
10
workspaces/shared-lib/.dist/apis/window-api-consts.js
Normal file
@@ -0,0 +1,10 @@
|
||||
export class WindowApiConst {}
|
||||
/** Channel used by the renderer process to send data to the main process */
|
||||
WindowApiConst.MULTIPLES_INPUT = 'getMultiplesInput';
|
||||
/** Channel used by the renderer process to receive data from the main process */
|
||||
WindowApiConst.MULTIPLES_OUTPUT = 'getMultiplesOutput';
|
||||
/** Whitelist of the safe channels to use when sending data to the main process */
|
||||
WindowApiConst.SENDING_SAFE_CHANNELS = [WindowApiConst.MULTIPLES_INPUT];
|
||||
/** Whitelist of the safe channels to use when receiving data from the main process */
|
||||
WindowApiConst.RECEIVING_SAFE_CHANNELS = [WindowApiConst.MULTIPLES_OUTPUT];
|
||||
//# sourceMappingURL=window-api-consts.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"window-api-consts.js","sourceRoot":"","sources":["../../apis/window-api-consts.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,cAAc;;AACzB,4EAA4E;AACrD,8BAAe,GAAG,mBAAmB,CAAC;AAE7D,iFAAiF;AAC1D,+BAAgB,GAAG,oBAAoB,CAAC;AAE/D,kFAAkF;AAC3D,oCAAqB,GAAG;IAC7C,cAAc,CAAC,eAAe;CAC/B,CAAC;AAEF,sFAAsF;AAC/D,sCAAuB,GAAG;IAC/C,cAAc,CAAC,gBAAgB;CAChC,CAAC"}
|
||||
14
workspaces/shared-lib/.dist/apis/window-api.d.ts
vendored
Normal file
14
workspaces/shared-lib/.dist/apis/window-api.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export interface WindowApi {
|
||||
/**
|
||||
* This method is used by the renderer process to receive data from the main process
|
||||
* @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;
|
||||
/**
|
||||
* This method is used by the renderer process to send data to the main process
|
||||
* @param channel used by the renderer to send data and by the main to receive them
|
||||
* @param data the data sent by the renderer process to the main process
|
||||
*/
|
||||
send<In>(channel: string, input: In): void;
|
||||
}
|
||||
2
workspaces/shared-lib/.dist/apis/window-api.js
Normal file
2
workspaces/shared-lib/.dist/apis/window-api.js
Normal file
@@ -0,0 +1,2 @@
|
||||
export {};
|
||||
//# sourceMappingURL=window-api.js.map
|
||||
1
workspaces/shared-lib/.dist/apis/window-api.js.map
Normal file
1
workspaces/shared-lib/.dist/apis/window-api.js.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"window-api.js","sourceRoot":"","sources":["../../apis/window-api.ts"],"names":[],"mappings":""}
|
||||
9
workspaces/shared-lib/.dist/index.d.ts
vendored
Normal file
9
workspaces/shared-lib/.dist/index.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { WindowApi } from './apis/window-api';
|
||||
export * from './apis/window-api';
|
||||
export * from './apis/window-api-consts';
|
||||
export * from './models/config/app-config';
|
||||
declare global {
|
||||
interface Window {
|
||||
api: WindowApi;
|
||||
}
|
||||
}
|
||||
4
workspaces/shared-lib/.dist/index.js
Normal file
4
workspaces/shared-lib/.dist/index.js
Normal file
@@ -0,0 +1,4 @@
|
||||
export * from './apis/window-api';
|
||||
export * from './apis/window-api-consts';
|
||||
export * from './models/config/app-config';
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
workspaces/shared-lib/.dist/index.js.map
Normal file
1
workspaces/shared-lib/.dist/index.js.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC"}
|
||||
18
workspaces/shared-lib/.dist/models/config/app-config.d.ts
vendored
Normal file
18
workspaces/shared-lib/.dist/models/config/app-config.d.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
export interface AppConfig {
|
||||
/** The configuration identifier */
|
||||
configId: string;
|
||||
/** The main logger output file path */
|
||||
mainLogFile: string;
|
||||
/** The main logger output level */
|
||||
mainLogLevel: string;
|
||||
/** Tells if we should try to load app icon */
|
||||
isIconAvailable: boolean;
|
||||
/** Tells if `nodeIntegration` webPreference is enabled */
|
||||
isNodeIntegration: boolean;
|
||||
/** Tells if `contextIsolation` and `worldSafeExecuteJavaScript` webPreferences are enabled */
|
||||
isContextIsolation: boolean;
|
||||
/** Tells if `isEnableRemoteModule` webPreference is enabled */
|
||||
isEnableRemoteModule: boolean;
|
||||
/** Tells if we should open dev tools */
|
||||
isOpenDevTools: boolean;
|
||||
}
|
||||
2
workspaces/shared-lib/.dist/models/config/app-config.js
Normal file
2
workspaces/shared-lib/.dist/models/config/app-config.js
Normal file
@@ -0,0 +1,2 @@
|
||||
export {};
|
||||
//# sourceMappingURL=app-config.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"app-config.js","sourceRoot":"","sources":["../../../models/config/app-config.ts"],"names":[],"mappings":""}
|
||||
2
workspaces/shared-lib/.gitignore
vendored
2
workspaces/shared-lib/.gitignore
vendored
@@ -1,2 +0,0 @@
|
||||
# Generated JS files
|
||||
/.dist
|
||||
Reference in New Issue
Block a user