OrganizationSuggestion
An interface representing an organization suggestion.
- Name
id
- Type
string
- Description
The ID of the organization suggestion.
- Name
publicOrganizationData
- Type
{ hasImage: boolean; imageUrl: string; name: string; id: string; slug: string | null; }
- Description
The public data of the organization.
hasImage
: Whether the organization has an image.imageUrl
: Holds the organization logo. Compatible with Clerk's Image Optimization.name
: The name of the organization.id
: The ID of the organization.slug
: The slug of the organization.
- Name
status
- Type
'pending' | 'accepted'
- Description
The status of the organization suggestion.
- Name
createdAt
- Type
Date
- Description
The date and time when the organization suggestion was created.
- Name
updatedAt
- Type
Date
- Description
The date and time when the organization suggestion was last updated.
accept()
Accepts the organization suggestion. Returns the accepted OrganizationSuggestion
.
Feedback
Last updated on