lint fixes 👀

This commit is contained in:
Nate Kelley 2025-07-12 16:32:47 -06:00
parent 139a0f52c9
commit 5448af614a
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
7 changed files with 30 additions and 34 deletions

View File

@ -1,9 +1,9 @@
import {
CancelChatParamsSchema,
ChatCreateRequestSchema,
ChatError,
type ChatWithMessages,
ChatWithMessagesSchema,
CancelChatParamsSchema,
} from '@buster/server-shared/chats';
import { zValidator } from '@hono/zod-validator';
import { Hono } from 'hono';
@ -11,8 +11,8 @@ import { requireAuth } from '../../../middleware/auth';
import '../../../types/hono.types'; //I added this to fix intermitent type errors. Could probably be removed.
import { HTTPException } from 'hono/http-exception';
import { z } from 'zod';
import { createChatHandler } from './handler';
import { cancelChatHandler } from './cancel-chat';
import { createChatHandler } from './handler';
const app = new Hono()
// Apply authentication middleware

View File

@ -171,7 +171,6 @@ function createDataMetadata(results: Record<string, unknown>[]): DataMetadata {
};
}
/**
* Ensures timeFrame values are properly quoted in YAML content
* Finds timeFrame: value and wraps the value in quotes if not already quoted

View File

@ -162,7 +162,6 @@ function createDataMetadata(results: Record<string, unknown>[]): DataMetadata {
};
}
/**
* Ensures timeFrame values are properly quoted in YAML content
* Finds timeFrame: value and wraps the value in quotes if not already quoted

View File

@ -120,9 +120,7 @@ describe('Snowflake Memory Protection Tests', () => {
await adapter.initialize(credentials);
// Query a small table without maxRows
const result = await adapter.query(
'SELECT * FROM SNOWFLAKE_SAMPLE_DATA.TPCH_SF1.REGION'
);
const result = await adapter.query('SELECT * FROM SNOWFLAKE_SAMPLE_DATA.TPCH_SF1.REGION');
// REGION table has exactly 5 rows
expect(result.rows.length).toBe(5);

View File

@ -1,9 +1,9 @@
import { z } from "zod";
import { OrganizationSchema } from "../organization/organization.types";
import { OrganizationRoleSchema } from "../organization/roles.types";
import { TeamSchema } from "../teams/teams.types";
import { UserFavoriteSchema } from "./favorites.types";
import { UserSchema } from "./users.types";
import { z } from 'zod';
import { OrganizationSchema } from '../organization/organization.types';
import { OrganizationRoleSchema } from '../organization/roles.types';
import { TeamSchema } from '../teams/teams.types';
import { UserFavoriteSchema } from './favorites.types';
import { UserSchema } from './users.types';
const OrganizationUserSchema = OrganizationSchema.extend({
role: OrganizationRoleSchema,