Skip to content

Commit

Permalink
Merge pull request #86 from gunjandatta/gdatta
Browse files Browse the repository at this point in the history
Created the Utility Library
  • Loading branch information
gunjandatta committed Dec 23, 2017
2 parents edbaf40 + 2d0691e commit 87e261e
Show file tree
Hide file tree
Showing 49 changed files with 1,351 additions and 391 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ The add-in model uses the app web for SharePoint Hosted Apps/Add-Ins. The provid
import {
$REST,
ContextInfo,
Email,
Helper,
JSLink,
List,
Expand All @@ -121,6 +120,7 @@ import {
SPTypes,
Types,
UserProfile,
Utility,
Web
} from "gd-sprest";
```
Expand Down
4 changes: 2 additions & 2 deletions build/gd-sprest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ SOFTWARE.
***************************************************************************************************/
import { Types } from "./mapper";
import { RequestType, SPTypes } from "./types";
import { ContextInfo, Email, Helper, JSLink, List, PeopleManager, PeoplePicker, ProfileLoader, Search, Site, SocialFeed, UserProfile, Web } from "./lib";
export { ContextInfo, Email, Helper, JSLink, List, PeopleManager, PeoplePicker, ProfileLoader, RequestType, Search, Site, SocialFeed, SPTypes, Types, UserProfile, Web };
import { ContextInfo, Helper, JSLink, List, PeopleManager, PeoplePicker, ProfileLoader, Search, Site, SocialFeed, UserProfile, Utility, Web } from "./lib";
export { ContextInfo, Helper, JSLink, List, PeopleManager, PeoplePicker, ProfileLoader, RequestType, Search, Site, SocialFeed, SPTypes, Types, UserProfile, Utility, Web };
/**
* SharePoint REST Library
*/
Expand Down
6 changes: 3 additions & 3 deletions build/gd-sprest.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/gd-sprest.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 0 additions & 38 deletions build/lib/email.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion build/lib/email.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion build/lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export * from "./contextInfo";
export * from "./email";
export * from "./helper";
export * from "./jslink";
export * from "./list";
Expand All @@ -10,4 +9,5 @@ export * from "./search";
export * from "./site";
export * from "./socialFeed";
export * from "./userProfile";
export * from "./utility";
export * from "./web";
2 changes: 1 addition & 1 deletion build/lib/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/lib/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions build/lib/utility.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { Types } from "../mapper";
export declare const Utility: Types.IUtility;
47 changes: 35 additions & 12 deletions build/lib/email.js → build/lib/utility.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/lib/utility.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions build/lib/web.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/lib/web.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions build/mapper/complexTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,17 @@ export interface FieldLookupValue {
LookupId: number;
LookupValue: string;
}
/**
* Field Managed Metadata Value
*/
export interface FieldManagedMetadataValue {
__metadata?: {
type: string;
};
Label: string;
TermGuid: string;
WssId: number;
}
/**
* Field Multi-Choice
*/
Expand Down
Loading

0 comments on commit 87e261e

Please sign in to comment.