gd-sprest-def
Advanced tools
Comparing version 0.8.4 to 0.8.5
@@ -93,3 +93,3 @@ import { Base } from "../../"; | ||
**********************************************/ | ||
export interface FileOData extends MS.FileServices.FileSystemItemOData, Base.IBaseResult, FileProps, FileMethods { | ||
export interface FileOData extends MS.FileServices.FileSystemItem, Base.IBaseResult, FileProps, FileMethods { | ||
@@ -183,3 +183,3 @@ } | ||
**********************************************/ | ||
export interface FolderOData extends MS.FileServices.FileSystemItemOData, Base.IBaseResult, FolderProps, FolderMethods { | ||
export interface FolderOData extends MS.FileServices.FileSystemItem, Base.IBaseResult, FolderProps, FolderMethods { | ||
Children: Base.IBaseResults<MS.FileServices.FileSystemItem> & MS.FileServices.FileSystemItemCollectionMethods; | ||
@@ -186,0 +186,0 @@ } |
@@ -11,2 +11,3 @@ let fs = require("fs"); | ||
let hasMethods = {}; | ||
let hasOData = {}; | ||
@@ -761,3 +762,3 @@ // Parse the directories | ||
if (baseTypes[1] == "Base.IBaseResult") { | ||
content.push(createInterface(name + "OData", [baseTypes[0] + (hasCollectionMethods[baseTypes[0]] ? "OData" : ""), "Base.IBaseResult", name + "Props", name + "Methods"].join(', '), query.join('\n'))); | ||
content.push(createInterface(name + "OData", [baseTypes[0] + (hasCollections[baseTypes[0]] ? "OData" : ""), "Base.IBaseResult", name + "Props", name + "Methods"].join(', '), query.join('\n'))); | ||
} else { | ||
@@ -764,0 +765,0 @@ content.push(createInterface(name + "OData", ["Base.IBaseResult", name + "Props", name + "Methods"].join(', '), query.join('\n'))); |
{ | ||
"name": "gd-sprest-def", | ||
"version": "0.8.4", | ||
"version": "0.8.5", | ||
"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)", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4265320
48488