{"version":3,"file":"packagerApi.js","sourceRoot":"","sources":["../src/packagerApi.ts"],"names":[],"mappings":"","sourcesContent":["import { Arch } from \"builder-util\"\nimport { PublishConfiguration } from \"builder-util-runtime\"\nimport { Configuration } from \"./configuration\"\nimport { Platform, Target } from \"./core\"\nimport { Packager } from \"./packager\"\nimport { PlatformPackager } from \"./platformPackager\"\nimport { UploadTask } from \"electron-publish\"\n\nexport interface PackagerOptions {\n targets?: Map>>\n\n mac?: Array\n linux?: Array\n win?: Array\n\n projectDir?: string | null\n\n platformPackagerFactory?: ((info: Packager, platform: Platform) => PlatformPackager) | null\n\n readonly config?: Configuration | string | null\n\n readonly effectiveOptionComputed?: (options: any) => Promise\n\n readonly prepackaged?: string | null\n}\n\nexport interface ArtifactCreated extends UploadTask {\n readonly packager: PlatformPackager\n readonly target: Target | null\n\n updateInfo?: any\n\n readonly safeArtifactName?: string | null\n\n readonly publishConfig?: PublishConfiguration | null\n\n readonly isWriteUpdateInfo?: boolean\n}\n\nexport interface ArtifactBuildStarted {\n readonly targetPresentableName: string\n\n readonly file: string\n // null for NSIS\n readonly arch: Arch | null\n}\n"]}