Merge branch 'dev' of https://github.com/umami-software/umami into bug/um-191-fix-redis-auth-misc-bug

This commit is contained in:
Francis Cao 2023-03-03 10:38:34 -08:00
commit 3325df0d84
8 changed files with 90 additions and 14 deletions

View file

@ -1,4 +1,9 @@
import { NextApiRequest } from 'next';
import { ROLES } from './constants';
type ObjectValues<T> = T[keyof T];
export type Roles = ObjectValues<typeof ROLES>;
export interface Auth {
user?: {