spws
Version:
SharePoint Web Services Wrapper
34 lines (33 loc) • 736 B
TypeScript
type View = {
BaseViewID: string;
ContentTypeID: string;
DefaultView?: boolean;
DisplayName: string;
ImageUrl: string;
Level: string;
MobileDefaultView?: boolean;
MobileView?: boolean;
Name: string;
Type: "HTML" | "CALENDAR" | "GRID" | "GANTT";
Url: string;
};
export interface ListView extends View {
Query: string;
ViewFields: string[];
RowLimit?: {
Paged: boolean;
size: number;
};
Aggregations?: {
Value: "Off" | "On";
};
GroupBy?: {
Collapse: boolean;
limit: number;
fields: {
Name: string;
Ascending: boolean;
}[];
};
}
export default View;