chore: update database seed & typescript types
This commit is contained in:
@@ -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
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user