File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ function objectValueParse(obj) {
123123}
124124
125125function parseObjectType ( obj , name , def ) {
126- if ( obj === "DateTime" || obj === "List" || obj === "String" || obj === "ID" || obj === "Boolean" || obj === "Int" || obj === "Float" ) {
126+ if ( obj === "DateTime" || obj === "List" || obj === "String" || obj === "ID" || obj === "Boolean" || obj === "Long" || obj === "BigInt" || obj === " Int" || obj === "Float" ) {
127127 obj = { Name : name , Value : obj , isScalarType : true }
128128 obj = generateRandomValue ( obj )
129129 } else {
@@ -256,6 +256,12 @@ function generateRandomValue(obj) {
256256 } else if ( obj . Value === "Int" ) {
257257 obj . isIntType = true
258258 obj . Default = randomInteger ( 0 , 9999 )
259+ } else if ( obj . Value === "Long" ) {
260+ obj . isIntType = true
261+ obj . Default = randomInteger ( 0 , 99999999 )
262+ } else if ( obj . Value === "BigInt" ) {
263+ obj . isIntType = true
264+ obj . Default = randomInteger ( 0 , 999999999999 )
259265 } else if ( obj . Value === "Float" ) {
260266 obj . Default = randomNumber ( 0 , 9999 )
261267 obj . isFloatType = true
You can’t perform that action at this time.
0 commit comments