Commit Graph

215 Commits

Author SHA1 Message Date
alexrg 1d5d4b6a4e fix: update database queries to use 'template' instead of 'template_id' and adjust related references in ai_generate_plan function 2026-01-16 14:51:42 -06:00
alexrg 6c2faa97f1 test: enhance ai_generate_plan test for structured data validation and normalization 2026-01-16 11:04:28 -06:00
alexrg e321935286 feat: initialize database schema with essential tables, types, and functions for academic management system
- Created multiple tables including 'asignaturas', 'carreras', 'planes_estudio', and others to manage academic entities.
- Defined various ENUM types for categorizing academic roles, task statuses, and notification types.
- Implemented triggers and functions for automatic timestamp updates and validation of cycle numbers in subjects.
- Established foreign key relationships to maintain data integrity across tables.
- Added necessary extensions for enhanced functionality, including 'pgsodium', 'pg_graphql', and 'pg_stat_statements'.
2026-01-16 10:53:32 -06:00
alexrg 81262d706a Refactor input normalization and enhance logging for OpenAI function 2026-01-14 15:25:14 -06:00
alexrg 0d2345a6d6 Add Deno configuration and update dependencies for OpenAI and Supabase 2026-01-14 14:24:49 -06:00
alexrg 3d72e8bbf8 Add initial Supabase configuration and schema setup
- Created connection URL for PostgreSQL in pooler-url file.
- Added PostgreSQL version information in postgres-version file.
- Included project reference in project-ref file.
- Specified REST API version in rest-version file.
- Documented storage migration details in storage-migration file.
- Defined storage version in storage-version file.
- Updated ai-structured function to include logging for EDGE function.
- Established a comprehensive schema.sql file with multiple tables, types, functions, triggers, and permissions for the application.
2026-01-14 14:09:49 -06:00
alexrg 79e66aed63 Update deno.lock to include additional dependencies and specify versions for improved compatibility 2026-01-14 10:34:13 -06:00
alexrg 15b5fac951 Add launch and settings configuration for VSCode, remove unused bun.lock, and implement AI function with structured output handling and tests 2026-01-14 10:31:46 -06:00
alexrg 5917adbe75 Update dependencies in deno.lock and add tests for ai-structured function 2026-01-14 10:30:46 -06:00
alexrg 930556d862 Add configuration files and update dependencies for Supabase functions 2026-01-14 09:28:38 -06:00
alexrg 4fc445db61 Refactor dependency management and improve error handling in Supabase functions 2026-01-13 15:35:43 -06:00
alexrg 411e0f2154 Add deno.lock file and refactor AI function to streamline OpenAI integration 2026-01-13 11:10:41 -06:00
alexrg f037e31896 Refactor Supabase function to simplify request handling and remove unused code 2026-01-13 09:49:39 -06:00
alexrg 5ab3c6ca5a Add TypeScript definitions for Supabase edge runtime 2026-01-13 09:40:07 -06:00
alexrg c0599e30ab Add initial project files including .gitignore, README, package.json, and TypeScript configuration
- Created .gitignore to exclude unnecessary files
- Added README.md with installation and usage instructions
- Initialized package.json with dependencies and configurations
- Set up tsconfig.json for TypeScript compiler options
- Implemented basic index.ts file for logging
- Added Supabase function structure in ai-structured directory
- Created test files for user authentication and function invocation
2026-01-13 09:39:03 -06:00