( server: Pick<Server, 'id' | 'name'>, )
| 36 | }; |
| 37 | |
| 38 | export function serverToAnalyticsData( |
| 39 | server: Pick<Server, 'id' | 'name'>, |
| 40 | ): ServerProps { |
| 41 | return { |
| 42 | 'Server Id': server.id, |
| 43 | 'Server Name': server.name, |
| 44 | }; |
| 45 | } |
| 46 | |
| 47 | export type ServerPropsWithSettings = ServerProps & { |
| 48 | 'Read the Rules Consent Enabled': boolean; |
no outgoing calls
no test coverage detected