ui/client/features/plan/services/PlanCheckApi
The plan: the server's verdict after every edit (/api/plan/validate) and Run (/api/plan/run).
Cockpit client (features), next. Source: ui/client/features/plan/services/PlanCheckApi.ts.
Functions#
runPlanOnServer()#
runPlanOnServer(
plan,noteId?):Promise<ApiResult<{models:string[];processId:string; }>>
Defined in: ui/client/features/plan/services/PlanCheckApi.ts:20
noteId names the durable note the plan was made in; the server marks it ran once the process has started.
Parameters#
plan
noteId?
string
Returns#
Promise<ApiResult<{ models: string[]; processId: string; }>>
validatePlanOnServer()#
validatePlanOnServer(
plan):Promise<ApiResult<Validation>>
Defined in: ui/client/features/plan/services/PlanCheckApi.ts:9
Parameters#
plan
Returns#
Promise<ApiResult<Validation>>