mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
refactor(site): use generated Healthcheck API entities (#10650)
This commit is contained in:
@ -28,13 +28,13 @@ import (
|
||||
|
||||
var (
|
||||
// baseDirs are the directories to introspect for types to generate.
|
||||
baseDirs = [...]string{"./codersdk", "./coderd/healthcheck", "./coderd/healthcheck/derphealth"}
|
||||
baseDirs = [...]string{"./codersdk", "./coderd/healthcheck"}
|
||||
// externalTypes are types that are not in the baseDirs, but we want to
|
||||
// support. These are usually types that are used in the baseDirs.
|
||||
// Do not include things like "Database", as that would break the idea
|
||||
// of splitting db and api types.
|
||||
// Only include dirs that are client facing packages.
|
||||
externalTypeDirs = [...]string{"./cli/clibase"}
|
||||
externalTypeDirs = [...]string{"./cli/clibase", "./coderd/healthcheck/derphealth"}
|
||||
indent = " "
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user