gd-sprest-def
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -0,3 +1,3 @@ | ||
import { Microsoft } from "../../../../../"; | ||
/********************************************* | ||
@@ -4,0 +4,0 @@ * SearchService |
import { Microsoft } from "../../../../"; | ||
import { SP } from "../../../../"; | ||
@@ -3,0 +4,0 @@ /********************************************* |
@@ -0,3 +1,3 @@ | ||
import { Microsoft } from "../../../../../"; | ||
/********************************************* | ||
@@ -4,0 +4,0 @@ * SignalStore |
@@ -0,3 +1,3 @@ | ||
import { SP } from "../../../../"; | ||
/********************************************* | ||
@@ -4,0 +4,0 @@ * NavigationServiceRest |
@@ -0,3 +1,3 @@ | ||
import { Microsoft } from "../../../"; | ||
import { SP } from "../../../"; | ||
import { Microsoft } from "../../../"; | ||
@@ -4,0 +4,0 @@ /********************************************* |
@@ -0,3 +1,3 @@ | ||
import { Microsoft } from "../../../"; | ||
/********************************************* | ||
@@ -4,0 +4,0 @@ * Subscription |
@@ -0,3 +1,3 @@ | ||
import { SP } from "../../../"; | ||
/********************************************* | ||
@@ -4,0 +4,0 @@ * DirectoryNotification |
@@ -0,3 +1,3 @@ | ||
import { SP } from "../../"; | ||
/********************************************* | ||
@@ -4,0 +4,0 @@ * MicroServiceManager |
@@ -391,5 +391,9 @@ let fs = require("fs"); | ||
let param = methodInfo.params[j].$; | ||
let methodType = getType(param.Type); | ||
// Add the parameter | ||
params.push(param.Name + "?: " + getType(param.Type)); | ||
params.push(param.Name + "?: " + methodType); | ||
// Update the references | ||
updateReferences(fileImports, dirName, methodType); | ||
} | ||
@@ -396,0 +400,0 @@ |
{ | ||
"name": "gd-sprest-def", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"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)", |
3018918
20564