mirror of
https://github.com/xtr-dev/payload-feature-flags.git
synced 2025-12-10 02:43:25 +00:00
Add Payload Feature Flags plugin with custom endpoints and configurations
This commit is contained in:
1
src/exports/client.ts
Normal file
1
src/exports/client.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { BeforeDashboardClient } from '../components/BeforeDashboardClient.js'
|
||||
12
src/exports/rsc.ts
Normal file
12
src/exports/rsc.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
export { BeforeDashboardServer } from '../components/BeforeDashboardServer.js'
|
||||
|
||||
// Server-side hooks for React Server Components
|
||||
export {
|
||||
getFeatureFlag,
|
||||
isFeatureEnabled,
|
||||
getAllFeatureFlags,
|
||||
isUserInRollout,
|
||||
getUserVariant,
|
||||
getFeatureFlagsByTag,
|
||||
type FeatureFlag,
|
||||
} from '../hooks/server.js'
|
||||
Reference in New Issue
Block a user