From 4a7c6be8a0ba30d1debc256b36faa0a67af4be23 Mon Sep 17 00:00:00 2001 From: lawvs <18554747+lawvs@users.noreply.github.com> Date: Thu, 4 Aug 2022 18:29:26 +0800 Subject: [PATCH] chore: add example feature flag bootstrap --- libs/datasource/feature-flags/src/config.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/libs/datasource/feature-flags/src/config.ts b/libs/datasource/feature-flags/src/config.ts index b89a2e735..5295dae99 100644 --- a/libs/datasource/feature-flags/src/config.ts +++ b/libs/datasource/feature-flags/src/config.ts @@ -9,4 +9,17 @@ export const config: IOption = { // } devModePassword: '-', 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, + // }, + // ], };