@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,234 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Originally copied from node_modules\@pnp\sp\security\types.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* IRoleAssignment really extends the class _RoleAssignments which has functions included as well.
|
|
7
|
+
* getById(id: number): IRoleAssignment;
|
|
8
|
+
* add(principalId: number, roleDefId: number): Promise<void>;
|
|
9
|
+
* remove(principalId: number, roleDefId: number): Promise<void>;
|
|
10
|
+
*/
|
|
11
|
+
export interface IRoleAssignments extends Array<IRoleAssignment> {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* IRoleAssignment really extends the class _RoleAssignment which has functions included as well.
|
|
15
|
+
* delete: (this: import("../sharepointqueryable.js").ISharePointQueryable<any>) => Promise<void>;
|
|
16
|
+
* get groups(): ISiteGroups;
|
|
17
|
+
* get bindings(): ISharePointQueryableCollection;
|
|
18
|
+
*/
|
|
19
|
+
export interface IRoleAssignment extends IRoleAssignmentInfo {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* IRoleDefinitions really extends the class _RoleDefinitions which has functions included as well.
|
|
23
|
+
getById(id: number): IRoleDefinition;
|
|
24
|
+
getByName(name: string): IRoleDefinition;
|
|
25
|
+
getByType(roleTypeKind: RoleTypeKind): IRoleDefinition;
|
|
26
|
+
add(name: string, description: string, order: number, basePermissions: IBasePermissions): Promise<IRoleDefinitionAddResult>;
|
|
27
|
+
*/
|
|
28
|
+
export interface IRoleDefinitions extends Array<IRoleDefinitionInfo> {
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* IRoleDefinition really extends the class _RoleDefinition which has functions included as well.
|
|
32
|
+
delete: (this: import("../sharepointqueryable.js").ISharePointQueryable<any>) => Promise<void>;
|
|
33
|
+
update(properties: Partial<IRoleDefinitionInfo>): Promise<IRoleDefinitionUpdateResult>;
|
|
34
|
+
*/
|
|
35
|
+
export interface IRoleDefinition extends IRoleDefinitionInfo {
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Result from updating a role definition
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
export interface IRoleDefinitionUpdateResult {
|
|
42
|
+
definition: IRoleDefinition;
|
|
43
|
+
data: any;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Result from adding a role definition
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
export interface IRoleDefinitionAddResult {
|
|
50
|
+
definition: IRoleDefinition;
|
|
51
|
+
data: any;
|
|
52
|
+
}
|
|
53
|
+
export interface IBasePermissions {
|
|
54
|
+
Low: number;
|
|
55
|
+
High: number;
|
|
56
|
+
}
|
|
57
|
+
export interface IRoleAssignmentInfo {
|
|
58
|
+
PrincipalId: number;
|
|
59
|
+
}
|
|
60
|
+
export interface IRoleDefinitionInfo {
|
|
61
|
+
BasePermissions: IBasePermissions;
|
|
62
|
+
Description: string;
|
|
63
|
+
Hidden: boolean;
|
|
64
|
+
Id: number;
|
|
65
|
+
Name: string;
|
|
66
|
+
Order: number;
|
|
67
|
+
RoleTypeKind: RoleTypeKind;
|
|
68
|
+
}
|
|
69
|
+
export declare type RoleTypeKind = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
70
|
+
export declare enum PermissionKind {
|
|
71
|
+
/**
|
|
72
|
+
* Has no permissions on the Site. Not available through the user interface.
|
|
73
|
+
*/
|
|
74
|
+
EmptyMask = 0,
|
|
75
|
+
/**
|
|
76
|
+
* View items in lists, documents in document libraries, and Web discussion comments.
|
|
77
|
+
*/
|
|
78
|
+
ViewListItems = 1,
|
|
79
|
+
/**
|
|
80
|
+
* Add items to lists, documents to document libraries, and Web discussion comments.
|
|
81
|
+
*/
|
|
82
|
+
AddListItems = 2,
|
|
83
|
+
/**
|
|
84
|
+
* Edit items in lists, edit documents in document libraries, edit Web discussion comments
|
|
85
|
+
* in documents, and customize Web Part Pages in document libraries.
|
|
86
|
+
*/
|
|
87
|
+
EditListItems = 3,
|
|
88
|
+
/**
|
|
89
|
+
* Delete items from a list, documents from a document library, and Web discussion
|
|
90
|
+
* comments in documents.
|
|
91
|
+
*/
|
|
92
|
+
DeleteListItems = 4,
|
|
93
|
+
/**
|
|
94
|
+
* Approve a minor version of a list item or document.
|
|
95
|
+
*/
|
|
96
|
+
ApproveItems = 5,
|
|
97
|
+
/**
|
|
98
|
+
* View the source of documents with server-side file handlers.
|
|
99
|
+
*/
|
|
100
|
+
OpenItems = 6,
|
|
101
|
+
/**
|
|
102
|
+
* View past versions of a list item or document.
|
|
103
|
+
*/
|
|
104
|
+
ViewVersions = 7,
|
|
105
|
+
/**
|
|
106
|
+
* Delete past versions of a list item or document.
|
|
107
|
+
*/
|
|
108
|
+
DeleteVersions = 8,
|
|
109
|
+
/**
|
|
110
|
+
* Discard or check in a document which is checked out to another user.
|
|
111
|
+
*/
|
|
112
|
+
CancelCheckout = 9,
|
|
113
|
+
/**
|
|
114
|
+
* Create, change, and delete personal views of lists.
|
|
115
|
+
*/
|
|
116
|
+
ManagePersonalViews = 10,
|
|
117
|
+
/**
|
|
118
|
+
* Create and delete lists, add or remove columns in a list, and add or remove public views of a list.
|
|
119
|
+
*/
|
|
120
|
+
ManageLists = 12,
|
|
121
|
+
/**
|
|
122
|
+
* View forms, views, and application pages, and enumerate lists.
|
|
123
|
+
*/
|
|
124
|
+
ViewFormPages = 13,
|
|
125
|
+
/**
|
|
126
|
+
* Make content of a list or document library retrieveable for anonymous users through SharePoint search.
|
|
127
|
+
* The list permissions in the site do not change.
|
|
128
|
+
*/
|
|
129
|
+
AnonymousSearchAccessList = 14,
|
|
130
|
+
/**
|
|
131
|
+
* Allow users to open a Site, list, or folder to access items inside that container.
|
|
132
|
+
*/
|
|
133
|
+
Open = 17,
|
|
134
|
+
/**
|
|
135
|
+
* View pages in a Site.
|
|
136
|
+
*/
|
|
137
|
+
ViewPages = 18,
|
|
138
|
+
/**
|
|
139
|
+
* Add, change, or delete HTML pages or Web Part Pages, and edit the Site using
|
|
140
|
+
* a Windows SharePoint Services compatible editor.
|
|
141
|
+
*/
|
|
142
|
+
AddAndCustomizePages = 19,
|
|
143
|
+
/**
|
|
144
|
+
* Apply a theme or borders to the entire Site.
|
|
145
|
+
*/
|
|
146
|
+
ApplyThemeAndBorder = 20,
|
|
147
|
+
/**
|
|
148
|
+
* Apply a style sheet (.css file) to the Site.
|
|
149
|
+
*/
|
|
150
|
+
ApplyStyleSheets = 21,
|
|
151
|
+
/**
|
|
152
|
+
* View reports on Site usage.
|
|
153
|
+
*/
|
|
154
|
+
ViewUsageData = 22,
|
|
155
|
+
/**
|
|
156
|
+
* Create a Site using Self-Service Site Creation.
|
|
157
|
+
*/
|
|
158
|
+
CreateSSCSite = 23,
|
|
159
|
+
/**
|
|
160
|
+
* Create subsites such as team sites, Meeting Workspace sites, and Document Workspace sites.
|
|
161
|
+
*/
|
|
162
|
+
ManageSubwebs = 24,
|
|
163
|
+
/**
|
|
164
|
+
* Create a group of users that can be used anywhere within the site collection.
|
|
165
|
+
*/
|
|
166
|
+
CreateGroups = 25,
|
|
167
|
+
/**
|
|
168
|
+
* Create and change permission levels on the Site and assign permissions to users
|
|
169
|
+
* and groups.
|
|
170
|
+
*/
|
|
171
|
+
ManagePermissions = 26,
|
|
172
|
+
/**
|
|
173
|
+
* Enumerate files and folders in a Site using Microsoft Office SharePoint Designer
|
|
174
|
+
* and WebDAV interfaces.
|
|
175
|
+
*/
|
|
176
|
+
BrowseDirectories = 27,
|
|
177
|
+
/**
|
|
178
|
+
* View information about users of the Site.
|
|
179
|
+
*/
|
|
180
|
+
BrowseUserInfo = 28,
|
|
181
|
+
/**
|
|
182
|
+
* Add or remove personal Web Parts on a Web Part Page.
|
|
183
|
+
*/
|
|
184
|
+
AddDelPrivateWebParts = 29,
|
|
185
|
+
/**
|
|
186
|
+
* Update Web Parts to display personalized information.
|
|
187
|
+
*/
|
|
188
|
+
UpdatePersonalWebParts = 30,
|
|
189
|
+
/**
|
|
190
|
+
* Grant the ability to perform all administration tasks for the Site as well as
|
|
191
|
+
* manage content, activate, deactivate, or edit properties of Site scoped Features
|
|
192
|
+
* through the object model or through the user interface (UI). When granted on the
|
|
193
|
+
* root Site of a Site Collection, activate, deactivate, or edit properties of
|
|
194
|
+
* site collection scoped Features through the object model. To browse to the Site
|
|
195
|
+
* Collection Features page and activate or deactivate Site Collection scoped Features
|
|
196
|
+
* through the UI, you must be a Site Collection administrator.
|
|
197
|
+
*/
|
|
198
|
+
ManageWeb = 31,
|
|
199
|
+
/**
|
|
200
|
+
* Content of lists and document libraries in the Web site will be retrieveable for anonymous users through
|
|
201
|
+
* SharePoint search if the list or document library has AnonymousSearchAccessList set.
|
|
202
|
+
*/
|
|
203
|
+
AnonymousSearchAccessWebLists = 32,
|
|
204
|
+
/**
|
|
205
|
+
* Use features that launch client applications. Otherwise, users must work on documents
|
|
206
|
+
* locally and upload changes.
|
|
207
|
+
*/
|
|
208
|
+
UseClientIntegration = 37,
|
|
209
|
+
/**
|
|
210
|
+
* Use SOAP, WebDAV, or Microsoft Office SharePoint Designer interfaces to access the Site.
|
|
211
|
+
*/
|
|
212
|
+
UseRemoteAPIs = 38,
|
|
213
|
+
/**
|
|
214
|
+
* Manage alerts for all users of the Site.
|
|
215
|
+
*/
|
|
216
|
+
ManageAlerts = 39,
|
|
217
|
+
/**
|
|
218
|
+
* Create e-mail alerts.
|
|
219
|
+
*/
|
|
220
|
+
CreateAlerts = 40,
|
|
221
|
+
/**
|
|
222
|
+
* Allows a user to change his or her user information, such as adding a picture.
|
|
223
|
+
*/
|
|
224
|
+
EditMyUserInfo = 41,
|
|
225
|
+
/**
|
|
226
|
+
* Enumerate permissions on Site, list, folder, document, or list item.
|
|
227
|
+
*/
|
|
228
|
+
EnumeratePermissions = 63,
|
|
229
|
+
/**
|
|
230
|
+
* Has all permissions on the Site. Not available through the user interface.
|
|
231
|
+
*/
|
|
232
|
+
FullMask = 65
|
|
233
|
+
}
|
|
234
|
+
//# sourceMappingURL=security.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"security.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/security.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AACH,MAAM,WAAW,gBAAkB,SAAQ,KAAK,CAAC,eAAe,CAAC;CAAG;AAEpE;;;;;GAKG;AACH,MAAM,WAAW,eAAgB,SAAQ,mBAAmB;CAC3D;AAED;;;;;;GAMG;AACH,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,mBAAmB,CAAC;CACnE;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAgB,SAAQ,mBAAmB;CAC3D;AAED;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IACxC,UAAU,EAAE,eAAe,CAAC;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AACD;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACrC,UAAU,EAAE,eAAe,CAAC;IAC5B,IAAI,EAAE,GAAG,CAAC;CACb;AACD,MAAM,WAAW,gBAAgB;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,WAAW,mBAAmB;IAChC,WAAW,EAAE,MAAM,CAAC;CACvB;AACD,MAAM,WAAW,mBAAmB;IAChC,eAAe,EAAE,gBAAgB,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,YAAY,CAAC;CAC9B;AACD,MAAM,CAAC,OAAO,MAAM,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACjE,MAAM,CAAC,OAAO,MAAM,cAAc;IAC9B;;OAEG;IACH,SAAS,IAAI;IACb;;OAEG;IACH,aAAa,IAAI;IACjB;;OAEG;IACH,YAAY,IAAI;IAChB;;;OAGG;IACH,aAAa,IAAI;IACjB;;;OAGG;IACH,eAAe,IAAI;IACnB;;OAEG;IACH,YAAY,IAAI;IAChB;;OAEG;IACH,SAAS,IAAI;IACb;;OAEG;IACH,YAAY,IAAI;IAChB;;OAEG;IACH,cAAc,IAAI;IAClB;;OAEG;IACH,cAAc,IAAI;IAClB;;OAEG;IACH,mBAAmB,KAAK;IACxB;;OAEG;IACH,WAAW,KAAK;IAChB;;OAEG;IACH,aAAa,KAAK;IAClB;;;OAGG;IACH,yBAAyB,KAAK;IAC9B;;OAEG;IACH,IAAI,KAAK;IACT;;OAEG;IACH,SAAS,KAAK;IACd;;;OAGG;IACH,oBAAoB,KAAK;IACzB;;OAEG;IACH,mBAAmB,KAAK;IACxB;;OAEG;IACH,gBAAgB,KAAK;IACrB;;OAEG;IACH,aAAa,KAAK;IAClB;;OAEG;IACH,aAAa,KAAK;IAClB;;OAEG;IACH,aAAa,KAAK;IAClB;;OAEG;IACH,YAAY,KAAK;IACjB;;;OAGG;IACH,iBAAiB,KAAK;IACtB;;;OAGG;IACH,iBAAiB,KAAK;IACtB;;OAEG;IACH,cAAc,KAAK;IACnB;;OAEG;IACH,qBAAqB,KAAK;IAC1B;;OAEG;IACH,sBAAsB,KAAK;IAC3B;;;;;;;;OAQG;IACH,SAAS,KAAK;IACd;;;OAGG;IACH,6BAA6B,KAAK;IAClC;;;OAGG;IACH,oBAAoB,KAAK;IACzB;;OAEG;IACH,aAAa,KAAK;IAClB;;OAEG;IACH,YAAY,KAAK;IACjB;;OAEG;IACH,YAAY,KAAK;IACjB;;OAEG;IACH,cAAc,KAAK;IACnB;;OAEG;IACH,oBAAoB,KAAK;IACzB;;OAEG;IACH,QAAQ,KAAK;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"security.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/security.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Originally copied from node_modules\@pnp\sp\sharepointqueryable.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
import { IInvokable } from "../odata/invokable-binder";
|
|
6
|
+
import { IRequestContext } from "../odata/pipeline";
|
|
7
|
+
export interface ISharePointQueryableConstructor<T extends ISharePointQueryable = ISharePointQueryable> {
|
|
8
|
+
new (baseUrl: string | ISharePointQueryable, path?: string): T;
|
|
9
|
+
}
|
|
10
|
+
export declare type ISPInvokableFactory<R extends any> = (baseUrl: string | ISharePointQueryable, path?: string) => R & IInvokable;
|
|
11
|
+
export interface ISharePointQueryable<GetType = any> extends _SharePointQueryable<GetType> {
|
|
12
|
+
}
|
|
13
|
+
export interface _SharePointQueryable<GetType = any> {
|
|
14
|
+
<T = GetType>(options?: Partial<IRequestContext<T>>): Promise<T>;
|
|
15
|
+
}
|
|
16
|
+
export interface ISharePointQueryableCollection<GetType = any[]> {
|
|
17
|
+
}
|
|
18
|
+
export interface ISharePointQueryableInstance<GetType = any> {
|
|
19
|
+
}
|
|
20
|
+
export interface IDeleteable {
|
|
21
|
+
/**
|
|
22
|
+
* Delete this instance
|
|
23
|
+
*/
|
|
24
|
+
delete(): Promise<void>;
|
|
25
|
+
}
|
|
26
|
+
export interface IDeleteableWithETag {
|
|
27
|
+
/**
|
|
28
|
+
* Delete this instance
|
|
29
|
+
*
|
|
30
|
+
* @param eTag Value used in the IF-Match header, by default "*"
|
|
31
|
+
*/
|
|
32
|
+
delete(eTag?: string): Promise<void>;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=sharepointqueryable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepointqueryable.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/sharepointqueryable.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAG,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,MAAM,WAAW,+BAA+B,CAAC,CAAC,SAAS,oBAAoB,GAAG,oBAAoB;IAClG,KAAK,OAAO,EAAE,MAAM,GAAG,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;CAClE;AACD,MAAM,CAAC,OAAO,MAAM,mBAAmB,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,CAAC,GAAG,UAAU,CAAC;AAEnI,MAAM,WAAW,oBAAoB,CAAC,OAAO,GAAG,GAAG,CAAE,SAAQ,oBAAoB,CAAC,OAAO,CAAC;CACzF;AACD,MAAM,WAAW,oBAAoB,CAAC,OAAO,GAAG,GAAG;IAC/C,CAAC,CAAC,GAAG,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;CACpE;AAGD,MAAM,WAAW,8BAA8B,CAAC,OAAO,GAAG,GAAG,EAAE;CAAI;AAEnE,MAAM,WAAW,4BAA4B,CAAC,OAAO,GAAG,GAAG;CAAI;AAG/D,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3B;AAED,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharepointqueryable.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/sharepointqueryable.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAsCH,iDAAiD"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Originally copied from node_modules\@pnp\sp\site-groups\types.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* ISiteGroups really extends the class _SiteGroups which has functions included as well.
|
|
7
|
+
* getById(id: number): ISiteGroup;
|
|
8
|
+
* add(properties: ITypedHash<any>): Promise<IGroupAddResult>;
|
|
9
|
+
* getByName(groupName: string): ISiteGroup;
|
|
10
|
+
* removeById(id: number): Promise<void>;
|
|
11
|
+
* removeByLoginName(loginName: string): Promise<any>;
|
|
12
|
+
*/
|
|
13
|
+
export interface ISiteGroups extends Array<ISiteGroupInfo> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* ISiteGroups really extends the class _SiteGroup which has functions included as well.
|
|
17
|
+
* get users(): ISiteUsers;
|
|
18
|
+
* update: (props: ITypedHash<any>) => Promise<IGroupUpdateResult>;
|
|
19
|
+
* setUserAsOwner(userId: number): Promise<any>;
|
|
20
|
+
*/
|
|
21
|
+
export interface ISiteGroup extends ISiteGroupInfo {
|
|
22
|
+
}
|
|
23
|
+
export interface IGroupUpdateResult {
|
|
24
|
+
group: ISiteGroup;
|
|
25
|
+
data: any;
|
|
26
|
+
}
|
|
27
|
+
export interface IGroupAddResult {
|
|
28
|
+
group: ISiteGroup;
|
|
29
|
+
data: any;
|
|
30
|
+
}
|
|
31
|
+
export interface ISiteGroupInfo {
|
|
32
|
+
AllowMembersEditMembership: boolean;
|
|
33
|
+
AllowRequestToJoinLeave: boolean;
|
|
34
|
+
AutoAcceptRequestToJoinLeave: boolean;
|
|
35
|
+
Description: string;
|
|
36
|
+
Id: number;
|
|
37
|
+
IsHiddenInUI: boolean;
|
|
38
|
+
LoginName: string;
|
|
39
|
+
OnlyAllowMembersViewMembership: boolean;
|
|
40
|
+
OwnerTitle: string;
|
|
41
|
+
PrincipalType: number;
|
|
42
|
+
RequestToJoinLeaveEmailSetting: string | null;
|
|
43
|
+
Title: string;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=site-groups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"site-groups.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/site-groups.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAOG;AACH,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,cAAc,CAAC;CAAG;AAE7D;;;;;GAKG;AACH,MAAM,WAAW,UAAW,SAAQ,cAAc;CACjD;AAED,MAAM,WAAW,kBAAkB;IAC/B,KAAK,EAAE,UAAU,CAAC;IAClB,IAAI,EAAE,GAAG,CAAC;CACb;AAED,MAAM,WAAW,eAAe;IAC5B,KAAK,EAAE,UAAU,CAAC;IAClB,IAAI,EAAE,GAAG,CAAC;CACb;AACD,MAAM,WAAW,cAAc;IAC3B,0BAA0B,EAAE,OAAO,CAAC;IACpC,uBAAuB,EAAE,OAAO,CAAC;IACjC,4BAA4B,EAAE,OAAO,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,8BAA8B,EAAE,OAAO,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,8BAA8B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9C,KAAK,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"site-groups.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/site-groups.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Originally copied from node_modules\@pnp\sp\site-users\types.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
import { PrincipalType } from "./types";
|
|
6
|
+
/**
|
|
7
|
+
* ISiteUsers really extends the class _SiteUsers which has functions included as well.
|
|
8
|
+
*/
|
|
9
|
+
export interface ISiteUsers extends Array<ISiteUserInfo> {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* ISiteUser from pnp v2.1.4 actually has the functions in the type but I'm going to leave those out here for simplification.
|
|
13
|
+
* ISiteUserInfo is the User Object without functions
|
|
14
|
+
*/
|
|
15
|
+
export interface ISiteUser extends ISiteUserInfo {
|
|
16
|
+
}
|
|
17
|
+
export interface ISiteUserInfo extends ISiteUserProps {
|
|
18
|
+
Expiration: string;
|
|
19
|
+
IsEmailAuthenticationGuestUser: boolean;
|
|
20
|
+
UserId: {
|
|
21
|
+
NameId: string;
|
|
22
|
+
NameIdIssuer: string;
|
|
23
|
+
};
|
|
24
|
+
UserPrincipalName: string | null;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Describes a single user properties
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export interface ISiteUserProps {
|
|
31
|
+
/**
|
|
32
|
+
* Contains Site user email
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
Email: string;
|
|
36
|
+
/**
|
|
37
|
+
* Contains Site user Id
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
Id: number;
|
|
41
|
+
/**
|
|
42
|
+
* Site user IsHiddenInUI
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
IsHiddenInUI: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Site user IsShareByEmailGuestUser
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
IsShareByEmailGuestUser: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Describes if Site user Is Site Admin
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
IsSiteAdmin: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Site user LoginName
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
LoginName: string;
|
|
61
|
+
/**
|
|
62
|
+
* Site user Principal type
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
PrincipalType: number | PrincipalType;
|
|
66
|
+
/**
|
|
67
|
+
* Site user Title
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
Title: string;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Properties that provide both a getter, and a setter.
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
export interface IUserUpdateResult {
|
|
77
|
+
user: ISiteUser;
|
|
78
|
+
data: any;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Result from ensuring a user
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
export interface IWebEnsureUserResult {
|
|
85
|
+
data: ISiteUserProps;
|
|
86
|
+
user: ISiteUser;
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=site-users.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"site-users.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/site-users.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC;;GAEG;AACH,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,aAAa,CAAC;CAAG;AAE3D;;;GAGG;AACH,MAAM,WAAW,SAAU,SAAQ,aAAa;CAC/C;AAED,MAAM,WAAW,aAAc,SAAQ,cAAc;IACnD,UAAU,EAAE,MAAM,CAAC;IACnB,8BAA8B,EAAE,OAAO,CAAC;IACxC,MAAM,EAAE;QACJ,MAAM,EAAE,MAAM,CAAC;QACf,YAAY,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AACD;;;EAGE;AACF,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,uBAAuB,EAAE,OAAO,CAAC;IACjC;;;OAGG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,aAAa,EAAE,MAAM,GAAG,aAAa,CAAC;IACtC;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AACD;;;EAGE;AACF,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,GAAG,CAAC;CACX;AACD;;;EAGE;AACF,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,cAAc,CAAC;IACrB,IAAI,EAAE,SAAS,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"site-users.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/site-users.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Originally copied from node_modules\@pnp\sp\sites\types.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
import { IWeb } from "./webs";
|
|
6
|
+
/**
|
|
7
|
+
|
|
8
|
+
export declare class _Site extends _SharePointQueryableInstance {
|
|
9
|
+
get rootWeb(): IWeb;
|
|
10
|
+
getChanges(query: IChangeQuery): Promise<any>;
|
|
11
|
+
openWebById(webId: string): Promise<IOpenWebByIdResult>;
|
|
12
|
+
getRootWeb(): Promise<IWeb>;
|
|
13
|
+
getContextInfo(): Promise<IContextInfo>;
|
|
14
|
+
createBatch(): SPBatch;
|
|
15
|
+
delete(): Promise<void>;
|
|
16
|
+
getDocumentLibraries(absoluteWebUrl: string): Promise<IDocumentLibraryInformation[]>;
|
|
17
|
+
getWebUrlFromPageUrl(absolutePageUrl: string): Promise<string>;
|
|
18
|
+
createCommunicationSite(title: string, lcid: number, shareByEmailEnabled: boolean, url: string, description?: string, classification?: string, siteDesignId?: string, hubSiteId?: string, owner?: string): Promise<ISiteCreationResponse>;
|
|
19
|
+
createCommunicationSiteFromProps(props: ICreateCommSiteProps): Promise<ISiteCreationResponse>;
|
|
20
|
+
exists(url: string): Promise<boolean>;
|
|
21
|
+
createModernTeamSite(displayName: string, alias: string, isPublic?: boolean, lcid?: number, description?: string, classification?: string, owners?: string[], hubSiteId?: string, siteDesignId?: string): Promise<ISiteCreationResponse>;
|
|
22
|
+
createModernTeamSiteFromProps(props: ICreateTeamSiteProps): Promise<ISiteCreationResponse>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* The result of opening a web by id: contains the data returned as well as a chainable web instance
|
|
27
|
+
*/
|
|
28
|
+
export interface IOpenWebByIdResult {
|
|
29
|
+
data: any;
|
|
30
|
+
web: IWeb;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* This is the interface to expose data i.e. context information of a site
|
|
34
|
+
*/
|
|
35
|
+
export interface IContextInfo {
|
|
36
|
+
FormDigestTimeoutSeconds?: number;
|
|
37
|
+
FormDigestValue?: number;
|
|
38
|
+
LibraryVersion?: string;
|
|
39
|
+
SiteFullUrl?: string;
|
|
40
|
+
SupportedSchemaVersions?: string[];
|
|
41
|
+
WebFullUrl?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* This is the interface to expose data for Document Library
|
|
45
|
+
*/
|
|
46
|
+
export interface IDocumentLibraryInformation {
|
|
47
|
+
AbsoluteUrl?: string;
|
|
48
|
+
Modified?: Date;
|
|
49
|
+
ModifiedFriendlyDisplay?: string;
|
|
50
|
+
ServerRelativeUrl?: string;
|
|
51
|
+
Title?: string;
|
|
52
|
+
}
|
|
53
|
+
export interface ICreateCommSiteProps {
|
|
54
|
+
Classification?: string;
|
|
55
|
+
Description?: string;
|
|
56
|
+
HubSiteId?: string;
|
|
57
|
+
Lcid?: number;
|
|
58
|
+
Owner?: string;
|
|
59
|
+
ShareByEmailEnabled?: boolean;
|
|
60
|
+
SiteDesignId?: string;
|
|
61
|
+
Title: string;
|
|
62
|
+
Url: string;
|
|
63
|
+
WebTemplate?: "SITEPAGEPUBLISHING#0" | "STS#3";
|
|
64
|
+
WebTemplateExtensionId?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface ICreateTeamSiteProps {
|
|
67
|
+
displayName: string;
|
|
68
|
+
alias: string;
|
|
69
|
+
isPublic?: boolean;
|
|
70
|
+
lcid?: number;
|
|
71
|
+
description?: string;
|
|
72
|
+
classification?: string;
|
|
73
|
+
owners?: string[];
|
|
74
|
+
hubSiteId?: string;
|
|
75
|
+
siteDesignId?: string;
|
|
76
|
+
}
|
|
77
|
+
export interface ISiteCreationResponse {
|
|
78
|
+
"SiteId": string;
|
|
79
|
+
"SiteStatus": 0 | 1 | 2 | 3;
|
|
80
|
+
"SiteUrl": string;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=sites.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sites.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/sites.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,GAAG,CAAC;IACV,GAAG,EAAE,IAAI,CAAC;CACb;AACD;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AACD;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AACD,MAAM,WAAW,oBAAoB;IACjC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC;IAC/C,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACnC;AACD,MAAM,WAAW,oBAAoB;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AACD,MAAM,WAAW,qBAAqB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sites.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/sites.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Originally copied from node_modules\@pnp\sp\types.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Specifies the type of a principal.
|
|
7
|
+
*/
|
|
8
|
+
export declare const enum PrincipalType {
|
|
9
|
+
/**
|
|
10
|
+
* Enumeration whose value specifies no principal type.
|
|
11
|
+
*/
|
|
12
|
+
None = 0,
|
|
13
|
+
/**
|
|
14
|
+
* Enumeration whose value specifies a user as the principal type.
|
|
15
|
+
*/
|
|
16
|
+
User = 1,
|
|
17
|
+
/**
|
|
18
|
+
* Enumeration whose value specifies a distribution list as the principal type.
|
|
19
|
+
*/
|
|
20
|
+
DistributionList = 2,
|
|
21
|
+
/**
|
|
22
|
+
* Enumeration whose value specifies a security group as the principal type.
|
|
23
|
+
*/
|
|
24
|
+
SecurityGroup = 4,
|
|
25
|
+
/**
|
|
26
|
+
* Enumeration whose value specifies a group as the principal type.
|
|
27
|
+
*/
|
|
28
|
+
SharePointGroup = 8,
|
|
29
|
+
/**
|
|
30
|
+
* Enumeration whose value specifies all principal types.
|
|
31
|
+
*/
|
|
32
|
+
All = 15
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Specifies the source of a principal.
|
|
36
|
+
*/
|
|
37
|
+
export declare const enum PrincipalSource {
|
|
38
|
+
/**
|
|
39
|
+
* Enumeration whose value specifies no principal source.
|
|
40
|
+
*/
|
|
41
|
+
None = 0,
|
|
42
|
+
/**
|
|
43
|
+
* Enumeration whose value specifies user information list as the principal source.
|
|
44
|
+
*/
|
|
45
|
+
UserInfoList = 1,
|
|
46
|
+
/**
|
|
47
|
+
* Enumeration whose value specifies Active Directory as the principal source.
|
|
48
|
+
*/
|
|
49
|
+
Windows = 2,
|
|
50
|
+
/**
|
|
51
|
+
* Enumeration whose value specifies the current membership provider as the principal source.
|
|
52
|
+
*/
|
|
53
|
+
MembershipProvider = 4,
|
|
54
|
+
/**
|
|
55
|
+
* Enumeration whose value specifies the current role provider as the principal source.
|
|
56
|
+
*/
|
|
57
|
+
RoleProvider = 8,
|
|
58
|
+
/**
|
|
59
|
+
* Enumeration whose value specifies all principal sources.
|
|
60
|
+
*/
|
|
61
|
+
All = 15
|
|
62
|
+
}
|
|
63
|
+
export interface IPrincipalInfo {
|
|
64
|
+
Department: string;
|
|
65
|
+
DisplayName: string;
|
|
66
|
+
Email: string;
|
|
67
|
+
JobTitle: string;
|
|
68
|
+
LoginName: string;
|
|
69
|
+
Mobile: string;
|
|
70
|
+
PrincipalId: number;
|
|
71
|
+
PrincipalType: PrincipalType;
|
|
72
|
+
SIPAddress: string;
|
|
73
|
+
}
|
|
74
|
+
export declare enum PageType {
|
|
75
|
+
Invalid = -1,
|
|
76
|
+
DefaultView = 0,
|
|
77
|
+
NormalView = 1,
|
|
78
|
+
DialogView = 2,
|
|
79
|
+
View = 3,
|
|
80
|
+
DisplayForm = 4,
|
|
81
|
+
DisplayFormDialog = 5,
|
|
82
|
+
EditForm = 6,
|
|
83
|
+
EditFormDialog = 7,
|
|
84
|
+
NewForm = 8,
|
|
85
|
+
NewFormDialog = 9,
|
|
86
|
+
SolutionForm = 10,
|
|
87
|
+
PAGE_MAXITEMS = 11
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,KAAK,MAAM,aAAa;IACrC;;OAEG;IACH,IAAI,IAAI;IACR;;OAEG;IACH,IAAI,IAAI;IACR;;OAEG;IACH,gBAAgB,IAAI;IACpB;;OAEG;IACH,aAAa,IAAI;IACjB;;OAEG;IACH,eAAe,IAAI;IACnB;;OAEG;IACH,GAAG,KAAK;CACT;AACD;;EAEE;AACF,MAAM,CAAC,OAAO,CAAC,KAAK,MAAM,eAAe;IACvC;;OAEG;IACH,IAAI,IAAI;IACR;;OAEG;IACH,YAAY,IAAI;IAChB;;OAEG;IACH,OAAO,IAAI;IACX;;OAEG;IACH,kBAAkB,IAAI;IACtB;;OAEG;IACH,YAAY,IAAI;IAChB;;OAEG;IACH,GAAG,KAAK;CACT;AACD,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;CACpB;AACD,MAAM,CAAC,OAAO,MAAM,QAAQ;IAC1B,OAAO,KAAK;IACZ,WAAW,IAAI;IACf,UAAU,IAAI;IACd,UAAU,IAAI;IACd,IAAI,IAAI;IACR,WAAW,IAAI;IACf,iBAAiB,IAAI;IACrB,QAAQ,IAAI;IACZ,cAAc,IAAI;IAClB,OAAO,IAAI;IACX,aAAa,IAAI;IACjB,YAAY,KAAK;IACjB,aAAa,KAAK;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/types.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|