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