UNPKG

@mikezimm/fps-core-v7

Version:

Library of reusable core interfaces, types and constants migrated from fps-library-v2

48 lines (47 loc) 1.96 kB
/** * CodeAnalizerComment: Updated 2 imports on 2024-09-21 23:07:24 * Update:: import { CurrentTenant } to '@mikezimm/fps-core-v7/lib/components/molecules/source-props/IMinSourceFetchProps;' * Update:: import { ISourceProps } to '@mikezimm/fps-core-v7/lib/components/molecules/source-props/ISourceProps;' */ import { CurrentTenant } from "../../../../components/molecules/source-props/WindowLocationConstants"; import { hubSelects } from "../interfaces/IFPSHubSiteDataDocsApi"; import { makeid } from "../../../../logic/Strings/guids"; export const HubSubSourceProps = { fpsSpService: null, key: 'sites', refreshId: makeid(5), defType: 'sites', fpsContentType: ['site',], tenant: CurrentTenant, webUrl: ``, listTitle: '', webRelativeLink: '', searchSource: '', searchSourceDesc: '', // editProps: [ 'Title' , 'Description', 'SiteLogoUrl', 'ServerRelativeUrl' ], viewProps: hubSelects, columns: hubSelects, searchProps: hubSelects, selectThese: hubSelects, // itemFetchCol: ExtraFetchModernPage, // isModern: true, // restFilter - see src\components\molecules\SpHttp\HubsSubs\fetches\fetchMyHubsites.ts // restFilter: "Id ne 'X' and ContentTypeId ne '0x012000F6C75276DBE501468CA3CC575AD8E159' and Title ne 'Home'", // restFilter: "Id ne 'X' and ContentTypeId ne '0x012000F6C75276DBE501468CA3CC575AD8E159'", // evalFilter: ``, defSearchButtons: ['*', '-',], fetchCount: 200, orderBy: { prop: 'Title', order: 'asc', asc: true, }, meta0: [], meta1: [], meta2: [], meta3: [], metaX: [], performanceSettings: { label: 'HubSub', updateMiliseconds: true, includeMsStr: true, op: 'fetch' }, }; export const WebSourceProps = { ...HubSubSourceProps, ...{ key: 'webs', defType: 'webs', fpsContentType: ['web'], } }; //# sourceMappingURL=createHubSubSourceProps.js.map