Files
speckle-server/packages/server/modules/gatekeeper/helpers/plans.ts
T
Kristaps Fabians Geikins 211922b6a6 chore: get rid of all old workspace plan code (#4624)
* first batch of changes

* tests fix

* FE fixed

* renaming constants

* test fixes

* moar test fixes

* another test fix

* reenable app rover check

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2025-04-30 19:18:32 +02:00

6 lines
211 B
TypeScript

import { PaidWorkspacePlans, WorkspacePlans } from '@speckle/shared'
export const isPaidPlanType = (plan: WorkspacePlans): boolean => {
return (Object.values(PaidWorkspacePlans) as string[]).includes(plan)
}