feat: Introduce structured table definitions in convex/tables for various entities and remove the todos example table.

This commit is contained in:
2025-12-02 09:55:07 -03:00
parent 1c0bd219b2
commit 05e7f1181d
30 changed files with 2700 additions and 2535 deletions

View File

@@ -57,9 +57,28 @@ import type * as security from "../security.js";
import type * as seed from "../seed.js";
import type * as setores from "../setores.js";
import type * as simbolos from "../simbolos.js";
import type * as tables_atestados from "../tables/atestados.js";
import type * as tables_ausencias from "../tables/ausencias.js";
import type * as tables_auth from "../tables/auth.js";
import type * as tables_chat from "../tables/chat.js";
import type * as tables_contratos from "../tables/contratos.js";
import type * as tables_cursos from "../tables/cursos.js";
import type * as tables_empresas from "../tables/empresas.js";
import type * as tables_enderecos from "../tables/enderecos.js";
import type * as tables_ferias from "../tables/ferias.js";
import type * as tables_flows from "../tables/flows.js";
import type * as tables_funcionarios from "../tables/funcionarios.js";
import type * as tables_licencas from "../tables/licencas.js";
import type * as tables_pedidos from "../tables/pedidos.js";
import type * as tables_ponto from "../tables/ponto.js";
import type * as tables_produtos from "../tables/produtos.js";
import type * as tables_security from "../tables/security.js";
import type * as tables_setores from "../tables/setores.js";
import type * as tables_system from "../tables/system.js";
import type * as tables_tickets from "../tables/tickets.js";
import type * as tables_times from "../tables/times.js";
import type * as templatesMensagens from "../templatesMensagens.js";
import type * as times from "../times.js";
import type * as todos from "../todos.js";
import type * as usuarios from "../usuarios.js";
import type * as utils_chatTemplateWrapper from "../utils/chatTemplateWrapper.js";
import type * as utils_emailTemplateWrapper from "../utils/emailTemplateWrapper.js";
@@ -123,9 +142,28 @@ declare const fullApi: ApiFromModules<{
seed: typeof seed;
setores: typeof setores;
simbolos: typeof simbolos;
"tables/atestados": typeof tables_atestados;
"tables/ausencias": typeof tables_ausencias;
"tables/auth": typeof tables_auth;
"tables/chat": typeof tables_chat;
"tables/contratos": typeof tables_contratos;
"tables/cursos": typeof tables_cursos;
"tables/empresas": typeof tables_empresas;
"tables/enderecos": typeof tables_enderecos;
"tables/ferias": typeof tables_ferias;
"tables/flows": typeof tables_flows;
"tables/funcionarios": typeof tables_funcionarios;
"tables/licencas": typeof tables_licencas;
"tables/pedidos": typeof tables_pedidos;
"tables/ponto": typeof tables_ponto;
"tables/produtos": typeof tables_produtos;
"tables/security": typeof tables_security;
"tables/setores": typeof tables_setores;
"tables/system": typeof tables_system;
"tables/tickets": typeof tables_tickets;
"tables/times": typeof tables_times;
templatesMensagens: typeof templatesMensagens;
times: typeof times;
todos: typeof todos;
usuarios: typeof usuarios;
"utils/chatTemplateWrapper": typeof utils_chatTemplateWrapper;
"utils/emailTemplateWrapper": typeof utils_emailTemplateWrapper;