InitConfig
typetype InitConfig = {
projectId: string;
scope: string;
modules: ModuleInput[];
playgroundMode: PlaygroundMode;
cwd: string;
}ModuleInput
typetype ModuleInput = {
moduleId: string;
packageNameSuffix: string;
title: string;
description: string;
kind: ModuleKind;
platforms: ModulePlatform[];
stability: ModuleStability;
}ModuleKind
typetype ModuleKind = "core" | "integration" | "plugin" | "sdk" | "cli"
ModulePlatform
typetype ModulePlatform = | "node"
| "browser"
| "react"
| "react-native"
| "vue"
| "svelte"
| "solid"
| "universal"
ModuleStability
typetype ModuleStability = "experimental" | "beta" | "stable" | "deprecated"
PlaygroundMode
typetype PlaygroundMode = "none" | "single" | "per-module"
ResolvedConfig
typetype ResolvedConfig = InitConfig & {
siteDir: string;
configDir: string;
modulesResolved: ResolvedModule[];
}ResolvedModule
typetype ResolvedModule = ModuleInput & {
packageName: string;
packageDir: string;
docsDir: string;
docsDirRelativeToSite: string;
}