Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions nexus/deps/nexus-temporal-types/model.wit
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,17 @@ interface model {
/// @nexus.type python="collections.abc.Mapping[str, typing.Any]" typescript="Record<string, unknown>" dotnet="IReadOnlyDictionary<string, object?>"
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<string, object?>"
/// 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"
Expand Down
6 changes: 4 additions & 2 deletions nexus/workflow-service.wit
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ world system {
interface workflow-service {
use nexus:temporal-types/model@1.0.0.{
duration,
header,
memo,
payloads,
placeholder,
Expand Down Expand Up @@ -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<header>,
/// @nexus.omit
links: placeholder,
/// @nexus.omit
Expand Down
Loading