15 lines
273 B
TypeScript
15 lines
273 B
TypeScript
|
|
import type { UserType } from "@/app/(auth)/auth";
|
||
|
|
|
||
|
|
type Entitlements = {
|
||
|
|
maxMessagesPerHour: number;
|
||
|
|
};
|
||
|
|
|
||
|
|
export const entitlementsByUserType: Record<UserType, Entitlements> = {
|
||
|
|
guest: {
|
||
|
|
maxMessagesPerHour: 10,
|
||
|
|
},
|
||
|
|
regular: {
|
||
|
|
maxMessagesPerHour: 10,
|
||
|
|
},
|
||
|
|
};
|