panels-origin/api
Cursor Agent de07975d4a
fix: abrir documentos de proyecto enviando doc_id a la RPC
La API pedía el PDF con { id } y fn_project_document_get leía
payload->>'doc_id', así que el id llegaba vacío aunque el archivo
ya estuviera en el bucket. Mismo desajuste en empresa y trabajador.

Co-authored-by: alberto.martinez <alberto.martinez@mrdev.mx>
2026-09-08 19:27:24 +00:00
..
assets/email Agregando diseño de correo 2026-08-21 20:02:27 -05:00
scripts Implement client IAM v2: roles per tenant, CRUD matrix, scope, and panel UI 2026-09-08 18:16:59 +00:00
auth.ts Implement client IAM v2: roles per tenant, CRUD matrix, scope, and panel UI 2026-09-08 18:16:59 +00:00
budget.ts refactor(core): migrate core CRUD to PostgreSQL RPC + unified HTTP errors 2026-09-04 02:34:43 +00:00
budget_test.ts first commit 2026-08-21 16:55:01 -05:00
cache.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
companies.ts refactor(core): migrate core CRUD to PostgreSQL RPC + unified HTTP errors 2026-09-04 02:34:43 +00:00
companies_test.ts first commit 2026-08-21 16:55:01 -05:00
config.ts api: ping R2 con ListObjects, no HeadBucket 2026-09-03 05:42:13 +00:00
cost_control_http.ts Implement client IAM v2: roles per tenant, CRUD matrix, scope, and panel UI 2026-09-08 18:16:59 +00:00
cost_modules_test.ts Implement client IAM v2: roles per tenant, CRUD matrix, scope, and panel UI 2026-09-08 18:16:59 +00:00
crypto.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
db.ts refactor(core): migrate core CRUD to PostgreSQL RPC + unified HTTP errors 2026-09-04 02:34:43 +00:00
deno.json api: --allow-sys para el SDK de AWS/R2 en Deno 2026-09-03 05:49:14 +00:00
deno.lock db/infra: ETL de datos, backups y limpieza de despliegue (fase 5-7) 2026-09-02 21:05:07 +00:00
docs_crypto.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
document_rpc.ts fix: abrir documentos de proyecto enviando doc_id a la RPC 2026-09-08 19:27:24 +00:00
document_rpc_test.ts fix: abrir documentos de proyecto enviando doc_id a la RPC 2026-09-08 19:27:24 +00:00
document_validity.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
document_validity_test.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
email_assets.ts Agregando diseño de correo 2026-08-21 20:02:27 -05:00
excel.ts refactor(core): migrate core CRUD to PostgreSQL RPC + unified HTTP errors 2026-09-04 02:34:43 +00:00
expenses_http.ts Implement client IAM v2: roles per tenant, CRUD matrix, scope, and panel UI 2026-09-08 18:16:59 +00:00
expenses_test.ts Gastos, almacén y control presupuestal 2026-09-04 04:29:02 +00:00
http_errors.ts refactor(core): migrate core CRUD to PostgreSQL RPC + unified HTTP errors 2026-09-04 02:34:43 +00:00
http_errors_test.ts refactor(core): migrate core CRUD to PostgreSQL RPC + unified HTTP errors 2026-09-04 02:34:43 +00:00
iam_catalog.ts Implement client IAM v2: roles per tenant, CRUD matrix, scope, and panel UI 2026-09-08 18:16:59 +00:00
iam_db.ts Implement client IAM v2: roles per tenant, CRUD matrix, scope, and panel UI 2026-09-08 18:16:59 +00:00
iam_http.ts Implement client IAM v2: roles per tenant, CRUD matrix, scope, and panel UI 2026-09-08 18:16:59 +00:00
iam_test.ts Implement client IAM v2: roles per tenant, CRUD matrix, scope, and panel UI 2026-09-08 18:16:59 +00:00
mail.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
main.ts fix: abrir documentos de proyecto enviando doc_id a la RPC 2026-09-08 19:27:24 +00:00
mx.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
mx_test.ts first commit 2026-08-21 16:55:01 -05:00
payroll.ts refactor(core): migrate core CRUD to PostgreSQL RPC + unified HTTP errors 2026-09-04 02:34:43 +00:00
payroll_http.ts Implement client IAM v2: roles per tenant, CRUD matrix, scope, and panel UI 2026-09-08 18:16:59 +00:00
payroll_test.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
pdf.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
permissions.ts Implement client IAM v2: roles per tenant, CRUD matrix, scope, and panel UI 2026-09-08 18:16:59 +00:00
pg.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
platform_db.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
redis.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
rpc.ts refactor(core): migrate core CRUD to PostgreSQL RPC + unified HTTP errors 2026-09-04 02:34:43 +00:00
saas.ts Implement client IAM v2: roles per tenant, CRUD matrix, scope, and panel UI 2026-09-08 18:16:59 +00:00
scope.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
scope_enforcement.ts Implement client IAM v2: roles per tenant, CRUD matrix, scope, and panel UI 2026-09-08 18:16:59 +00:00
seed_lista.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
sessions.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
smtp.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
storage.ts Gastos, almacén y control presupuestal 2026-09-04 04:29:02 +00:00
test_helpers.ts api: migrar todo el backend de SQLite a Postgres + Redis (fase 2-4e) 2026-09-02 20:47:45 +00:00
user_scope.ts Implement client IAM v2: roles per tenant, CRUD matrix, scope, and panel UI 2026-09-08 18:16:59 +00:00
warehouse_http.ts Implement client IAM v2: roles per tenant, CRUD matrix, scope, and panel UI 2026-09-08 18:16:59 +00:00
work_program.ts feat: Programa de obra por proyecto 2026-09-08 04:51:09 +00:00
work_program_excel.ts feat: Programa de obra por proyecto 2026-09-08 04:51:09 +00:00
work_program_excel_test.ts feat: Programa de obra por proyecto 2026-09-08 04:51:09 +00:00
work_program_http.ts Implement client IAM v2: roles per tenant, CRUD matrix, scope, and panel UI 2026-09-08 18:16:59 +00:00