diff --git a/nexus/deps/nexus-temporal-types/model.wit b/nexus/deps/nexus-temporal-types/model.wit index f27eb9e9f..91de3e838 100644 --- a/nexus/deps/nexus-temporal-types/model.wit +++ b/nexus/deps/nexus-temporal-types/model.wit @@ -98,6 +98,17 @@ interface model { /// @nexus.type python="collections.abc.Mapping[str, typing.Any]" typescript="Record" dotnet="IReadOnlyDictionary" type memo = placeholder; + /// @nexus.proto "temporal.api.common.v1.Header" typescript-import="@temporalio/proto" + /// @nexus.type + /// python="collections.abc.Mapping[str, typing.Any]" + /// typescript="common.Headers" + /// go="map[string]any" + /// dotnet="IReadOnlyDictionary" + /// dotnet-from="ProtoExtensions.FromHeaderProto" + /// dotnet-to="ProtoExtensions.ToHeaderProto" + /// typescript-import="@temporalio/common" + type header = placeholder; + /// @nexus.proto "temporal.api.common.v1.SearchAttributes" typescript-import="@temporalio/proto" /// @nexus.type /// python="temporalio.common.TypedSearchAttributes" diff --git a/nexus/workflow-service.wit b/nexus/workflow-service.wit index 61822d41c..5ae3814e6 100644 --- a/nexus/workflow-service.wit +++ b/nexus/workflow-service.wit @@ -13,6 +13,7 @@ world system { interface workflow-service { use nexus:temporal-types/model@1.0.0.{ duration, + header, memo, payloads, placeholder, @@ -89,8 +90,9 @@ interface workflow-service { namespace: string, /// @nexus.omit control: placeholder, - /// @nexus.omit - header: placeholder, + /// @nexus.api-omit + /// @nexus.proto-field "header" + headers: option
, /// @nexus.omit links: placeholder, /// @nexus.omit