import { createQueryBuilder } from '@taylordb/query-builder';

import { TaylorDatabase } from '../types/database.types';

// Initialize TaylorDB query builder instance
// Note: If you have generated types from taylor.types.ts, you can import them here
// import { TaylorDatabase } from '@/path/to/taylor.types';

export const taylorQueryBuilder = createQueryBuilder<TaylorDatabase>({
  baseId: process.env.TAYLOR_BASE_ID || '',
  baseUrl: process.env.TAYLOR_API_ENDPOINT || '',
  apiKey: process.env.TAYLOR_API_TOKEN || '',
});
