chore: update database seed & typescript types

This commit is contained in:
2026-03-23 15:37:46 +00:00
parent cca45c38bc
commit e9e7ebfb57
2 changed files with 47 additions and 44 deletions
+5 -29
View File
@@ -1,4 +1,4 @@
export type Json = export type Json =
| string | string
| number | number
| boolean | boolean
@@ -7,30 +7,10 @@
| Json[] | Json[]
export type Database = { export type Database = {
graphql_public: { // Allows to automatically instantiate createClient with right options
Tables: { // instead of createClient<Database, { PostgrestVersion: 'XX' }>(URL, KEY)
[_ in never]: never __InternalSupabase: {
} PostgrestVersion: "14.1"
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: { public: {
Tables: { Tables: {
@@ -1568,9 +1548,6 @@ export type CompositeTypes<
: never : never
export const Constants = { export const Constants = {
graphql_public: {
Enums: {},
},
public: { public: {
Enums: { Enums: {
estado_asignatura: ["borrador", "revisada", "aprobada", "generando"], estado_asignatura: ["borrador", "revisada", "aprobada", "generando"],
@@ -1630,4 +1607,3 @@ export const Constants = {
}, },
}, },
} as const } as const
+42 -15
View File
File diff suppressed because one or more lines are too long