@mikezimm/npmfunctions
Version:
Functions used in my SPFx webparts
46 lines (38 loc) • 1.42 kB
text/typescript
/***
* d8888b. d888888b db db .d88b. d888888b .d8888.
* 88 `8D `88' 88 88 .8P Y8. `~~88~~' 88' YP
* 88oodD' 88 Y8 8P 88 88 88 `8bo.
* 88~~~ 88 `8b d8' 88 88 88 `Y8b.
* 88 .88. `8bd8' `8b d8' 88 db 8D
* 88 Y888888P YP `Y88P' YP `8888Y'
*
*
import { IMyPivCat, IPivot, IMyPivots, ILink } from '@mikezimm/npmfunctions/dist/Pivots/IzPivots';
*/
export interface IMyPivCat {
[key: string]: string | any | number | undefined;
title: string;
desc: any; //Changed from string to any to allow elements
order: number;
count?: number; //2021-02-17: Added for Easy Contents
icon?: string; //2021-02-17: Added for Easy Contents
}
export interface IPivot {
[key: string]: string | number | undefined;
headerText: string;
itemKey: string;
filter?: string;
data?: string;
lastIndex: number;
}
export interface IMyPivots {
[key: string]: IPivot[] | undefined;
heading1: IPivot[];
heading2?: IPivot[];
heading3?: IPivot[];
}
export interface ILink {
[key: string]: string ;
Description: string;
Url: string;
}