@mikezimm/fps-library-v2
Version:
Library of reusable typescript/javascript functions, interfaces and constants
43 lines (41 loc) • 1.64 kB
TypeScript
/**
* CodeAnalizerComment: Updated 1 imports on 2024-09-22 14:49:52
* Update:: import { IQuickCommands } to '@mikezimm/fps-core-v7/lib/components/webparts/Drilldown/QuickCommands/IQuickCommands;'
*/
/**
* CodeAnalizerComment: Updated 1 imports on 2024-09-21 23:07:24
* Update:: import { IUser } to '@mikezimm/fps-core-v7/lib/logic/Users/IUserInterfaces;'
*/
import { IGrouping, IViewField } from '../../../common/interfaces/openSource/spfxControlsReact/@3.7.2/IViewField';
import { IUser } from '@mikezimm/fps-core-v7/lib/components/atoms/Users/IUserInterfaces';
import { IQuickCommands } from '@mikezimm/fps-core-v7/lib/components/webparts/Drilldown/QuickCommands/IQuickCommands';
export type ICustViewDefKeys = 'includeDetails' | 'includeAttach' | 'includeListLink' | 'createItemLink';
export interface ICustViewOptions {
includeDetails: boolean;
includeAttach: boolean;
includeListLink: boolean;
createItemLink: boolean;
}
/**
* This mirrors the 3 groups in property pane.
* Although it adds the 4 keys in ICustViewDefKeys.
* Currently the keys would the the same on all 3 views
*/
export interface ICustViewDef extends ICustViewOptions {
minWidth: number;
viewFields: IViewField[];
groupByFields?: IGrouping[];
}
export interface IListViewDD {
webUrl: string;
listUrl: string;
listTitle: string;
viewDefs: ICustViewDef[];
viewFields: IViewField[];
groupByFields?: IGrouping[];
quickCommands?: IQuickCommands;
items: any[];
contextUserInfo: IUser;
sourceUserInfo: IUser;
}
//# sourceMappingURL=IListViews.d.ts.map