Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit fd39061

Browse files
Merge pull request #420 from Puzzlepart/site-rootweb-webinfos
Support for web/webinfos
2 parents d7a066a + c66f24f commit fd39061

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/sharepoint/webs.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ export class Webs extends QueryableCollection {
6969
}
7070
}
7171

72+
export class WebInfos extends QueryableCollection {
73+
constructor(baseUrl: string | Queryable, webPath = "webinfos") {
74+
super(baseUrl, webPath);
75+
}
76+
}
7277

7378
/**
7479
* Describes a web
@@ -106,6 +111,10 @@ export class Web extends QueryableShareableWeb {
106111
return new Webs(this);
107112
}
108113

114+
public get webinfos(): WebInfos {
115+
return new WebInfos(this);
116+
}
117+
109118
/**
110119
* Get the content types available in this web
111120
*

0 commit comments

Comments
 (0)