chore: Update Serverpod and prepare the release (#117)

This commit is contained in:
Marcelo Mendonça Soares 2026-09-04 22:10:53 -03:00 • committed by GitHub
commit 2a6d66c79e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 358 additions and 323 deletions

View file

@ -7,8 +7,6 @@ import 'package:serverpod_database/serverpod_database.dart'
import 'package:serverpod_offline_sync_client/serverpod_offline_sync_client.dart';
import 'package:serverpod_offline_sync_test_client/serverpod_offline_sync_test_client.dart';
import 'table_ops.dart' show demoSyncTables;
/// One local replica: a Serverpod client database wrapped with the
/// `serverpod_offline_sync` CRDT layer, plus the calls that synchronize it.
///
@ -61,7 +59,7 @@ class OfflineReplica {
);
final crdtSession = CrdtDatabaseSession.wraps(
rawSession,
syncTables: demoSyncTables,
syncTables: syncTables,
persistentUserId: persistentUserId,
);
await crdtSession.db.initialize();

View file

@ -261,8 +261,8 @@ final Map<String, TableOps> demoTableOps = {
ops.name: ops,
};
/// Tables synchronized by the demo, derived from [demoTableOps]. Mirrors the
/// server `demoSyncTables`.
/// Tables shown in the demo UI, derived from [demoTableOps]. The CRDT engine
/// uses the generated [syncTables] list so it matches the server.
final List<Table> demoSyncTables = [
for (final ops in demoTableOps.values) ops.table,
];