@@ -166,6 +166,13 @@ export type Database = {
166166 referencedRelation : "my_contents"
167167 referencedColumns : [ "id" ]
168168 } ,
169+ {
170+ foreignKeyName : "Concept_represented_by_id_fkey"
171+ columns : [ "represented_by_id" ]
172+ isOneToOne : false
173+ referencedRelation : "my_contents_with_embedding_openai_text_embedding_3_small_1536"
174+ referencedColumns : [ "id" ]
175+ } ,
169176 {
170177 foreignKeyName : "Concept_schema_id_fkey"
171178 columns : [ "schema_id" ]
@@ -343,6 +350,13 @@ export type Database = {
343350 referencedRelation : "my_contents"
344351 referencedColumns : [ "id" ]
345352 } ,
353+ {
354+ foreignKeyName : "Content_part_of_id_fkey"
355+ columns : [ "part_of_id" ]
356+ isOneToOne : false
357+ referencedRelation : "my_contents_with_embedding_openai_text_embedding_3_small_1536"
358+ referencedColumns : [ "id" ]
359+ } ,
346360 {
347361 foreignKeyName : "Content_space_id_fkey"
348362 columns : [ "space_id" ]
@@ -387,6 +401,13 @@ export type Database = {
387401 referencedRelation : "my_contents"
388402 referencedColumns : [ "id" ]
389403 } ,
404+ {
405+ foreignKeyName : "content_contributors_content_id_fkey"
406+ columns : [ "content_id" ]
407+ isOneToOne : false
408+ referencedRelation : "my_contents_with_embedding_openai_text_embedding_3_small_1536"
409+ referencedColumns : [ "id" ]
410+ } ,
390411 {
391412 foreignKeyName : "content_contributors_contributor_id_fkey"
392413 columns : [ "contributor_id" ]
@@ -437,6 +458,13 @@ export type Database = {
437458 referencedRelation : "my_contents"
438459 referencedColumns : [ "id" ]
439460 } ,
461+ {
462+ foreignKeyName : "ContentEmbedding_openai_text_embedding_3_small_1_target_id_fkey"
463+ columns : [ "target_id" ]
464+ isOneToOne : true
465+ referencedRelation : "my_contents_with_embedding_openai_text_embedding_3_small_1536"
466+ referencedColumns : [ "id" ]
467+ } ,
440468 ]
441469 }
442470 Document : {
@@ -661,6 +689,28 @@ export type Database = {
661689 platform : Database [ "public" ] [ "Enums" ] [ "Platform" ] | null
662690 write_permission : boolean | null
663691 }
692+ Insert : {
693+ account_local_id ?: string | null
694+ active ?: boolean | null
695+ agent_type ?: Database [ "public" ] [ "Enums" ] [ "AgentType" ] | null
696+ dg_account ?: string | null
697+ id ?: number | null
698+ metadata ?: Json | null
699+ name ?: string | null
700+ platform ?: Database [ "public" ] [ "Enums" ] [ "Platform" ] | null
701+ write_permission ?: boolean | null
702+ }
703+ Update : {
704+ account_local_id ?: string | null
705+ active ?: boolean | null
706+ agent_type ?: Database [ "public" ] [ "Enums" ] [ "AgentType" ] | null
707+ dg_account ?: string | null
708+ id ?: number | null
709+ metadata ?: Json | null
710+ name ?: string | null
711+ platform ?: Database [ "public" ] [ "Enums" ] [ "Platform" ] | null
712+ write_permission ?: boolean | null
713+ }
664714 Relationships : [ ]
665715 }
666716 my_concepts : {
@@ -750,6 +800,13 @@ export type Database = {
750800 referencedRelation : "my_contents"
751801 referencedColumns : [ "id" ]
752802 } ,
803+ {
804+ foreignKeyName : "Concept_represented_by_id_fkey"
805+ columns : [ "represented_by_id" ]
806+ isOneToOne : false
807+ referencedRelation : "my_contents_with_embedding_openai_text_embedding_3_small_1536"
808+ referencedColumns : [ "id" ]
809+ } ,
753810 {
754811 foreignKeyName : "Concept_schema_id_fkey"
755812 columns : [ "schema_id" ]
@@ -883,6 +940,111 @@ export type Database = {
883940 referencedRelation : "my_contents"
884941 referencedColumns : [ "id" ]
885942 } ,
943+ {
944+ foreignKeyName : "Content_part_of_id_fkey"
945+ columns : [ "part_of_id" ]
946+ isOneToOne : false
947+ referencedRelation : "my_contents_with_embedding_openai_text_embedding_3_small_1536"
948+ referencedColumns : [ "id" ]
949+ } ,
950+ {
951+ foreignKeyName : "Content_space_id_fkey"
952+ columns : [ "space_id" ]
953+ isOneToOne : false
954+ referencedRelation : "my_spaces"
955+ referencedColumns : [ "id" ]
956+ } ,
957+ {
958+ foreignKeyName : "Content_space_id_fkey"
959+ columns : [ "space_id" ]
960+ isOneToOne : false
961+ referencedRelation : "Space"
962+ referencedColumns : [ "id" ]
963+ } ,
964+ ]
965+ }
966+ my_contents_with_embedding_openai_text_embedding_3_small_1536 : {
967+ Row : {
968+ author_id : number | null
969+ created : string | null
970+ creator_id : number | null
971+ document_id : number | null
972+ id : number | null
973+ last_modified : string | null
974+ metadata : Json | null
975+ model : Database [ "public" ] [ "Enums" ] [ "EmbeddingName" ] | null
976+ part_of_id : number | null
977+ scale : Database [ "public" ] [ "Enums" ] [ "Scale" ] | null
978+ source_local_id : string | null
979+ space_id : number | null
980+ text : string | null
981+ variant : Database [ "public" ] [ "Enums" ] [ "ContentVariant" ] | null
982+ vector : string | null
983+ }
984+ Relationships : [
985+ {
986+ foreignKeyName : "Content_author_id_fkey"
987+ columns : [ "author_id" ]
988+ isOneToOne : false
989+ referencedRelation : "my_accounts"
990+ referencedColumns : [ "id" ]
991+ } ,
992+ {
993+ foreignKeyName : "Content_author_id_fkey"
994+ columns : [ "author_id" ]
995+ isOneToOne : false
996+ referencedRelation : "PlatformAccount"
997+ referencedColumns : [ "id" ]
998+ } ,
999+ {
1000+ foreignKeyName : "Content_creator_id_fkey"
1001+ columns : [ "creator_id" ]
1002+ isOneToOne : false
1003+ referencedRelation : "my_accounts"
1004+ referencedColumns : [ "id" ]
1005+ } ,
1006+ {
1007+ foreignKeyName : "Content_creator_id_fkey"
1008+ columns : [ "creator_id" ]
1009+ isOneToOne : false
1010+ referencedRelation : "PlatformAccount"
1011+ referencedColumns : [ "id" ]
1012+ } ,
1013+ {
1014+ foreignKeyName : "Content_document_id_fkey"
1015+ columns : [ "document_id" ]
1016+ isOneToOne : false
1017+ referencedRelation : "Document"
1018+ referencedColumns : [ "id" ]
1019+ } ,
1020+ {
1021+ foreignKeyName : "Content_document_id_fkey"
1022+ columns : [ "document_id" ]
1023+ isOneToOne : false
1024+ referencedRelation : "my_documents"
1025+ referencedColumns : [ "id" ]
1026+ } ,
1027+ {
1028+ foreignKeyName : "Content_part_of_id_fkey"
1029+ columns : [ "part_of_id" ]
1030+ isOneToOne : false
1031+ referencedRelation : "Content"
1032+ referencedColumns : [ "id" ]
1033+ } ,
1034+ {
1035+ foreignKeyName : "Content_part_of_id_fkey"
1036+ columns : [ "part_of_id" ]
1037+ isOneToOne : false
1038+ referencedRelation : "my_contents"
1039+ referencedColumns : [ "id" ]
1040+ } ,
1041+ {
1042+ foreignKeyName : "Content_part_of_id_fkey"
1043+ columns : [ "part_of_id" ]
1044+ isOneToOne : false
1045+ referencedRelation : "my_contents_with_embedding_openai_text_embedding_3_small_1536"
1046+ referencedColumns : [ "id" ]
1047+ } ,
8861048 {
8871049 foreignKeyName : "Content_space_id_fkey"
8881050 columns : [ "space_id" ]
0 commit comments