diff --git a/deck-frontend/deck-v4.6.html b/deck-frontend/deck-v4.6.html index a41ae64..067b2fd 100644 --- a/deck-frontend/deck-v4.6.html +++ b/deck-frontend/deck-v4.6.html @@ -734,26 +734,26 @@ body { // 1. CONFIG // ============================================================================= const CONFIG = { - API_BASE: "/api", + API_BASE: "https://tzrtech.org/api", IMG_BASE: "https://atc.tzzrdeck.me", BASES: { - // Taxonomía - hst: { schema: "tzzr_core_hst", table: "hst", hasGroups: true, hasLibraries: true }, - flg: { schema: "tzzr_core_hst", table: "flg", hasGroups: false, hasLibraries: true }, - itm: { schema: "tzzr_core_itm_base", table: "itm", hasGroups: false, hasLibraries: true }, - loc: { schema: "tzzr_core_itm_base", table: "loc", hasGroups: false, hasLibraries: true }, - ply: { schema: "tzzr_core_itm_base", table: "ply", hasGroups: false, hasLibraries: true }, - // Producción - mst: { schema: "tzzr_core_produccion", table: "mst", hasGroups: false, hasLibraries: true }, - bck: { schema: "tzzr_core_produccion", table: "bck", hasGroups: false, hasLibraries: true }, - mth: { schema: "tzzr_core_produccion", table: "mth", hasGroups: false, hasLibraries: true }, + // Taxonomía (public schema on HST server) + hst: { schema: "public", table: "hst", hasGroups: true, hasLibraries: true }, + flg: { schema: "public", table: "flg", hasGroups: false, hasLibraries: true }, + itm: { schema: "public", table: "itm", hasGroups: false, hasLibraries: true }, + loc: { schema: "public", table: "loc", hasGroups: false, hasLibraries: true }, + ply: { schema: "public", table: "ply", hasGroups: false, hasLibraries: true }, + // Producción (tables pending) + mst: { schema: "public", table: "mst", hasGroups: false, hasLibraries: true }, + bck: { schema: "public", table: "bck", hasGroups: false, hasLibraries: true }, + mth: { schema: "public", table: "mth", hasGroups: false, hasLibraries: true }, // Secretaría - atc: { schema: "tzzr_core_secretaria", table: "atc", hasGroups: false, hasLibraries: true }, - oracle: { schema: "tzzr_core_secretaria", table: "oracle", hasGroups: false, hasLibraries: true }, - // Comunicación - mail: { schema: "mail_manager", table: "clara_registros", hasGroups: false, hasLibraries: false, orderBy: "timestamp_entrada.desc" }, - chat: { schema: "context_manager", table: "messages", hasGroups: false, hasLibraries: false, orderBy: "created_at.desc" } + atc: { schema: "public", table: "atc", hasGroups: false, hasLibraries: true }, + oracle: { schema: "public", table: "oracle", hasGroups: false, hasLibraries: true }, + // Comunicación (different servers - schemas TBD) + mail: { schema: "public", table: "clara_registros", hasGroups: false, hasLibraries: false, orderBy: "timestamp_entrada.desc" }, + chat: { schema: "public", table: "messages", hasGroups: false, hasLibraries: false, orderBy: "created_at.desc" } }, CATEGORIES: {