@mikezimm/fps-core-v7
Version:
Library of reusable core interfaces, types and constants migrated from fps-library-v2
46 lines • 1.57 kB
TypeScript
import { IRepoLinks } from "../../../components/atoms/Links/IRepoLinks";
import { EnvironmentType_15_2, EnvironmentType_String_15_2 } from "../../../types/@msft/1.15.2/EnvironmentType";
import { IPageLayoutType } from "../../../types/@msft/1.15.2/layout";
import { LegacyPageContextCopy_15_2 } from "../../../types/@msft/1.15.2/WebPartContext";
/**
* This will be used to streamline variable handling,
* make some props more easily available to functions and web part
*
* SHOULD ONLY CONTAIN PROPS THAT DO NOT MUTATE THROUGHT PAGE LIFECYCLE
*/
export interface IFPSEnviro {
tenantUrl: string;
siteUrl: string;
webUrl: string;
webServerRelativeUrl: string;
siteServerRelativeUrl: string;
SiteID: string;
WebID: string;
departmentId: string;
environmentType: EnvironmentType_15_2;
environmentString: EnvironmentType_String_15_2;
SiteTitle: string;
WebTitle: string;
ListID: string;
ListTitle: string;
pageLayout: IPageLayoutType;
isSPA: Boolean;
pageName: string;
onHomePage: boolean;
SiteLogoUrl: string;
themeChoice: string;
useSiteTheme: boolean;
trickyEmailsAll: string[];
language: number;
languageName: string;
LimitedDownload: boolean | null;
WebTimezone: string;
WebLanguage: string;
UserTimezone: string;
UserTimePref: boolean;
BrokenPermissions: boolean | null;
repoLink: IRepoLinks;
theme: any;
legacyPageContext: LegacyPageContextCopy_15_2;
}
//# sourceMappingURL=IFPSEnviro.d.ts.map