gd-sprest-def
Advanced tools
Comparing version 0.1.7 to 0.1.8
import { IBaseExecution } from "../../../../../"; | ||
import { IBaseQuery } from "../../../../../"; | ||
import { Microsoft } from "../../../../../"; | ||
@@ -4,0 +5,0 @@ /********************************************* |
@@ -6,2 +6,3 @@ import { IBaseExecution } from "../../../../"; | ||
import { IBaseResults } from "../../../../"; | ||
import { SP } from "../../../../"; | ||
@@ -8,0 +9,0 @@ /********************************************* |
import { IBaseExecution } from "../../../../../"; | ||
import { IBaseQuery } from "../../../../../"; | ||
import { Microsoft } from "../../../../../"; | ||
@@ -4,0 +5,0 @@ /********************************************* |
import { IBaseExecution } from "../../../../"; | ||
import { IBaseQuery } from "../../../../"; | ||
import { SP } from "../../../../"; | ||
@@ -4,0 +5,0 @@ /********************************************* |
import { IBaseExecution } from "../../../"; | ||
import { IBaseQuery } from "../../../"; | ||
import { Microsoft } from "../../../"; | ||
import { IBaseCollection } from "../../../"; | ||
import { IBaseResults } from "../../../"; | ||
import { SP } from "../../../"; | ||
import { Microsoft } from "../../../"; | ||
@@ -8,0 +8,0 @@ /********************************************* |
import { IBaseExecution } from "../../../"; | ||
import { IBaseQuery } from "../../../"; | ||
import { Microsoft } from "../../../"; | ||
@@ -4,0 +5,0 @@ /********************************************* |
import { IBaseExecution } from "../../../"; | ||
import { IBaseQuery } from "../../../"; | ||
import { SP } from "../../../"; | ||
@@ -4,0 +5,0 @@ /********************************************* |
import { IBaseExecution } from "../../"; | ||
import { IBaseQuery } from "../../"; | ||
import { SP } from "../../"; | ||
@@ -4,0 +5,0 @@ /********************************************* |
import { IBaseExecution } from "../../"; | ||
import { IBaseQuery } from "../../"; | ||
import { SP } from "../../"; | ||
import { IBaseCollection } from "../../"; | ||
import { IBaseResults } from "../../"; | ||
import { SP } from "../../"; | ||
@@ -7,0 +7,0 @@ /********************************************* |
@@ -463,5 +463,9 @@ let fs = require("fs"); | ||
let param = methodInfo.params[j].$; | ||
let paramType = getType(param.Type); | ||
// Update the reference | ||
paramType.indexOf('.') > 0 ? updateReferences(fileImports, dirName, paramType) : null; | ||
// Add the parameter | ||
params.push(param.Name + "?: " + getType(param.Type)); | ||
params.push(param.Name + "?: " + paramType); | ||
} | ||
@@ -468,0 +472,0 @@ |
{ | ||
"name": "gd-sprest-def", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "TypeScript definition files generated from the $metadata REST endpoint in SharePoint.", | ||
@@ -5,0 +5,0 @@ "author": "Gunjan Datta <me@dattabase.com> (https://gunjandatta.github.io)", |
3555139
31210