spws
Version:
SharePoint Web Services Wrapper
16 lines (15 loc) • 589 B
TypeScript
type Params = {
DefaultViewUrl: string;
Title: string;
};
/**
* Retrieves a static name from a given set of parameters.
*
* @param params - The parameters containing the DefaultViewUrl and Title.
* @param params.DefaultViewUrl - The default view URL of the list.
* @param params.Title - The title of the list.
* @returns The static name derived from the DefaultViewUrl or Title.
* @throws Will throw an error if both DefaultViewUrl and Title are not provided.
*/
declare const getListStaticName: (params: Params) => string;
export default getListStaticName;