package p.studio.compiler.models;

import p.studio.compiler.source.identifiers.ProjectId;

public record ResolvedWorkspace(
        ProjectId mainProjectId,
        FrontendSpec frontendSpec,
        int stdlib,
        WorkspaceGraph graph,
        BuildStack stack) {
    public ProjectDescriptor mainProject() {
        return graph.projectDescriptor(mainProjectId);
    }
}
