{"version":3,"sources":["../../src/sections/run-locally.ts"],"sourcesContent":["import { type ListOptions, ListSection } from './list-section.js';\n\ninterface RunLocalStep {\n  description: string;\n  command: string;\n}\n\nexport interface RunLocalOptions extends Partial<ListOptions<RunLocalStep>> {}\n\nexport class RunLocally extends ListSection<RunLocalStep> {\n  constructor(options?: RunLocalOptions) {\n    super({\n      title: options?.title ?? 'Run Locally',\n      type: 'Unordered',\n      ...options,\n    });\n  }\n\n  protected itemMapper(step: RunLocalStep): string {\n    return [step.description, '', '```bash', step.command, '```'].join('\\n');\n  }\n}\n\nexport function runLocallySection(options?: RunLocalOptions) {\n  return new RunLocally(options);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAA8C;AASvC,MAAM,mBAAmB,gCAA0B;AAAA,EACxD,YAAY,SAA2B;AACrC,UAAM;AAAA,MACJ,OAAO,SAAS,SAAS;AAAA,MACzB,MAAM;AAAA,MACN,GAAG;AAAA,IACL,CAAC;AAAA,EACH;AAAA,EAEU,WAAW,MAA4B;AAC/C,WAAO,CAAC,KAAK,aAAa,IAAI,WAAW,KAAK,SAAS,KAAK,EAAE,KAAK,IAAI;AAAA,EACzE;AACF;AAEO,SAAS,kBAAkB,SAA2B;AAC3D,SAAO,IAAI,WAAW,OAAO;AAC/B;","names":[]}