* refactor: posthog services: feature flags + error + telemtry - Convert PostHogClientProvider to singleton with lifecycle management - Update ErrorServices to use PostHogClientProvider - Update Telementry Service - Update and enable Feature Flags service * replace logger * fix imports - part 1 * update distinct ID * update * update * clean up * revert autoformat * fix merge conflicts * clean up autoformat * revert autoformatter * clean up logs
8 lines
225 B
TypeScript
8 lines
225 B
TypeScript
export const FEATURE_FLAGS = {
|
|
CUSTOM_INSTRUCTIONS: "custom-instructions",
|
|
// Further flags here
|
|
DEV_ENV_POSTHOG: "dev-env-posthog",
|
|
} as const
|
|
|
|
export type FeatureFlag = (typeof FEATURE_FLAGS)[keyof typeof FEATURE_FLAGS]
|