content: /* 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: no_leading_underscores_for_library_prefixes
  import 'package:serverpod/serverpod.dart' as _i1;
  import '../endpoints/quotes_endpoint.dart' as _i2;
  import 'package:serverpod_auth_server/serverpod_auth_server.dart' as _i3;
  
  class Endpoints extends _i1.EndpointDispatch {
    @override
    void initializeEndpoints(_i1.Server server) {
      var endpoints = <String, _i1.Endpoint>{'quotes': _i2.QuotesEndpoint()..initialize(server, 'quotes', null)};
      connectors['quotes'] = _i1.EndpointConnector(
        name: 'quotes',
        endpoint: endpoints['quotes']!,
        methodConnectors: {
          'toggleLikeOnQuote': _i1.MethodConnector(
            name: 'toggleLikeOnQuote',
            params: {
              'id': _i1.ParameterDescription(name: 'id', type: _i1.getType<int>(), nullable: false),
              'liked': _i1.ParameterDescription(name: 'liked', type: _i1.getType<bool>(), nullable: false),
            },
            call: (_i1.Session session, Map<String, dynamic> params) async =>
                (endpoints['quotes'] as _i2.QuotesEndpoint).toggleLikeOnQuote(session, params['id'], params['liked']),
          ),
          'subscribeToQuote': _i1.MethodStreamConnector(
            name: 'subscribeToQuote',
            params: {'id': _i1.ParameterDescription(name: 'id', type: _i1.getType<int>(), nullable: false)},
            streamParams: {},
            returnType: _i1.MethodStreamReturnType.streamType,
            call: (_i1.Session session, Map<String, dynamic> params, Map<String, Stream> streamParams) =>
                (endpoints['quotes'] as _i2.QuotesEndpoint).subscribeToQuote(session, params['id']),
          ),
        },
      );
      modules['serverpod_auth'] = _i3.Endpoints()..initializeEndpoints(server);
    }
  }
  