[BUG] Refactor actor composite type (#10232)

fixes #10200 

The FieldActor Zod schema was updated to correctly handle null context.

---------

Co-authored-by: prastoin <paul@twenty.com>
This commit is contained in:
Mohammed Abdul Razak Wahab
2025-02-20 15:35:26 +05:30
committed by GitHub
parent 927b8c717e
commit 94c0d0f8d2
19 changed files with 454 additions and 169 deletions

View File

@ -56,9 +56,9 @@ export const actorCompositeType: CompositeType = {
export type ActorMetadata = {
source: FieldActorSource;
workspaceMemberId?: string;
workspaceMemberId: string | null;
name: string;
context?: {
context: {
provider?: ConnectedAccountProvider;
};
};