Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/diagnostics/services/DiagnosticsApi

Cockpit client (features), next. Source: ui/client/features/diagnostics/services/DiagnosticsApi.ts.

Type Aliases#

ValidateResult#

ValidateResult = { durationMs: number; ok: true; total: number; truncated: boolean; violations: Violation[]; } | { error: string; ok: false; }

Defined in: ui/client/features/diagnostics/services/DiagnosticsApi.ts:4

Functions#

fetchValidation()#

fetchValidation(): Promise<ValidateResult>

Defined in: ui/client/features/diagnostics/services/DiagnosticsApi.ts:9

Runs construct validate for the current project (ui/server GET /api/validate).

Returns#

Promise<ValidateResult>