gd-sprest 9.2.4 → 9.2.6
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/@types/sptypes/sptypes.d.ts +25 -0
- package/build/mapper/def.js +6 -1
- package/build/rest.js +1 -1
- package/build/sptypes/sptypes.js +16 -1
- package/dist/gd-sprest.d.ts +25 -0
- package/dist/gd-sprest.js +1 -1
- package/dist/gd-sprest.min.js +1 -1
- package/package.json +1 -1
|
@@ -733,6 +733,17 @@ export type IListExperienceOptions = {
|
|
|
733
733
|
ClassicExperience: number
|
|
734
734
|
}
|
|
735
735
|
|
|
736
|
+
/**
|
|
737
|
+
* List Read Security
|
|
738
|
+
*/
|
|
739
|
+
export type IListReadSecurity = {
|
|
740
|
+
/** All users have read access to all items */
|
|
741
|
+
All: number,
|
|
742
|
+
|
|
743
|
+
/** Users have access only to items they create */
|
|
744
|
+
User: number
|
|
745
|
+
};
|
|
746
|
+
|
|
736
747
|
/**
|
|
737
748
|
* List Template Types
|
|
738
749
|
*/
|
|
@@ -987,6 +998,20 @@ export type IListTemplateType = {
|
|
|
987
998
|
XMLForm: number
|
|
988
999
|
};
|
|
989
1000
|
|
|
1001
|
+
/**
|
|
1002
|
+
* List Write Security
|
|
1003
|
+
*/
|
|
1004
|
+
export type IListWriteSecurity = {
|
|
1005
|
+
/** All users have write access to all items */
|
|
1006
|
+
All: number,
|
|
1007
|
+
|
|
1008
|
+
/** Users have access only to items they create */
|
|
1009
|
+
User: number,
|
|
1010
|
+
|
|
1011
|
+
/** Users have write access to no items */
|
|
1012
|
+
None: number
|
|
1013
|
+
};
|
|
1014
|
+
|
|
990
1015
|
/**
|
|
991
1016
|
* Locale LCID Types
|
|
992
1017
|
*/
|
package/build/mapper/def.js
CHANGED
|
@@ -3456,7 +3456,9 @@ exports.Mapper = {
|
|
|
3456
3456
|
argNames: ["groupId"],
|
|
3457
3457
|
requestType: utils_1.RequestType.PostWithArgsInBody
|
|
3458
3458
|
},
|
|
3459
|
-
me: {
|
|
3459
|
+
me: {
|
|
3460
|
+
returnType: "SP.Directory.User"
|
|
3461
|
+
},
|
|
3460
3462
|
user: {
|
|
3461
3463
|
argNames: ["id", "principalName"],
|
|
3462
3464
|
returnType: "SP.Directory.User"
|
|
@@ -3520,6 +3522,9 @@ exports.Mapper = {
|
|
|
3520
3522
|
},
|
|
3521
3523
|
},
|
|
3522
3524
|
"SP.Directory.User": {
|
|
3525
|
+
properties: [
|
|
3526
|
+
"membership|SP.Directory.Group", "ownership|SP.Directory.Group"
|
|
3527
|
+
],
|
|
3523
3528
|
getUserLinks: {
|
|
3524
3529
|
argNames: ["linkName", "groupType"],
|
|
3525
3530
|
},
|
package/build/rest.js
CHANGED
package/build/sptypes/sptypes.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebTemplateType = exports.ViewType = exports.UserCustomActionRegistrationType = exports.URLZones = exports.UrlFormatType = exports.StatusPriColor = exports.SearchScope = exports.RoleType = exports.ReorderingRuleMatchType = exports.RenderListDataOptions = exports.RelationshipDeleteBehaviorType = exports.PropertyPaneType = exports.PrincipalTypes = exports.PrincipalSources = exports.PersonalSiteCapabilities = exports.PersonalizationScope = exports.PageType = exports.ModalDialogResult = exports.LocaleLCIDType = exports.ListTemplateType = exports.ListExperienceOptions = exports.FriendlyDateFormat = exports.FormDisplayMode = exports.FileTemplateType = exports.FileLevelType = exports.FieldUserSelectionType = exports.FieldType = exports.FieldResultType = exports.FieldNumberType = exports.FieldNoteType = exports.FieldIndexStatus = exports.EnvironmentType = exports.EventReceiverType = exports.EventReceiverSynchronizationType = exports.DraftVisibilityType = exports.DisplayMode = exports.DateFormat = exports.ControlMode = exports.CloudEnvironment = exports.ClientTemplatesUtility = exports.ClientSidePageLayout = exports.ChoiceFormatType = exports.CheckOutType = exports.CheckInType = exports.CalendarTypes = exports.BasePermissionTypes = void 0;
|
|
3
|
+
exports.WebTemplateType = exports.ViewType = exports.UserCustomActionRegistrationType = exports.URLZones = exports.UrlFormatType = exports.StatusPriColor = exports.SearchScope = exports.RoleType = exports.ReorderingRuleMatchType = exports.RenderListDataOptions = exports.RelationshipDeleteBehaviorType = exports.PropertyPaneType = exports.PrincipalTypes = exports.PrincipalSources = exports.PersonalSiteCapabilities = exports.PersonalizationScope = exports.PageType = exports.ModalDialogResult = exports.LocaleLCIDType = exports.ListWriteSecurity = exports.ListTemplateType = exports.ListReadSecurity = exports.ListExperienceOptions = exports.FriendlyDateFormat = exports.FormDisplayMode = exports.FileTemplateType = exports.FileLevelType = exports.FieldUserSelectionType = exports.FieldType = exports.FieldResultType = exports.FieldNumberType = exports.FieldNoteType = exports.FieldIndexStatus = exports.EnvironmentType = exports.EventReceiverType = exports.EventReceiverSynchronizationType = exports.DraftVisibilityType = exports.DisplayMode = exports.DateFormat = exports.ControlMode = exports.CloudEnvironment = exports.ClientTemplatesUtility = exports.ClientSidePageLayout = exports.ChoiceFormatType = exports.CheckOutType = exports.CheckInType = exports.CalendarTypes = exports.BasePermissionTypes = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Base Permission Types
|
|
6
6
|
*/
|
|
@@ -358,6 +358,13 @@ exports.ListExperienceOptions = {
|
|
|
358
358
|
NewExperience: 1,
|
|
359
359
|
ClassicExperience: 2
|
|
360
360
|
};
|
|
361
|
+
/**
|
|
362
|
+
* List Read Security
|
|
363
|
+
*/
|
|
364
|
+
exports.ListReadSecurity = {
|
|
365
|
+
All: 1,
|
|
366
|
+
User: 2
|
|
367
|
+
};
|
|
361
368
|
/**
|
|
362
369
|
* List Template Types
|
|
363
370
|
*/
|
|
@@ -446,6 +453,14 @@ exports.ListTemplateType = {
|
|
|
446
453
|
WorkflowProcess: 118,
|
|
447
454
|
XMLForm: 115
|
|
448
455
|
};
|
|
456
|
+
/**
|
|
457
|
+
* List Write Security
|
|
458
|
+
*/
|
|
459
|
+
exports.ListWriteSecurity = {
|
|
460
|
+
All: 1,
|
|
461
|
+
User: 2,
|
|
462
|
+
None: 4
|
|
463
|
+
};
|
|
449
464
|
/**
|
|
450
465
|
* Locale LCID Types
|
|
451
466
|
*/
|
package/dist/gd-sprest.d.ts
CHANGED
|
@@ -5399,6 +5399,17 @@ declare module 'gd-sprest/sptypes/sptypes' {
|
|
|
5399
5399
|
ClassicExperience: number
|
|
5400
5400
|
}
|
|
5401
5401
|
|
|
5402
|
+
/**
|
|
5403
|
+
* List Read Security
|
|
5404
|
+
*/
|
|
5405
|
+
export type IListReadSecurity = {
|
|
5406
|
+
/** All users have read access to all items */
|
|
5407
|
+
All: number,
|
|
5408
|
+
|
|
5409
|
+
/** Users have access only to items they create */
|
|
5410
|
+
User: number
|
|
5411
|
+
};
|
|
5412
|
+
|
|
5402
5413
|
/**
|
|
5403
5414
|
* List Template Types
|
|
5404
5415
|
*/
|
|
@@ -5653,6 +5664,20 @@ declare module 'gd-sprest/sptypes/sptypes' {
|
|
|
5653
5664
|
XMLForm: number
|
|
5654
5665
|
};
|
|
5655
5666
|
|
|
5667
|
+
/**
|
|
5668
|
+
* List Write Security
|
|
5669
|
+
*/
|
|
5670
|
+
export type IListWriteSecurity = {
|
|
5671
|
+
/** All users have write access to all items */
|
|
5672
|
+
All: number,
|
|
5673
|
+
|
|
5674
|
+
/** Users have access only to items they create */
|
|
5675
|
+
User: number,
|
|
5676
|
+
|
|
5677
|
+
/** Users have write access to no items */
|
|
5678
|
+
None: number
|
|
5679
|
+
};
|
|
5680
|
+
|
|
5656
5681
|
/**
|
|
5657
5682
|
* Locale LCID Types
|
|
5658
5683
|
*/
|