This repository was archived by the owner on Jan 21, 2024. It is now read-only.
File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " raml-parser-java-interfaces" ,
3
- "version" : " 0.0.5 " ,
3
+ "version" : " 0.0.7 " ,
4
4
"main" : " dist/definitionSystem.js" ,
5
5
"scripts" : {
6
6
"compile" : " tsc"
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class ParserGenerator{
38
38
39
39
processed :{ [ name :string ] :def . IType } = { } ;
40
40
41
- private helperMethods :{ [ key :string ] :helperMethodExtractor . HelperMethod [ ] } = { } ;
41
+ // private helperMethods:{[key:string]:helperMethodExtractor.HelperMethod[]}={};
42
42
43
43
//private helperSources:any;
44
44
@@ -223,7 +223,7 @@ class ParserGenerator{
223
223
private addHelperMethods ( u :def . IType , decl :td . TSInterface , isImpl :boolean = false ) {
224
224
225
225
//this.initHelpers(u);
226
- var methods = this . helperMethods [ u . nameId ( ) ] ;
226
+ var methods ; // = this.helperMethods[u.nameId()];
227
227
if ( ! methods ) {
228
228
return ;
229
229
}
@@ -1026,6 +1026,11 @@ function initReturnTypesMap(){
1026
1026
arrMap [ def . universesInfo . Universe10 . ArrayTypeDeclaration . properties . minItems . name ] = "Integer" ;
1027
1027
arrMap [ def . universesInfo . Universe10 . ArrayTypeDeclaration . properties . maxItems . name ] = "Integer" ;
1028
1028
returnTypesMap [ def . universesInfo . Universe10 . ArrayTypeDeclaration . name ] = arrMap ;
1029
+
1030
+ var fileMap = { } ;
1031
+ fileMap [ def . universesInfo . Universe10 . FileTypeDeclaration . properties . minLength . name ] = "Long" ;
1032
+ fileMap [ def . universesInfo . Universe10 . FileTypeDeclaration . properties . maxLength . name ] = "Long" ;
1033
+ returnTypesMap [ def . universesInfo . Universe10 . FileTypeDeclaration . name ] = fileMap ;
1029
1034
}
1030
1035
1031
1036
function mapReturnType ( method :td . TSAPIElementDeclaration ) :string {
You can’t perform that action at this time.
0 commit comments