Skip to content

Variable: RoleActorSchema ​

ts
const RoleActorSchema: ZodObject<{
  actorGroup: ZodOptional<ZodObject<{
     displayName: ZodOptional<ZodString>;
     groupId: ZodOptional<ZodString>;
     name: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>;
  actorUser: ZodOptional<ZodObject<{
     accountId: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>;
  avatarUrl: ZodOptional<ZodURL>;
  displayName: ZodOptional<ZodString>;
  id: ZodOptional<ZodNumber>;
  type: ZodOptional<ZodCustom<
     | string & object
     | "atlassian-group-role-actor"
     | "atlassian-user-role-actor", 
     | string & object
     | "atlassian-group-role-actor"
    | "atlassian-user-role-actor">>;
}, ApiObjectConfig<undefined>>;

Defined in: src/cloud/models/roleActor.ts:7

Details about a user assigned to a project role.