listado de planes exitoso

This commit is contained in:
2026-01-13 11:52:57 -06:00
parent 268d83fb4b
commit 55c37b83b4
9 changed files with 1688 additions and 7793 deletions

View File

@@ -1,4 +1,4 @@
import type { Enums, Tables } from "../../types/supabase";
import type { Database, Enums, Tables } from "../../types/supabase";
export type UUID = string;
@@ -51,6 +51,17 @@ export type PlanDatosSep = {
propuesta_de_evaluacion_periodica_del_plan_de_estudios?: string | null;
};
export type PlanEstudioWithRel =
& Database["public"]["Tables"]["planes_estudio"]["Row"]
& {
carreras:
| Database["public"]["Tables"]["carreras"]["Row"] & {
facultades: Database["public"]["Tables"]["facultades"]["Row"] | null;
}
| null;
estados_plan: Database["public"]["Tables"]["estados_plan"]["Row"] | null;
};
export type Paged<T> = { data: Array<T>; count: number | null };
export type FacultadRow = Tables<"facultades">;