"use strict";
/** @format */
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5pdC1jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5pdC9pbml0LWNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsY0FBYzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUVkLGlEQUFxQztBQUVyQyxJQUFNLElBQUksR0FBRztJQUNYLElBQUksUUFBUSxDQUFDLFNBQVMsQ0FBQywwQkFBMEIsQ0FBQztJQUNsRDtRQUNFLEdBQUcsRUFBRSxrQkFBa0I7UUFDdkIsSUFBSSxFQUFFLDBCQUEwQjtRQUNoQyxLQUFLLEVBQUUsa0JBQWtCO0tBQzFCO0lBQ0Q7U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