add type specs and fix id issues
Some checks failed
Build and Publish / build-release (push) Failing after 37s

This commit is contained in:
2026-04-21 12:55:38 -05:00
parent f857a5f900
commit 2bf99bfb37
7 changed files with 78 additions and 42 deletions

View File

@@ -4,6 +4,12 @@ defmodule WorkloadService.Aggregates.TaskId do
ID format: "org_id:type:task_id" (e.g., "test:quote:uuid")
"""
@type t :: %__MODULE__{
org_id: String.t(),
type: String.t(),
task_id: String.t()
}
@derive Jason.Encoder
defstruct [:org_id, :type, :task_id]