1 | export declare module SharePoint {
|
2 | interface ISharePointContextInfo {
|
3 | alertsEnabled: boolean;
|
4 | allowSilverlightPrompt: string;
|
5 | clientServerTimeDelta: number;
|
6 | crossDomainPhotosEnabled: boolean;
|
7 | currentCultureName: string;
|
8 | currentLanguage: number;
|
9 | currentUICultureName: string;
|
10 | isAppWeb: boolean;
|
11 | layoutsUrl: string;
|
12 | pageItemId: number;
|
13 | pageListId: string;
|
14 | pagePersonalizationScope: number;
|
15 | serverRequestPath: string;
|
16 | siteAbsoluteUrl: string;
|
17 | siteClientTag: string;
|
18 | siteServerRelativeUrl: string;
|
19 | systemUserKey: string;
|
20 | tenantAppVersion: string;
|
21 | updateFormDigestPageLoaded: Date;
|
22 | userId: number;
|
23 | userLoginName: string;
|
24 | webAbsoluteUrl: string;
|
25 | webLanguage: number;
|
26 | webLogoUrl: string;
|
27 | webPermMasks: Object;
|
28 | webServerRelativeUrl: string;
|
29 | webTemplate: string;
|
30 | webTitle: string;
|
31 | webUIVersion: number;
|
32 | }
|
33 | interface ISharePointNewFile {
|
34 | newFileUrl: string;
|
35 | isFolder: boolean;
|
36 | newFileSize: number;
|
37 | newFileIcon: string;
|
38 | }
|
39 | interface ITaxonomyPickerOptions {
|
40 | isCreateTermInSuggestion: boolean;
|
41 | isMulti?: boolean;
|
42 | isReadOnly?: boolean;
|
43 | allowFillIn?: boolean;
|
44 | termSetId?: string;
|
45 | useHashtags?: boolean;
|
46 | useKeyword?: boolean;
|
47 | maxSuggestions?: number;
|
48 | lcid?: number;
|
49 | language?: string;
|
50 | filterTermId?: string;
|
51 | levelToShowTerms?: number;
|
52 | useTermSetasRootNode?: boolean;
|
53 | }
|
54 | interface ITaxonomyPickerValue {
|
55 | Id: string;
|
56 | Name: string;
|
57 | }
|
58 | interface ITaxonomyFieldValue {
|
59 | label?: string;
|
60 | termGuid?: string;
|
61 | typeId?: string;
|
62 | wssId?: number;
|
63 | }
|
64 | interface IUserPickerValue {
|
65 | }
|
66 | interface IUserFieldValue {
|
67 | email?: string;
|
68 | typeId?: string;
|
69 | lookupId?: number;
|
70 | lookupValue?: string;
|
71 | key?: string;
|
72 | }
|
73 | interface IPeoplePickerPrincipal {
|
74 | key: string;
|
75 | description?: string;
|
76 | displayText: string;
|
77 | entityType?: string;
|
78 | providerDisplayName?: string;
|
79 | providerName?: string;
|
80 | isResolved?: boolean;
|
81 | entityData?: any;
|
82 | multipleMatches?: any;
|
83 | tooltip?: string;
|
84 | canNotRemove?: boolean;
|
85 | }
|
86 | interface IPeoplePickerUserEntity {
|
87 | Title: string;
|
88 | MobilePhone: string;
|
89 | Department: string;
|
90 | Email: string;
|
91 | }
|
92 | interface IPeoplePickerGroupEntity {
|
93 | SPGroupID: string;
|
94 | AccountName: string;
|
95 | PrincipalType: string;
|
96 | }
|
97 | interface IWebAssociatedGroups {
|
98 | owners: Array<IPeoplePickerPrincipal>;
|
99 | members: Array<IPeoplePickerPrincipal>;
|
100 | visitors: Array<IPeoplePickerPrincipal>;
|
101 | }
|
102 | interface IWebAssociatedGroup {
|
103 | id?: number;
|
104 | title?: string;
|
105 | users?: Array<IPeoplePickerPrincipal>;
|
106 | canCurrentUserViewMembership?: boolean;
|
107 | canCurrentUserManageGroup?: boolean;
|
108 | canCurrentUserEditMembership?: boolean;
|
109 | isMultiple?: boolean;
|
110 | groupNotExist?: boolean;
|
111 | }
|
112 | interface IUser {
|
113 | loginName?: string;
|
114 | displayName?: string;
|
115 | userId: number;
|
116 | photoUrl: string;
|
117 | }
|
118 | interface IGroup {
|
119 | id?: number;
|
120 | title?: string;
|
121 | loginName?: string;
|
122 | }
|
123 | interface IListIdentifier {
|
124 | id?: string;
|
125 | title: string;
|
126 | listUrl: string;
|
127 | webUrl: string;
|
128 | rootFolderUrl?: string;
|
129 | }
|
130 | }
|