File tree Expand file tree Collapse file tree 3 files changed +2831
-231
lines changed
Expand file tree Collapse file tree 3 files changed +2831
-231
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ export const syncAllNodesAndRelations = async (
416416 accountLocalId,
417417 plugin,
418418 allNodes,
419- startupRun : true ,
419+ fullSync : true ,
420420 } ) ;
421421
422422 // When synced nodes are already published, ensure non-text assets are in storage.
@@ -434,15 +434,15 @@ const convertDgToSupabaseConcepts = async ({
434434 accountLocalId,
435435 plugin,
436436 allNodes,
437- startupRun ,
437+ fullSync ,
438438} : {
439439 nodesSince : ObsidianDiscourseNodeData [ ] ;
440440 supabaseClient : DGSupabaseClient ;
441441 context : SupabaseContext ;
442442 accountLocalId : string ;
443443 plugin : DiscourseGraphPlugin ;
444444 allNodes ?: DiscourseNodeInVault [ ] ;
445- startupRun ?: boolean ;
445+ fullSync ?: boolean ;
446446} ) : Promise < void > => {
447447 const lastNodeSchemaSync = (
448448 await getLastNodeSchemaSyncTime ( supabaseClient , context . spaceId )
@@ -567,7 +567,7 @@ const convertDgToSupabaseConcepts = async ({
567567 throw new Error ( `upsert_concepts failed: ${ errorMessage } ` ) ;
568568 }
569569 }
570- if ( startupRun === true ) {
570+ if ( fullSync === true ) {
571571 // occasional extra work: Make sure relations that should be published are.
572572 await ensurePublishedRelationsAccuracy ( {
573573 client : supabaseClient ,
You can’t perform that action at this time.
0 commit comments