gd-sprest-def 1.4.4 → 1.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/customV2.js CHANGED
@@ -86,6 +86,11 @@ module.exports = {
86
86
  {
87
87
  name: "permissions",
88
88
  returnType: "permissionCollection"
89
+ },
90
+ {
91
+ name: "permissions",
92
+ returnType: "permission",
93
+ argNames: [{ name: "id", type: "string" }]
89
94
  }
90
95
  ],
91
96
  siteCollection: [
@@ -651,6 +651,7 @@ export interface site extends baseItem {
651
651
  sites(): IBaseExecution<siteCollection>;
652
652
  sites(id: string | number): IBaseExecution<site> & siteMethods;
653
653
  permissions(): IBaseExecution<permissionCollection>;
654
+ permissions(id: string): IBaseExecution<permission>;
654
655
  }
655
656
  /*********************************************
656
657
  * site Methods
@@ -671,6 +672,7 @@ export interface siteMethods {
671
672
  sites(): IBaseExecution<siteCollection>;
672
673
  sites(id: string | number): IBaseExecution<site> & siteMethods;
673
674
  permissions(): IBaseExecution<permissionCollection>;
675
+ permissions(id: string): IBaseExecution<permission>;
674
676
  }
675
677
  /*********************************************
676
678
  * site Collection
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-sprest-def",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "TypeScript definition files generated from the $metadata REST endpoint in SharePoint.",
5
5
  "author": "Gunjan Datta <me@dattabase.com> (https://gunjandatta.github.io)",
6
6
  "license": "MIT",