Socket
Socket
Sign inDemoInstall

gd-sprest-def

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gd-sprest-def - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

12

custom.js

@@ -349,2 +349,14 @@ /**

// People Manager
"SP.UserProfiles.PeopleManager": [
{
name: "getUserProfilePropertyFor",
returnType: "{ GetUserProfilePropertyFor: string }",
params: [
{ $: { Name: "accountName", Type: "string" } },
{ $: { Name: "propertyName", Type: "string" } }
]
}
],
// Role Assignment

@@ -351,0 +363,0 @@ "SP.RoleAssignment": [

3

lib/SP/UserProfiles/entitytypes.d.ts

@@ -215,3 +215,3 @@ import { Base } from "../../";

getUserProfileProperties(accountName?: string): Base.IBaseCollection<SP.KeyValue>;
getUserProfilePropertyFor(accountName?: string, propertyName?: string): Base.IBaseExecution<SP.UserProfiles.PersonProperties>;
// getUserProfilePropertyFor(accountName?: string, propertyName?: string): Base.IBaseExecution<string>;
hardDeleteUserProfile(accountName?: string, userId?: any): Base.IBaseExecution<boolean>;

@@ -227,2 +227,3 @@ hideSuggestion(accountName?: string): Base.IBaseExecution<any>;

stopFollowingTag(value?: any): Base.IBaseExecution<any>;
getUserProfilePropertyFor(accountName?: string, propertyName?: string): Base.IBaseExecution<{ GetUserProfilePropertyFor: string }>;
}

@@ -229,0 +230,0 @@

@@ -18,7 +18,2 @@ ##### Missing Properties

<Property Name="OnlyAllowMembersViewMembership" Type="Edm.Boolean" />
```
###### FunctionImport - Fix the ReturnType value
```
<FunctionImport Name="GetUserProfilePropertyFor" ReturnType="SP.UserProfiles.PersonProperties" IsSideEffecting="false" IsBindable="true">
```
```
{
"name": "gd-sprest-def",
"version": "1.1.4",
"version": "1.1.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 not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc