forked from olcxjas-softworks/LarpixClient
Update gitignore (sorry)
This commit is contained in:
parent
a8f8c4d7ad
commit
cca8b02fea
6604 changed files with 1219661 additions and 4 deletions
56
electron/node_modules/electron-rebuild/lib/src/rebuild.d.ts
generated
vendored
Normal file
56
electron/node_modules/electron-rebuild/lib/src/rebuild.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
/// <reference types="node" />
|
||||
import { EventEmitter } from 'events';
|
||||
import { BuildType, IRebuilder, RebuildMode } from './types';
|
||||
import { ModuleType } from './module-walker';
|
||||
export interface RebuildOptions {
|
||||
buildPath: string;
|
||||
electronVersion: string;
|
||||
arch?: string;
|
||||
extraModules?: string[];
|
||||
onlyModules?: string[] | null;
|
||||
force?: boolean;
|
||||
headerURL?: string;
|
||||
types?: ModuleType[];
|
||||
mode?: RebuildMode;
|
||||
debug?: boolean;
|
||||
useCache?: boolean;
|
||||
useElectronClang?: boolean;
|
||||
cachePath?: string;
|
||||
prebuildTagPrefix?: string;
|
||||
projectRootPath?: string;
|
||||
forceABI?: number;
|
||||
disablePreGypCopy?: boolean;
|
||||
}
|
||||
export interface RebuilderOptions extends RebuildOptions {
|
||||
lifecycle: EventEmitter;
|
||||
}
|
||||
export declare class Rebuilder implements IRebuilder {
|
||||
private ABIVersion;
|
||||
private moduleWalker;
|
||||
nodeGypPath: string;
|
||||
rebuilds: (() => Promise<void>)[];
|
||||
lifecycle: EventEmitter;
|
||||
buildPath: string;
|
||||
electronVersion: string;
|
||||
platform: string;
|
||||
arch: string;
|
||||
force: boolean;
|
||||
headerURL: string;
|
||||
mode: RebuildMode;
|
||||
debug: boolean;
|
||||
useCache: boolean;
|
||||
cachePath: string;
|
||||
prebuildTagPrefix: string;
|
||||
msvsVersion?: string;
|
||||
useElectronClang: boolean;
|
||||
disablePreGypCopy: boolean;
|
||||
constructor(options: RebuilderOptions);
|
||||
get ABI(): string;
|
||||
get buildType(): BuildType;
|
||||
rebuild(): Promise<void>;
|
||||
rebuildModuleAt(modulePath: string): Promise<void>;
|
||||
}
|
||||
export declare type RebuildResult = Promise<void> & {
|
||||
lifecycle: EventEmitter;
|
||||
};
|
||||
export declare function rebuild(options: RebuildOptions): RebuildResult;
|
||||
Loading…
Add table
Add a link
Reference in a new issue