feat(api): perf module

This commit is contained in:
Taha Yassine Kraiem 2021-12-24 21:06:40 +01:00
parent adee10929f
commit 22134e49a8

View file

@ -0,0 +1,8 @@
import schemas
def get_col(perf: schemas.PerformanceEventType):
return {
schemas.PerformanceEventType.location_dom_complete: "dom_building_time",
# schemas.PerformanceEventType.location_largest_contentful_paint_time: "timestamp"
}.get(perf)