import { defineSchema } from 'convex/server';
import { setoresTables } from './tables/setores';
import { contratosTables } from './tables/contratos';
import { enderecosTables } from './tables/enderecos';
import { empresasTable } from './tables/empresas';
import { funcionariosTables } from './tables/funcionarios';
import { flowsTables } from './tables/flows';
import { atestadosTables } from './tables/atestados';
import { licencasTables } from './tables/licencas';
import { feriasTables } from './tables/ferias';
import { ausenciasTables } from './tables/ausencias';
import { timesTables } from './tables/times';
import { cursosTables } from './tables/cursos';
import { authTables } from './tables/auth';
import { systemTables } from './tables/system';
import { chatTables } from './tables/chat';
import { ticketsTables } from './tables/tickets';
import { securityTables } from './tables/security';
import { pontoTables } from './tables/ponto';
import { pedidosTables } from './tables/pedidos';
import { produtosTables } from './tables/produtos';
import { lgpdTables } from './tables/lgpdTables';

export default defineSchema({
	...setoresTables,
	...flowsTables,
	...contratosTables,
	...enderecosTables,
	...empresasTable,
	...funcionariosTables,
	...atestadosTables,
	...licencasTables,
	...feriasTables,
	...ausenciasTables,
	...timesTables,
	...cursosTables,
	...authTables,
	...systemTables,
	...chatTables,
	...ticketsTables,
	...securityTables,
	...pontoTables,
	...pedidosTables,
	...produtosTables,
	...lgpdTables
});
