"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PROJECT_NAME_INPUT = exports.APPLICATION_TEMPLATE = void 0;
var inquirer = __importStar(require("inquirer"));
var data = [new inquirer.Separator('\n👋 Hello World Example'), {
        key: 'devsapp/start-fc',
        name: 'Aliyun FC node.js12-http',
        value: 'devsapp/start-fc'
    }, {
        key: 'devscomp/start-lambda',
        name: 'AWS Lambda nodejs12.x-http',
        value: 'devscomp/start-lambda'
    }, {
        key: 'devscomp/start-scf',
        name: 'Tencent SCF nodejs12.x-http',
        value: 'devscomp/start-scf'
    },
    new inquirer.Separator('\n🚢 Web Framework Example'),
    {
        key: 'devsapp/start-express',
        name: 'Express',
        value: 'devsapp/start-express'
    }, {
        key: 'devsapp/start-flask',
        name: 'Flask',
        value: 'devsapp/start-flask'
    }, {
        key: 'devsapp/start-zblog',
        name: 'Zblog',
        value: 'devsapp/start-zblog'
    }, {
        key: 'devsapp/midway-hook-vue',
        name: 'Midway',
        value: 'devsapp/midway-hook-vue'
    }, {
        key: 'devsapp/start-malagu',
        name: 'Malagu',
        value: 'devsapp/start-malagu'
    }, new inquirer.Separator('\n🖥️  Static Website'),
    {
        key: 'devsapp/website-vue',
        name: 'Vue',
        value: 'devsapp/website-vue'
    }, {
        key: 'devsapp/website-react',
        name: 'React',
        value: 'devsapp/website-react'
    }, {
        key: 'devsapp/website-docusaurus',
        name: 'Docusaurus',
        value: 'devsapp/website-docusaurus'
    }, {
        key: 'devsapp/website-hexo',
        name: 'Hexo',
        value: 'devsapp/website-hexo'
    }, {
        key: 'devsapp/website-vuepress',
        name: 'Vuepress',
        value: 'devsapp/website-vuepress'
    }, new inquirer.Separator('\n🍼 Serverless Dev template'), {
        key: 'devsapp/start-application',
        name: 'Application',
        value: 'devsapp/start-application'
    }, {
        key: 'devsapp/start-component',
        name: 'Component',
        value: 'devsapp/start-component'
    }];
exports.APPLICATION_TEMPLATE = [
    {
        type: 'autocomplete',
        name: 'template',
        message: 'Hello, serverlessor. Which template do you like? \n🚀 More: https://github.com/Serverless-Devs/package-awesome\nPlease select or input: ',
        loop: false,
        pageSize: 40,
        source: function (answersSoFar, input) {
            if (!input) {
                return data;
            }
            return data.filter(function (item) { return item.name && item.name.indexOf(input) !== -1; });
        }
    }
];
exports.PROJECT_NAME_INPUT = [
    {
        type: 'input',
        name: 'projectName',
        message: 'Please input your project name (init dir)',
    }
];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5pdC1jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5pdC9pbml0LWNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsaURBQXFDO0FBR3JDLElBQU0sSUFBSSxHQUFHLENBQUMsSUFBSSxRQUFRLENBQUMsU0FBUyxDQUFDLDBCQUEwQixDQUFDLEVBQUU7UUFDOUQsR0FBRyxFQUFFLGtCQUFrQjtRQUN2QixJQUFJLEVBQUUsMEJBQTBCO1FBQ2hDLEtBQUssRUFBRSxrQkFBa0I7S0FDNUIsRUFBRTtRQUNDLEdBQUcsRUFBRSx1QkFBdUI7UUFDNUIsSUFB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