Removed types from the Plugins which mistakenly made it to the generated types
This commit is contained in:
@@ -248,122 +248,6 @@ export type Database = {
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
conversations: {
|
||||
Row: {
|
||||
created_at: string
|
||||
id: string
|
||||
reference_id: string
|
||||
user_email: string | null
|
||||
}
|
||||
Insert: {
|
||||
created_at?: string
|
||||
id?: string
|
||||
reference_id: string
|
||||
user_email?: string | null
|
||||
}
|
||||
Update: {
|
||||
created_at?: string
|
||||
id?: string
|
||||
reference_id?: string
|
||||
user_email?: string | null
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
documents: {
|
||||
Row: {
|
||||
content: string
|
||||
created_at: string
|
||||
hash: string
|
||||
id: string
|
||||
title: string
|
||||
}
|
||||
Insert: {
|
||||
content: string
|
||||
created_at?: string
|
||||
hash: string
|
||||
id?: string
|
||||
title: string
|
||||
}
|
||||
Update: {
|
||||
content?: string
|
||||
created_at?: string
|
||||
hash?: string
|
||||
id?: string
|
||||
title?: string
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
documents_embeddings: {
|
||||
Row: {
|
||||
content: string
|
||||
created_at: string
|
||||
embedding: string | null
|
||||
id: string
|
||||
metadata: Json
|
||||
}
|
||||
Insert: {
|
||||
content: string
|
||||
created_at?: string
|
||||
embedding?: string | null
|
||||
id?: string
|
||||
metadata?: Json
|
||||
}
|
||||
Update: {
|
||||
content?: string
|
||||
created_at?: string
|
||||
embedding?: string | null
|
||||
id?: string
|
||||
metadata?: Json
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
feedback_submissions: {
|
||||
Row: {
|
||||
attachment_url: string | null
|
||||
created_at: string
|
||||
device_info: Json | null
|
||||
email: string | null
|
||||
id: number
|
||||
metadata: Json | null
|
||||
screen_name: string | null
|
||||
text: string
|
||||
type: Database["public"]["Enums"]["feedback_type"]
|
||||
user_id: string | null
|
||||
}
|
||||
Insert: {
|
||||
attachment_url?: string | null
|
||||
created_at?: string
|
||||
device_info?: Json | null
|
||||
email?: string | null
|
||||
id?: number
|
||||
metadata?: Json | null
|
||||
screen_name?: string | null
|
||||
text: string
|
||||
type: Database["public"]["Enums"]["feedback_type"]
|
||||
user_id?: string | null
|
||||
}
|
||||
Update: {
|
||||
attachment_url?: string | null
|
||||
created_at?: string
|
||||
device_info?: Json | null
|
||||
email?: string | null
|
||||
id?: number
|
||||
metadata?: Json | null
|
||||
screen_name?: string | null
|
||||
text?: string
|
||||
type?: Database["public"]["Enums"]["feedback_type"]
|
||||
user_id?: string | null
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "feedback_submissions_user_id_fkey"
|
||||
columns: ["user_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "users"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
invitations: {
|
||||
Row: {
|
||||
account_id: string
|
||||
@@ -436,41 +320,6 @@ export type Database = {
|
||||
},
|
||||
]
|
||||
}
|
||||
messages: {
|
||||
Row: {
|
||||
conversation_id: string
|
||||
created_at: string
|
||||
id: number
|
||||
sender: Database["public"]["Enums"]["sender"]
|
||||
text: string
|
||||
type: Database["public"]["Enums"]["message_type"]
|
||||
}
|
||||
Insert: {
|
||||
conversation_id: string
|
||||
created_at?: string
|
||||
id?: number
|
||||
sender: Database["public"]["Enums"]["sender"]
|
||||
text: string
|
||||
type: Database["public"]["Enums"]["message_type"]
|
||||
}
|
||||
Update: {
|
||||
conversation_id?: string
|
||||
created_at?: string
|
||||
id?: number
|
||||
sender?: Database["public"]["Enums"]["sender"]
|
||||
text?: string
|
||||
type?: Database["public"]["Enums"]["message_type"]
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "messages_conversation_id_fkey"
|
||||
columns: ["conversation_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "conversations"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
notifications: {
|
||||
Row: {
|
||||
account_id: string
|
||||
@@ -806,27 +655,6 @@ export type Database = {
|
||||
},
|
||||
]
|
||||
}
|
||||
waitlist: {
|
||||
Row: {
|
||||
approved: boolean
|
||||
created_at: string
|
||||
email: string
|
||||
id: number
|
||||
}
|
||||
Insert: {
|
||||
approved?: boolean
|
||||
created_at?: string
|
||||
email: string
|
||||
id?: number
|
||||
}
|
||||
Update: {
|
||||
approved?: boolean
|
||||
created_at?: string
|
||||
email?: string
|
||||
id?: number
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
}
|
||||
Views: {
|
||||
user_account_workspace: {
|
||||
@@ -1023,31 +851,6 @@ export type Database = {
|
||||
}
|
||||
Returns: boolean
|
||||
}
|
||||
kw_match_documents: {
|
||||
Args: {
|
||||
query_text: string
|
||||
match_count: number
|
||||
}
|
||||
Returns: {
|
||||
id: string
|
||||
content: string
|
||||
metadata: Json
|
||||
similarity: number
|
||||
}[]
|
||||
}
|
||||
match_documents: {
|
||||
Args: {
|
||||
query_embedding: string
|
||||
match_count?: number
|
||||
filter?: Json
|
||||
}
|
||||
Returns: {
|
||||
id: string
|
||||
content: string
|
||||
metadata: Json
|
||||
similarity: number
|
||||
}[]
|
||||
}
|
||||
team_account_workspace: {
|
||||
Args: {
|
||||
account_slug: string
|
||||
@@ -1136,12 +939,9 @@ export type Database = {
|
||||
| "members.manage"
|
||||
| "invites.manage"
|
||||
billing_provider: "stripe" | "lemon-squeezy" | "paddle"
|
||||
feedback_type: "question" | "bug" | "feedback"
|
||||
message_type: "ai" | "db" | "user"
|
||||
notification_channel: "in_app" | "email"
|
||||
notification_type: "info" | "warning" | "error"
|
||||
payment_status: "pending" | "succeeded" | "failed"
|
||||
sender: "user" | "assistant"
|
||||
subscription_item_type: "flat" | "per_seat" | "metered"
|
||||
subscription_status:
|
||||
| "active"
|
||||
|
||||
@@ -248,122 +248,6 @@ export type Database = {
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
conversations: {
|
||||
Row: {
|
||||
created_at: string
|
||||
id: string
|
||||
reference_id: string
|
||||
user_email: string | null
|
||||
}
|
||||
Insert: {
|
||||
created_at?: string
|
||||
id?: string
|
||||
reference_id: string
|
||||
user_email?: string | null
|
||||
}
|
||||
Update: {
|
||||
created_at?: string
|
||||
id?: string
|
||||
reference_id?: string
|
||||
user_email?: string | null
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
documents: {
|
||||
Row: {
|
||||
content: string
|
||||
created_at: string
|
||||
hash: string
|
||||
id: string
|
||||
title: string
|
||||
}
|
||||
Insert: {
|
||||
content: string
|
||||
created_at?: string
|
||||
hash: string
|
||||
id?: string
|
||||
title: string
|
||||
}
|
||||
Update: {
|
||||
content?: string
|
||||
created_at?: string
|
||||
hash?: string
|
||||
id?: string
|
||||
title?: string
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
documents_embeddings: {
|
||||
Row: {
|
||||
content: string
|
||||
created_at: string
|
||||
embedding: string | null
|
||||
id: string
|
||||
metadata: Json
|
||||
}
|
||||
Insert: {
|
||||
content: string
|
||||
created_at?: string
|
||||
embedding?: string | null
|
||||
id?: string
|
||||
metadata?: Json
|
||||
}
|
||||
Update: {
|
||||
content?: string
|
||||
created_at?: string
|
||||
embedding?: string | null
|
||||
id?: string
|
||||
metadata?: Json
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
feedback_submissions: {
|
||||
Row: {
|
||||
attachment_url: string | null
|
||||
created_at: string
|
||||
device_info: Json | null
|
||||
email: string | null
|
||||
id: number
|
||||
metadata: Json | null
|
||||
screen_name: string | null
|
||||
text: string
|
||||
type: Database["public"]["Enums"]["feedback_type"]
|
||||
user_id: string | null
|
||||
}
|
||||
Insert: {
|
||||
attachment_url?: string | null
|
||||
created_at?: string
|
||||
device_info?: Json | null
|
||||
email?: string | null
|
||||
id?: number
|
||||
metadata?: Json | null
|
||||
screen_name?: string | null
|
||||
text: string
|
||||
type: Database["public"]["Enums"]["feedback_type"]
|
||||
user_id?: string | null
|
||||
}
|
||||
Update: {
|
||||
attachment_url?: string | null
|
||||
created_at?: string
|
||||
device_info?: Json | null
|
||||
email?: string | null
|
||||
id?: number
|
||||
metadata?: Json | null
|
||||
screen_name?: string | null
|
||||
text?: string
|
||||
type?: Database["public"]["Enums"]["feedback_type"]
|
||||
user_id?: string | null
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "feedback_submissions_user_id_fkey"
|
||||
columns: ["user_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "users"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
invitations: {
|
||||
Row: {
|
||||
account_id: string
|
||||
@@ -436,41 +320,6 @@ export type Database = {
|
||||
},
|
||||
]
|
||||
}
|
||||
messages: {
|
||||
Row: {
|
||||
conversation_id: string
|
||||
created_at: string
|
||||
id: number
|
||||
sender: Database["public"]["Enums"]["sender"]
|
||||
text: string
|
||||
type: Database["public"]["Enums"]["message_type"]
|
||||
}
|
||||
Insert: {
|
||||
conversation_id: string
|
||||
created_at?: string
|
||||
id?: number
|
||||
sender: Database["public"]["Enums"]["sender"]
|
||||
text: string
|
||||
type: Database["public"]["Enums"]["message_type"]
|
||||
}
|
||||
Update: {
|
||||
conversation_id?: string
|
||||
created_at?: string
|
||||
id?: number
|
||||
sender?: Database["public"]["Enums"]["sender"]
|
||||
text?: string
|
||||
type?: Database["public"]["Enums"]["message_type"]
|
||||
}
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "messages_conversation_id_fkey"
|
||||
columns: ["conversation_id"]
|
||||
isOneToOne: false
|
||||
referencedRelation: "conversations"
|
||||
referencedColumns: ["id"]
|
||||
},
|
||||
]
|
||||
}
|
||||
notifications: {
|
||||
Row: {
|
||||
account_id: string
|
||||
@@ -806,27 +655,6 @@ export type Database = {
|
||||
},
|
||||
]
|
||||
}
|
||||
waitlist: {
|
||||
Row: {
|
||||
approved: boolean
|
||||
created_at: string
|
||||
email: string
|
||||
id: number
|
||||
}
|
||||
Insert: {
|
||||
approved?: boolean
|
||||
created_at?: string
|
||||
email: string
|
||||
id?: number
|
||||
}
|
||||
Update: {
|
||||
approved?: boolean
|
||||
created_at?: string
|
||||
email?: string
|
||||
id?: number
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
}
|
||||
Views: {
|
||||
user_account_workspace: {
|
||||
@@ -1023,31 +851,6 @@ export type Database = {
|
||||
}
|
||||
Returns: boolean
|
||||
}
|
||||
kw_match_documents: {
|
||||
Args: {
|
||||
query_text: string
|
||||
match_count: number
|
||||
}
|
||||
Returns: {
|
||||
id: string
|
||||
content: string
|
||||
metadata: Json
|
||||
similarity: number
|
||||
}[]
|
||||
}
|
||||
match_documents: {
|
||||
Args: {
|
||||
query_embedding: string
|
||||
match_count?: number
|
||||
filter?: Json
|
||||
}
|
||||
Returns: {
|
||||
id: string
|
||||
content: string
|
||||
metadata: Json
|
||||
similarity: number
|
||||
}[]
|
||||
}
|
||||
team_account_workspace: {
|
||||
Args: {
|
||||
account_slug: string
|
||||
@@ -1136,12 +939,9 @@ export type Database = {
|
||||
| "members.manage"
|
||||
| "invites.manage"
|
||||
billing_provider: "stripe" | "lemon-squeezy" | "paddle"
|
||||
feedback_type: "question" | "bug" | "feedback"
|
||||
message_type: "ai" | "db" | "user"
|
||||
notification_channel: "in_app" | "email"
|
||||
notification_type: "info" | "warning" | "error"
|
||||
payment_status: "pending" | "succeeded" | "failed"
|
||||
sender: "user" | "assistant"
|
||||
subscription_item_type: "flat" | "per_seat" | "metered"
|
||||
subscription_status:
|
||||
| "active"
|
||||
|
||||
Reference in New Issue
Block a user