Comparing version 0.17.1 to 0.17.2
@@ -19,2 +19,3 @@ import { ApiEdgeRelation } from "../relations/ApiEdgeRelation"; | ||
type: ApiRequestType; | ||
parameters: string[]; | ||
}[]; | ||
@@ -91,2 +92,3 @@ typings?: { | ||
type: ApiRequestType; | ||
parameters: string[]; | ||
}[]; | ||
@@ -93,0 +95,0 @@ typings: any; |
@@ -27,3 +27,3 @@ "use strict"; | ||
fields: this.schema.fields, | ||
methods: this.methods.map(m => ({ name: m.name, type: m.acceptedTypes })), | ||
methods: this.methods.map(m => ({ name: m.name, type: m.acceptedTypes, parameters: m.parameters })), | ||
typings: this.schema.originalSchema | ||
@@ -30,0 +30,0 @@ ? SchemaTypeMapper_1.SchemaTypeMapper.exportSchema(this.schema.originalSchema) |
{ | ||
"name": "api-core", | ||
"version": "0.17.1", | ||
"version": "0.17.2", | ||
"description": "Model-based dynamic multi-level APIs for any provider, plus multiple consumption channels", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -18,3 +18,3 @@ import {ApiEdgeRelation} from "../relations/ApiEdgeRelation"; | ||
fields: string[]; | ||
methods: { name: string, type: ApiRequestType }[]; | ||
methods: { name: string, type: ApiRequestType, parameters: string[] }[]; | ||
typings?: { [key: string]: any }; | ||
@@ -96,3 +96,3 @@ allowGet: boolean; | ||
fields: this.schema.fields, | ||
methods: this.methods.map(m => ({ name: m.name, type: m.acceptedTypes })), | ||
methods: this.methods.map(m => ({ name: m.name, type: m.acceptedTypes, parameters: m.parameters })), | ||
//relatedFields, | ||
@@ -99,0 +99,0 @@ typings: this.schema.originalSchema |
Sorry, the diff of this file is not supported yet
613485
7572