Add GraphQL public type definitions and update constants
Deploy Function / deploy (push) Successful in 25s
Deploy Migrations to Production / deploy (push) Successful in 15s

This commit is contained in:
2026-03-10 08:10:50 -06:00
parent 7152f91dfc
commit c2a7eea20a
+28 -4
View File
@@ -7,10 +7,30 @@ export type Json =
| Json[]
export type Database = {
// Allows to automatically instantiate createClient with right options
// instead of createClient<Database, { PostgrestVersion: 'XX' }>(URL, KEY)
__InternalSupabase: {
PostgrestVersion: "12.2.3 (519615d)"
graphql_public: {
Tables: {
[_ in never]: never
}
Views: {
[_ in never]: never
}
Functions: {
graphql: {
Args: {
extensions?: Json
operationName?: string
query?: string
variables?: Json
}
Returns: Json
}
}
Enums: {
[_ in never]: never
}
CompositeTypes: {
[_ in never]: never
}
}
public: {
Tables: {
@@ -1527,6 +1547,9 @@ export type CompositeTypes<
: never
export const Constants = {
graphql_public: {
Enums: {},
},
public: {
Enums: {
estado_asignatura: ["borrador", "revisada", "aprobada", "generando"],
@@ -1586,3 +1609,4 @@ export const Constants = {
},
},
} as const