import { UserInfo , Auth0UserProfile } from '../../../model/user' ; import { RequestsList } from '../../../model/requesting' ; export const mockUser = { userId : '7654321' , firstName : 'Bruce' , lastName : 'Wayne' , email : 'bruciebaby@wayneenterprises.com' , emailValidated : true , barcode : '1234567' , } ; export const mockAuth0Profile = { 'https://wellcomecollection.org/patron_barcode' : mockUser . barcode , email : mockUser . email , email_verified : mockUser . emailValidated , family_name : mockUser . lastName , given_name : mockUser . firstName , name : `${ mockUser . firstName } ${ mockUser . lastName }` , nickname : `${ mockUser . firstName [ 0 ] }.${ mockUser . lastName }` . toLowerCase ( ) , picture : 'https://test.test/picture.jpg' , sub : `auth0|p${ mockUser . userId }` , updated_at : '2021-12-10T12:55:52.958Z' , } ; export const mockRequestItem = { item : { id : 'abcdefgh' , title : 'Test Item' , locations : [ ] , type : 'Item' as const , } , workId : '12345678' , pickupLocation : { id : 'test' , label : 'Test' , type : 'LocationDescription' as const , } , status : { id : 'test' , label : 'Test' , type : 'RequestStatus' as const , } , type : 'Request' as const , } ; export const mockItemRequests = { results : [ mockRequestItem ] , totalResults : 1 , type : 'ResultList' , } ;