File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ export const FEATURE_FLAG = {
1111 mollifierEnabled : "mollifierEnabled" ,
1212 workerQueueScheduledSplitEnabled : "workerQueueScheduledSplitEnabled" ,
1313 realtimeBackend : "realtimeBackend" ,
14+ computeMigrationEnabled : "computeMigrationEnabled" ,
15+ computeMigrationFreePercentage : "computeMigrationFreePercentage" ,
16+ computeMigrationPaidPercentage : "computeMigrationPaidPercentage" ,
1417} as const ;
1518
1619export const FeatureFlagCatalog = {
@@ -27,6 +30,9 @@ export const FeatureFlagCatalog = {
2730 // globally and per-org (org wins). Defaults to "electric" when unset.
2831 // "shadow" serves Electric but diffs the native path in the background.
2932 [ FEATURE_FLAG . realtimeBackend ] : z . enum ( [ "electric" , "native" , "shadow" ] ) ,
33+ [ FEATURE_FLAG . computeMigrationEnabled ] : z . coerce . boolean ( ) ,
34+ [ FEATURE_FLAG . computeMigrationFreePercentage ] : z . coerce . number ( ) . int ( ) . min ( 0 ) . max ( 100 ) ,
35+ [ FEATURE_FLAG . computeMigrationPaidPercentage ] : z . coerce . number ( ) . int ( ) . min ( 0 ) . max ( 100 ) ,
3036} ;
3137
3238export type FeatureFlagKey = keyof typeof FeatureFlagCatalog ;
You can’t perform that action at this time.
0 commit comments