refactor: Replace drift by serverpod as core engine (#33)
This commit is contained in:
parent
cbc472523b
commit
3545bbba1d
2 changed files with 6196 additions and 671 deletions
13
packages/serverpod_offline_sync_server/config/generator.yaml
Normal file
13
packages/serverpod_offline_sync_server/config/generator.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
type: module
|
||||
nickname: serverpod_offline_sync
|
||||
|
||||
serialize_as_jsonb_by_default: true
|
||||
|
||||
client_package_path: ../serverpod_offline_sync_client
|
||||
server_test_tools_path: test/integration/test_tools
|
||||
|
||||
shared_packages:
|
||||
- ../serverpod_offline_sync_shared
|
||||
|
||||
extraClasses:
|
||||
- package:serverpod_offline_sync_shared/serverpod_offline_sync_shared.dart:Hlc
|
||||
28
packages/serverpod_offline_sync_server/config/test.yaml
Normal file
28
packages/serverpod_offline_sync_server/config/test.yaml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Configuration for the main API test server.
|
||||
apiServer:
|
||||
port: 0
|
||||
publicHost: localhost
|
||||
publicPort: 0
|
||||
publicScheme: http
|
||||
|
||||
# Configuration for the Insights test server.
|
||||
insightsServer:
|
||||
port: 0
|
||||
publicHost: localhost
|
||||
publicPort: 0
|
||||
publicScheme: http
|
||||
|
||||
# Configuration for the web test server.
|
||||
webServer:
|
||||
port: 0
|
||||
publicHost: localhost
|
||||
publicPort: 0
|
||||
publicScheme: http
|
||||
|
||||
# This is the database setup for your test server.
|
||||
database:
|
||||
filePath: test.db
|
||||
|
||||
sessionLogs:
|
||||
persistentEnabled: false
|
||||
consoleEnabled: true
|
||||
Loading…
Reference in a new issue