Improve use set next onboarding state (#6076)

querying workspaceMembers may be slow leads to wrong
setNextOnboardingStatus value. So we added a resolved field in workspace
to get workspaceMemberCount directly
This commit is contained in:
martmull
2024-06-30 21:00:20 +02:00
committed by GitHub
parent 411fddd8d7
commit cce9bf5730
10 changed files with 125 additions and 33 deletions

View File

@ -12,6 +12,7 @@ export type CurrentWorkspace = Pick<
| 'featureFlags'
| 'activationStatus'
| 'currentBillingSubscription'
| 'workspaceMembersCount'
| 'currentCacheVersion'
>;