@mikezimm/fps-core-v7 1.0.3 → 1.0.4
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/lib/types/@pnp/@2.14.0/common/collections.d.ts +11 -0
- package/lib/types/@pnp/@2.14.0/common/collections.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/common/collections.js +6 -0
- package/lib/types/@pnp/@2.14.0/common/collections.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/common/libconfig.d.ts +41 -0
- package/lib/types/@pnp/@2.14.0/common/libconfig.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/common/libconfig.js +6 -0
- package/lib/types/@pnp/@2.14.0/common/libconfig.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/common/net.d.ts +38 -0
- package/lib/types/@pnp/@2.14.0/common/net.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/common/net.js +6 -0
- package/lib/types/@pnp/@2.14.0/common/net.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/logging/logger.d.ts +45 -0
- package/lib/types/@pnp/@2.14.0/logging/logger.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/logging/logger.js +6 -0
- package/lib/types/@pnp/@2.14.0/logging/logger.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/batch.d.ts +19 -0
- package/lib/types/@pnp/@2.14.0/odata/batch.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/batch.js +7 -0
- package/lib/types/@pnp/@2.14.0/odata/batch.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/caching.d.ts +10 -0
- package/lib/types/@pnp/@2.14.0/odata/caching.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/caching.js +6 -0
- package/lib/types/@pnp/@2.14.0/odata/caching.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/invokable-binder.d.ts +14 -0
- package/lib/types/@pnp/@2.14.0/odata/invokable-binder.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/invokable-binder.js +6 -0
- package/lib/types/@pnp/@2.14.0/odata/invokable-binder.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/invokable-extensions.d.ts +11 -0
- package/lib/types/@pnp/@2.14.0/odata/invokable-extensions.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/invokable-extensions.js +6 -0
- package/lib/types/@pnp/@2.14.0/odata/invokable-extensions.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/parsers.d.ts +9 -0
- package/lib/types/@pnp/@2.14.0/odata/parsers.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/parsers.js +6 -0
- package/lib/types/@pnp/@2.14.0/odata/parsers.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/pipeline.d.ts +19 -0
- package/lib/types/@pnp/@2.14.0/odata/pipeline.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/pipeline.js +6 -0
- package/lib/types/@pnp/@2.14.0/odata/pipeline.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/queryable.d.ts +48 -0
- package/lib/types/@pnp/@2.14.0/odata/queryable.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/queryable.js +6 -0
- package/lib/types/@pnp/@2.14.0/odata/queryable.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/attachments.d.ts +53 -0
- package/lib/types/@pnp/@2.14.0/sp/attachments.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/attachments.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/attachments.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/clientside-pages.d.ts +214 -0
- package/lib/types/@pnp/@2.14.0/sp/clientside-pages.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/clientside-pages.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/clientside-pages.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/features.d.ts +35 -0
- package/lib/types/@pnp/@2.14.0/sp/features.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/features.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/features.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/fields.d.ts +220 -0
- package/lib/types/@pnp/@2.14.0/sp/fields.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/fields.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/fields.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/files.d.ts +187 -0
- package/lib/types/@pnp/@2.14.0/sp/files.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/files.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/files.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/folders.d.ts +118 -0
- package/lib/types/@pnp/@2.14.0/sp/folders.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/folders.js +2 -0
- package/lib/types/@pnp/@2.14.0/sp/folders.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/forms.d.ts +30 -0
- package/lib/types/@pnp/@2.14.0/sp/forms.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/forms.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/forms.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/hubsites.d.ts +56 -0
- package/lib/types/@pnp/@2.14.0/sp/hubsites.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/hubsites.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/hubsites.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/items.d.ts +106 -0
- package/lib/types/@pnp/@2.14.0/sp/items.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/items.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/items.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/lists.d.ts +388 -0
- package/lib/types/@pnp/@2.14.0/sp/lists.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/lists.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/lists.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/navigation.d.ts +108 -0
- package/lib/types/@pnp/@2.14.0/sp/navigation.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/navigation.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/navigation.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/security.d.ts +234 -0
- package/lib/types/@pnp/@2.14.0/sp/security.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/security.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/security.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/sharepointqueryable.d.ts +34 -0
- package/lib/types/@pnp/@2.14.0/sp/sharepointqueryable.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/sharepointqueryable.js +7 -0
- package/lib/types/@pnp/@2.14.0/sp/sharepointqueryable.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/site-groups.d.ts +45 -0
- package/lib/types/@pnp/@2.14.0/sp/site-groups.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/site-groups.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/site-groups.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/site-users.d.ts +88 -0
- package/lib/types/@pnp/@2.14.0/sp/site-users.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/site-users.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/site-users.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/sites.d.ts +82 -0
- package/lib/types/@pnp/@2.14.0/sp/sites.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/sites.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/sites.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/types.d.ts +89 -0
- package/lib/types/@pnp/@2.14.0/sp/types.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/types.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/types.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/user-custom-actions.d.ts +71 -0
- package/lib/types/@pnp/@2.14.0/sp/user-custom-actions.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/user-custom-actions.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/user-custom-actions.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/utils/toResourcePath.d.ts +11 -0
- package/lib/types/@pnp/@2.14.0/sp/utils/toResourcePath.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/utils/toResourcePath.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/utils/toResourcePath.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/views.d.ts +97 -0
- package/lib/types/@pnp/@2.14.0/sp/views.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/views.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/views.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/webparts.d.ts +57 -0
- package/lib/types/@pnp/@2.14.0/sp/webparts.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/webparts.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/webparts.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/webs.d.ts +128 -0
- package/lib/types/@pnp/@2.14.0/sp/webs.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/webs.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/webs.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Originally copied from node_modules\@pnp\sp\lists\types.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
import { IBasePermissions } from "./security";
|
|
6
|
+
import { IFieldInfo } from "./fields";
|
|
7
|
+
import { IFormInfo } from "./forms";
|
|
8
|
+
import { IFolderInfo } from "./folders";
|
|
9
|
+
import { IViewInfo } from "./views";
|
|
10
|
+
import { IUserCustomActionInfo } from "./user-custom-actions";
|
|
11
|
+
import { IResourcePath } from "./utils/toResourcePath";
|
|
12
|
+
/**
|
|
13
|
+
* ILists really extends the class _Lists which has functions included as well.
|
|
14
|
+
|
|
15
|
+
export declare class _Lists extends _SharePointQueryableCollection<IListInfo[]> {
|
|
16
|
+
getById(id: string): IList;
|
|
17
|
+
getByTitle(title: string): IList;
|
|
18
|
+
add(title: string, desc?: string, template?: number, enableContentTypes?: boolean, additionalSettings?: Partial<IListInfo>): Promise<IListAddResult>;
|
|
19
|
+
ensure(title: string, desc?: string, template?: number, enableContentTypes?: boolean, additionalSettings?: Partial<IListInfo>): Promise<IListEnsureResult>;
|
|
20
|
+
ensureSiteAssetsLibrary(): Promise<IList>;
|
|
21
|
+
ensureSitePagesLibrary(): Promise<IList>;
|
|
22
|
+
}
|
|
23
|
+
*/
|
|
24
|
+
export interface ILists extends Array<IListInfo> {
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* IList really extends the class _List which has functions included as well.
|
|
28
|
+
|
|
29
|
+
export declare class _List extends _SharePointQueryableInstance<IListInfo> {
|
|
30
|
+
delete: (this: ISharePointQueryable<any>, eTag?: string) => Promise<void>;
|
|
31
|
+
get effectiveBasePermissions(): ISharePointQueryable;
|
|
32
|
+
get eventReceivers(): ISharePointQueryableCollection;
|
|
33
|
+
get relatedFields(): ISharePointQueryable;
|
|
34
|
+
get informationRightsManagementSettings(): ISharePointQueryable;
|
|
35
|
+
update(properties: Partial<IListInfo>, eTag?: string): Promise<IListUpdateResult>;
|
|
36
|
+
getChanges(query: IChangeQuery): Promise<any>;
|
|
37
|
+
getItemsByCAMLQuery(query: ICamlQuery, ...expands: string[]): Promise<any>;
|
|
38
|
+
getListItemChangesSinceToken(query: IChangeLogItemQuery): Promise<string>;
|
|
39
|
+
recycle(): Promise<string>;
|
|
40
|
+
renderListData(viewXml: string): Promise<IRenderListData>;
|
|
41
|
+
renderListDataAsStream(parameters: IRenderListDataParameters, overrideParams?: any, query?: Map<string, string>): Promise<IRenderListDataAsStreamResult>;
|
|
42
|
+
renderListFormData(itemId: number, formId: string, mode: ControlMode): Promise<IListFormData>;
|
|
43
|
+
reserveListItemId(): Promise<number>;
|
|
44
|
+
getListItemEntityTypeFullName(): Promise<string>;
|
|
45
|
+
addValidateUpdateItemUsingPath(formValues: IListItemFormUpdateValue[], decodedUrl: string, bNewDocumentUpdate?: boolean, checkInComment?: string, additionalProps?: {
|
|
46
|
+
leafName?: string; // If creating a document or folder, the name
|
|
47
|
+
objectType?: 0 | 1 | 2; // 0: File, 1: Folder, 2: Web
|
|
48
|
+
}): Promise<IListItemFormUpdateValue[]>;
|
|
49
|
+
getParentInfos(): Promise<IListParentInfos>;
|
|
50
|
+
}
|
|
51
|
+
*/
|
|
52
|
+
export interface IList extends IListInfo {
|
|
53
|
+
}
|
|
54
|
+
export interface IListAddResult {
|
|
55
|
+
list: IList;
|
|
56
|
+
data: any;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Represents the output of the update method
|
|
60
|
+
*/
|
|
61
|
+
export interface IListUpdateResult {
|
|
62
|
+
list: IList;
|
|
63
|
+
data: any;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Represents the output of the ensure method
|
|
67
|
+
*/
|
|
68
|
+
export interface IListEnsureResult {
|
|
69
|
+
list: IList;
|
|
70
|
+
created: boolean;
|
|
71
|
+
data: any;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Specifies a Collaborative Application Markup Language (CAML) query on a list or joined lists.
|
|
75
|
+
*/
|
|
76
|
+
export interface ICamlQuery {
|
|
77
|
+
/**
|
|
78
|
+
* Gets or sets a value that indicates whether the query returns dates in Coordinated Universal Time (UTC) format.
|
|
79
|
+
*/
|
|
80
|
+
DatesInUtc?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Gets or sets a value that specifies the server relative URL of a list folder from which results will be returned.
|
|
83
|
+
*/
|
|
84
|
+
FolderServerRelativeUrl?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Gets or sets a value that specifies the information required to get the next page of data for the list view.
|
|
87
|
+
*/
|
|
88
|
+
ListItemCollectionPosition?: IListItemCollectionPosition;
|
|
89
|
+
/**
|
|
90
|
+
* Gets or sets value that specifies the XML schema that defines the list view.
|
|
91
|
+
*/
|
|
92
|
+
ViewXml?: string;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Specifies the information required to get the next page of data for a list view.
|
|
96
|
+
*/
|
|
97
|
+
export interface IListItemCollectionPosition {
|
|
98
|
+
/**
|
|
99
|
+
* Gets or sets a value that specifies information, as name-value pairs, required to get the next page of data for a list view.
|
|
100
|
+
*/
|
|
101
|
+
PagingInfo: string;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Represents the input parameter of the GetListItemChangesSinceToken method.
|
|
105
|
+
*/
|
|
106
|
+
export interface IChangeLogItemQuery {
|
|
107
|
+
/**
|
|
108
|
+
* The change token for the request.
|
|
109
|
+
*/
|
|
110
|
+
ChangeToken?: string;
|
|
111
|
+
/**
|
|
112
|
+
* The XML element that defines custom filtering for the query.
|
|
113
|
+
*/
|
|
114
|
+
Contains?: string;
|
|
115
|
+
/**
|
|
116
|
+
* The records from the list to return and their return order.
|
|
117
|
+
*/
|
|
118
|
+
Query?: string;
|
|
119
|
+
/**
|
|
120
|
+
* The options for modifying the query.
|
|
121
|
+
*/
|
|
122
|
+
QueryOptions?: string;
|
|
123
|
+
/**
|
|
124
|
+
* RowLimit
|
|
125
|
+
*/
|
|
126
|
+
RowLimit?: string;
|
|
127
|
+
/**
|
|
128
|
+
* The names of the fields to include in the query result.
|
|
129
|
+
*/
|
|
130
|
+
ViewFields?: string;
|
|
131
|
+
/**
|
|
132
|
+
* The GUID of the view.
|
|
133
|
+
*/
|
|
134
|
+
ViewName?: string;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Represents the output parameter of the renderListFormData method.
|
|
138
|
+
*/
|
|
139
|
+
export interface IListFormData {
|
|
140
|
+
ContentType?: string;
|
|
141
|
+
Title?: string;
|
|
142
|
+
Author?: string;
|
|
143
|
+
Editor?: string;
|
|
144
|
+
Created?: Date;
|
|
145
|
+
Modified: Date;
|
|
146
|
+
Attachments?: any;
|
|
147
|
+
ListSchema?: any;
|
|
148
|
+
FormControlMode?: number;
|
|
149
|
+
FieldControlModes?: {
|
|
150
|
+
Title?: number;
|
|
151
|
+
Author?: number;
|
|
152
|
+
Editor?: number;
|
|
153
|
+
Created?: number;
|
|
154
|
+
Modified?: number;
|
|
155
|
+
Attachments?: number;
|
|
156
|
+
};
|
|
157
|
+
WebAttributes?: {
|
|
158
|
+
WebUrl?: string;
|
|
159
|
+
EffectivePresenceEnabled?: boolean;
|
|
160
|
+
AllowScriptableWebParts?: boolean;
|
|
161
|
+
PermissionCustomizePages?: boolean;
|
|
162
|
+
LCID?: number;
|
|
163
|
+
CurrentUserId?: number;
|
|
164
|
+
};
|
|
165
|
+
ItemAttributes?: {
|
|
166
|
+
Id?: number;
|
|
167
|
+
FsObjType?: number;
|
|
168
|
+
ExternalListItem?: boolean;
|
|
169
|
+
Url?: string;
|
|
170
|
+
EffectiveBasePermissionsLow?: number;
|
|
171
|
+
EffectiveBasePermissionsHigh?: number;
|
|
172
|
+
};
|
|
173
|
+
ListAttributes?: {
|
|
174
|
+
Id?: string;
|
|
175
|
+
BaseType?: number;
|
|
176
|
+
Direction?: string;
|
|
177
|
+
ListTemplateType?: number;
|
|
178
|
+
DefaultItemOpen?: number;
|
|
179
|
+
EnableVersioning?: boolean;
|
|
180
|
+
};
|
|
181
|
+
CSRCustomLayout?: boolean;
|
|
182
|
+
PostBackRequired?: boolean;
|
|
183
|
+
PreviousPostBackHandled?: boolean;
|
|
184
|
+
UploadMode?: boolean;
|
|
185
|
+
SubmitButtonID?: string;
|
|
186
|
+
ItemContentTypeName?: string;
|
|
187
|
+
ItemContentTypeId?: string;
|
|
188
|
+
JSLinks?: string;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Enum representing the options of the RenderOptions property on IRenderListDataParameters interface
|
|
192
|
+
*/
|
|
193
|
+
export declare enum RenderListDataOptions {
|
|
194
|
+
None = 0,
|
|
195
|
+
ContextInfo = 1,
|
|
196
|
+
ListData = 2,
|
|
197
|
+
ListSchema = 4,
|
|
198
|
+
MenuView = 8,
|
|
199
|
+
ListContentType = 16,
|
|
200
|
+
FileSystemItemId = 32,
|
|
201
|
+
ClientFormSchema = 64,
|
|
202
|
+
QuickLaunch = 128,
|
|
203
|
+
Spotlight = 256,
|
|
204
|
+
Visualization = 512,
|
|
205
|
+
ViewMetadata = 1024,
|
|
206
|
+
DisableAutoHyperlink = 2048,
|
|
207
|
+
EnableMediaTAUrls = 4096,
|
|
208
|
+
ParentInfo = 8192,
|
|
209
|
+
PageContextInfo = 16384,
|
|
210
|
+
ClientSideComponentManifest = 32768
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Represents the parameters to be used to render list data as JSON string in the RenderListDataAsStream method of IList.
|
|
214
|
+
*/
|
|
215
|
+
export interface IRenderListDataParameters {
|
|
216
|
+
AddRequiredFields?: boolean;
|
|
217
|
+
AllowMultipleValueFilterForTaxonomyFields?: boolean;
|
|
218
|
+
AudienceTarget?: boolean;
|
|
219
|
+
DatesInUtc?: boolean;
|
|
220
|
+
DeferredRender?: boolean;
|
|
221
|
+
ExpandGroups?: boolean;
|
|
222
|
+
FirstGroupOnly?: boolean;
|
|
223
|
+
FolderServerRelativeUrl?: string;
|
|
224
|
+
ImageFieldsToTryRewriteToCdnUrls?: string;
|
|
225
|
+
MergeDefaultView?: boolean;
|
|
226
|
+
OriginalDate?: boolean;
|
|
227
|
+
OverrideViewXml?: string;
|
|
228
|
+
Paging?: string;
|
|
229
|
+
ReplaceGroup?: boolean;
|
|
230
|
+
RenderOptions?: RenderListDataOptions[] | number;
|
|
231
|
+
ViewXml?: string;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Represents properties of a list item field and its value.
|
|
235
|
+
*/
|
|
236
|
+
export interface IListItemFormUpdateValue {
|
|
237
|
+
/**
|
|
238
|
+
* The error message result after validating the value for the field.
|
|
239
|
+
*/
|
|
240
|
+
ErrorMessage?: string;
|
|
241
|
+
/**
|
|
242
|
+
* The internal name of the field.
|
|
243
|
+
*/
|
|
244
|
+
FieldName?: string;
|
|
245
|
+
/**
|
|
246
|
+
* The value of the field, in string format.
|
|
247
|
+
*/
|
|
248
|
+
FieldValue?: string;
|
|
249
|
+
/**
|
|
250
|
+
* Indicates whether there was an error result after validating the value for the field.
|
|
251
|
+
*/
|
|
252
|
+
HasException?: boolean;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Represents the output parameter of the renderListData method.
|
|
256
|
+
*/
|
|
257
|
+
export interface IRenderListData {
|
|
258
|
+
Row: any[];
|
|
259
|
+
FirstRow: number;
|
|
260
|
+
FolderPermissions: string;
|
|
261
|
+
LastRow: number;
|
|
262
|
+
FilterLink: string;
|
|
263
|
+
ForceNoHierarchy: string;
|
|
264
|
+
HierarchyHasIndention: string;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Determines the display mode of the given control or view
|
|
268
|
+
*/
|
|
269
|
+
export declare enum ControlMode {
|
|
270
|
+
Display = 1,
|
|
271
|
+
Edit = 2,
|
|
272
|
+
New = 3
|
|
273
|
+
}
|
|
274
|
+
export interface IListInfo {
|
|
275
|
+
AllowContentTypes: boolean;
|
|
276
|
+
AllowDeletion: boolean;
|
|
277
|
+
BaseTemplate: number;
|
|
278
|
+
BaseType: any;
|
|
279
|
+
BrowserFileHandling: any;
|
|
280
|
+
ContentTypes: any[];
|
|
281
|
+
ContentTypesEnabled: boolean;
|
|
282
|
+
CrawlNonDefaultViews: boolean;
|
|
283
|
+
CreatablesInfo: any;
|
|
284
|
+
Created: string;
|
|
285
|
+
CurrentChangeToken: any;
|
|
286
|
+
CustomActionElements: any[];
|
|
287
|
+
DataSource: any;
|
|
288
|
+
DefaultContentApprovalWorkflowId: string;
|
|
289
|
+
DefaultDisplayFormUrl: string;
|
|
290
|
+
DefaultEditFormUrl: string;
|
|
291
|
+
DefaultNewFormUrl: string;
|
|
292
|
+
DefaultView: any;
|
|
293
|
+
DefaultViewPath: any;
|
|
294
|
+
DefaultViewUrl: string;
|
|
295
|
+
Description: string;
|
|
296
|
+
DescriptionResource: any;
|
|
297
|
+
Direction: string;
|
|
298
|
+
DocumentTemplateUrl: string;
|
|
299
|
+
DraftVersionVisibility: any;
|
|
300
|
+
EffectiveBasePermissions: IBasePermissions;
|
|
301
|
+
EffectiveBasePermissionsForUI: IBasePermissions;
|
|
302
|
+
EnableAssignToEmail: boolean;
|
|
303
|
+
EnableAttachments: boolean;
|
|
304
|
+
EnableFolderCreation: boolean;
|
|
305
|
+
EnableMinorVersions: boolean;
|
|
306
|
+
EnableModeration: boolean;
|
|
307
|
+
EnableRequestSignOff: boolean;
|
|
308
|
+
EnableVersioning: boolean;
|
|
309
|
+
EntityTypeName: string;
|
|
310
|
+
EventReceivers: any[];
|
|
311
|
+
ExcludeFromOfflineClient: boolean;
|
|
312
|
+
ExemptFromBlockDownloadOfNonViewableFiles: boolean;
|
|
313
|
+
Fields: Partial<IFieldInfo>[];
|
|
314
|
+
FileSavePostProcessingEnabled: boolean;
|
|
315
|
+
ForceCheckout: boolean;
|
|
316
|
+
Forms: IFormInfo[];
|
|
317
|
+
HasExternalDataSource: boolean;
|
|
318
|
+
Hidden: boolean;
|
|
319
|
+
Id: string;
|
|
320
|
+
ImagePath: {
|
|
321
|
+
DecodedUrl: string;
|
|
322
|
+
};
|
|
323
|
+
ImageUrl: string;
|
|
324
|
+
InformationRightsManagementSettings: any[];
|
|
325
|
+
IrmEnabled: boolean;
|
|
326
|
+
IrmExpire: boolean;
|
|
327
|
+
IrmReject: boolean;
|
|
328
|
+
IsApplicationList: boolean;
|
|
329
|
+
IsCatalog: boolean;
|
|
330
|
+
IsPrivate: boolean;
|
|
331
|
+
IsSiteAssetsLibrary: boolean;
|
|
332
|
+
IsSystemList: boolean;
|
|
333
|
+
ItemCount: number;
|
|
334
|
+
LastItemDeletedDate: string;
|
|
335
|
+
LastItemModifiedDate: string;
|
|
336
|
+
LastItemUserModifiedDate: string;
|
|
337
|
+
ListExperienceOptions: number;
|
|
338
|
+
ListItemEntityTypeFullName: string;
|
|
339
|
+
MajorVersionLimit: number;
|
|
340
|
+
MajorWithMinorVersionsLimit: number;
|
|
341
|
+
MultipleDataList: boolean;
|
|
342
|
+
NoCrawl: boolean;
|
|
343
|
+
OnQuickLaunch: boolean;
|
|
344
|
+
ParentWebPath: {
|
|
345
|
+
DecodedUrl: string;
|
|
346
|
+
};
|
|
347
|
+
ParentWebUrl: string;
|
|
348
|
+
ParserDisabled: boolean;
|
|
349
|
+
ReadSecurity: number;
|
|
350
|
+
RootFolder: IFolderInfo;
|
|
351
|
+
SchemaXml: string;
|
|
352
|
+
ServerTemplateCanCreateFolders: boolean;
|
|
353
|
+
TemplateFeatureId: string;
|
|
354
|
+
Title: string;
|
|
355
|
+
UserCustomActions: IUserCustomActionInfo[];
|
|
356
|
+
ValidationFormula: string;
|
|
357
|
+
ValidationMessage: string;
|
|
358
|
+
Views: IViewInfo[];
|
|
359
|
+
WorkflowAssociations: any[];
|
|
360
|
+
WriteSecurity: number;
|
|
361
|
+
}
|
|
362
|
+
export interface IRenderListDataAsStreamResult {
|
|
363
|
+
CurrentFolderSpItemUrl: string;
|
|
364
|
+
FilterLink: string;
|
|
365
|
+
FirstRow: number;
|
|
366
|
+
FolderPermissions: string;
|
|
367
|
+
ForceNoHierarchy: string;
|
|
368
|
+
HierarchyHasIndention: string;
|
|
369
|
+
LastRow: number;
|
|
370
|
+
NextHref?: string;
|
|
371
|
+
Row: any[];
|
|
372
|
+
RowLimit: number;
|
|
373
|
+
}
|
|
374
|
+
export interface IListParentInfos {
|
|
375
|
+
List: {
|
|
376
|
+
Id: string;
|
|
377
|
+
RootFolderServerRelativePath: IResourcePath;
|
|
378
|
+
RootFolderServerRelativeUrl: string;
|
|
379
|
+
RootFolderUniqueId: string;
|
|
380
|
+
};
|
|
381
|
+
ParentWeb: {
|
|
382
|
+
Id: string;
|
|
383
|
+
ServerRelativePath: IResourcePath;
|
|
384
|
+
ServerRelativeUrl: string;
|
|
385
|
+
Url: string;
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
//# sourceMappingURL=lists.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lists.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/lists.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,MAAO,SAAQ,KAAK,CAAC,SAAS,CAAC;CAAG;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,MAAM,WAAW,KAAM,SAAQ,SAAS;CAAG;AAG3C,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,KAAK,CAAC;IACZ,IAAI,EAAE,GAAG,CAAC;CACb;AACD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,KAAK,CAAC;IACZ,IAAI,EAAE,GAAG,CAAC;CACb;AACD;;GAEG;AACH,MAAM,WAA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BAA2B,EAAE,MAAM,CAAC;QACpC,kBAAkB,EAAE,MAAM,CAAC;KAC9B,CAAC;IACF,SAAS,EAAE;QACP,EAAE,EAAE,MAAM,CAAC;QACX,kBAAkB,EAAE,aAAa,CAAC;QAClC,iBAAiB,EAAE,MAAM,CAAC;QAC1B,GAAG,EAAE,MAAM,CAAC;KACf,CAAC;CACL"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lists.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/lists.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Originally copied from node_modules\@pnp\sp\navigation\types.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
import { ISharePointQueryable } from "./sharepointqueryable";
|
|
6
|
+
/**
|
|
7
|
+
* IHubSites really extends the class _HubSites which has functions included as well.
|
|
8
|
+
|
|
9
|
+
export declare class _NavigationNodes extends _SharePointQueryableCollection<INavNodeInfo[]> {
|
|
10
|
+
getById(id: number): INavigationNode;
|
|
11
|
+
add(title: string, url: string, visible?: boolean): Promise<INavigationNodeAddResult>;
|
|
12
|
+
moveAfter(nodeId: number, previousNodeId: number): Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
*/
|
|
15
|
+
export interface INavigationNodes extends Array<INavNodeInfo> {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* INavigationNode really extends the class _NavigationNode, IDeleteable which has functions included as well.
|
|
19
|
+
|
|
20
|
+
export declare class _NavigationNode extends _SharePointQueryableInstance<INavNodeInfo> {
|
|
21
|
+
delete: (this: import("../sharepointqueryable.js").ISharePointQueryable<any>) => Promise<void>;
|
|
22
|
+
get children(): INavigationNodes;
|
|
23
|
+
update(properties: Partial<INavNodeInfo>): Promise<INavNodeUpdateResult>;
|
|
24
|
+
}
|
|
25
|
+
*/
|
|
26
|
+
export interface INavigationNode extends INavNodeInfo {
|
|
27
|
+
}
|
|
28
|
+
export interface INavNodeUpdateResult {
|
|
29
|
+
data: any;
|
|
30
|
+
node: INavigationNode;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* INavigation really extends the class _Navigation which has functions included as well.
|
|
34
|
+
*
|
|
35
|
+
export declare class _Navigation extends _SharePointQueryable {
|
|
36
|
+
get quicklaunch(): INavigationNodes;
|
|
37
|
+
get topNavigationBar(): INavigationNodes;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
*/
|
|
41
|
+
export interface INavigation {
|
|
42
|
+
readonly quicklaunch: INavigationNodes;
|
|
43
|
+
readonly topNavigationBar: INavigationNodes;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* INavigationService really extends the class _NavigationService which has functions included as well.
|
|
47
|
+
export declare class _NavigationService extends _SharePointQueryable {
|
|
48
|
+
getMenuState(menuNodeKey?: string, depth?: number, mapProviderName?: string, customProperties?: string): Promise<IMenuNodeCollection>;
|
|
49
|
+
getMenuNodeKey(currentUrl: string, mapProviderName?: string): Promise<string>;
|
|
50
|
+
}
|
|
51
|
+
*/
|
|
52
|
+
export interface INavigationService extends ISharePointQueryable {
|
|
53
|
+
}
|
|
54
|
+
export declare const NavigationService: (path?: string) => INavigationService;
|
|
55
|
+
export interface IMenuNode {
|
|
56
|
+
CustomProperties: any[];
|
|
57
|
+
FriendlyUrlSegment: string;
|
|
58
|
+
IsDeleted: boolean;
|
|
59
|
+
IsHidden: boolean;
|
|
60
|
+
Key: string;
|
|
61
|
+
Nodes: IMenuNode[];
|
|
62
|
+
NodeType: number;
|
|
63
|
+
SimpleUrl: string;
|
|
64
|
+
Title: string;
|
|
65
|
+
}
|
|
66
|
+
export interface IMenuNodeCollection {
|
|
67
|
+
FriendlyUrlPrefix: string;
|
|
68
|
+
Nodes: IMenuNode[];
|
|
69
|
+
SimpleUrl: string;
|
|
70
|
+
SPSitePrefix: string;
|
|
71
|
+
SPWebPrefix: string;
|
|
72
|
+
StartingNodeKey: string;
|
|
73
|
+
StartingNodeTitle: string;
|
|
74
|
+
Version: Date;
|
|
75
|
+
}
|
|
76
|
+
export interface ISerializableNavigationNode {
|
|
77
|
+
Id: number;
|
|
78
|
+
Title: string;
|
|
79
|
+
Url: string;
|
|
80
|
+
IsDocLib: boolean;
|
|
81
|
+
IsExternal: boolean;
|
|
82
|
+
ParentId: number;
|
|
83
|
+
ListTemplateType: number;
|
|
84
|
+
AudienceIds: string[];
|
|
85
|
+
Children: ISerializableNavigationNode[];
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Result from adding a navigation node
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
export interface INavigationNodeAddResult {
|
|
92
|
+
data: INavNodeInfo;
|
|
93
|
+
node: INavigationNode;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Represents the information describing a navigation node
|
|
97
|
+
*/
|
|
98
|
+
export interface INavNodeInfo {
|
|
99
|
+
AudienceIds: string[] | null;
|
|
100
|
+
Id: number;
|
|
101
|
+
IsDocLib: boolean;
|
|
102
|
+
IsExternal: boolean;
|
|
103
|
+
IsVisible: boolean;
|
|
104
|
+
ListTemplateType: number;
|
|
105
|
+
Title: string;
|
|
106
|
+
Url: string;
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=navigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/navigation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D;;;;;;;;GAQG;AACH,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,YAAY,CAAC;CAAG;AAEhE;;;;;;;;GAQG;AAEH,MAAM,WAAW,eAAgB,SAAQ,YAAY;CAAG;AAExD,MAAM,WAAW,oBAAoB;IACjC,I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AAM,EAAE,CAAC;IACtB,QAAQ,EAAE,2BAA2B,EAAE,CAAC;CAC3C;AACD;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACrC,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE,eAAe,CAAC;CACzB;AACD;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,WAAW,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/navigation.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|