Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Mike Cao
2023-03-03 12:39:16 -08:00
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?: {