1 | import { IClientsidePageComponent, IClientsidePage, ClientsidePageLayoutType, PromotedState, IRepostPage } from "./types.js";
|
2 | declare module "../webs/types" {
|
3 | interface _Web {
|
4 | getClientsideWebParts(): Promise<IClientsidePageComponent[]>;
|
5 | addClientsidePage(pageName: string, title?: string, libraryTitle?: string, promotedState?: PromotedState): Promise<IClientsidePage>;
|
6 | loadClientsidePage(path: string): Promise<IClientsidePage>;
|
7 | addRepostPage(details: IRepostPage): Promise<string>;
|
8 | addFullPageApp(pageName: string, title: string, componentId: string, promotedState?: PromotedState): Promise<IClientsidePage>;
|
9 | }
|
10 | interface IWeb {
|
11 | |
12 |
|
13 |
|
14 | getClientsideWebParts(): Promise<IClientsidePageComponent[]>;
|
15 | |
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | addClientsidePage(pageName: string, title?: string, PageLayoutType?: ClientsidePageLayoutType, promotedState?: PromotedState): Promise<IClientsidePage>;
|
22 | |
23 |
|
24 |
|
25 |
|
26 |
|
27 | loadClientsidePage(path: string): Promise<IClientsidePage>;
|
28 | |
29 |
|
30 |
|
31 |
|
32 |
|
33 | addRepostPage(details: IRepostPage): Promise<string>;
|
34 | |
35 |
|
36 |
|
37 |
|
38 |
|
39 | addFullPageApp(pageName: string, title: string, componentId: string, promotedState?: PromotedState): Promise<IClientsidePage>;
|
40 | }
|
41 | }
|
42 |
|
\ | No newline at end of file |