Comparing version 1.0.0-beta.0 to 1.0.0-beta.1
{ | ||
"name": "@pnp/sp", | ||
"version": "1.0.0-beta.0", | ||
"version": "1.0.0-beta.1", | ||
"description": "pnp - provides SharePoint query functionality", | ||
@@ -9,5 +9,5 @@ "main": "./dist/sp.es5.umd.js", | ||
"peerDependencies": { | ||
"@pnp/common": "1.0.0-beta.0", | ||
"@pnp/logging": "1.0.0-beta.0", | ||
"@pnp/odata": "1.0.0-beta.0" | ||
"@pnp/common": "1.0.0-beta.1", | ||
"@pnp/logging": "1.0.0-beta.1", | ||
"@pnp/odata": "1.0.0-beta.1" | ||
}, | ||
@@ -14,0 +14,0 @@ "author": { |
@@ -41,2 +41,3 @@ import { SharePointQueryable, SharePointQueryableCollection, SharePointQueryableInstance } from "./sharepointqueryable"; | ||
* @param properties The new items's properties | ||
* @param listItemEntityTypeFullName The type name of the list's entities | ||
*/ | ||
@@ -106,4 +107,5 @@ add(properties?: TypedHash<any>, listItemEntityTypeFullName?: string): Promise<ItemAddResult>; | ||
* @param eTag Value used in the IF-Match header, by default "*" | ||
* @param listItemEntityTypeFullName The type name of the list's entities | ||
*/ | ||
update(properties: TypedHash<any>, eTag?: string): Promise<ItemUpdateResult>; | ||
update(properties: TypedHash<any>, eTag?: string, listItemEntityTypeFullName?: string): Promise<ItemUpdateResult>; | ||
/** | ||
@@ -133,2 +135,8 @@ * Delete this item | ||
validateUpdateListItem(formValues: ListItemFormUpdateValue[], newDocumentUpdate?: boolean): Promise<ListItemFormUpdateValue[]>; | ||
/** | ||
* Ensures we have the proper list item entity type name, either from the value provided or from the list | ||
* | ||
* @param candidatelistItemEntityTypeFullName The potential type name | ||
*/ | ||
private ensureListItemEntityTypeName(candidatelistItemEntityTypeFullName); | ||
} | ||
@@ -135,0 +143,0 @@ export interface ItemAddResult { |
@@ -10,3 +10,3 @@ import { Items } from "./items"; | ||
import { TypedHash } from "@pnp/common"; | ||
import { ControlMode, RenderListData, ChangeQuery, CamlQuery, ChangeLogitemQuery, ListFormData } from "./types"; | ||
import { ControlMode, RenderListData, ChangeQuery, CamlQuery, ChangeLogitemQuery, ListFormData, RenderListDataParameters } from "./types"; | ||
import { UserCustomActions } from "./usercustomactions"; | ||
@@ -190,2 +190,9 @@ import { Folder } from "./folders"; | ||
/** | ||
* Returns the data for the specified query view | ||
* | ||
* @param parameters The parameters to be used to render list data as JSON string. | ||
* @param overrideParameters The parameters that are used to override and extend the regular SPRenderListDataParameters. | ||
*/ | ||
renderListDataAsStream(parameters: RenderListDataParameters, overrideParameters?: any): Promise<any>; | ||
/** | ||
* Gets the field values and field schema attributes for a list item. | ||
@@ -192,0 +199,0 @@ */ |
@@ -1241,1 +1241,14 @@ import { TypedHash } from "@pnp/common"; | ||
} | ||
export declare enum RenderListDataOptions { | ||
None = 0, | ||
ContextInfo = 1, | ||
ListData = 2, | ||
ListSchema = 4, | ||
MenuView = 8, | ||
} | ||
export interface RenderListDataParameters { | ||
ViewXml?: string; | ||
Paging?: string; | ||
FolderServerRelativeUrl?: string; | ||
RenderOptions?: RenderListDataOptions; | ||
} |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
2762274
25675
1
22
46
362