gd-sprest-def
Advanced tools
Comparing version 1.2.9 to 1.3.0
import { IBaseExecution } from "../../base"; | ||
import * as EntityTypes from "./entityTypes.d" | ||
import * as EntityTypes from "./entityTypes.d"; | ||
@@ -201,4 +201,4 @@ /********************************************* | ||
termSet: () => IBaseExecution<EntityTypes.set[]>; | ||
sharedColumns: () => IBaseExecution<columns>; | ||
welcomePageColumns: () => IBaseExecution<columns>; | ||
sharedColumns: () => IBaseExecution<ComplexTypes.columnDefinition[]>; | ||
welcomePageColumns: () => IBaseExecution<ComplexTypes.columnDefinition[]>; | ||
} | ||
@@ -205,0 +205,0 @@ /********************************************* |
@@ -1,4 +0,5 @@ | ||
export * as API from "./api"; | ||
export * as ComplexTypes from "./complexTypes"; | ||
export * from "./entityTypes"; | ||
export * as Enums from "./enumTypes"; | ||
import * as API from "./api"; | ||
import * as ComplexTypes from "./complexTypes"; | ||
import * as Enums from "./enumTypes"; | ||
export { API, ComplexTypes, Enums } | ||
export * from "./entityTypes"; |
17
main.js
@@ -544,2 +544,10 @@ let fs = require("fs"); | ||
} | ||
// Else, see if this is a column | ||
else if (name == "column") { | ||
returnType = "ComplexTypes.columnDefinition"; | ||
} | ||
// Else, see if this is a column array | ||
else if (name == "columns") { | ||
returnType = "ComplexTypes.columnDefinition[]"; | ||
} | ||
@@ -560,3 +568,3 @@ // Update the collection | ||
"import { IBaseExecution } from \"../../base\";", | ||
"import * as EntityTypes from \"./entityTypes.d\"\n" | ||
"import * as EntityTypes from \"./entityTypes.d\";\n" | ||
]; | ||
@@ -590,6 +598,7 @@ for (let name in endPoints) { | ||
fs.appendFileSync("lib/microsoft/graph/index.d.ts", [ | ||
'export * as API from "./api";', | ||
'export * as ComplexTypes from "./complexTypes";', | ||
'import * as API from "./api";', | ||
'import * as ComplexTypes from "./complexTypes";', | ||
'import * as Enums from "./enumTypes";', | ||
'export { API, ComplexTypes, Enums }', | ||
'export * from "./entityTypes";', | ||
'export * as Enums from "./enumTypes";' | ||
].join('\n')); | ||
@@ -596,0 +605,0 @@ |
{ | ||
"name": "gd-sprest-def", | ||
"version": "1.2.9", | ||
"version": "1.3.0", | ||
"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)", |
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
7888093
78059