@@ -43,7 +43,7 @@ export type Database = {
4343 foreignKeyName : "Account_platform_id_fkey"
4444 columns : [ "platform_id" ]
4545 isOneToOne : false
46- referencedRelation : "DiscoursePlatform "
46+ referencedRelation : "Platform "
4747 referencedColumns : [ "id" ]
4848 } ,
4949 ]
@@ -167,7 +167,7 @@ export type Database = {
167167 foreignKeyName : "Concept_space_id_fkey"
168168 columns : [ "space_id" ]
169169 isOneToOne : false
170- referencedRelation : "DiscourseSpace "
170+ referencedRelation : "Space "
171171 referencedColumns : [ "id" ]
172172 } ,
173173 ]
@@ -278,7 +278,7 @@ export type Database = {
278278 foreignKeyName : "Content_space_id_fkey"
279279 columns : [ "space_id" ]
280280 isOneToOne : false
281- referencedRelation : "DiscourseSpace "
281+ referencedRelation : "Space "
282282 referencedColumns : [ "id" ]
283283 } ,
284284 ]
@@ -342,53 +342,6 @@ export type Database = {
342342 } ,
343343 ]
344344 }
345- DiscoursePlatform : {
346- Row : {
347- id : number
348- name : string
349- url : string
350- }
351- Insert : {
352- id ?: number
353- name : string
354- url : string
355- }
356- Update : {
357- id ?: number
358- name ?: string
359- url ?: string
360- }
361- Relationships : [ ]
362- }
363- DiscourseSpace : {
364- Row : {
365- discourse_platform_id : number
366- id : number
367- name : string
368- url : string | null
369- }
370- Insert : {
371- discourse_platform_id : number
372- id ?: number
373- name : string
374- url ?: string | null
375- }
376- Update : {
377- discourse_platform_id ?: number
378- id ?: number
379- name ?: string
380- url ?: string | null
381- }
382- Relationships : [
383- {
384- foreignKeyName : "DiscourseSpace_discourse_platform_id_fkey"
385- columns : [ "discourse_platform_id" ]
386- isOneToOne : false
387- referencedRelation : "DiscoursePlatform"
388- referencedColumns : [ "id" ]
389- } ,
390- ]
391- }
392345 Document : {
393346 Row : {
394347 author_id : number
@@ -435,7 +388,7 @@ export type Database = {
435388 foreignKeyName : "Document_space_id_fkey"
436389 columns : [ "space_id" ]
437390 isOneToOne : false
438- referencedRelation : "DiscourseSpace "
391+ referencedRelation : "Space "
439392 referencedColumns : [ "id" ]
440393 } ,
441394 ]
@@ -469,6 +422,53 @@ export type Database = {
469422 } ,
470423 ]
471424 }
425+ Platform : {
426+ Row : {
427+ id : number
428+ name : string
429+ url : string
430+ }
431+ Insert : {
432+ id ?: number
433+ name : string
434+ url : string
435+ }
436+ Update : {
437+ id ?: number
438+ name ?: string
439+ url ?: string
440+ }
441+ Relationships : [ ]
442+ }
443+ Space : {
444+ Row : {
445+ id : number
446+ name : string
447+ platform_id : number
448+ url : string | null
449+ }
450+ Insert : {
451+ id ?: number
452+ name : string
453+ platform_id : number
454+ url ?: string | null
455+ }
456+ Update : {
457+ id ?: number
458+ name ?: string
459+ platform_id ?: number
460+ url ?: string | null
461+ }
462+ Relationships : [
463+ {
464+ foreignKeyName : "Space_platform_id_fkey"
465+ columns : [ "platform_id" ]
466+ isOneToOne : false
467+ referencedRelation : "Platform"
468+ referencedColumns : [ "id" ]
469+ } ,
470+ ]
471+ }
472472 SpaceAccess : {
473473 Row : {
474474 account_id : number
@@ -500,7 +500,7 @@ export type Database = {
500500 foreignKeyName : "SpaceAccess_space_id_fkey"
501501 columns : [ "space_id" ]
502502 isOneToOne : false
503- referencedRelation : "DiscourseSpace "
503+ referencedRelation : "Space "
504504 referencedColumns : [ "id" ]
505505 } ,
506506 ]
@@ -555,6 +555,12 @@ export type Database = {
555555 }
556556 Returns : undefined
557557 }
558+ get_nodes_needing_sync : {
559+ Args : { nodes_from_roam : Json }
560+ Returns : {
561+ uid_to_sync : string
562+ } [ ]
563+ }
558564 match_content_embeddings : {
559565 Args : {
560566 query_embedding : string
0 commit comments