package com.hiveops.guide.dto;

import java.util.List;

/** API response shapes for the guide. */
public final class GuideDtos {

    /** nav: apps → modules → tabs (metadata only, no bodies). */
    public record NavTab(String tab, int order, String audience) {}
    public record NavModule(String module, String title, List<NavTab> tabs) {}
    public record NavApp(String app, List<NavModule> modules) {}

    /** module view: one module with its tabs, each carrying the markdown body. */
    public record ModuleTab(String tab, int order, String audience, String body) {}
    public record ModuleView(String module, String title, List<ModuleTab> tabs) {}

    private GuideDtos() {}
}
