export interface User { name : string ; role : string ; } export interface Role { name : string ; } export const aliceUser = { name : "alice" , role : "admin" } ; export const bobUser = { name : "bob" , role : "user" } ; export const daveUser = { name : "dave" , role : "user" } ; export const users = [ aliceUser , bobUser , daveUser ] ; export const adminRole = { name : "admin" } ; export const userRole = { name : "user" } ; export const guestRole = { name : "guest" } ; export const roles = [ adminRole , userRole , guestRole ] ;