mongoose-data-seed
Version:
Seed mongodb with data using mongoose models
7,817 lines • 220 kB
JSON
{
"type": "File",
"start": 0,
"end": 1280,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 58,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1280,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 58,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 32
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 7,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 15
}
},
"local": {
"type": "Identifier",
"start": 7,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 15
},
"identifierName": "inquirer"
},
"name": "inquirer"
}
}
],
"source": {
"type": "StringLiteral",
"start": 21,
"end": 31,
"loc": {
"start": {
"line": 1,
"column": 21
},
"end": {
"line": 1,
"column": 31
}
},
"extra": {
"rawValue": "inquirer",
"raw": "'inquirer'"
},
"value": "inquirer"
}
},
{
"type": "ImportDeclaration",
"start": 33,
"end": 63,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 30
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 42,
"end": 46,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 13
}
},
"imported": {
"type": "Identifier",
"start": 42,
"end": 46,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 13
},
"identifierName": "trim"
},
"name": "trim"
},
"local": {
"type": "Identifier",
"start": 42,
"end": 46,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 13
},
"identifierName": "trim"
},
"name": "trim"
}
}
],
"source": {
"type": "StringLiteral",
"start": 54,
"end": 62,
"loc": {
"start": {
"line": 2,
"column": 21
},
"end": {
"line": 2,
"column": 29
}
},
"extra": {
"rawValue": "lodash",
"raw": "'lodash'"
},
"value": "lodash"
}
},
{
"type": "ImportDeclaration",
"start": 65,
"end": 162,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 7,
"column": 29
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 76,
"end": 101,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 27
}
},
"imported": {
"type": "Identifier",
"start": 76,
"end": 101,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 27
},
"identifierName": "validateSeedersFolderName"
},
"name": "validateSeedersFolderName"
},
"local": {
"type": "Identifier",
"start": 76,
"end": 101,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 27
},
"identifierName": "validateSeedersFolderName"
},
"name": "validateSeedersFolderName"
}
},
{
"type": "ImportSpecifier",
"start": 105,
"end": 131,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 28
}
},
"imported": {
"type": "Identifier",
"start": 105,
"end": 131,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 28
},
"identifierName": "validateSeederTemplatePath"
},
"name": "validateSeederTemplatePath"
},
"local": {
"type": "Identifier",
"start": 105,
"end": 131,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 28
},
"identifierName": "validateSeederTemplatePath"
},
"name": "validateSeederTemplatePath"
}
}
],
"source": {
"type": "StringLiteral",
"start": 140,
"end": 161,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 28
}
},
"extra": {
"rawValue": "../../utils/helpers",
"raw": "'../../utils/helpers'"
},
"value": "../../utils/helpers"
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n ",
"start": 164,
"end": 183,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 11,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 184,
"end": 566,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 25,
"column": 2
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 191,
"end": 566,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 25,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 197,
"end": 565,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 25,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 197,
"end": 216,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 32
},
"identifierName": "promptSeedersFolder"
},
"name": "promptSeedersFolder",
"leadingComments": null
},
"init": {
"type": "ArrowFunctionExpression",
"start": 219,
"end": 565,
"loc": {
"start": {
"line": 12,
"column": 35
},
"end": {
"line": 25,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 197,
"end": 216,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 32
},
"identifierName": "promptSeedersFolder"
},
"name": "promptSeedersFolder",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": true,
"params": [],
"body": {
"type": "BlockStatement",
"start": 231,
"end": 565,
"loc": {
"start": {
"line": 12,
"column": 47
},
"end": {
"line": 25,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 235,
"end": 534,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 22,
"column": 5
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 241,
"end": 533,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 22,
"column": 4
}
},
"id": {
"type": "ObjectPattern",
"start": 241,
"end": 262,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 29
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 243,
"end": 260,
"loc": {
"start": {
"line": 13,
"column": 10
},
"end": {
"line": 13,
"column": 27
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 243,
"end": 260,
"loc": {
"start": {
"line": 13,
"column": 10
},
"end": {
"line": 13,
"column": 27
},
"identifierName": "seedersFolderName"
},
"name": "seedersFolderName"
},
"value": {
"type": "Identifier",
"start": 243,
"end": 260,
"loc": {
"start": {
"line": 13,
"column": 10
},
"end": {
"line": 13,
"column": 27
},
"identifierName": "seedersFolderName"
},
"name": "seedersFolderName"
},
"extra": {
"shorthand": true
}
}
]
},
"init": {
"type": "AwaitExpression",
"start": 265,
"end": 533,
"loc": {
"start": {
"line": 13,
"column": 32
},
"end": {
"line": 22,
"column": 4
}
},
"argument": {
"type": "CallExpression",
"start": 271,
"end": 533,
"loc": {
"start": {
"line": 13,
"column": 38
},
"end": {
"line": 22,
"column": 4
}
},
"callee": {
"type": "MemberExpression",
"start": 271,
"end": 286,
"loc": {
"start": {
"line": 13,
"column": 38
},
"end": {
"line": 13,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 271,
"end": 279,
"loc": {
"start": {
"line": 13,
"column": 38
},
"end": {
"line": 13,
"column": 46
},
"identifierName": "inquirer"
},
"name": "inquirer"
},
"property": {
"type": "Identifier",
"start": 280,
"end": 286,
"loc": {
"start": {
"line": 13,
"column": 47
},
"end": {
"line": 13,
"column": 53
},
"identifierName": "prompt"
},
"name": "prompt"
},
"computed": false
},
"arguments": [
{
"type": "ArrayExpression",
"start": 287,
"end": 532,
"loc": {
"start": {
"line": 13,
"column": 54
},
"end": {
"line": 22,
"column": 3
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 293,
"end": 527,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 21,
"column": 5
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 301,
"end": 326,
"loc": {
"start": {
"line": 15,
"column": 6
},
"end": {
"line": 15,
"column": 31
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 301,
"end": 305,
"loc": {
"start": {
"line": 15,
"column": 6
},
"end": {
"line": 15,
"column": 10
},
"identifierName": "name"
},
"name": "name"
},
"value": {
"type": "StringLiteral",
"start": 307,
"end": 326,
"loc": {
"start": {
"line": 15,
"column": 12
},
"end": {
"line": 15,
"column": 31
}
},
"extra": {
"rawValue": "seedersFolderName",
"raw": "'seedersFolderName'"
},
"value": "seedersFolderName"
}
},
{
"type": "ObjectProperty",
"start": 334,
"end": 347,
"loc": {
"start": {
"line": 16,
"column": 6
},
"end": {
"line": 16,
"column": 19
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 334,
"end": 338,
"loc": {
"start": {
"line": 16,
"column": 6
},
"end": {
"line": 16,
"column": 10
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "StringLiteral",
"start": 340,
"end": 347,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 19
}
},
"extra": {
"rawValue": "input",
"raw": "'input'"
},
"value": "input"
}
},
{
"type": "ObjectProperty",
"start": 355,
"end": 397,
"loc": {
"start": {
"line": 17,
"column": 6
},
"end": {
"line": 17,
"column": 48
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 355,
"end": 362,
"loc": {
"start": {
"line": 17,
"column": 6
},
"end": {
"line": 17,
"column": 13
},
"identifierName": "message"
},
"name": "message"
},
"value": {
"type": "StringLiteral",
"start": 364,
"end": 397,
"loc": {
"start": {
"line": 17,
"column": 15
},
"end": {
"line": 17,
"column": 48
}
},
"extra": {
"rawValue": "Choose your seeders folder name",
"raw": "'Choose your seeders folder name'"
},
"value": "Choose your seeders folder name"
}
},
{
"type": "ObjectProperty",
"start": 405,
"end": 425,
"loc": {
"start": {
"line": 18,
"column": 6
},
"end": {
"line": 18,
"column": 26
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 405,
"end": 412,
"loc": {
"start": {
"line": 18,
"column": 6
},
"end": {
"line": 18,
"column": 13
},
"identifierName": "default"
},
"name": "default"
},
"value": {
"type": "StringLiteral",
"start": 414,
"end": 425,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 18,
"column": 26
}
},
"extra": {
"rawValue": "./seeders",
"raw": "'./seeders'"
},
"value": "./seeders"
}
},
{
"type": "ObjectProperty",
"start": 433,
"end": 461,
"loc": {
"start": {
"line": 19,
"column": 6
},
"end": {
"line": 19,
"column": 34
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 433,
"end": 439,
"loc": {
"start": {
"line": 19,
"column": 6
},
"end": {
"line": 19,
"column": 12
},
"identifierName": "filter"
},
"name": "filter"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 441,
"end": 461,
"loc": {
"start": {
"line": 19,
"column": 14
},
"end": {
"line": 19,
"column": 34
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 441,
"end": 446,
"loc": {
"start": {
"line": 19,
"column": 14
},
"end": {
"line": 19,
"column": 19
},
"identifierName": "input"
},
"name": "input"
}
],
"body": {
"type": "CallExpression",
"start": 450,
"end": 461,
"loc": {
"start": {
"line": 19,
"column": 23
},
"end": {
"line": 19,
"column": 34
}
},
"callee": {
"type": "Identifier",
"start": 450,
"end": 454,
"loc": {
"start": {
"line": 19,
"column": 23
},
"end": {
"line": 19,
"column": 27
},
"identifierName": "trim"
},
"name": "trim"
},
"arguments": [
{
"type": "Identifier",
"start": 455,
"end": 460,
"loc": {
"start": {
"line": 19,
"column": 28
},
"end": {
"line": 19,
"column": 33
},
"identifierName": "input"
},
"name": "input"
}
]
}
}
},
{
"type": "ObjectProperty",
"start": 469,
"end": 520,
"loc": {
"start": {
"line": 20,
"column": 6
},
"end": {
"line": 20,
"column": 57
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 469,
"end": 477,
"loc": {
"start": {
"line": 20,
"column": 6
},
"end": {
"line": 20,
"column": 14
},
"identifierName": "validate"
},
"name": "validate"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 479,
"end": 520,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 57
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 479,
"end": 484,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 21
},
"identifierName": "input"
},
"name": "input"
}
],
"body": {
"type": "CallExpression",
"start": 488,
"end": 520,
"loc": {
"start": {
"line": 20,
"column": 25
},
"end": {
"line": 20,
"column": 57
}
},
"callee": {
"type": "Identifier",
"start": 488,
"end": 513,
"loc": {
"start": {
"line": 20,
"column": 25
},
"end": {
"line": 20,
"column": 50
},
"identifierName": "validateSeedersFolderName"
},
"name": "validateSeedersFolderName"
},
"arguments": [
{
"type": "Identifier",
"start": 514,
"end": 519,
"loc": {
"start": {
"line": 20,
"column": 51
},
"end": {
"line": 20,
"column": 56
},
"identifierName": "input"
},
"name": "input"
}
]
}
}
}
]
}
]
}
]
}
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 538,
"end": 563,
"loc": {
"start": {
"line": 24,
"column": 2
},
"end": {
"line": 24,
"column": 27
}
},
"argument": {
"type": "Identifier",
"start": 545,
"end": 562,
"loc": {
"start": {
"line": 24,
"column": 9
},
"end": {
"line": 24,
"column": 26
},
"identifierName": "seedersFolderName"
},
"name": "seedersFolderName"
}
}
],
"directives": []
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n ",
"start": 164,
"end": 183,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 11,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n ",
"start": 568,
"end": 587,
"loc": {
"start": {
"line": 27,
"column": 0
},
"end": {
"line": 29,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n ",
"start": 164,
"end": 183,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 11,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n ",
"start": 568,
"end": 587,
"loc": {
"start": {
"line": 27,
"column": 0
},
"end": {
"line": 29,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 588,
"end": 1279,
"loc": {
"start": {
"line": 30,
"column": 0
},
"end": {
"line": 57,
"column": 2
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 595,
"end": 1279,
"loc": {
"start": {
"line": 30,
"column": 7
},
"end": {
"line": 57,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 601,
"end": 1278,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 57,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 601,
"end": 621,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 33
},
"identifierName": "promptSeederTemplate"
},
"name": "promptSeederTemplate",
"leadingComments": null
},
"init": {
"type": "ArrowFunctionExpression",
"start": 624,
"end": 1278,
"loc": {
"start": {
"line": 30,
"column": 36
},
"end": {
"line": 57,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 601,
"end": 621,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 33
},
"identifierName": "promptSeederTemplate"
},
"name": "promptSeederTemplate",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": true,
"params": [],
"body": {
"type": "BlockStatement",
"start": 636,
"end": 1278,
"loc": {
"start": {
"line": 30,
"column": 48
},
"end": {
"line": 57,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 640,
"end": 877,
"loc": {
"start": {
"line": 31,
"column": 2
},
"end": {
"line": 39,
"column": 5
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 646,
"end": 876,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 39,
"column": 4
}
},
"id": {
"type": "ObjectPattern",
"start": 646,
"end": 665,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 27
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 648,
"end": 663,
"loc": {
"start": {
"line": 31,
"column": 10
},
"end": {
"line": 31,
"column": 25
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 648,
"end": 663,
"loc": {
"start": {
"line": 31,
"column": 10
},
"end": {
"line": 31,
"column": 25
},
"identifierName": "useCustomSeeder"
},
"name": "useCustomSeeder"
},
"value": {
"type": "Identifier",
"start": 648,
"end": 663,
"loc": {
"start": {
"line": 31,
"column": 10
},
"end": {
"line": 31,
"column": 25
},
"identifierName": "useCustomSeeder"
},
"name": "useCustomSeeder"
},
"extra": {
"shorthand": true
}
}
]
},
"init": {
"type": "AwaitExpression",
"start": 668,
"end": 876,
"loc": {
"start": {
"line": 31,
"column": 30
},
"end": {
"line": 39,
"column": 4
}
},
"argument": {
"type": "CallExpression",
"start": 674,
"end": 876,
"loc": {
"start": {
"line": 31,
"column": 36
},
"end": {
"line": 39,
"column": 4
}
},
"callee": {
"type": "MemberExpression",
"start": 674,
"end": 689,
"loc": {
"start": {
"line": 31,
"column": 36
},
"end": {
"line": 31,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 674,
"end": 682,
"loc": {
"start": {
"line": 31,
"column": 36
},
"end": {
"line": 31,
"column": 44
},
"identifierName": "inquirer"
},
"name": "inquirer"
},
"property": {
"type": "Identifier",
"start": 683,
"end": 689,
"loc": {
"start": {
"line": 31,
"column": 45
},
"end": {
"line": 31,
"column": 51
},
"identifierName": "prompt"
},
"name": "prompt"
},
"computed": false
},
"arguments": [
{
"type": "ArrayExpression",
"start": 690,
"end": 875,
"loc": {
"start": {
"line": 31,
"column": 52
},
"end": {
"line": 39,
"column": 3
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 696,
"end": 870,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 38,
"column": 5
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 704,
"end": 727,
"loc": {
"start": {
"line": 33,
"column": 6
},
"end": {
"line": 33,
"column": 29
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 704,
"end": 708,
"loc": {
"start": {
"line": 33,
"column": 6
},
"end": {
"line": 33,
"column": 10
},
"identifierName": "name"
},
"name": "name"
},
"value": {
"type": "StringLiteral",
"start": 710,
"end": 727,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 29
}
},
"extra": {
"rawValue": "useCustomSeeder",
"raw": "'useCustomSeeder'"
},
"value": "useCustomSeeder"
}
},
{
"type": "ObjectProperty",
"start": 735,
"end": 750,
"loc": {
"start": {
"line": 34,
"column": 6
},
"end": {
"line": 34,
"column": 21
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 735,
"end": 739,
"loc": {
"start": {
"line": 34,
"column": 6
},
"end": {
"line": 34,
"column": 10
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "StringLiteral",
"start": 741,
"end": 750,
"loc": {
"start": {
"line": 34,
"column": 12
},
"end": {
"line": 34,
"column": 21
}
},
"extra": {
"rawValue": "confirm",
"raw": "'confirm'"
},
"value": "confirm"
}
},
{
"type": "ObjectProperty",
"start": 758,
"end": 841,
"loc": {
"start": {
"line": 35,
"column": 6
},
"end": {
"line": 36,
"column": 74
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 758,
"end": 765,
"loc": {
"start": {
"line": 35,
"column": 6
},
"end": {
"line": 35,
"column": 13
},
"identifierName": "message"
},
"name": "message"
},
"value": {
"type": "StringLiteral",
"start": 775,
"end": 841,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 74
}
},
"extra": {
"rawValue": "Would you like to use your own custom template for your seeders?",
"raw": "'Would you like to use your own custom template for your seeders?'"
},
"value": "Would you like to use your own custom template for your seeders?"
}
},
{
"type": "ObjectProperty",
"start": 849,
"end": 863,
"loc": {
"start": {
"line": 37,
"column": 6
},
"end": {
"line": 37,
"column": 20
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 849,
"end": 856,
"loc": {
"start": {
"line": 37,
"column": 6
},
"end": {
"line": 37,
"column": 13
},
"identifierName": "default"
},
"name": "default"
},
"value": {
"type": "BooleanLiteral",
"start": 858,
"end": 863,
"loc": {
"start": {
"line": 37,
"column": 15
},
"end": {
"line": 37,
"column": 20
}
},
"value": false
}
}
]
}
]
}
]
}
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 881,
"end": 920,
"loc": {
"start": {
"line": 41,
"column": 2
},
"end": {
"line": 43,
"column": 3
}
},
"test": {
"type": "UnaryExpression",
"start": 885,
"end": 901,
"loc": {
"start": {
"line": 41,
"column": 6
},
"end": {
"line": 41,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 886,
"end": 901,
"loc": {
"start": {
"line": 41,
"column": 7
},
"end": {
"line": 41,
"column": 22
},
"identifierName": "useCustomSeeder"
},
"name": "useCustomSeeder"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 903,
"end": 920,
"loc": {
"start": {
"line": 41,
"column": 24
},
"end": {
"line": 43,
"column": 3
}
},
"body": [
{
"type": "ReturnStatement",
"start": 909,
"end": 916,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 42,
"column": 11
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 924,
"end": 1246,
"loc": {
"start": {
"line": 45,
"column": 2
},
"end": {
"line": 54,
"column": 5
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 930,
"end": 1245,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 54,
"column": 4
}
},
"id": {
"type": "ObjectPattern",
"start": 930,
"end": 952,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 30
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 932,
"end": 950,
"loc": {
"start": {
"line": 45,
"column": 10
},
"end": {
"line": 45,
"column": 28
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 932,
"end": 950,
"loc": {
"start": {
"line": 45,
"column": 10
},
"end": {
"line": 45,
"column": 28
},
"identifierName": "seederTemplatePath"
},
"name": "seederTemplatePath"
},
"value": {
"type": "Identifier",
"start": 932,
"end": 950,
"loc": {
"start": {
"line": 45,
"column": 10
},
"end": {
"line": 45,
"column": 28
},
"identifierName": "seederTemplatePath"
},
"name": "seederTemplatePath"
},
"extra": {
"shorthand": true
}
}
]
},
"init": {
"type": "AwaitExpression",
"start": 955,
"end": 1245,
"loc": {
"start": {
"line": 45,
"column": 33
},
"end": {
"line": 54,
"column": 4
}
},
"argument": {
"type": "CallExpression",
"start": 961,
"end": 1245,
"loc": {
"start": {
"line": 45,
"column": 39
},
"end": {
"line": 54,
"column": 4
}
},
"callee": {
"type": "MemberExpression",
"start": 961,
"end": 976,
"loc": {
"start": {
"line": 45,
"column": 39
},
"end": {
"line": 45,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 961,
"end": 969,
"loc": {
"start": {
"line": 45,
"column": 39
},
"end": {
"line": 45,
"column": 47
},
"identifierName": "inquirer"
},
"name": "inquirer"
},
"property": {
"type": "Identifier",
"start": 970,
"end": 976,
"loc": {
"start": {
"line": 45,
"column": 48
},
"end": {
"line": 45,
"column": 54
},
"identifierName": "prompt"
},
"name": "prompt"
},
"computed": false
},
"arguments": [
{
"type": "ArrayExpression",
"start": 977,
"end": 1244,
"loc": {
"start": {
"line": 45,
"column": 55
},
"end": {
"line": 54,
"column": 3
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 983,
"end": 1239,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 53,
"column": 5
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 991,
"end": 1017,
"loc": {
"start": {
"line": 47,
"column": 6
},
"end": {
"line": 47,
"column": 32
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 991,
"end": 995,
"loc": {
"start": {
"line": 47,
"column": 6
},
"end": {
"line": 47,
"column": 10
},
"identifierName": "name"
},
"name": "name"
},
"value": {
"type": "StringLiteral",
"start": 997,
"end": 1017,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 32
}
},
"extra": {
"rawValue": "seederTemplatePath",
"raw": "'seederTemplatePath'"
},
"value": "seederTemplatePath"
}
},
{
"type": "ObjectProperty",
"start": 1025,
"end": 1038,
"loc": {
"start": {
"line": 48,
"column": 6
},
"end": {
"line": 48,
"column": 19
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1025,
"end": 1029,
"loc": {
"start": {
"line": 48,
"column": 6
},
"end": {
"line": 48,
"column": 10
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "StringLiteral",
"start": 1031,
"end": 1038,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 19
}
},
"extra": {
"rawValue": "input",
"raw": "'input'"
},
"value": "input"
}
},
{
"type": "ObjectProperty",
"start": 1046,
"end": 1095,
"loc": {
"start": {
"line": 49,
"column": 6
},
"end": {
"line": 49,
"column": 55
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1046,
"end": 1053,
"loc": {
"start": {
"line": 49,
"column": 6
},
"end": {
"line": 49,
"column": 13
},
"identifierName": "message"
},
"name": "message"
},
"value": {
"type": "StringLiteral",
"start": 1055,
"end": 1095,
"loc": {
"start": {
"line": 49,
"column": 15
},
"end": {
"line": 49,
"column": 55
}
},
"extra": {
"rawValue": "Choose a path for your seeder template",
"raw": "'Choose a path for your seeder template'"
},
"value": "Choose a path for your seeder template"
}
},
{
"type": "ObjectProperty",
"start": 1103,
"end": 1136,
"loc": {
"start": {
"line": 50,
"column": 6
},
"end": {
"line": 50,
"column": 39
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1103,
"end": 1110,
"loc": {
"start": {
"line": 50,
"column": 6
},
"end": {
"line": 50,
"column": 13
},
"identifierName": "default"
},
"name": "default"
},
"value": {
"type": "StringLiteral",
"start": 1112,
"end": 1136,
"loc": {
"start": {
"line": 50,
"column": 15
},
"end": {
"line": 50,
"column": 39
}
},
"extra": {
"rawValue": "./md-seed-template.ejs",
"raw": "'./md-seed-template.ejs'"
},
"value": "./md-seed-template.ejs"
}
},
{
"type": "ObjectProperty",
"start": 1144,
"end": 1172,
"loc": {
"start": {
"line": 51,
"column": 6
},
"end": {
"line": 51,
"column": 34
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1144,
"end": 1150,
"loc": {
"start": {
"line": 51,
"column": 6
},
"end": {
"line": 51,
"column": 12
},
"identifierName": "filter"
},
"name": "filter"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 1152,
"end": 1172,
"loc": {
"start": {
"line": 51,
"column": 14
},
"end": {
"line": 51,
"column": 34
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1152,
"end": 1157,
"loc": {
"start": {
"line": 51,
"column": 14
},
"end": {
"line": 51,
"column": 19
},
"identifierName": "input"
},
"name": "input"
}
],
"body": {
"type": "CallExpression",
"start": 1161,
"end": 1172,
"loc": {
"start": {
"line": 51,
"column": 23
},
"end": {
"line": 51,
"column": 34
}
},
"callee": {
"type": "Identifier",
"start": 1161,
"end": 1165,
"loc": {
"start": {
"line": 51,
"column": 23
},
"end": {
"line": 51,
"column": 27
},
"identifierName": "trim"
},
"name": "trim"
},
"arguments": [
{
"type": "Identifier",
"start": 1166,
"end": 1171,
"loc": {
"start": {
"line": 51,
"column": 28
},
"end": {
"line": 51,
"column": 33
},
"identifierName": "input"
},
"name": "input"
}
]
}
}
},
{
"type": "ObjectProperty",
"start": 1180,
"end": 1232,
"loc": {
"start": {
"line": 52,
"column": 6
},
"end": {
"line": 52,
"column": 58
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1180,
"end": 1188,
"loc": {
"start": {
"line": 52,
"column": 6
},
"end": {
"line": 52,
"column": 14
},
"identifierName": "validate"
},
"name": "validate"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 1190,
"end": 1232,
"loc": {
"start": {
"line": 52,
"column": 16
},
"end": {
"line": 52,
"column": 58
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1190,
"end": 1195,
"loc": {
"start": {
"line": 52,
"column": 16
},
"end": {
"line": 52,
"column": 21
},
"identifierName": "input"
},
"name": "input"
}
],
"body": {
"type": "CallExpression",
"start": 1199,
"end": 1232,
"loc": {
"start": {
"line": 52,
"column": 25
},
"end": {
"line": 52,
"column": 58
}
},
"callee": {
"type": "Identifier",
"start": 1199,
"end": 1225,
"loc": {
"start": {
"line": 52,
"column": 25
},
"end": {
"line": 52,
"column": 51
},
"identifierName": "validateSeederTemplatePath"
},
"name": "validateSeederTemplatePath"
},
"arguments": [
{
"type": "Identifier",
"start": 1226,
"end": 1231,
"loc": {
"start": {
"line": 52,
"column": 52
},
"end": {
"line": 52,
"column": 57
},
"identifierName": "input"
},
"name": "input"
}
]
}
}
}
]
}
]
}
]
}
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 1250,
"end": 1276,
"loc": {
"start": {
"line": 56,
"column": 2
},
"end": {
"line": 56,
"column": 28
}
},
"argument": {
"type": "Identifier",
"start": 1257,
"end": 1275,
"loc": {
"start": {
"line": 56,
"column": 9
},
"end": {
"line": 56,
"column": 27
},
"identifierName": "seederTemplatePath"
},
"name": "seederTemplatePath"
}
}
],
"directives": []
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n ",
"start": 568,
"end": 587,
"loc": {
"start": {
"line": 27,
"column": 0
},
"end": {
"line": 29,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n ",
"start": 568,
"end": 587,
"loc": {
"start": {
"line": 27,
"column": 0
},
"end": {
"line": 29,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n ",
"start": 164,
"end": 183,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 11,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * @private\n ",
"start": 568,
"end": 587,
"loc": {
"start": {
"line": 27,
"column": 0
},
"end": {
"line": 29,
"column": 3
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "inquirer",
"start": 7,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 16,
"end": 20,
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "inquirer",
"start": 21,
"end": 31,
"loc": {
"start": {
"line": 1,
"column": 21
},
"end": {
"line": 1,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 31,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 31
},
"end": {
"line": 1,
"column": 32
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 33,
"end": 39,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 40,
"end": 41,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "trim",
"start": 42,
"end": 46,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 47,
"end": 48,
"loc": {
"start": {
"line": 2,
"column": 14
},
"end": {
"line": 2,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 49,
"end": 53,
"loc": {
"start": {
"line": 2,
"column": 16
},
"end": {
"line": 2,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "lodash",
"start": 54,
"end": 62,
"loc": {
"start": {
"line": 2,
"column": 21
},
"end": {
"line": 2,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 62,
"end": 63,
"loc": {
"start": {
"line": 2,
"column": 29
},
"end": {
"line": 2,
"column": 30
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 65,
"end": 71,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 72,
"end": 73,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validateSeedersFolderName",
"start": 76,
"end": 101,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 101,
"end": 102,
"loc": {
"start": {
"line": 5,
"column": 27
},
"end": {
"line": 5,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validateSeederTemplatePath",
"start": 105,
"end": 131,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 131,
"end": 132,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 133,
"end": 134,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 1
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 135,
"end": 139,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 7,
"column": 6
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../utils/helpers",
"start": 140,
"end": 161,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 161,
"end": 162,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 7,
"column": 29
}
}
},
{
"type": "CommentBlock",
"value": "*\n * @private\n ",
"start": 164,
"end": 183,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 11,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 184,
"end": 190,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 191,
"end": 196,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "promptSeedersFolder",
"start": 197,
"end": 216,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 217,
"end": 218,
"loc": {
"start": {
"line": 12,
"column": 33
},
"end": {
"line": 12,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "async",
"start": 219,
"end": 224,
"loc": {
"start": {
"line": 12,
"column": 35
},
"end": {
"line": 12,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 225,
"end": 226,
"loc": {
"start": {
"line": 12,
"column": 41
},
"end": {
"line": 12,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 226,
"end": 227,
"loc": {
"start": {
"line": 12,
"column": 42
},
"end": {
"line": 12,
"column": 43
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 228,
"end": 230,
"loc": {
"start": {
"line": 12,
"column": 44
},
"end": {
"line": 12,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 231,
"end": 232,
"loc": {
"start": {
"line": 12,
"column": 47
},
"end": {
"line": 12,
"column": 48
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 235,
"end": 240,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 13,
"column": 7
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 241,
"end": 242,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seedersFolderName",
"start": 243,
"end": 260,
"loc": {
"start": {
"line": 13,
"column": 10
},
"end": {
"line": 13,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 261,
"end": 262,
"loc": {
"start": {
"line": 13,
"column": 28
},
"end": {
"line": 13,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 263,
"end": 264,
"loc": {
"start": {
"line": 13,
"column": 30
},
"end": {
"line": 13,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "await",
"start": 265,
"end": 270,
"loc": {
"start": {
"line": 13,
"column": 32
},
"end": {
"line": 13,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "inquirer",
"start": 271,
"end": 279,
"loc": {
"start": {
"line": 13,
"column": 38
},
"end": {
"line": 13,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 279,
"end": 280,
"loc": {
"start": {
"line": 13,
"column": 46
},
"end": {
"line": 13,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prompt",
"start": 280,
"end": 286,
"loc": {
"start": {
"line": 13,
"column": 47
},
"end": {
"line": 13,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 286,
"end": 287,
"loc": {
"start": {
"line": 13,
"column": 53
},
"end": {
"line": 13,
"column": 54
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 287,
"end": 288,
"loc": {
"start": {
"line": 13,
"column": 54
},
"end": {
"line": 13,
"column": 55
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 293,
"end": 294,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "name",
"start": 301,
"end": 305,
"loc": {
"start": {
"line": 15,
"column": 6
},
"end": {
"line": 15,
"column": 10
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 305,
"end": 306,
"loc": {
"start": {
"line": 15,
"column": 10
},
"end": {
"line": 15,
"column": 11
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "seedersFolderName",
"start": 307,
"end": 326,
"loc": {
"start": {
"line": 15,
"column": 12
},
"end": {
"line": 15,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 326,
"end": 327,
"loc": {
"start": {
"line": 15,
"column": 31
},
"end": {
"line": 15,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 334,
"end": 338,
"loc": {
"start": {
"line": 16,
"column": 6
},
"end": {
"line": 16,
"column": 10
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 338,
"end": 339,
"loc": {
"start": {
"line": 16,
"column": 10
},
"end": {
"line": 16,
"column": 11
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "input",
"start": 340,
"end": 347,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 347,
"end": 348,
"loc": {
"start": {
"line": 16,
"column": 19
},
"end": {
"line": 16,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "message",
"start": 355,
"end": 362,
"loc": {
"start": {
"line": 17,
"column": 6
},
"end": {
"line": 17,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 362,
"end": 363,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Choose your seeders folder name",
"start": 364,
"end": 397,
"loc": {
"start": {
"line": 17,
"column": 15
},
"end": {
"line": 17,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 397,
"end": 398,
"loc": {
"start": {
"line": 17,
"column": 48
},
"end": {
"line": 17,
"column": 49
}
}
},
{
"type": {
"label": "default",
"keyword": "default",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "default",
"start": 405,
"end": 412,
"loc": {
"start": {
"line": 18,
"column": 6
},
"end": {
"line": 18,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 412,
"end": 413,
"loc": {
"start": {
"line": 18,
"column": 13
},
"end": {
"line": 18,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./seeders",
"start": 414,
"end": 425,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 18,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 425,
"end": 426,
"loc": {
"start": {
"line": 18,
"column": 26
},
"end": {
"line": 18,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filter",
"start": 433,
"end": 439,
"loc": {
"start": {
"line": 19,
"column": 6
},
"end": {
"line": 19,
"column": 12
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 439,
"end": 440,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "input",
"start": 441,
"end": 446,
"loc": {
"start": {
"line": 19,
"column": 14
},
"end": {
"line": 19,
"column": 19
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 447,
"end": 449,
"loc": {
"start": {
"line": 19,
"column": 20
},
"end": {
"line": 19,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "trim",
"start": 450,
"end": 454,
"loc": {
"start": {
"line": 19,
"column": 23
},
"end": {
"line": 19,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 454,
"end": 455,
"loc": {
"start": {
"line": 19,
"column": 27
},
"end": {
"line": 19,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "input",
"start": 455,
"end": 460,
"loc": {
"start": {
"line": 19,
"column": 28
},
"end": {
"line": 19,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 460,
"end": 461,
"loc": {
"start": {
"line": 19,
"column": 33
},
"end": {
"line": 19,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 461,
"end": 462,
"loc": {
"start": {
"line": 19,
"column": 34
},
"end": {
"line": 19,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validate",
"start": 469,
"end": 477,
"loc": {
"start": {
"line": 20,
"column": 6
},
"end": {
"line": 20,
"column": 14
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 477,
"end": 478,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "input",
"start": 479,
"end": 484,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 21
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 485,
"end": 487,
"loc": {
"start": {
"line": 20,
"column": 22
},
"end": {
"line": 20,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validateSeedersFolderName",
"start": 488,
"end": 513,
"loc": {
"start": {
"line": 20,
"column": 25
},
"end": {
"line": 20,
"column": 50
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 513,
"end": 514,
"loc": {
"start": {
"line": 20,
"column": 50
},
"end": {
"line": 20,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "input",
"start": 514,
"end": 519,
"loc": {
"start": {
"line": 20,
"column": 51
},
"end": {
"line": 20,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 519,
"end": 520,
"loc": {
"start": {
"line": 20,
"column": 56
},
"end": {
"line": 20,
"column": 57
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 520,
"end": 521,
"loc": {
"start": {
"line": 20,
"column": 57
},
"end": {
"line": 20,
"column": 58
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 526,
"end": 527,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 527,
"end": 528,
"loc": {
"start": {
"line": 21,
"column": 5
},
"end": {
"line": 21,
"column": 6
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 531,
"end": 532,
"loc": {
"start": {
"line": 22,
"column": 2
},
"end": {
"line": 22,
"column": 3
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 532,
"end": 533,
"loc": {
"start": {
"line": 22,
"column": 3
},
"end": {
"line": 22,
"column": 4
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 533,
"end": 534,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 5
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 538,
"end": 544,
"loc": {
"start": {
"line": 24,
"column": 2
},
"end": {
"line": 24,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seedersFolderName",
"start": 545,
"end": 562,
"loc": {
"start": {
"line": 24,
"column": 9
},
"end": {
"line": 24,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 562,
"end": 563,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 24,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 564,
"end": 565,
"loc": {
"start": {
"line": 25,
"column": 0
},
"end": {
"line": 25,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 565,
"end": 566,
"loc": {
"start": {
"line": 25,
"column": 1
},
"end": {
"line": 25,
"column": 2
}
}
},
{
"type": "CommentBlock",
"value": "*\n * @private\n ",
"start": 568,
"end": 587,
"loc": {
"start": {
"line": 27,
"column": 0
},
"end": {
"line": 29,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 588,
"end": 594,
"loc": {
"start": {
"line": 30,
"column": 0
},
"end": {
"line": 30,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 595,
"end": 600,
"loc": {
"start": {
"line": 30,
"column": 7
},
"end": {
"line": 30,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "promptSeederTemplate",
"start": 601,
"end": 621,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 622,
"end": 623,
"loc": {
"start": {
"line": 30,
"column": 34
},
"end": {
"line": 30,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "async",
"start": 624,
"end": 629,
"loc": {
"start": {
"line": 30,
"column": 36
},
"end": {
"line": 30,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 630,
"end": 631,
"loc": {
"start": {
"line": 30,
"column": 42
},
"end": {
"line": 30,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 631,
"end": 632,
"loc": {
"start": {
"line": 30,
"column": 43
},
"end": {
"line": 30,
"column": 44
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 633,
"end": 635,
"loc": {
"start": {
"line": 30,
"column": 45
},
"end": {
"line": 30,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 636,
"end": 637,
"loc": {
"start": {
"line": 30,
"column": 48
},
"end": {
"line": 30,
"column": 49
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 640,
"end": 645,
"loc": {
"start": {
"line": 31,
"column": 2
},
"end": {
"line": 31,
"column": 7
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 646,
"end": 647,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "useCustomSeeder",
"start": 648,
"end": 663,
"loc": {
"start": {
"line": 31,
"column": 10
},
"end": {
"line": 31,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 664,
"end": 665,
"loc": {
"start": {
"line": 31,
"column": 26
},
"end": {
"line": 31,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 666,
"end": 667,
"loc": {
"start": {
"line": 31,
"column": 28
},
"end": {
"line": 31,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "await",
"start": 668,
"end": 673,
"loc": {
"start": {
"line": 31,
"column": 30
},
"end": {
"line": 31,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "inquirer",
"start": 674,
"end": 682,
"loc": {
"start": {
"line": 31,
"column": 36
},
"end": {
"line": 31,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 682,
"end": 683,
"loc": {
"start": {
"line": 31,
"column": 44
},
"end": {
"line": 31,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prompt",
"start": 683,
"end": 689,
"loc": {
"start": {
"line": 31,
"column": 45
},
"end": {
"line": 31,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 689,
"end": 690,
"loc": {
"start": {
"line": 31,
"column": 51
},
"end": {
"line": 31,
"column": 52
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 690,
"end": 691,
"loc": {
"start": {
"line": 31,
"column": 52
},
"end": {
"line": 31,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 696,
"end": 697,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "name",
"start": 704,
"end": 708,
"loc": {
"start": {
"line": 33,
"column": 6
},
"end": {
"line": 33,
"column": 10
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 708,
"end": 709,
"loc": {
"start": {
"line": 33,
"column": 10
},
"end": {
"line": 33,
"column": 11
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "useCustomSeeder",
"start": 710,
"end": 727,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 727,
"end": 728,
"loc": {
"start": {
"line": 33,
"column": 29
},
"end": {
"line": 33,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 735,
"end": 739,
"loc": {
"start": {
"line": 34,
"column": 6
},
"end": {
"line": 34,
"column": 10
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 739,
"end": 740,
"loc": {
"start": {
"line": 34,
"column": 10
},
"end": {
"line": 34,
"column": 11
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "confirm",
"start": 741,
"end": 750,
"loc": {
"start": {
"line": 34,
"column": 12
},
"end": {
"line": 34,
"column": 21
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 750,
"end": 751,
"loc": {
"start": {
"line": 34,
"column": 21
},
"end": {
"line": 34,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "message",
"start": 758,
"end": 765,
"loc": {
"start": {
"line": 35,
"column": 6
},
"end": {
"line": 35,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 765,
"end": 766,
"loc": {
"start": {
"line": 35,
"column": 13
},
"end": {
"line": 35,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Would you like to use your own custom template for your seeders?",
"start": 775,
"end": 841,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 74
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 841,
"end": 842,
"loc": {
"start": {
"line": 36,
"column": 74
},
"end": {
"line": 36,
"column": 75
}
}
},
{
"type": {
"label": "default",
"keyword": "default",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "default",
"start": 849,
"end": 856,
"loc": {
"start": {
"line": 37,
"column": 6
},
"end": {
"line": 37,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 856,
"end": 857,
"loc": {
"start": {
"line": 37,
"column": 13
},
"end": {
"line": 37,
"column": 14
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 858,
"end": 863,
"loc": {
"start": {
"line": 37,
"column": 15
},
"end": {
"line": 37,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 863,
"end": 864,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 869,
"end": 870,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 870,
"end": 871,
"loc": {
"start": {
"line": 38,
"column": 5
},
"end": {
"line": 38,
"column": 6
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 874,
"end": 875,
"loc": {
"start": {
"line": 39,
"column": 2
},
"end": {
"line": 39,
"column": 3
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 875,
"end": 876,
"loc": {
"start": {
"line": 39,
"column": 3
},
"end": {
"line": 39,
"column": 4
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 876,
"end": 877,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 5
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 881,
"end": 883,
"loc": {
"start": {
"line": 41,
"column": 2
},
"end": {
"line": 41,
"column": 4
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 884,
"end": 885,
"loc": {
"start": {
"line": 41,
"column": 5
},
"end": {
"line": 41,
"column": 6
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 885,
"end": 886,
"loc": {
"start": {
"line": 41,
"column": 6
},
"end": {
"line": 41,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "useCustomSeeder",
"start": 886,
"end": 901,
"loc": {
"start": {
"line": 41,
"column": 7
},
"end": {
"line": 41,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 901,
"end": 902,
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 41,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 903,
"end": 904,
"loc": {
"start": {
"line": 41,
"column": 24
},
"end": {
"line": 41,
"column": 25
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 909,
"end": 915,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 42,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 915,
"end": 916,
"loc": {
"start": {
"line": 42,
"column": 10
},
"end": {
"line": 42,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 919,
"end": 920,
"loc": {
"start": {
"line": 43,
"column": 2
},
"end": {
"line": 43,
"column": 3
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 924,
"end": 929,
"loc": {
"start": {
"line": 45,
"column": 2
},
"end": {
"line": 45,
"column": 7
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 930,
"end": 931,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seederTemplatePath",
"start": 932,
"end": 950,
"loc": {
"start": {
"line": 45,
"column": 10
},
"end": {
"line": 45,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 951,
"end": 952,
"loc": {
"start": {
"line": 45,
"column": 29
},
"end": {
"line": 45,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 953,
"end": 954,
"loc": {
"start": {
"line": 45,
"column": 31
},
"end": {
"line": 45,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "await",
"start": 955,
"end": 960,
"loc": {
"start": {
"line": 45,
"column": 33
},
"end": {
"line": 45,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "inquirer",
"start": 961,
"end": 969,
"loc": {
"start": {
"line": 45,
"column": 39
},
"end": {
"line": 45,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 969,
"end": 970,
"loc": {
"start": {
"line": 45,
"column": 47
},
"end": {
"line": 45,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prompt",
"start": 970,
"end": 976,
"loc": {
"start": {
"line": 45,
"column": 48
},
"end": {
"line": 45,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 976,
"end": 977,
"loc": {
"start": {
"line": 45,
"column": 54
},
"end": {
"line": 45,
"column": 55
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 977,
"end": 978,
"loc": {
"start": {
"line": 45,
"column": 55
},
"end": {
"line": 45,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 983,
"end": 984,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "name",
"start": 991,
"end": 995,
"loc": {
"start": {
"line": 47,
"column": 6
},
"end": {
"line": 47,
"column": 10
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 995,
"end": 996,
"loc": {
"start": {
"line": 47,
"column": 10
},
"end": {
"line": 47,
"column": 11
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "seederTemplatePath",
"start": 997,
"end": 1017,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1017,
"end": 1018,
"loc": {
"start": {
"line": 47,
"column": 32
},
"end": {
"line": 47,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 1025,
"end": 1029,
"loc": {
"start": {
"line": 48,
"column": 6
},
"end": {
"line": 48,
"column": 10
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1029,
"end": 1030,
"loc": {
"start": {
"line": 48,
"column": 10
},
"end": {
"line": 48,
"column": 11
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "input",
"start": 1031,
"end": 1038,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1038,
"end": 1039,
"loc": {
"start": {
"line": 48,
"column": 19
},
"end": {
"line": 48,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "message",
"start": 1046,
"end": 1053,
"loc": {
"start": {
"line": 49,
"column": 6
},
"end": {
"line": 49,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1053,
"end": 1054,
"loc": {
"start": {
"line": 49,
"column": 13
},
"end": {
"line": 49,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Choose a path for your seeder template",
"start": 1055,
"end": 1095,
"loc": {
"start": {
"line": 49,
"column": 15
},
"end": {
"line": 49,
"column": 55
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1095,
"end": 1096,
"loc": {
"start": {
"line": 49,
"column": 55
},
"end": {
"line": 49,
"column": 56
}
}
},
{
"type": {
"label": "default",
"keyword": "default",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "default",
"start": 1103,
"end": 1110,
"loc": {
"start": {
"line": 50,
"column": 6
},
"end": {
"line": 50,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1110,
"end": 1111,
"loc": {
"start": {
"line": 50,
"column": 13
},
"end": {
"line": 50,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./md-seed-template.ejs",
"start": 1112,
"end": 1136,
"loc": {
"start": {
"line": 50,
"column": 15
},
"end": {
"line": 50,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1136,
"end": 1137,
"loc": {
"start": {
"line": 50,
"column": 39
},
"end": {
"line": 50,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filter",
"start": 1144,
"end": 1150,
"loc": {
"start": {
"line": 51,
"column": 6
},
"end": {
"line": 51,
"column": 12
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1150,
"end": 1151,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "input",
"start": 1152,
"end": 1157,
"loc": {
"start": {
"line": 51,
"column": 14
},
"end": {
"line": 51,
"column": 19
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1158,
"end": 1160,
"loc": {
"start": {
"line": 51,
"column": 20
},
"end": {
"line": 51,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "trim",
"start": 1161,
"end": 1165,
"loc": {
"start": {
"line": 51,
"column": 23
},
"end": {
"line": 51,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1165,
"end": 1166,
"loc": {
"start": {
"line": 51,
"column": 27
},
"end": {
"line": 51,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "input",
"start": 1166,
"end": 1171,
"loc": {
"start": {
"line": 51,
"column": 28
},
"end": {
"line": 51,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1171,
"end": 1172,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1172,
"end": 1173,
"loc": {
"start": {
"line": 51,
"column": 34
},
"end": {
"line": 51,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validate",
"start": 1180,
"end": 1188,
"loc": {
"start": {
"line": 52,
"column": 6
},
"end": {
"line": 52,
"column": 14
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1188,
"end": 1189,
"loc": {
"start": {
"line": 52,
"column": 14
},
"end": {
"line": 52,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "input",
"start": 1190,
"end": 1195,
"loc": {
"start": {
"line": 52,
"column": 16
},
"end": {
"line": 52,
"column": 21
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1196,
"end": 1198,
"loc": {
"start": {
"line": 52,
"column": 22
},
"end": {
"line": 52,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "validateSeederTemplatePath",
"start": 1199,
"end": 1225,
"loc": {
"start": {
"line": 52,
"column": 25
},
"end": {
"line": 52,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1225,
"end": 1226,
"loc": {
"start": {
"line": 52,
"column": 51
},
"end": {
"line": 52,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "input",
"start": 1226,
"end": 1231,
"loc": {
"start": {
"line": 52,
"column": 52
},
"end": {
"line": 52,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1231,
"end": 1232,
"loc": {
"start": {
"line": 52,
"column": 57
},
"end": {
"line": 52,
"column": 58
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1232,
"end": 1233,
"loc": {
"start": {
"line": 52,
"column": 58
},
"end": {
"line": 52,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1238,
"end": 1239,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1239,
"end": 1240,
"loc": {
"start": {
"line": 53,
"column": 5
},
"end": {
"line": 53,
"column": 6
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1243,
"end": 1244,
"loc": {
"start": {
"line": 54,
"column": 2
},
"end": {
"line": 54,
"column": 3
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1244,
"end": 1245,
"loc": {
"start": {
"line": 54,
"column": 3
},
"end": {
"line": 54,
"column": 4
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1245,
"end": 1246,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 5
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1250,
"end": 1256,
"loc": {
"start": {
"line": 56,
"column": 2
},
"end": {
"line": 56,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seederTemplatePath",
"start": 1257,
"end": 1275,
"loc": {
"start": {
"line": 56,
"column": 9
},
"end": {
"line": 56,
"column": 27
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1275,
"end": 1276,
"loc": {
"start": {
"line": 56,
"column": 27
},
"end": {
"line": 56,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1277,
"end": 1278,
"loc": {
"start": {
"line": 57,
"column": 0
},
"end": {
"line": 57,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1278,
"end": 1279,
"loc": {
"start": {
"line": 57,
"column": 1
},
"end": {
"line": 57,
"column": 2
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1280,
"end": 1280,
"loc": {
"start": {
"line": 58,
"column": 0
},
"end": {
"line": 58,
"column": 0
}
}
}
]
}