2026-03-20 09:37:02 +00:00
|
|
|
import type { UserType } from "@/app/(auth)/auth";
|
2025-04-25 23:40:15 -07:00
|
|
|
|
2025-09-21 11:02:31 -07:00
|
|
|
type Entitlements = {
|
2026-03-04 19:20:57 +00:00
|
|
|
maxMessagesPerHour: number;
|
2025-09-21 11:02:31 -07:00
|
|
|
};
|
2025-04-25 23:40:15 -07:00
|
|
|
|
|
|
|
|
export const entitlementsByUserType: Record<UserType, Entitlements> = {
|
|
|
|
|
guest: {
|
2026-03-04 19:20:57 +00:00
|
|
|
maxMessagesPerHour: 10,
|
2025-04-25 23:40:15 -07:00
|
|
|
},
|
|
|
|
|
regular: {
|
2026-03-04 19:20:57 +00:00
|
|
|
maxMessagesPerHour: 10,
|
2025-04-25 23:40:15 -07:00
|
|
|
},
|
|
|
|
|
};
|