Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

raml-definition-system

Package Overview
Dependencies
Maintainers
2
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raml-definition-system - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

dist/enumGen.d.ts

457

dist/definitionSystem.d.ts

@@ -521,16 +521,32 @@ export import rt = require("raml-typesystem");

};
"ResourceTypeRef": {
"Resource": {
"name": string;
"properties": {
"resourceType": {
"relativeUri": {
"name": string;
};
};
};
"TraitRef": {
"name": string;
"properties": {
"trait": {
"type": {
"name": string;
};
"is": {
"name": string;
};
"securedBy": {
"name": string;
};
"uriParameters": {
"name": string;
};
"methods": {
"name": string;
};
"resources": {
"name": string;
};
"displayName": {
"name": string;
};
"baseUriParameters": {
"name": string;
};
};

@@ -555,17 +571,20 @@ };

};
"Trait": {
"Method": {
"name": string;
"properties": {
"name": {
"method": {
"name": string;
};
"usage": {
"securedBy": {
"name": string;
};
"parametrizedProperties": {
"is": {
"name": string;
};
"baseUriParameters": {
"name": string;
};
};
};
"ResourceType": {
"Trait": {
"name": string;

@@ -579,23 +598,2 @@ "properties": {

};
"methods": {
"name": string;
};
"is": {
"name": string;
};
"type": {
"name": string;
};
"securedBy": {
"name": string;
};
"uriParameters": {
"name": string;
};
"displayName": {
"name": string;
};
"baseUriParameters": {
"name": string;
};
"parametrizedProperties": {

@@ -606,38 +604,40 @@ "name": string;

};
"Method": {
"TraitRef": {
"name": string;
"properties": {
"method": {
"trait": {
"name": string;
};
"securedBy": {
};
};
"ResourceTypeRef": {
"name": string;
"properties": {
"resourceType": {
"name": string;
};
"is": {
"name": string;
};
};
};
"Resource": {
"ResourceType": {
"name": string;
"properties": {
"relativeUri": {
"name": {
"name": string;
};
"type": {
"usage": {
"name": string;
};
"is": {
"methods": {
"name": string;
};
"securedBy": {
"is": {
"name": string;
};
"uriParameters": {
"type": {
"name": string;
};
"methods": {
"securedBy": {
"name": string;
};
"resources": {
"uriParameters": {
"name": string;

@@ -651,2 +651,5 @@ };

};
"parametrizedProperties": {
"name": string;
};
};

@@ -862,22 +865,2 @@ };

};
"MimeTypeModel": {
"name": string;
"properties": {
"type": {
"name": string;
};
"tree": {
"name": string;
};
"subtype": {
"name": string;
};
"suffix": {
"name": string;
};
"parameters": {
"name": string;
};
};
};
"MimeType": {

@@ -939,24 +922,2 @@ "name": string;

"Universe10": {
"GlobalSchema": {
"name": string;
"properties": {
"key": {
"name": string;
};
"value": {
"name": string;
};
};
};
"ImportDeclaration": {
"name": string;
"properties": {
"key": {
"name": string;
};
"value": {
"name": string;
};
};
};
"Library": {

@@ -999,30 +960,2 @@ "name": string;

};
"Overlay": {
"name": string;
"properties": {
"usage": {
"name": string;
};
"masterRef": {
"name": string;
};
"title": {
"name": string;
};
};
};
"Extension": {
"name": string;
"properties": {
"usage": {
"name": string;
};
"masterRef": {
"name": string;
};
"title": {
"name": string;
};
};
};
"Api": {

@@ -1072,2 +1005,52 @@ "name": string;

};
"Overlay": {
"name": string;
"properties": {
"usage": {
"name": string;
};
"masterRef": {
"name": string;
};
"title": {
"name": string;
};
};
};
"Extension": {
"name": string;
"properties": {
"usage": {
"name": string;
};
"masterRef": {
"name": string;
};
"title": {
"name": string;
};
};
};
"GlobalSchema": {
"name": string;
"properties": {
"key": {
"name": string;
};
"value": {
"name": string;
};
};
};
"ImportDeclaration": {
"name": string;
"properties": {
"key": {
"name": string;
};
"value": {
"name": string;
};
};
};
"DocumentationItem": {

@@ -1147,6 +1130,2 @@ "name": string;

};
"ValidityExpression": {
"name": string;
"properties": {};
};
"MarkdownString": {

@@ -1156,10 +1135,2 @@ "name": string;

};
"DateFormatSpec": {
"name": string;
"properties": {};
};
"FunctionalInterface": {
"name": string;
"properties": {};
};
"SchemaString": {

@@ -1181,6 +1152,2 @@ "name": string;

};
"RAMLSelector": {
"name": string;
"properties": {};
};
"ExampleSpec": {

@@ -1280,5 +1247,2 @@ "name": string;

};
"schemaContent": {
"name": string;
};
"structuredExample": {

@@ -1372,6 +1336,2 @@ "name": string;

};
"ValueTypeDeclaration": {
"name": string;
"properties": {};
};
"NumberTypeDeclaration": {

@@ -1405,14 +1365,6 @@ "name": string;

};
"RAMLExpression": {
"name": string;
"properties": {};
};
"SchemaElement": {
"name": string;
"properties": {};
};
"DateTypeDeclaration": {
"name": string;
"properties": {
"dateFormat": {
"format": {
"name": string;

@@ -1461,22 +1413,2 @@ };

};
"MimeTypeModel": {
"name": string;
"properties": {
"type": {
"name": string;
};
"tree": {
"name": string;
};
"subtype": {
"name": string;
};
"suffix": {
"name": string;
};
"parameters": {
"name": string;
};
};
};
"MimeType": {

@@ -1530,5 +1462,2 @@ "name": string;

"properties": {
"allowMultiple": {
"name": string;
};
"allowedTargets": {

@@ -1582,6 +1511,2 @@ "name": string;

};
"ValueAnnotationTypeDeclaration": {
"name": string;
"properties": {};
};
"NumberAnnotationTypeDeclaration": {

@@ -1591,6 +1516,2 @@ "name": string;

};
"RAMLExpressionAnnotation": {
"name": string;
"properties": {};
};
"DateTypeAnnotationDeclaration": {

@@ -1600,18 +1521,2 @@ "name": string;

};
"ResourceTypeRef": {
"name": string;
"properties": {
"resourceType": {
"name": string;
};
};
};
"TraitRef": {
"name": string;
"properties": {
"trait": {
"name": string;
};
};
};
"SecuritySchemePart": {

@@ -1765,18 +1670,23 @@ "name": string;

};
"MethodBase": {
"TraitRef": {
"name": string;
"properties": {
"responses": {
"trait": {
"name": string;
};
"body": {
};
};
"Trait": {
"name": string;
"properties": {
"name": {
"name": string;
};
"protocols": {
"usage": {
"name": string;
};
"is": {
"uses": {
"name": string;
};
"securedBy": {
"parametrizedProperties": {
"name": string;

@@ -1786,5 +1696,13 @@ };

};
"Trait": {
"ResourceTypeRef": {
"name": string;
"properties": {
"resourceType": {
"name": string;
};
};
};
"ResourceType": {
"name": string;
"properties": {
"name": {

@@ -1824,31 +1742,40 @@ "name": string;

};
"ResourceType": {
"Resource": {
"name": string;
"properties": {
"name": {
"relativeUri": {
"name": string;
};
"usage": {
"resources": {
"name": string;
};
"uses": {
"displayName": {
"name": string;
};
"parametrizedProperties": {
"description": {
"name": string;
};
"annotations": {
"name": string;
};
};
};
"ResourceTypeOrTrait": {
"MethodBase": {
"name": string;
"properties": {
"usage": {
"responses": {
"name": string;
};
"uses": {
"body": {
"name": string;
};
"parameters": {
"protocols": {
"name": string;
};
"is": {
"name": string;
};
"securedBy": {
"name": string;
};
};

@@ -1891,20 +1818,14 @@ };

};
"Resource": {
"ResourceTypeOrTrait": {
"name": string;
"properties": {
"relativeUri": {
"usage": {
"name": string;
};
"resources": {
"uses": {
"name": string;
};
"displayName": {
"parameters": {
"name": string;
};
"description": {
"name": string;
};
"annotations": {
"name": string;
};
};

@@ -1940,92 +1861,2 @@ };

};
"Status": {
"name": string;
"properties": {
"code": {
"name": string;
};
"message": {
"name": string;
};
};
};
"AuthentificationState": {
"name": string;
"properties": {};
};
"AuthentificationParameters": {
"name": string;
"properties": {};
};
"AuthData": {
"name": string;
"properties": {
"authentificationParameters": {
"name": string;
};
};
};
"ParameterSpec": {
"name": string;
"properties": {};
};
"PromptSpec": {
"name": string;
"properties": {};
};
"UserResponse": {
"name": string;
"properties": {};
};
"QueryListener": {
"name": string;
"properties": {};
};
"EndPoint": {
"name": string;
"properties": {};
};
"EndPointSpec": {
"name": string;
"properties": {
"url": {
"name": string;
};
"needToSendResponse": {
"name": string;
};
};
};
"SecurityEnvironment": {
"name": string;
"properties": {};
};
"AuthentificationManager": {
"name": string;
"properties": {};
};
"SchemeInfo": {
"name": string;
"properties": {
"parameterSpec": {
"name": string;
};
};
};
"SecurityScheme": {
"name": string;
"properties": {};
};
"SecurityAwareApiClient": {
"name": string;
"properties": {};
};
"SecuritySchemeHook": {
"name": string;
"properties": {};
};
"StatusCode": {
"name": string;
"properties": {};
};
};

@@ -2032,0 +1863,0 @@ };

@@ -205,16 +205,32 @@ declare var Universes: {

};
"ResourceTypeRef": {
"Resource": {
"name": string;
"properties": {
"resourceType": {
"relativeUri": {
"name": string;
};
};
};
"TraitRef": {
"name": string;
"properties": {
"trait": {
"type": {
"name": string;
};
"is": {
"name": string;
};
"securedBy": {
"name": string;
};
"uriParameters": {
"name": string;
};
"methods": {
"name": string;
};
"resources": {
"name": string;
};
"displayName": {
"name": string;
};
"baseUriParameters": {
"name": string;
};
};

@@ -239,17 +255,20 @@ };

};
"Trait": {
"Method": {
"name": string;
"properties": {
"name": {
"method": {
"name": string;
};
"usage": {
"securedBy": {
"name": string;
};
"parametrizedProperties": {
"is": {
"name": string;
};
"baseUriParameters": {
"name": string;
};
};
};
"ResourceType": {
"Trait": {
"name": string;

@@ -263,23 +282,2 @@ "properties": {

};
"methods": {
"name": string;
};
"is": {
"name": string;
};
"type": {
"name": string;
};
"securedBy": {
"name": string;
};
"uriParameters": {
"name": string;
};
"displayName": {
"name": string;
};
"baseUriParameters": {
"name": string;
};
"parametrizedProperties": {

@@ -290,38 +288,40 @@ "name": string;

};
"Method": {
"TraitRef": {
"name": string;
"properties": {
"method": {
"trait": {
"name": string;
};
"securedBy": {
};
};
"ResourceTypeRef": {
"name": string;
"properties": {
"resourceType": {
"name": string;
};
"is": {
"name": string;
};
};
};
"Resource": {
"ResourceType": {
"name": string;
"properties": {
"relativeUri": {
"name": {
"name": string;
};
"type": {
"usage": {
"name": string;
};
"is": {
"methods": {
"name": string;
};
"securedBy": {
"is": {
"name": string;
};
"uriParameters": {
"type": {
"name": string;
};
"methods": {
"securedBy": {
"name": string;
};
"resources": {
"uriParameters": {
"name": string;

@@ -335,2 +335,5 @@ };

};
"parametrizedProperties": {
"name": string;
};
};

@@ -546,22 +549,2 @@ };

};
"MimeTypeModel": {
"name": string;
"properties": {
"type": {
"name": string;
};
"tree": {
"name": string;
};
"subtype": {
"name": string;
};
"suffix": {
"name": string;
};
"parameters": {
"name": string;
};
};
};
"MimeType": {

@@ -623,24 +606,2 @@ "name": string;

"Universe10": {
"GlobalSchema": {
"name": string;
"properties": {
"key": {
"name": string;
};
"value": {
"name": string;
};
};
};
"ImportDeclaration": {
"name": string;
"properties": {
"key": {
"name": string;
};
"value": {
"name": string;
};
};
};
"Library": {

@@ -683,30 +644,2 @@ "name": string;

};
"Overlay": {
"name": string;
"properties": {
"usage": {
"name": string;
};
"masterRef": {
"name": string;
};
"title": {
"name": string;
};
};
};
"Extension": {
"name": string;
"properties": {
"usage": {
"name": string;
};
"masterRef": {
"name": string;
};
"title": {
"name": string;
};
};
};
"Api": {

@@ -756,2 +689,52 @@ "name": string;

};
"Overlay": {
"name": string;
"properties": {
"usage": {
"name": string;
};
"masterRef": {
"name": string;
};
"title": {
"name": string;
};
};
};
"Extension": {
"name": string;
"properties": {
"usage": {
"name": string;
};
"masterRef": {
"name": string;
};
"title": {
"name": string;
};
};
};
"GlobalSchema": {
"name": string;
"properties": {
"key": {
"name": string;
};
"value": {
"name": string;
};
};
};
"ImportDeclaration": {
"name": string;
"properties": {
"key": {
"name": string;
};
"value": {
"name": string;
};
};
};
"DocumentationItem": {

@@ -831,6 +814,2 @@ "name": string;

};
"ValidityExpression": {
"name": string;
"properties": {};
};
"MarkdownString": {

@@ -840,10 +819,2 @@ "name": string;

};
"DateFormatSpec": {
"name": string;
"properties": {};
};
"FunctionalInterface": {
"name": string;
"properties": {};
};
"SchemaString": {

@@ -865,6 +836,2 @@ "name": string;

};
"RAMLSelector": {
"name": string;
"properties": {};
};
"ExampleSpec": {

@@ -964,5 +931,2 @@ "name": string;

};
"schemaContent": {
"name": string;
};
"structuredExample": {

@@ -1056,6 +1020,2 @@ "name": string;

};
"ValueTypeDeclaration": {
"name": string;
"properties": {};
};
"NumberTypeDeclaration": {

@@ -1089,14 +1049,6 @@ "name": string;

};
"RAMLExpression": {
"name": string;
"properties": {};
};
"SchemaElement": {
"name": string;
"properties": {};
};
"DateTypeDeclaration": {
"name": string;
"properties": {
"dateFormat": {
"format": {
"name": string;

@@ -1145,22 +1097,2 @@ };

};
"MimeTypeModel": {
"name": string;
"properties": {
"type": {
"name": string;
};
"tree": {
"name": string;
};
"subtype": {
"name": string;
};
"suffix": {
"name": string;
};
"parameters": {
"name": string;
};
};
};
"MimeType": {

@@ -1214,5 +1146,2 @@ "name": string;

"properties": {
"allowMultiple": {
"name": string;
};
"allowedTargets": {

@@ -1266,6 +1195,2 @@ "name": string;

};
"ValueAnnotationTypeDeclaration": {
"name": string;
"properties": {};
};
"NumberAnnotationTypeDeclaration": {

@@ -1275,6 +1200,2 @@ "name": string;

};
"RAMLExpressionAnnotation": {
"name": string;
"properties": {};
};
"DateTypeAnnotationDeclaration": {

@@ -1284,18 +1205,2 @@ "name": string;

};
"ResourceTypeRef": {
"name": string;
"properties": {
"resourceType": {
"name": string;
};
};
};
"TraitRef": {
"name": string;
"properties": {
"trait": {
"name": string;
};
};
};
"SecuritySchemePart": {

@@ -1449,18 +1354,23 @@ "name": string;

};
"MethodBase": {
"TraitRef": {
"name": string;
"properties": {
"responses": {
"trait": {
"name": string;
};
"body": {
};
};
"Trait": {
"name": string;
"properties": {
"name": {
"name": string;
};
"protocols": {
"usage": {
"name": string;
};
"is": {
"uses": {
"name": string;
};
"securedBy": {
"parametrizedProperties": {
"name": string;

@@ -1470,5 +1380,13 @@ };

};
"Trait": {
"ResourceTypeRef": {
"name": string;
"properties": {
"resourceType": {
"name": string;
};
};
};
"ResourceType": {
"name": string;
"properties": {
"name": {

@@ -1508,31 +1426,40 @@ "name": string;

};
"ResourceType": {
"Resource": {
"name": string;
"properties": {
"name": {
"relativeUri": {
"name": string;
};
"usage": {
"resources": {
"name": string;
};
"uses": {
"displayName": {
"name": string;
};
"parametrizedProperties": {
"description": {
"name": string;
};
"annotations": {
"name": string;
};
};
};
"ResourceTypeOrTrait": {
"MethodBase": {
"name": string;
"properties": {
"usage": {
"responses": {
"name": string;
};
"uses": {
"body": {
"name": string;
};
"parameters": {
"protocols": {
"name": string;
};
"is": {
"name": string;
};
"securedBy": {
"name": string;
};
};

@@ -1575,20 +1502,14 @@ };

};
"Resource": {
"ResourceTypeOrTrait": {
"name": string;
"properties": {
"relativeUri": {
"usage": {
"name": string;
};
"resources": {
"uses": {
"name": string;
};
"displayName": {
"parameters": {
"name": string;
};
"description": {
"name": string;
};
"annotations": {
"name": string;
};
};

@@ -1624,94 +1545,4 @@ };

};
"Status": {
"name": string;
"properties": {
"code": {
"name": string;
};
"message": {
"name": string;
};
};
};
"AuthentificationState": {
"name": string;
"properties": {};
};
"AuthentificationParameters": {
"name": string;
"properties": {};
};
"AuthData": {
"name": string;
"properties": {
"authentificationParameters": {
"name": string;
};
};
};
"ParameterSpec": {
"name": string;
"properties": {};
};
"PromptSpec": {
"name": string;
"properties": {};
};
"UserResponse": {
"name": string;
"properties": {};
};
"QueryListener": {
"name": string;
"properties": {};
};
"EndPoint": {
"name": string;
"properties": {};
};
"EndPointSpec": {
"name": string;
"properties": {
"url": {
"name": string;
};
"needToSendResponse": {
"name": string;
};
};
};
"SecurityEnvironment": {
"name": string;
"properties": {};
};
"AuthentificationManager": {
"name": string;
"properties": {};
};
"SchemeInfo": {
"name": string;
"properties": {
"parameterSpec": {
"name": string;
};
};
};
"SecurityScheme": {
"name": string;
"properties": {};
};
"SecurityAwareApiClient": {
"name": string;
"properties": {};
};
"SecuritySchemeHook": {
"name": string;
"properties": {};
};
"StatusCode": {
"name": string;
"properties": {};
};
};
};
export = Universes;

@@ -206,18 +206,34 @@ "use strict";

},
"ResourceTypeRef": {
"name": "ResourceTypeRef",
"Resource": {
"name": "Resource",
"properties": {
"resourceType": {
"name": "resourceType"
"relativeUri": {
"name": "relativeUri"
},
"type": {
"name": "type"
},
"is": {
"name": "is"
},
"securedBy": {
"name": "securedBy"
},
"uriParameters": {
"name": "uriParameters"
},
"methods": {
"name": "methods"
},
"resources": {
"name": "resources"
},
"displayName": {
"name": "displayName"
},
"baseUriParameters": {
"name": "baseUriParameters"
}
}
},
"TraitRef": {
"name": "TraitRef",
"properties": {
"trait": {
"name": "trait"
}
}
},
"MethodBase": {

@@ -240,2 +256,19 @@ "name": "MethodBase",

},
"Method": {
"name": "Method",
"properties": {
"method": {
"name": "method"
},
"securedBy": {
"name": "securedBy"
},
"is": {
"name": "is"
},
"baseUriParameters": {
"name": "baseUriParameters"
}
}
},
"Trait": {

@@ -255,2 +288,18 @@ "name": "Trait",

},
"TraitRef": {
"name": "TraitRef",
"properties": {
"trait": {
"name": "trait"
}
}
},
"ResourceTypeRef": {
"name": "ResourceTypeRef",
"properties": {
"resourceType": {
"name": "resourceType"
}
}
},
"ResourceType": {

@@ -291,48 +340,2 @@ "name": "ResourceType",

},
"Method": {
"name": "Method",
"properties": {
"method": {
"name": "method"
},
"securedBy": {
"name": "securedBy"
},
"is": {
"name": "is"
}
}
},
"Resource": {
"name": "Resource",
"properties": {
"relativeUri": {
"name": "relativeUri"
},
"type": {
"name": "type"
},
"is": {
"name": "is"
},
"securedBy": {
"name": "securedBy"
},
"uriParameters": {
"name": "uriParameters"
},
"methods": {
"name": "methods"
},
"resources": {
"name": "resources"
},
"displayName": {
"name": "displayName"
},
"baseUriParameters": {
"name": "baseUriParameters"
}
}
},
"SecuritySchemePart": {

@@ -546,22 +549,2 @@ "name": "SecuritySchemePart",

},
"MimeTypeModel": {
"name": "MimeTypeModel",
"properties": {
"type": {
"name": "type"
},
"tree": {
"name": "tree"
},
"subtype": {
"name": "subtype"
},
"suffix": {
"name": "suffix"
},
"parameters": {
"name": "parameters"
}
}
},
"MimeType": {

@@ -623,24 +606,2 @@ "name": "MimeType",

"Universe10": {
"GlobalSchema": {
"name": "GlobalSchema",
"properties": {
"key": {
"name": "key"
},
"value": {
"name": "value"
}
}
},
"ImportDeclaration": {
"name": "ImportDeclaration",
"properties": {
"key": {
"name": "key"
},
"value": {
"name": "value"
}
}
},
"Library": {

@@ -683,30 +644,2 @@ "name": "Library",

},
"Overlay": {
"name": "Overlay",
"properties": {
"usage": {
"name": "usage"
},
"masterRef": {
"name": "masterRef"
},
"title": {
"name": "title"
}
}
},
"Extension": {
"name": "Extension",
"properties": {
"usage": {
"name": "usage"
},
"masterRef": {
"name": "masterRef"
},
"title": {
"name": "title"
}
}
},
"Api": {

@@ -756,2 +689,52 @@ "name": "Api",

},
"Overlay": {
"name": "Overlay",
"properties": {
"usage": {
"name": "usage"
},
"masterRef": {
"name": "masterRef"
},
"title": {
"name": "title"
}
}
},
"Extension": {
"name": "Extension",
"properties": {
"usage": {
"name": "usage"
},
"masterRef": {
"name": "masterRef"
},
"title": {
"name": "title"
}
}
},
"GlobalSchema": {
"name": "GlobalSchema",
"properties": {
"key": {
"name": "key"
},
"value": {
"name": "value"
}
}
},
"ImportDeclaration": {
"name": "ImportDeclaration",
"properties": {
"key": {
"name": "key"
},
"value": {
"name": "value"
}
}
},
"DocumentationItem": {

@@ -831,6 +814,2 @@ "name": "DocumentationItem",

},
"ValidityExpression": {
"name": "ValidityExpression",
"properties": {}
},
"MarkdownString": {

@@ -840,10 +819,2 @@ "name": "MarkdownString",

},
"DateFormatSpec": {
"name": "DateFormatSpec",
"properties": {}
},
"FunctionalInterface": {
"name": "FunctionalInterface",
"properties": {}
},
"SchemaString": {

@@ -865,6 +836,2 @@ "name": "SchemaString",

},
"RAMLSelector": {
"name": "RAMLSelector",
"properties": {}
},
"ExampleSpec": {

@@ -964,5 +931,2 @@ "name": "ExampleSpec",

},
"schemaContent": {
"name": "schemaContent"
},
"structuredExample": {

@@ -1056,6 +1020,2 @@ "name": "structuredExample"

},
"ValueTypeDeclaration": {
"name": "ValueTypeDeclaration",
"properties": {}
},
"NumberTypeDeclaration": {

@@ -1089,15 +1049,7 @@ "name": "NumberTypeDeclaration",

},
"RAMLExpression": {
"name": "RAMLExpression",
"properties": {}
},
"SchemaElement": {
"name": "SchemaElement",
"properties": {}
},
"DateTypeDeclaration": {
"name": "DateTypeDeclaration",
"properties": {
"dateFormat": {
"name": "dateFormat"
"format": {
"name": "format"
}

@@ -1145,22 +1097,2 @@ }

},
"MimeTypeModel": {
"name": "MimeTypeModel",
"properties": {
"type": {
"name": "type"
},
"tree": {
"name": "tree"
},
"subtype": {
"name": "subtype"
},
"suffix": {
"name": "suffix"
},
"parameters": {
"name": "parameters"
}
}
},
"MimeType": {

@@ -1214,5 +1146,2 @@ "name": "MimeType",

"properties": {
"allowMultiple": {
"name": "allowMultiple"
},
"allowedTargets": {

@@ -1266,6 +1195,2 @@ "name": "allowedTargets"

},
"ValueAnnotationTypeDeclaration": {
"name": "ValueAnnotationTypeDeclaration",
"properties": {}
},
"NumberAnnotationTypeDeclaration": {

@@ -1275,6 +1200,2 @@ "name": "NumberAnnotationTypeDeclaration",

},
"RAMLExpressionAnnotation": {
"name": "RAMLExpressionAnnotation",
"properties": {}
},
"DateTypeAnnotationDeclaration": {

@@ -1284,18 +1205,2 @@ "name": "DateTypeAnnotationDeclaration",

},
"ResourceTypeRef": {
"name": "ResourceTypeRef",
"properties": {
"resourceType": {
"name": "resourceType"
}
}
},
"TraitRef": {
"name": "TraitRef",
"properties": {
"trait": {
"name": "trait"
}
}
},
"SecuritySchemePart": {

@@ -1449,25 +1354,38 @@ "name": "SecuritySchemePart",

},
"MethodBase": {
"name": "MethodBase",
"TraitRef": {
"name": "TraitRef",
"properties": {
"responses": {
"name": "responses"
"trait": {
"name": "trait"
}
}
},
"Trait": {
"name": "Trait",
"properties": {
"name": {
"name": "name"
},
"body": {
"name": "body"
"usage": {
"name": "usage"
},
"protocols": {
"name": "protocols"
"uses": {
"name": "uses"
},
"is": {
"name": "is"
},
"securedBy": {
"name": "securedBy"
"parametrizedProperties": {
"name": "parametrizedProperties"
}
}
},
"Trait": {
"name": "Trait",
"ResourceTypeRef": {
"name": "ResourceTypeRef",
"properties": {
"resourceType": {
"name": "resourceType"
}
}
},
"ResourceType": {
"name": "ResourceType",
"properties": {
"name": {

@@ -1507,30 +1425,39 @@ "name": "name"

},
"ResourceType": {
"name": "ResourceType",
"Resource": {
"name": "Resource",
"properties": {
"name": {
"name": "name"
"relativeUri": {
"name": "relativeUri"
},
"usage": {
"name": "usage"
"resources": {
"name": "resources"
},
"uses": {
"name": "uses"
"displayName": {
"name": "displayName"
},
"parametrizedProperties": {
"name": "parametrizedProperties"
"description": {
"name": "description"
},
"annotations": {
"name": "annotations"
}
}
},
"ResourceTypeOrTrait": {
"name": "ResourceTypeOrTrait",
"MethodBase": {
"name": "MethodBase",
"properties": {
"usage": {
"name": "usage"
"responses": {
"name": "responses"
},
"uses": {
"name": "uses"
"body": {
"name": "body"
},
"parameters": {
"name": "parameters"
"protocols": {
"name": "protocols"
},
"is": {
"name": "is"
},
"securedBy": {
"name": "securedBy"
}

@@ -1574,19 +1501,13 @@ }

},
"Resource": {
"name": "Resource",
"ResourceTypeOrTrait": {
"name": "ResourceTypeOrTrait",
"properties": {
"relativeUri": {
"name": "relativeUri"
"usage": {
"name": "usage"
},
"resources": {
"name": "resources"
"uses": {
"name": "uses"
},
"displayName": {
"name": "displayName"
},
"description": {
"name": "description"
},
"annotations": {
"name": "annotations"
"parameters": {
"name": "parameters"
}

@@ -1622,92 +1543,2 @@ }

}
},
"Status": {
"name": "Status",
"properties": {
"code": {
"name": "code"
},
"message": {
"name": "message"
}
}
},
"AuthentificationState": {
"name": "AuthentificationState",
"properties": {}
},
"AuthentificationParameters": {
"name": "AuthentificationParameters",
"properties": {}
},
"AuthData": {
"name": "AuthData",
"properties": {
"authentificationParameters": {
"name": "authentificationParameters"
}
}
},
"ParameterSpec": {
"name": "ParameterSpec",
"properties": {}
},
"PromptSpec": {
"name": "PromptSpec",
"properties": {}
},
"UserResponse": {
"name": "UserResponse",
"properties": {}
},
"QueryListener": {
"name": "QueryListener",
"properties": {}
},
"EndPoint": {
"name": "EndPoint",
"properties": {}
},
"EndPointSpec": {
"name": "EndPointSpec",
"properties": {
"url": {
"name": "url"
},
"needToSendResponse": {
"name": "needToSendResponse"
}
}
},
"SecurityEnvironment": {
"name": "SecurityEnvironment",
"properties": {}
},
"AuthentificationManager": {
"name": "AuthentificationManager",
"properties": {}
},
"SchemeInfo": {
"name": "SchemeInfo",
"properties": {
"parameterSpec": {
"name": "parameterSpec"
}
}
},
"SecurityScheme": {
"name": "SecurityScheme",
"properties": {}
},
"SecurityAwareApiClient": {
"name": "SecurityAwareApiClient",
"properties": {}
},
"SecuritySchemeHook": {
"name": "SecuritySchemeHook",
"properties": {}
},
"StatusCode": {
"name": "StatusCode",
"properties": {}
}

@@ -1714,0 +1545,0 @@ }

{
"name": "raml-definition-system",
"version": "0.0.16",
"version": "0.0.17",
"main": "dist/definitionSystem.js",

@@ -8,3 +8,4 @@ "scripts": {

"generateJSON": "node dist/builder.js",
"build": "npm run compile && npm run generateJSON",
"generateUniverses": "node dist/enumGen.js",
"build": "npm run compile && npm run generateJSON && npm run generateUniverses && tsc",
"pullall" : "dev-env-installer pullall",

@@ -17,4 +18,4 @@ "buildall" : "dev-env-installer buildall",

"know-your-http-well": "^0.2.0",
"raml-typesystem": "^0.0.23",
"ts-structure-parser": "^0.0.7",
"raml-typesystem": "^0.0.24",
"ts-structure-parser": "^0.0.8",
"underscore": "^1.8.3"

@@ -21,0 +22,0 @@ },

@@ -132,2 +132,3 @@ import MetaModel = require("../metamodel")

MetaModel.typeExpression(),
MetaModel.allowMultiple(),
MetaModel.description("Alias for the equivalent \"type\" property, for compatibility with RAML 0.8. Deprecated - API " +

@@ -139,9 +140,2 @@ "definitions should use the \"type\" property, as the \"schema\" alias for that property name may be removed in a " +

schemaContent:string
$schemaContent = [
MetaModel.customHandling(),
MetaModel.description("Returns schema content for the cases when schema is " +
"inlined, when schema is included, and when schema is a reference.")
]
type:string;

@@ -148,0 +142,0 @@ $type=[

@@ -36,4 +36,4 @@ /// <reference path="../typings/main.d.ts" />

var Universes={Universe08:Universe08,Universe10:Universe10}
//fs.writeFileSync( path.resolve(__dirname, 'universe.ts' ), "var Universes="+JSON.stringify( Universes, null, 2 )+";export=Universes")
fs.writeFileSync( path.join(__dirname, '../src/universe.ts' ), "var Universes="+JSON.stringify( Universes, null, 2 )+";export=Universes")
}
generateJSONDumpOfDefSystem();

@@ -205,18 +205,34 @@ var Universes={

},
"ResourceTypeRef": {
"name": "ResourceTypeRef",
"Resource": {
"name": "Resource",
"properties": {
"resourceType": {
"name": "resourceType"
"relativeUri": {
"name": "relativeUri"
},
"type": {
"name": "type"
},
"is": {
"name": "is"
},
"securedBy": {
"name": "securedBy"
},
"uriParameters": {
"name": "uriParameters"
},
"methods": {
"name": "methods"
},
"resources": {
"name": "resources"
},
"displayName": {
"name": "displayName"
},
"baseUriParameters": {
"name": "baseUriParameters"
}
}
},
"TraitRef": {
"name": "TraitRef",
"properties": {
"trait": {
"name": "trait"
}
}
},
"MethodBase": {

@@ -239,2 +255,19 @@ "name": "MethodBase",

},
"Method": {
"name": "Method",
"properties": {
"method": {
"name": "method"
},
"securedBy": {
"name": "securedBy"
},
"is": {
"name": "is"
},
"baseUriParameters": {
"name": "baseUriParameters"
}
}
},
"Trait": {

@@ -254,2 +287,18 @@ "name": "Trait",

},
"TraitRef": {
"name": "TraitRef",
"properties": {
"trait": {
"name": "trait"
}
}
},
"ResourceTypeRef": {
"name": "ResourceTypeRef",
"properties": {
"resourceType": {
"name": "resourceType"
}
}
},
"ResourceType": {

@@ -290,48 +339,2 @@ "name": "ResourceType",

},
"Method": {
"name": "Method",
"properties": {
"method": {
"name": "method"
},
"securedBy": {
"name": "securedBy"
},
"is": {
"name": "is"
}
}
},
"Resource": {
"name": "Resource",
"properties": {
"relativeUri": {
"name": "relativeUri"
},
"type": {
"name": "type"
},
"is": {
"name": "is"
},
"securedBy": {
"name": "securedBy"
},
"uriParameters": {
"name": "uriParameters"
},
"methods": {
"name": "methods"
},
"resources": {
"name": "resources"
},
"displayName": {
"name": "displayName"
},
"baseUriParameters": {
"name": "baseUriParameters"
}
}
},
"SecuritySchemePart": {

@@ -545,22 +548,2 @@ "name": "SecuritySchemePart",

},
"MimeTypeModel": {
"name": "MimeTypeModel",
"properties": {
"type": {
"name": "type"
},
"tree": {
"name": "tree"
},
"subtype": {
"name": "subtype"
},
"suffix": {
"name": "suffix"
},
"parameters": {
"name": "parameters"
}
}
},
"MimeType": {

@@ -622,24 +605,2 @@ "name": "MimeType",

"Universe10": {
"GlobalSchema": {
"name": "GlobalSchema",
"properties": {
"key": {
"name": "key"
},
"value": {
"name": "value"
}
}
},
"ImportDeclaration": {
"name": "ImportDeclaration",
"properties": {
"key": {
"name": "key"
},
"value": {
"name": "value"
}
}
},
"Library": {

@@ -682,30 +643,2 @@ "name": "Library",

},
"Overlay": {
"name": "Overlay",
"properties": {
"usage": {
"name": "usage"
},
"masterRef": {
"name": "masterRef"
},
"title": {
"name": "title"
}
}
},
"Extension": {
"name": "Extension",
"properties": {
"usage": {
"name": "usage"
},
"masterRef": {
"name": "masterRef"
},
"title": {
"name": "title"
}
}
},
"Api": {

@@ -755,2 +688,52 @@ "name": "Api",

},
"Overlay": {
"name": "Overlay",
"properties": {
"usage": {
"name": "usage"
},
"masterRef": {
"name": "masterRef"
},
"title": {
"name": "title"
}
}
},
"Extension": {
"name": "Extension",
"properties": {
"usage": {
"name": "usage"
},
"masterRef": {
"name": "masterRef"
},
"title": {
"name": "title"
}
}
},
"GlobalSchema": {
"name": "GlobalSchema",
"properties": {
"key": {
"name": "key"
},
"value": {
"name": "value"
}
}
},
"ImportDeclaration": {
"name": "ImportDeclaration",
"properties": {
"key": {
"name": "key"
},
"value": {
"name": "value"
}
}
},
"DocumentationItem": {

@@ -830,6 +813,2 @@ "name": "DocumentationItem",

},
"ValidityExpression": {
"name": "ValidityExpression",
"properties": {}
},
"MarkdownString": {

@@ -839,10 +818,2 @@ "name": "MarkdownString",

},
"DateFormatSpec": {
"name": "DateFormatSpec",
"properties": {}
},
"FunctionalInterface": {
"name": "FunctionalInterface",
"properties": {}
},
"SchemaString": {

@@ -864,6 +835,2 @@ "name": "SchemaString",

},
"RAMLSelector": {
"name": "RAMLSelector",
"properties": {}
},
"ExampleSpec": {

@@ -963,5 +930,2 @@ "name": "ExampleSpec",

},
"schemaContent": {
"name": "schemaContent"
},
"structuredExample": {

@@ -1055,6 +1019,2 @@ "name": "structuredExample"

},
"ValueTypeDeclaration": {
"name": "ValueTypeDeclaration",
"properties": {}
},
"NumberTypeDeclaration": {

@@ -1088,15 +1048,7 @@ "name": "NumberTypeDeclaration",

},
"RAMLExpression": {
"name": "RAMLExpression",
"properties": {}
},
"SchemaElement": {
"name": "SchemaElement",
"properties": {}
},
"DateTypeDeclaration": {
"name": "DateTypeDeclaration",
"properties": {
"dateFormat": {
"name": "dateFormat"
"format": {
"name": "format"
}

@@ -1144,22 +1096,2 @@ }

},
"MimeTypeModel": {
"name": "MimeTypeModel",
"properties": {
"type": {
"name": "type"
},
"tree": {
"name": "tree"
},
"subtype": {
"name": "subtype"
},
"suffix": {
"name": "suffix"
},
"parameters": {
"name": "parameters"
}
}
},
"MimeType": {

@@ -1213,5 +1145,2 @@ "name": "MimeType",

"properties": {
"allowMultiple": {
"name": "allowMultiple"
},
"allowedTargets": {

@@ -1265,6 +1194,2 @@ "name": "allowedTargets"

},
"ValueAnnotationTypeDeclaration": {
"name": "ValueAnnotationTypeDeclaration",
"properties": {}
},
"NumberAnnotationTypeDeclaration": {

@@ -1274,6 +1199,2 @@ "name": "NumberAnnotationTypeDeclaration",

},
"RAMLExpressionAnnotation": {
"name": "RAMLExpressionAnnotation",
"properties": {}
},
"DateTypeAnnotationDeclaration": {

@@ -1283,18 +1204,2 @@ "name": "DateTypeAnnotationDeclaration",

},
"ResourceTypeRef": {
"name": "ResourceTypeRef",
"properties": {
"resourceType": {
"name": "resourceType"
}
}
},
"TraitRef": {
"name": "TraitRef",
"properties": {
"trait": {
"name": "trait"
}
}
},
"SecuritySchemePart": {

@@ -1448,25 +1353,38 @@ "name": "SecuritySchemePart",

},
"MethodBase": {
"name": "MethodBase",
"TraitRef": {
"name": "TraitRef",
"properties": {
"responses": {
"name": "responses"
"trait": {
"name": "trait"
}
}
},
"Trait": {
"name": "Trait",
"properties": {
"name": {
"name": "name"
},
"body": {
"name": "body"
"usage": {
"name": "usage"
},
"protocols": {
"name": "protocols"
"uses": {
"name": "uses"
},
"is": {
"name": "is"
},
"securedBy": {
"name": "securedBy"
"parametrizedProperties": {
"name": "parametrizedProperties"
}
}
},
"Trait": {
"name": "Trait",
"ResourceTypeRef": {
"name": "ResourceTypeRef",
"properties": {
"resourceType": {
"name": "resourceType"
}
}
},
"ResourceType": {
"name": "ResourceType",
"properties": {
"name": {

@@ -1506,30 +1424,39 @@ "name": "name"

},
"ResourceType": {
"name": "ResourceType",
"Resource": {
"name": "Resource",
"properties": {
"name": {
"name": "name"
"relativeUri": {
"name": "relativeUri"
},
"usage": {
"name": "usage"
"resources": {
"name": "resources"
},
"uses": {
"name": "uses"
"displayName": {
"name": "displayName"
},
"parametrizedProperties": {
"name": "parametrizedProperties"
"description": {
"name": "description"
},
"annotations": {
"name": "annotations"
}
}
},
"ResourceTypeOrTrait": {
"name": "ResourceTypeOrTrait",
"MethodBase": {
"name": "MethodBase",
"properties": {
"usage": {
"name": "usage"
"responses": {
"name": "responses"
},
"uses": {
"name": "uses"
"body": {
"name": "body"
},
"parameters": {
"name": "parameters"
"protocols": {
"name": "protocols"
},
"is": {
"name": "is"
},
"securedBy": {
"name": "securedBy"
}

@@ -1573,19 +1500,13 @@ }

},
"Resource": {
"name": "Resource",
"ResourceTypeOrTrait": {
"name": "ResourceTypeOrTrait",
"properties": {
"relativeUri": {
"name": "relativeUri"
"usage": {
"name": "usage"
},
"resources": {
"name": "resources"
"uses": {
"name": "uses"
},
"displayName": {
"name": "displayName"
},
"description": {
"name": "description"
},
"annotations": {
"name": "annotations"
"parameters": {
"name": "parameters"
}

@@ -1621,94 +1542,4 @@ }

}
},
"Status": {
"name": "Status",
"properties": {
"code": {
"name": "code"
},
"message": {
"name": "message"
}
}
},
"AuthentificationState": {
"name": "AuthentificationState",
"properties": {}
},
"AuthentificationParameters": {
"name": "AuthentificationParameters",
"properties": {}
},
"AuthData": {
"name": "AuthData",
"properties": {
"authentificationParameters": {
"name": "authentificationParameters"
}
}
},
"ParameterSpec": {
"name": "ParameterSpec",
"properties": {}
},
"PromptSpec": {
"name": "PromptSpec",
"properties": {}
},
"UserResponse": {
"name": "UserResponse",
"properties": {}
},
"QueryListener": {
"name": "QueryListener",
"properties": {}
},
"EndPoint": {
"name": "EndPoint",
"properties": {}
},
"EndPointSpec": {
"name": "EndPointSpec",
"properties": {
"url": {
"name": "url"
},
"needToSendResponse": {
"name": "needToSendResponse"
}
}
},
"SecurityEnvironment": {
"name": "SecurityEnvironment",
"properties": {}
},
"AuthentificationManager": {
"name": "AuthentificationManager",
"properties": {}
},
"SchemeInfo": {
"name": "SchemeInfo",
"properties": {
"parameterSpec": {
"name": "parameterSpec"
}
}
},
"SecurityScheme": {
"name": "SecurityScheme",
"properties": {}
},
"SecurityAwareApiClient": {
"name": "SecurityAwareApiClient",
"properties": {}
},
"SecuritySchemeHook": {
"name": "SecuritySchemeHook",
"properties": {}
},
"StatusCode": {
"name": "StatusCode",
"properties": {}
}
}
};export=Universes

@@ -18,3 +18,4 @@ {

"src/tsStruct2Def.ts",
"src/universe.ts"
"src/universe.ts",
"src/enumGen.ts"
],

@@ -21,0 +22,0 @@ "exclude": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc