update linting

This commit is contained in:
Nate Kelley 2025-10-09 10:56:54 -06:00
parent d936ba3785
commit 7d32127e89
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
14 changed files with 6120 additions and 7769 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
import dayjs from 'dayjs';
import type { Dayjs } from 'dayjs';
import dayjs from 'dayjs';
import { and, eq, isNull } from 'drizzle-orm';
import { db } from '../../connection';
import { chats } from '../../schema';

View File

@ -1,4 +1,6 @@
// Export all chat-related functionality
export { hasChatScreenshotBeenTakenWithin } from './chat-screenshots';
export {
type Chat,
type CreateChatInput,
@ -14,18 +16,14 @@ export {
updateChat,
updateChatSharing,
} from './chats';
export {
type GetChatTitleInput,
GetChatTitleInputSchema,
getChatTitle,
} from './get-chat-title';
export {
type ListChatsRequest,
ListChatsRequestSchema,
type ListChatsResponse,
listChats,
} from './list-chats';
export { hasChatScreenshotBeenTakenWithin } from './chat-screenshots';

View File

@ -1,5 +1,5 @@
import dayjs from 'dayjs';
import type { Dayjs } from 'dayjs';
import dayjs from 'dayjs';
import { and, eq, isNull } from 'drizzle-orm';
import { db } from '../../connection';
import { dashboardFiles } from '../../schema';

View File

@ -1,3 +1,4 @@
export { hasDashboardScreenshotBeenTakenWithin } from './dashboard-screenshots';
export {
type DashboardFile,
type DashboardFileContext,
@ -7,8 +8,6 @@ export {
type AssociatedCollection,
getCollectionsAssociatedWithDashboard,
} from './get-collections-associated-with-dashboard';
export { hasDashboardScreenshotBeenTakenWithin } from './dashboard-screenshots';
export {
type GetDashboardByIdInput,
GetDashboardByIdInputSchema,

View File

@ -1,5 +1,5 @@
import dayjs from 'dayjs';
import type { Dayjs } from 'dayjs';
import dayjs from 'dayjs';
import { and, eq, isNull } from 'drizzle-orm';
import { db } from '../../connection';
import { metricFiles } from '../../schema';

View File

@ -1,5 +1,6 @@
export * from './append-report-content';
export * from './batch-update-report';
export * from './batch-update-report';
export * from './get-report';
export * from './get-report-content';
export * from './get-report-metadata';
@ -7,7 +8,6 @@ export * from './get-report-title';
export * from './get-reports-list';
export * from './get-reports-with-permissions';
export * from './replace-report-content';
export * from './report-screenshots';
export * from './update-report';
export * from './update-report-content';
export * from './batch-update-report';
export * from './report-screenshots';

View File

@ -1,5 +1,5 @@
import dayjs from 'dayjs';
import type { Dayjs } from 'dayjs';
import dayjs from 'dayjs';
import { and, eq, isNull } from 'drizzle-orm';
import { db } from '../../connection';
import { reportFiles } from '../../schema';

View File

@ -1,6 +1,6 @@
export * from './screenshots';
export * from './requests.metrics';
export * from './requests.dashboards';
export * from './requests.reports';
export * from './requests.chats';
export * from './requests.base';
export * from './requests.chats';
export * from './requests.dashboards';
export * from './requests.metrics';
export * from './requests.reports';
export * from './screenshots';

View File

@ -11,7 +11,11 @@ type BrowserParamsBase<T> = {
page,
browser,
type,
}: { page: Page; browser: Browser; type: 'png' | 'webp' }) => Promise<T>;
}: {
page: Page;
browser: Browser;
type: 'png' | 'webp';
}) => Promise<T>;
};
export const BrowserParamsContextSchema = z.object({

View File

@ -1,7 +1,7 @@
export { getMetricScreenshot, GetMetricScreenshotHandlerArgsSchema } from './get-metric-screenshot';
export { GetChatScreenshotHandlerArgsSchema, getChatScreenshot } from './get-chat-screenshot';
export {
getDashboardScreenshot,
GetDashboardScreenshotHandlerArgsSchema,
getDashboardScreenshot,
} from './get-dashboard-screenshot';
export { getChatScreenshot, GetChatScreenshotHandlerArgsSchema } from './get-chat-screenshot';
export { getReportScreenshot, GetReportScreenshotHandlerArgsSchema } from './get-report-screenshot';
export { GetMetricScreenshotHandlerArgsSchema, getMetricScreenshot } from './get-metric-screenshot';
export { GetReportScreenshotHandlerArgsSchema, getReportScreenshot } from './get-report-screenshot';

View File

@ -1,4 +1,4 @@
import { type User, createClient } from '@supabase/supabase-js';
import { createClient, type User } from '@supabase/supabase-js';
const createSupabaseClient = () => {
const supabaseUrl = process.env.SUPABASE_URL;