greentic-interfaces 1.1.1

Greentic ABI: WIT contracts, generated bindings, thin mappers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: MIT

package greentic:deploy-plan@1.0.0;

/// Access to the deployment plan for the current flow execution.
interface plan-api {
  /// Returns the DeploymentPlan as a JSON string. The payload matches the
  /// greentic-types DeploymentPlan structure.
  get-deployment-plan: func() -> string;

  /// Emit a generic status message that hosts may log or surface in a UI.
  emit-status: func(message: string);
}

world plan {
  export plan-api;
}