mongoose-data-seed
Version:
Seed mongodb with data using mongoose models
2,177 lines • 49.9 kB
JSON
{
"type": "File",
"start": 0,
"end": 387,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 17,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 387,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 17,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 39,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 39
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 19,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 19
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 19,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 19
},
"identifierName": "getOptions"
},
"name": "getOptions"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 19,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 19
},
"identifierName": "getOptions"
},
"name": "getOptions"
}
}
],
"source": {
"type": "StringLiteral",
"start": 27,
"end": 38,
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 38
}
},
"extra": {
"rawValue": "./options",
"raw": "'./options'"
},
"value": "./options"
}
},
{
"type": "ImportDeclaration",
"start": 40,
"end": 66,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 26
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 47,
"end": 51,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 11
}
},
"local": {
"type": "Identifier",
"start": 47,
"end": 51,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 11
},
"identifierName": "help"
},
"name": "help"
}
}
],
"source": {
"type": "StringLiteral",
"start": 57,
"end": 65,
"loc": {
"start": {
"line": 2,
"column": 17
},
"end": {
"line": 2,
"column": 25
}
},
"extra": {
"rawValue": "./help",
"raw": "'./help'"
},
"value": "./help"
}
},
{
"type": "ImportDeclaration",
"start": 67,
"end": 114,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 47
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 74,
"end": 88,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 21
}
},
"local": {
"type": "Identifier",
"start": 74,
"end": 88,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 21
},
"identifierName": "generateSeeder"
},
"name": "generateSeeder"
}
}
],
"source": {
"type": "StringLiteral",
"start": 94,
"end": 113,
"loc": {
"start": {
"line": 3,
"column": 27
},
"end": {
"line": 3,
"column": 46
}
},
"extra": {
"rawValue": "./generate-seeder",
"raw": "'./generate-seeder'"
},
"value": "./generate-seeder"
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * mongoose-data-seed generate command\n * @param {stringp[]} argv cli arguments\n * @return {Promise}\n ",
"start": 116,
"end": 226,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 9,
"column": 3
}
}
}
]
},
{
"type": "ExportDefaultDeclaration",
"start": 227,
"end": 386,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 16,
"column": 2
}
},
"declaration": {
"type": "ArrowFunctionExpression",
"start": 242,
"end": 385,
"loc": {
"start": {
"line": 10,
"column": 15
},
"end": {
"line": 16,
"column": 1
}
},
"id": null,
"generator": false,
"expression": false,
"async": true,
"params": [
{
"type": "Identifier",
"start": 248,
"end": 252,
"loc": {
"start": {
"line": 10,
"column": 21
},
"end": {
"line": 10,
"column": 25
},
"identifierName": "argv"
},
"name": "argv"
}
],
"body": {
"type": "BlockStatement",
"start": 256,
"end": 385,
"loc": {
"start": {
"line": 10,
"column": 29
},
"end": {
"line": 16,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 260,
"end": 312,
"loc": {
"start": {
"line": 11,
"column": 2
},
"end": {
"line": 11,
"column": 54
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 266,
"end": 311,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 53
}
},
"id": {
"type": "ObjectPattern",
"start": 266,
"end": 292,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 34
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 268,
"end": 278,
"loc": {
"start": {
"line": 11,
"column": 10
},
"end": {
"line": 11,
"column": 20
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 268,
"end": 278,
"loc": {
"start": {
"line": 11,
"column": 10
},
"end": {
"line": 11,
"column": 20
},
"identifierName": "seederName"
},
"name": "seederName"
},
"value": {
"type": "Identifier",
"start": 268,
"end": 278,
"loc": {
"start": {
"line": 11,
"column": 10
},
"end": {
"line": 11,
"column": 20
},
"identifierName": "seederName"
},
"name": "seederName"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 280,
"end": 290,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 32
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 280,
"end": 290,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 32
},
"identifierName": "helpWanted"
},
"name": "helpWanted"
},
"value": {
"type": "Identifier",
"start": 280,
"end": 290,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 32
},
"identifierName": "helpWanted"
},
"name": "helpWanted"
},
"extra": {
"shorthand": true
}
}
]
},
"init": {
"type": "CallExpression",
"start": 295,
"end": 311,
"loc": {
"start": {
"line": 11,
"column": 37
},
"end": {
"line": 11,
"column": 53
}
},
"callee": {
"type": "Identifier",
"start": 295,
"end": 305,
"loc": {
"start": {
"line": 11,
"column": 37
},
"end": {
"line": 11,
"column": 47
},
"identifierName": "getOptions"
},
"name": "getOptions"
},
"arguments": [
{
"type": "Identifier",
"start": 306,
"end": 310,
"loc": {
"start": {
"line": 11,
"column": 48
},
"end": {
"line": 11,
"column": 52
},
"identifierName": "argv"
},
"name": "argv"
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 316,
"end": 346,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 13,
"column": 32
}
},
"test": {
"type": "Identifier",
"start": 320,
"end": 330,
"loc": {
"start": {
"line": 13,
"column": 6
},
"end": {
"line": 13,
"column": 16
},
"identifierName": "helpWanted"
},
"name": "helpWanted"
},
"consequent": {
"type": "ReturnStatement",
"start": 332,
"end": 346,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 32
}
},
"argument": {
"type": "CallExpression",
"start": 339,
"end": 345,
"loc": {
"start": {
"line": 13,
"column": 25
},
"end": {
"line": 13,
"column": 31
}
},
"callee": {
"type": "Identifier",
"start": 339,
"end": 343,
"loc": {
"start": {
"line": 13,
"column": 25
},
"end": {
"line": 13,
"column": 29
},
"identifierName": "help"
},
"name": "help"
},
"arguments": []
}
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 350,
"end": 383,
"loc": {
"start": {
"line": 15,
"column": 2
},
"end": {
"line": 15,
"column": 35
}
},
"expression": {
"type": "AwaitExpression",
"start": 350,
"end": 382,
"loc": {
"start": {
"line": 15,
"column": 2
},
"end": {
"line": 15,
"column": 34
}
},
"argument": {
"type": "CallExpression",
"start": 356,
"end": 382,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 34
}
},
"callee": {
"type": "Identifier",
"start": 356,
"end": 370,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 22
},
"identifierName": "generateSeeder"
},
"name": "generateSeeder"
},
"arguments": [
{
"type": "Identifier",
"start": 371,
"end": 381,
"loc": {
"start": {
"line": 15,
"column": 23
},
"end": {
"line": 15,
"column": 33
},
"identifierName": "seederName"
},
"name": "seederName"
}
]
}
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * mongoose-data-seed generate command\n * @param {stringp[]} argv cli arguments\n * @return {Promise}\n ",
"start": 116,
"end": 226,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 9,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * mongoose-data-seed generate command\n * @param {stringp[]} argv cli arguments\n * @return {Promise}\n ",
"start": 116,
"end": 226,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 9,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\n * mongoose-data-seed generate command\n * @param {stringp[]} argv cli arguments\n * @return {Promise}\n ",
"start": 116,
"end": 226,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 9,
"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": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getOptions",
"start": 9,
"end": 19,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 20,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 22,
"end": 26,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./options",
"start": 27,
"end": 38,
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 38,
"end": 39,
"loc": {
"start": {
"line": 1,
"column": 38
},
"end": {
"line": 1,
"column": 39
}
}
},
{
"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": 40,
"end": 46,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "help",
"start": 47,
"end": 51,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 52,
"end": 56,
"loc": {
"start": {
"line": 2,
"column": 12
},
"end": {
"line": 2,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./help",
"start": 57,
"end": 65,
"loc": {
"start": {
"line": 2,
"column": 17
},
"end": {
"line": 2,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 65,
"end": 66,
"loc": {
"start": {
"line": 2,
"column": 25
},
"end": {
"line": 2,
"column": 26
}
}
},
{
"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": 67,
"end": 73,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "generateSeeder",
"start": 74,
"end": 88,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 89,
"end": 93,
"loc": {
"start": {
"line": 3,
"column": 22
},
"end": {
"line": 3,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./generate-seeder",
"start": 94,
"end": 113,
"loc": {
"start": {
"line": 3,
"column": 27
},
"end": {
"line": 3,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 113,
"end": 114,
"loc": {
"start": {
"line": 3,
"column": 46
},
"end": {
"line": 3,
"column": 47
}
}
},
{
"type": "CommentBlock",
"value": "*\n * mongoose-data-seed generate command\n * @param {stringp[]} argv cli arguments\n * @return {Promise}\n ",
"start": 116,
"end": 226,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 9,
"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": 227,
"end": 233,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 6
}
}
},
{
"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": 234,
"end": 241,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "async",
"start": 242,
"end": 247,
"loc": {
"start": {
"line": 10,
"column": 15
},
"end": {
"line": 10,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "argv",
"start": 248,
"end": 252,
"loc": {
"start": {
"line": 10,
"column": 21
},
"end": {
"line": 10,
"column": 25
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 253,
"end": 255,
"loc": {
"start": {
"line": 10,
"column": 26
},
"end": {
"line": 10,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 256,
"end": 257,
"loc": {
"start": {
"line": 10,
"column": 29
},
"end": {
"line": 10,
"column": 30
}
}
},
{
"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": 260,
"end": 265,
"loc": {
"start": {
"line": 11,
"column": 2
},
"end": {
"line": 11,
"column": 7
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 266,
"end": 267,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seederName",
"start": 268,
"end": 278,
"loc": {
"start": {
"line": 11,
"column": 10
},
"end": {
"line": 11,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 278,
"end": 279,
"loc": {
"start": {
"line": 11,
"column": 20
},
"end": {
"line": 11,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "helpWanted",
"start": 280,
"end": 290,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 291,
"end": 292,
"loc": {
"start": {
"line": 11,
"column": 33
},
"end": {
"line": 11,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 293,
"end": 294,
"loc": {
"start": {
"line": 11,
"column": 35
},
"end": {
"line": 11,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getOptions",
"start": 295,
"end": 305,
"loc": {
"start": {
"line": 11,
"column": 37
},
"end": {
"line": 11,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 305,
"end": 306,
"loc": {
"start": {
"line": 11,
"column": 47
},
"end": {
"line": 11,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "argv",
"start": 306,
"end": 310,
"loc": {
"start": {
"line": 11,
"column": 48
},
"end": {
"line": 11,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 310,
"end": 311,
"loc": {
"start": {
"line": 11,
"column": 52
},
"end": {
"line": 11,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 311,
"end": 312,
"loc": {
"start": {
"line": 11,
"column": 53
},
"end": {
"line": 11,
"column": 54
}
}
},
{
"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": 316,
"end": 318,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 13,
"column": 4
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 319,
"end": 320,
"loc": {
"start": {
"line": 13,
"column": 5
},
"end": {
"line": 13,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "helpWanted",
"start": 320,
"end": 330,
"loc": {
"start": {
"line": 13,
"column": 6
},
"end": {
"line": 13,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 330,
"end": 331,
"loc": {
"start": {
"line": 13,
"column": 16
},
"end": {
"line": 13,
"column": 17
}
}
},
{
"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": 332,
"end": 338,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "help",
"start": 339,
"end": 343,
"loc": {
"start": {
"line": 13,
"column": 25
},
"end": {
"line": 13,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 343,
"end": 344,
"loc": {
"start": {
"line": 13,
"column": 29
},
"end": {
"line": 13,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 344,
"end": 345,
"loc": {
"start": {
"line": 13,
"column": 30
},
"end": {
"line": 13,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 345,
"end": 346,
"loc": {
"start": {
"line": 13,
"column": 31
},
"end": {
"line": 13,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "await",
"start": 350,
"end": 355,
"loc": {
"start": {
"line": 15,
"column": 2
},
"end": {
"line": 15,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "generateSeeder",
"start": 356,
"end": 370,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 370,
"end": 371,
"loc": {
"start": {
"line": 15,
"column": 22
},
"end": {
"line": 15,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seederName",
"start": 371,
"end": 381,
"loc": {
"start": {
"line": 15,
"column": 23
},
"end": {
"line": 15,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 381,
"end": 382,
"loc": {
"start": {
"line": 15,
"column": 33
},
"end": {
"line": 15,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 382,
"end": 383,
"loc": {
"start": {
"line": 15,
"column": 34
},
"end": {
"line": 15,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 384,
"end": 385,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 16,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 385,
"end": 386,
"loc": {
"start": {
"line": 16,
"column": 1
},
"end": {
"line": 16,
"column": 2
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 387,
"end": 387,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 17,
"column": 0
}
}
}
]
}