Files
speckle-server/packages/server/modules/gatekeeper/helpers/plans.ts
T
Kristaps Fabians Geikins 4b06f42db7 chore(server): run TS files directly (no compilation) (#5134)
* sort of works

* type fixes

* added option to run old way too
2025-07-23 11:20:40 +02:00

7 lines
249 B
TypeScript

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