Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pnp/sp

Package Overview
Dependencies
Maintainers
6
Versions
1072
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnp/sp - npm Package Compare versions

Comparing version 1.0.5-0 to 1.0.5-1

docs/comments-likes.md

1

docs/index.md

@@ -115,1 +115,2 @@ # @pnp/sp

* [Webs](webs.md)
* [Comments and Likes](comments-likes.md)

8

package.json
{
"name": "@pnp/sp",
"version": "1.0.5-0",
"version": "1.0.5-1",
"description": "pnp - provides a fluent api for working with SharePoint REST",

@@ -11,5 +11,5 @@ "main": "./dist/sp.es5.umd.js",

"peerDependencies": {
"@pnp/common": "1.0.5-0",
"@pnp/logging": "1.0.5-0",
"@pnp/odata": "1.0.5-0"
"@pnp/common": "1.0.5-1",
"@pnp/logging": "1.0.5-1",
"@pnp/odata": "1.0.5-1"
},

@@ -16,0 +16,0 @@ "author": {

@@ -7,4 +7,5 @@ import { SharePointQueryable, SharePointQueryableCollection, SharePointQueryableInstance } from "./sharepointqueryable";

import { TypedHash } from "@pnp/common";
import { ListItemFormUpdateValue } from "./types";
import { ListItemFormUpdateValue, LikeData } from "./types";
import { AttachmentFiles } from "./attachmentfiles";
import { Comments } from "./comments";
/**

@@ -81,2 +82,6 @@ * Describes a collection of Item objects

/**
* Gets the collection of comments associated with this list item
*/
readonly comments: Comments;
/**
* Gets the effective base permissions for the item

@@ -129,2 +134,14 @@ *

/**
* Gets the collection of people who have liked this item
*/
getLikedBy(): Promise<LikeData[]>;
/**
* Likes this item as the current user
*/
like(): Promise<void>;
/**
* Unlikes this item as the current user
*/
unlike(): Promise<void>;
/**
* Delete this item

@@ -131,0 +148,0 @@ *

@@ -5,3 +5,3 @@ import { SharePointQueryableConstructor } from "./sharepointqueryable";

export declare function spGetEntityUrl(entity: any): string;
export declare function spODataEntity<T>(factory: SharePointQueryableConstructor<T>): ODataParser<T>;
export declare function spODataEntityArray<T>(factory: SharePointQueryableConstructor<T>): ODataParser<T[]>;
export declare function spODataEntity<T, DataType = any>(factory: SharePointQueryableConstructor<T>): ODataParser<T & DataType>;
export declare function spODataEntityArray<T, DataType = any>(factory: SharePointQueryableConstructor<T>): ODataParser<(T & DataType)[]>;

@@ -8,2 +8,3 @@ export { spExtractODataId, spODataEntity, spODataEntityArray } from "./odata";

export * from "./clientsidepages";
export * from "./comments";
export { ContentType, ContentTypes, ContentTypeAddResult, FieldLink, FieldLinks } from "./contenttypes";

@@ -10,0 +11,0 @@ export { SPConfiguration, SPConfigurationPart } from "./config/splibconfig";

@@ -1488,1 +1488,8 @@ import { TypedHash } from "@pnp/common";

}
export interface LikeData {
name: string;
loginName: string;
id: number;
email: string;
creationDate: string;
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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