quivr/backend/supabase
Stan Girard d0cd634d7c
feat: Add force_sync option to SyncsActiveUpdateInput (#2652)
This commit adds a new optional boolean field, force_sync, to the
SyncsActiveUpdateInput class in the sync module. The force_sync field
allows users to manually trigger a sync operation, bypassing the regular
sync interval. By default, force_sync is set to False.

The force_sync field is used in the GoogleSyncUtils and AzureSyncUtils
classes to determine whether to perform a sync operation even if the
regular sync interval has not elapsed. If force_sync is True, the
last_synced timestamp is updated and the sync operation is executed.

This enhancement provides more flexibility and control over the
synchronization process, allowing users to manually trigger sync
operations when needed.
2024-06-10 07:17:09 -07:00
..
functions Add Supabase schema, migrations, and .gitignore file 2024-04-27 15:31:43 +02:00
migrations feat: Add force_sync option to SyncsActiveUpdateInput (#2652) 2024-06-10 07:17:09 -07:00
.gitignore Add Supabase schema, migrations, and .gitignore file 2024-04-27 15:31:43 +02:00
20240103191539_private.sql Add Supabase schema, migrations, and .gitignore file 2024-04-27 15:31:43 +02:00
config.toml Add Supabase schema, migrations, and .gitignore file 2024-04-27 15:31:43 +02:00
schema.sql Add Supabase schema, migrations, and .gitignore file 2024-04-27 15:31:43 +02:00
seed.sql Add Supabase schema, migrations, and .gitignore file 2024-04-27 15:31:43 +02:00