gd-sprest 7.3.0 → 7.3.2

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.
@@ -15,6 +15,7 @@ export interface ISPTypes {
15
15
  ClientTemplateUtility: Types.IClientTemplateUtility;
16
16
  ControlMode: Types.IControlMode;
17
17
  DateFormat: Types.IDateFormat;
18
+ DisplayMode: Types.IDisplayMode;
18
19
  DraftVisibilityType: Types.IDraftVisibilityType;
19
20
  EventReceiverType: Types.IEventReceiverType;
20
21
  EventReceiverSynchronizationType: Types.IEventReceiverSynchronizationType;
@@ -191,6 +191,14 @@ export type IDateFormat = {
191
191
  DateTime: number
192
192
  }
193
193
 
194
+ /**
195
+ * Display Mode
196
+ */
197
+ export type IDisplayMode = {
198
+ Edit: number,
199
+ Read: number
200
+ }
201
+
194
202
  /**
195
203
  * Draft Visibility Types
196
204
  */
package/build/rest.js CHANGED
@@ -8,7 +8,7 @@ var sptypes_1 = require("./sptypes");
8
8
  * SharePoint REST Library
9
9
  */
10
10
  exports.$REST = {
11
- __ver: 7.30,
11
+ __ver: 7.32,
12
12
  AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); },
13
13
  Apps: Lib.Apps,
14
14
  ContextInfo: Lib.ContextInfo,
@@ -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.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.DateFormat = exports.ControlMode = exports.CloudEnvironment = exports.ClientSidePageLayout = exports.ClientTemplatesUtility = 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.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.ClientSidePageLayout = exports.ClientTemplatesUtility = exports.ChoiceFormatType = exports.CheckOutType = exports.CheckInType = exports.CalendarTypes = exports.BasePermissionTypes = void 0;
4
4
  /**
5
5
  * Base Permission Types
6
6
  */
@@ -113,6 +113,13 @@ exports.ControlMode = {
113
113
  * Date Format
114
114
  */
115
115
  exports.DateFormat = { DateOnly: 0, DateTime: 1 };
116
+ /**
117
+ * Display Mode
118
+ */
119
+ exports.DisplayMode = {
120
+ Edit: 2,
121
+ Read: 1
122
+ };
116
123
  /**
117
124
  * Draft Visibility Types
118
125
  */
@@ -388,6 +388,7 @@ declare module 'gd-sprest/sptypes' {
388
388
  ClientTemplateUtility: Types.IClientTemplateUtility;
389
389
  ControlMode: Types.IControlMode;
390
390
  DateFormat: Types.IDateFormat;
391
+ DisplayMode: Types.IDisplayMode;
391
392
  DraftVisibilityType: Types.IDraftVisibilityType;
392
393
  EventReceiverType: Types.IEventReceiverType;
393
394
  EventReceiverSynchronizationType: Types.IEventReceiverSynchronizationType;
@@ -4236,6 +4237,14 @@ declare module 'gd-sprest/sptypes/sptypes' {
4236
4237
  DateTime: number
4237
4238
  }
4238
4239
 
4240
+ /**
4241
+ * Display Mode
4242
+ */
4243
+ export type IDisplayMode = {
4244
+ Edit: number,
4245
+ Read: number
4246
+ }
4247
+
4239
4248
  /**
4240
4249
  * Draft Visibility Types
4241
4250
  */