feat: Add feature flags to Select & Rating custom fields (#3037)

* Add feature flag key for select and rating

* Use feature flag boolean to decide if select & rating are enabled

* Enable select and rating in demo & core
This commit is contained in:
Deepak Kumar
2023-12-18 13:08:25 +05:30
committed by GitHub
parent 65f05ff43a
commit 2507da1b25
4 changed files with 39 additions and 3 deletions

View File

@ -18,6 +18,16 @@ export const seedFeatureFlags = async (
workspaceId: workspaceId,
value: true,
},
{
key: 'IS_SELECT_FIELD_TYPE_ENABLED',
workspaceId: workspaceId,
value: true,
},
{
key: 'IS_RATING_FIELD_TYPE_ENABLED',
workspaceId: workspaceId,
value: true,
},
])
.execute();
};

View File

@ -28,6 +28,16 @@ export const seedFeatureFlags = async (
workspaceId: workspaceId,
value: true,
},
{
key: 'IS_SELECT_FIELD_TYPE_ENABLED',
workspaceId: workspaceId,
value: true,
},
{
key: 'IS_RATING_FIELD_TYPE_ENABLED',
workspaceId: workspaceId,
value: true,
},
])
.execute();
};