1 | import { _SPInstance, _SPCollection, SPInit } from "../spqueryable.js";
|
2 | import { SharepointIds, ResourceVisualization } from "@microsoft/microsoft-graph-types";
|
3 | export declare class _Favorites extends _SPInstance implements IFavorites {
|
4 | get followedSites(): IFollowedSites;
|
5 | get followedListItems(): IFollowedListItems;
|
6 | }
|
7 | export declare const Favorites: (baseUrl: SPInit) => IFavorites;
|
8 | export declare class _FollowedSites extends _SPCollection<IFollowedSiteInfo[]> {
|
9 | |
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | add(tenantUrl: string, siteId: string, webId: string, webUrl: string): Promise<IFollowedSiteInfo[]>;
|
18 | |
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 | remove(tenantUrl: string, siteId: string, webId: string, webUrl: string): Promise<void>;
|
27 | }
|
28 | export interface IFollowedSites extends _FollowedSites {
|
29 | }
|
30 | export declare const FollowedSites: import("../spqueryable.js").ISPInvokableFactory<IFollowedSites>;
|
31 | export declare class _FollowedListItems extends _SPCollection<IFollowedListItemInfo[]> {
|
32 | |
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 | add(siteId: string, webId: string, listId: string, listItemUniqueId: string): Promise<IFollowedListItemInfo>;
|
41 | |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
49 | remove(siteId: string, webId: string, listId: string, listItemUniqueId: string): Promise<void>;
|
50 | }
|
51 | export interface IFollowedListItems extends _FollowedListItems {
|
52 | }
|
53 | export declare const FollowedListItems: import("../spqueryable.js").ISPInvokableFactory<IFollowedListItems>;
|
54 | export interface IFavorites {
|
55 | readonly followedSites: IFollowedSites;
|
56 | readonly followedListItems: IFollowedListItems;
|
57 | }
|
58 | export interface IFollowedSiteInfo {
|
59 | id: string;
|
60 | webUrl: string;
|
61 | title: string;
|
62 | sharepointIds: SharepointIds;
|
63 | siteCollection: {
|
64 | hostName: string;
|
65 | };
|
66 | template: any;
|
67 | exchangeIds: IFollowedExchangeId;
|
68 | resourceVisualization: {
|
69 | color: string;
|
70 | };
|
71 | }
|
72 | export interface IFollowedListItemInfo {
|
73 | description: string;
|
74 | id: string;
|
75 | lastModifiedDateTime: string;
|
76 | name: string;
|
77 | size: number;
|
78 | webUrl: string;
|
79 | serverRedirectedUrl: string;
|
80 | contentClass: string;
|
81 | lastModifiedBy: {
|
82 | user: IFavoritesUser;
|
83 | };
|
84 | sharepointIds: SharepointIds;
|
85 | contentType: {
|
86 | id: string;
|
87 | };
|
88 | resourceVisualization: IFavoritesResourceVisualization;
|
89 | exchangeIds: IFollowedExchangeId;
|
90 | followed: {
|
91 | followedDateTime: string;
|
92 | };
|
93 | file: {
|
94 | fileExtension: string;
|
95 | };
|
96 | news: {
|
97 | publishedDateTime: string;
|
98 | newsType: string;
|
99 | author: IFavoritesUser;
|
100 | };
|
101 | }
|
102 | export interface IFavoritesResourceVisualization extends ResourceVisualization {
|
103 | color: string;
|
104 | }
|
105 | export interface IFollowedExchangeId {
|
106 | id: string;
|
107 | documentId: string;
|
108 | }
|
109 | export interface IFavoritesUser {
|
110 | displayName: string;
|
111 | userPrincipalName: string;
|
112 | }
|
113 |
|
\ | No newline at end of file |