mirror of
https://github.com/standardnotes/app
synced 2026-10-20 21:03:15 -04:00
14 lines
304 B
TypeScript
14 lines
304 B
TypeScript
import { isDev } from '@/Utils'
|
|
|
|
export enum FeatureTrunkName {
|
|
Blocks,
|
|
}
|
|
|
|
export const FeatureTrunkStatus: Record<FeatureTrunkName, boolean> = {
|
|
[FeatureTrunkName.Blocks]: isDev && true,
|
|
}
|
|
|
|
export function featureTrunkEnabled(trunk: FeatureTrunkName): boolean {
|
|
return FeatureTrunkStatus[trunk]
|
|
}
|