spws
Version:
SharePoint Web Services Wrapper
33 lines (30 loc) • 642 B
text/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;