chore: update database seed & typescript types

This commit is contained in:
2026-03-25 22:53:50 +00:00
parent dbfe082f0b
commit 08a73213bb
2 changed files with 162 additions and 120 deletions
+5 -29
View File
@@ -1,4 +1,4 @@
export type Json =
export type Json =
| string
| number
| boolean
@@ -7,30 +7,10 @@
| Json[]
export type Database = {
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
}
// Allows to automatically instantiate createClient with right options
// instead of createClient<Database, { PostgrestVersion: 'XX' }>(URL, KEY)
__InternalSupabase: {
PostgrestVersion: "14.1"
}
public: {
Tables: {
@@ -1600,9 +1580,6 @@ export type CompositeTypes<
: never
export const Constants = {
graphql_public: {
Enums: {},
},
public: {
Enums: {
estado_asignatura: ["borrador", "revisada", "aprobada", "generando"],
@@ -1662,4 +1639,3 @@ export const Constants = {
},
},
} as const
+157 -91
View File
File diff suppressed because one or more lines are too long