Todo's server includes halkyon_base (ADR 0014), configured for Todo: its basics say it serves `todo`, sign-in mails name Halkyon Todo, the source is this repository, minimumAppBuild 1. Authentication through the module (anonymous, GitHub, email codes, server-side sessions) in place of the scaffold's email-and-password provider; the module's pruning scheduled once however often the server starts. The scaffold's greeting, its Flutter web hosting, cloud storage and Docker files go; session logs are never persisted. Todo was never deployed, so its migrations start again with one initial migration. The root's lints apply, with the four constructor rules off as on Learn's server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
77 lines
2.4 KiB
Dart
77 lines
2.4 KiB
Dart
/* AUTOMATICALLY GENERATED CODE DO NOT MODIFY */
|
|
/* To generate run: "serverpod generate" */
|
|
|
|
// ignore_for_file: implementation_imports
|
|
// ignore_for_file: library_private_types_in_public_api
|
|
// ignore_for_file: non_constant_identifier_names
|
|
// ignore_for_file: public_member_api_docs
|
|
// ignore_for_file: type_literal_in_constant_pattern
|
|
// ignore_for_file: use_super_parameters
|
|
// ignore_for_file: invalid_use_of_internal_member
|
|
|
|
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
|
import 'package:halkyon_base_client/halkyon_base_client.dart' as _ihk4p5t7;
|
|
import 'package:http/http.dart' as _i85jenna;
|
|
import 'package:serverpod_auth_core_client/serverpod_auth_core_client.dart'
|
|
as _iacc;
|
|
import 'package:serverpod_auth_idp_client/serverpod_auth_idp_client.dart'
|
|
as _iaic;
|
|
import 'package:serverpod_client/serverpod_client.dart' as _isc;
|
|
import 'protocol.dart' as _il2as5qe;
|
|
|
|
class Modules {
|
|
Modules(Client client) {
|
|
base = _ihk4p5t7.Caller(client);
|
|
serverpod_auth_idp = _iaic.Caller(client);
|
|
serverpod_auth_core = _iacc.Caller(client);
|
|
}
|
|
|
|
late final _ihk4p5t7.Caller base;
|
|
|
|
late final _iaic.Caller serverpod_auth_idp;
|
|
|
|
late final _iacc.Caller serverpod_auth_core;
|
|
}
|
|
|
|
class Client extends _isc.ServerpodClientShared {
|
|
Client(
|
|
String host, {
|
|
dynamic securityContext,
|
|
Duration? streamingConnectionTimeout,
|
|
Duration? connectionTimeout,
|
|
Function(
|
|
_isc.MethodCallContext,
|
|
Object,
|
|
StackTrace,
|
|
)?
|
|
onFailedCall,
|
|
Function(_isc.MethodCallContext)? onSucceededCall,
|
|
bool? disconnectStreamsOnLostInternetConnection,
|
|
_i85jenna.Client? httpClientOverride,
|
|
}) : super(
|
|
host,
|
|
_il2as5qe.Protocol(),
|
|
securityContext: securityContext,
|
|
streamingConnectionTimeout: streamingConnectionTimeout,
|
|
connectionTimeout: connectionTimeout,
|
|
onFailedCall: onFailedCall,
|
|
onSucceededCall: onSucceededCall,
|
|
disconnectStreamsOnLostInternetConnection:
|
|
disconnectStreamsOnLostInternetConnection,
|
|
httpClientOverride: httpClientOverride,
|
|
) {
|
|
modules = Modules(this);
|
|
}
|
|
|
|
late final Modules modules;
|
|
|
|
@override
|
|
Map<String, _isc.EndpointRef> get endpointRefLookup => {};
|
|
|
|
@override
|
|
Map<String, _isc.ModuleEndpointCaller> get moduleLookup => {
|
|
'base': modules.base,
|
|
'serverpod_auth_idp': modules.serverpod_auth_idp,
|
|
'serverpod_auth_core': modules.serverpod_auth_core,
|
|
};
|
|
}
|