mirror of https://github.com/buster-so/buster.git
update linting
This commit is contained in:
parent
d936ba3785
commit
7d32127e89
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
|
@ -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';
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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({
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue