Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore: add example feature flag bootstrap

lawvs4a7c6be8a0ba
diff --git a/libs/datasource/feature-flags/src/config.ts b/libs/datasource/feature-flags/src/config.ts
index b89a2e7359..5295dae995 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,
+ // },
+ // ],
};