Skip to main content

itemWithUser1

Admin Docs


Variable: itemWithUser1

const itemWithUser1: object

Defined in: src/screens/OrganizationActionItems/OrganizationActionItem.mocks.ts:52

Type Declaration

assignedAt

assignedAt: Date

category

category: object = actionItemCategory1

category.createdAt

createdAt: string = '2024-08-26'

category.creatorId

creatorId: string = 'userId'

category.id

id: string = 'actionItemCategoryId1'

category.isDisabled

isDisabled: boolean = false

category.name

name: string = 'Category 1'

category.organizationId

organizationId: string = 'orgId'

category.updatedAt

updatedAt: string = '2024-08-26'

categoryId

categoryId: string = 'actionItemCategoryId1'

completionAt

completionAt: Date

createdAt

createdAt: Date

creator

creator: object

creator.avatarURL

avatarURL: any = null

creator.emailAddress

emailAddress: string = 'wilt@example.com'

creator.id

id: string = 'userId'

creator.name

name: string = 'Wilt Shepherd'

creatorId

creatorId: string = 'userId'

event

event: object

event.description

description: string = 'Test Event Description'

event.endAt

endAt: Date

event.id

id: string = 'eventId'

event.name

name: string = 'Test Event'

event.startAt

startAt: Date

eventId

eventId: string = 'eventId'

id

id: string = '1'

isCompleted

isCompleted: boolean = true

organizationId

organizationId: string = 'orgId'

postCompletionNotes

postCompletionNotes: string = 'Cmp Notes 1'

preCompletionNotes

preCompletionNotes: string = 'Notes 1'

recurringEventInstance

recurringEventInstance: any = null

recurringEventInstanceId

recurringEventInstanceId: any = null

updatedAt

updatedAt: Date

updaterId

updaterId: string = 'userId'

volunteer

volunteer: object

volunteer.hasAccepted

hasAccepted: boolean = true

volunteer.hoursVolunteered

hoursVolunteered: number = 8

volunteer.id

id: string = 'volunteerUserId1'

volunteer.isPublic

isPublic: boolean = true

volunteer.user

user: object

volunteer.user.avatarURL

avatarURL: string = 'user-image'

volunteer.user.id

id: string = 'userId1'

volunteer.user.name

name: string = 'John Doe'

volunteerGroup

volunteerGroup: any = null

volunteerGroupId

volunteerGroupId: any = null

volunteerId

volunteerId: string = 'volunteerUserId1'