From 3ad243443517d98469ed47959beb5ae5612fc67f Mon Sep 17 00:00:00 2001 From: Saurav Date: Sat, 20 Jul 2024 08:39:37 -0400 Subject: [PATCH 1/2] fix primary key type on action edits --- packages/client.api/src/actions/ActionResults.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client.api/src/actions/ActionResults.ts b/packages/client.api/src/actions/ActionResults.ts index 65a305c1a..6567bca6c 100644 --- a/packages/client.api/src/actions/ActionResults.ts +++ b/packages/client.api/src/actions/ActionResults.ts @@ -38,7 +38,7 @@ type ObjectEdit = bSideObject: ObjectReference; }); interface ObjectReference { - primaryKey: unknown; + primaryKey: string | number; objectType: string; } export interface ValidateActionResponseV2 { From eafdb5bcabe221cb567865045b6f0985b0e72961 Mon Sep 17 00:00:00 2001 From: Saurav Date: Tue, 23 Jul 2024 08:58:28 -0400 Subject: [PATCH 2/2] add changeset --- .changeset/small-glasses-eat.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/small-glasses-eat.md diff --git a/.changeset/small-glasses-eat.md b/.changeset/small-glasses-eat.md new file mode 100644 index 000000000..e50a945f1 --- /dev/null +++ b/.changeset/small-glasses-eat.md @@ -0,0 +1,5 @@ +--- +"@osdk/client.api": patch +--- + +Fix primary key type on action edits