Skip to content

Commit

Permalink
Updated the formdisplaymode enum.
Browse files Browse the repository at this point in the history
  • Loading branch information
gunjandatta committed Sep 20, 2022
1 parent 215f3b3 commit 19e15b2
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 11 deletions.
3 changes: 1 addition & 2 deletions @types/sptypes/sptypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -667,9 +667,8 @@ export type IFileTemplateType = {
* Form Display Mode
*/
export type IFormDisplayMode = {
Display: number,
Edit: number,
New: number
Read: number
}

/**
Expand Down
3 changes: 1 addition & 2 deletions dist/gd-sprest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4712,9 +4712,8 @@ declare module 'gd-sprest/sptypes/sptypes' {
* Form Display Mode
*/
export type IFormDisplayMode = {
Display: number,
Edit: number,
New: number
Read: number
}

/**
Expand Down
2 changes: 1 addition & 1 deletion dist/gd-sprest.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/gd-sprest.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gd-sprest",
"version": "7.3.0",
"version": "7.3.1",
"description": "An easy way to develop against the SharePoint REST API.",
"author": "Gunjan Datta <[email protected]> (https://gunjandatta.github.io)",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/rest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { IREST } from "../@types";
* SharePoint REST Library
*/
export const $REST: IREST = {
__ver: 7.30,
__ver: 7.31,
AppContext: (siteUrl: string) => { return Lib.Site.getAppContext(siteUrl); },
Apps: Lib.Apps,
ContextInfo: Lib.ContextInfo,
Expand Down
5 changes: 2 additions & 3 deletions src/sptypes/sptypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,8 @@ export const FileTemplateType: SPTypes.IFileTemplateType = { StandardPage: 0, Wi
* Form Display Mode
*/
export const FormDisplayMode: SPTypes.IFormDisplayMode = {
Display: 4,
Edit: 6,
New: 8
Edit: 2,
Read: 1
}

/**
Expand Down

0 comments on commit 19e15b2

Please sign in to comment.