halkyon/apps/todo/halkyon_todo_server/pubspec.yaml
Tizian 「ティツィアーン」 3876e30681
feat(todo): the sync engine and Todo's first models (ADR 0033, D5, D6)
Todo's server syncs with serverpod_offline_sync as Learn's and Train's
do, and holds two synced tables, every payload sealed on the devices:
content_key (the person's data key, sealed to the account) and project
(the Inbox or one of the person's own, changed when edited). A person's
space goes with them, with everything in it.

The migration only adds: the two tables, each indexed on spaceId and
cascading with its space (ON DELETE CASCADE to offline_sync_spaces), the
sync engine's own tables (crdt_*, offline_sync_*) with their foreign
keys, the gen_random_uuid_v7() function their ids default to, and the
modules' version rows. Nothing is dropped or changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-11-01 01:00:53 +01:00

50 lines
1.4 KiB
YAML

name: halkyon_todo_server
description: Halkyon Todo's server.
publish_to: none
environment:
sdk: '^3.13.0'
resolution: workspace
dependencies:
clock: ^1.1.3
# What every Halkyon server has (ADR 0014): signing in, the account and its
# deletion, pruning, the instance's basics. A Serverpod module among the
# repository's shared packages.
halkyon_base_server:
path: ../../../packages/halkyon_base_server
serverpod: 4.0.4
serverpod_auth_idp_server: 4.0.4
serverpod_offline_sync_server: 0.0.10
dev_dependencies:
serverpod_test: 4.0.4
test: ^1.25.5
serverpod:
# Companion Flutter apps that `serverpod start` can launch (Ctrl+R), keyed
# by a display alias. The default device is the web server, opening the
# machine's default browser when ready. All non-reserved properties are
# forwarded to `flutter run`. For the best IDE debugging experience, use
# `chrome` or a native target as the device. See the example below:
#
# Admin:
# path: ../apps/admin_flutter
# displayName: "Admin app"
# auto_launch: true
# device: chrome
# target: lib/main.dart
# web-hostname: 0.0.0.0
# web-port: 8090
# release: true
# pub: false
# dart-define:
# API_URL=https://admin.example.com
# FLAVOR=production
flutter_apps:
halkyon_todo:
path: ../halkyon_todo_flutter
displayName: "Halkyon Todo"
auto_launch: true
target: lib/driver.dart