@mikezimm/fps-core-v7
Version:
Library of reusable core interfaces, types and constants migrated from fps-library-v2
18 lines • 935 B
TypeScript
import { ISourceProps } from '../../../components/molecules/source-props/ISourceProps';
import { IFpsItemsReturn } from '../../../components/molecules/process-results/IFpsItemsReturn';
/**
* getSourceViewsAPI will get all the views information for a list
* import { getSourceViewsAPI, getSourceViewByTitleOrIdAPI } from '@mikezimm/fps-core-v7/lib/restAPIs/lists/views/getSourceViewsAPI';
*
* Tip: Use isStringGuidOrTitle to test if it's a guid or title
* import { isStringGuidOrTitle } from '@mikezimm/fps-core-v7/lib/restAPIs/lists/isStringGuidOrTitle';
*
* Replaces fetchFieldsD from pnp2
*
* @param sourceProps
* @param alertMe
* @param consoleLog
* @returns
*/
export declare function getSourceViewsAPI(sourceProps: ISourceProps, alertMe: boolean | undefined, consoleLog: boolean | undefined, viewTitleOrId?: string): Promise<IFpsItemsReturn>;
//# sourceMappingURL=getSourceViewsAPI.d.ts.map