import { ISPUser } from './ISPUser' ; import { ISharePointItem } from './ISharePointItem' ; import { ISPField } from './ISPField' ; export interface ISharePointDataProvider { readFields ( listName ) : Promise < ISPField [ ] > ; readListItems ( listName ) : Promise < ISharePointItem [ ] > ; readListItemsBySearch ( listName , searchTerm ) : Promise < ISharePointItem [ ] > ; readUsersByUserName ( userName ) : Promise < ISPUser [ ] > ; readUsersBySearch ( searchTerm ) : Promise < ISPUser [ ] > ; readUsersByIds ( ids ) : Promise < ISPUser [ ] > ; readListItemsByIds ( listName , ids ) : Promise < ISharePointItem [ ] > ; }