"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const controller_data_base_1 = require("./controller-data-base");
class PrepareData extends controller_data_base_1.ControllerDataBase {
    constructor(projectDir, platform, data) {
        super(projectDir, platform, data);
        this.projectDir = projectDir;
        this.platform = platform;
        this.release = data.release;
        this.hmr = data.hmr || data.useHotModuleReload;
        this.env = Object.assign({}, data.env, { hmr: data.hmr || data.useHotModuleReload });
        this.watch = data.watch;
    }
}
exports.PrepareData = PrepareData;
class IOSPrepareData extends PrepareData {
    constructor(projectDir, platform, data) {
        super(projectDir, platform, data);
        this.teamId = data.teamId;
        this.provision = data.provision;
        this.mobileProvisionData = data.mobileProvisionData;
    }
}
exports.IOSPrepareData = IOSPrepareData;
class AndroidPrepareData extends PrepareData {
}
exports.AndroidPrepareData = AndroidPrepareData;
