Skip to content

craft-hub / isPersonalWorkItem

Function: isPersonalWorkItem() ​

isPersonalWorkItem(item, currentUser): boolean

Defined in: packages/craft-hub/src/work-items.ts:102

Match personal ownership or assignment against the provider's authorized account, for any status.

Parameters ​

item ​

IntegrationEntity

currentUser ​

{ id: string; label?: string; } | undefined

Returns ​

boolean

Released under the MIT License.