UNPKG

588 BTypeScriptView Raw
1import { IViews, IView } from "./types.js";
2declare module "../lists/types" {
3 interface _List {
4 readonly views: IViews;
5 readonly defaultView: IView;
6 getView(id: string): IView;
7 }
8 interface IList {
9 /**
10 * Gets the views on this list
11 */
12 readonly views: IViews;
13 /**
14 * Gets the default view for this list
15 */
16 readonly defaultView: IView;
17 /**
18 * Gets a view by view guid id
19 *
20 */
21 getView(id: string): IView;
22 }
23}
24//# sourceMappingURL=list.d.ts.map
\No newline at end of file