Restore Ultracite + fix sidebar (#1233)

This commit is contained in:
Hayden Bleasel 2025-09-21 11:02:31 -07:00 committed by GitHub
parent 8fbfc253fa
commit 947ed094a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
177 changed files with 6908 additions and 8306 deletions

View file

@ -1,10 +1,10 @@
import type { UserType } from '@/app/(auth)/auth';
import type { ChatModel } from './models';
import type { UserType } from "@/app/(auth)/auth";
import type { ChatModel } from "./models";
interface Entitlements {
type Entitlements = {
maxMessagesPerDay: number;
availableChatModelIds: Array<ChatModel['id']>;
}
availableChatModelIds: ChatModel["id"][];
};
export const entitlementsByUserType: Record<UserType, Entitlements> = {
/*
@ -12,7 +12,7 @@ export const entitlementsByUserType: Record<UserType, Entitlements> = {
*/
guest: {
maxMessagesPerDay: 20,
availableChatModelIds: ['chat-model', 'chat-model-reasoning'],
availableChatModelIds: ["chat-model", "chat-model-reasoning"],
},
/*
@ -20,7 +20,7 @@ export const entitlementsByUserType: Record<UserType, Entitlements> = {
*/
regular: {
maxMessagesPerDay: 100,
availableChatModelIds: ['chat-model', 'chat-model-reasoning'],
availableChatModelIds: ["chat-model", "chat-model-reasoning"],
},
/*