gd-sprest-def 1.1.5 → 1.1.6
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/custom.js +9 -0
- package/lib/SP/Publishing/entitytypes.d.ts +2 -1
- package/lib/mapper.d.ts +1 -0
- package/lib/mapper.ts +1 -0
- package/package.json +1 -1
package/custom.js
CHANGED
|
@@ -414,6 +414,15 @@ module.exports = {
|
|
|
414
414
|
}
|
|
415
415
|
],
|
|
416
416
|
|
|
417
|
+
// Site Page
|
|
418
|
+
"SP.Publishing.SitePage": [
|
|
419
|
+
{
|
|
420
|
+
name: "update",
|
|
421
|
+
returnType: "any",
|
|
422
|
+
params: [{ $: { Name: "properties", Type: "any" } }]
|
|
423
|
+
}
|
|
424
|
+
],
|
|
425
|
+
|
|
417
426
|
// Site Pages
|
|
418
427
|
"Collection(SP.Publishing.SitePage)": [
|
|
419
428
|
{
|
|
@@ -482,7 +482,8 @@ export interface SitePageMethods {
|
|
|
482
482
|
savePageAsTemplate(): Base.IBaseQuery<SP.Publishing.SitePage, SP.Publishing.SitePageOData> & SP.Publishing.SitePageCollections & SP.Publishing.SitePageMethods;
|
|
483
483
|
schedulePublish(sitePage?: SP.Publishing.SitePageFieldsData): Base.IBaseExecution<string>;
|
|
484
484
|
sharePagePreviewByEmail(message?: string, recipientEmails?: Array<string>): Base.IBaseExecution<any>;
|
|
485
|
-
update(): Base.IBaseExecution<any>;
|
|
485
|
+
// update(): Base.IBaseExecution<any>;
|
|
486
|
+
update(properties?: any): Base.IBaseExecution<any>;
|
|
486
487
|
}
|
|
487
488
|
|
|
488
489
|
/*********************************************
|
package/lib/mapper.d.ts
CHANGED
package/lib/mapper.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gd-sprest-def",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
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",
|