mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-01 17:39:55 +08:00
chore: add example feature flag bootstrap
This commit is contained in:
@@ -9,4 +9,17 @@ export const config: IOption = {
|
|||||||
// }
|
// }
|
||||||
devModePassword: '-',
|
devModePassword: '-',
|
||||||
enableDataSync: !!process.env['AFFINE_FEATURE_FLAG_TOKEN'],
|
enableDataSync: !!process.env['AFFINE_FEATURE_FLAG_TOKEN'],
|
||||||
|
// bootstrap: [
|
||||||
|
// {
|
||||||
|
// // the feature flag key
|
||||||
|
// id: 'flag',
|
||||||
|
// // the feature flag value
|
||||||
|
// variation: false,
|
||||||
|
// // the variation data type, string is used if not provided
|
||||||
|
// variationType: VariationDataType.boolean,
|
||||||
|
// variationOptions: [],
|
||||||
|
// timestamp: 0,
|
||||||
|
// sendToExperiment: false,
|
||||||
|
// },
|
||||||
|
// ],
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user