feat: v1 — persistent shell, model gateway, artifact improvements (#1462)
This commit is contained in:
parent
3651670fb9
commit
f9652b452a
161 changed files with 5166 additions and 8009 deletions
|
|
@ -1,25 +1,14 @@
|
|||
import type { UserType } from "@/lib/auth";
|
||||
import type { UserType } from "@/app/(auth)/auth";
|
||||
|
||||
type Entitlements = {
|
||||
maxMessagesPerHour: number;
|
||||
};
|
||||
|
||||
export const entitlementsByUserType: Record<UserType, Entitlements> = {
|
||||
/*
|
||||
* For users without an account
|
||||
*/
|
||||
guest: {
|
||||
maxMessagesPerHour: 10,
|
||||
},
|
||||
|
||||
/*
|
||||
* For users with an account
|
||||
*/
|
||||
regular: {
|
||||
maxMessagesPerHour: 10,
|
||||
},
|
||||
|
||||
/*
|
||||
* TODO: For users with an account and a paid membership
|
||||
*/
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue