import {Service}from'moleculer';import {zodSchemasToMoleculer,Moleculer}from'@common-stack/codegen-zod';import {CityServiceSchemas,SERVER_TYPES}from'common/server';/**
 * City Moleculer service (auto-generated actions + events).
 * Pattern 1 from proxy-service-backend-llm.md
 */
class CityMoleculerService extends Service {
  constructor(broker, {
    container
  }) {
    super(broker);
    const {
      topic
    } = CityServiceSchemas; // minification-safe topic
    const service = container.get(SERVER_TYPES.CityService);
    const paramOverrides = zodSchemasToMoleculer(CityServiceSchemas); // optional validation
    const {
      actions,
      events
    } = Moleculer.generateActionsAndEvents(service, {
      paramOverrides
    });
    this.parseServiceSchema({
      name: topic,
      actions,
      events
    });
  }
}export{CityMoleculerService};//# sourceMappingURL=city-moleculer-service.js.map
