feat(medusa): Add feature flags to store response (#1819)

**What**
- Add `feature_flags` string array to store response

**Why**
- to provide conditional ui in admin corresponding to enabled features

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Philip KorsholmandOliver Windall Juhl authored and GitHub committed 2022-07-11 09:42:58 +00:00
1 parent 02967f95b1
commit 3e197e3adf
7 files changed
+70 -2

No files matched your search

@@ -121,6 +121,12 @@ Object {
"symbol_native": "$",
},
"default_currency_code": "usd",
"feature_flags": Array [
Object {
"key": "sales_channels",
"value": false,
},
],
"fulfillment_providers": Array [
Object {
"id": "test-ful",
@@ -52,6 +52,12 @@ describe("/admin/store", () => {
code: "usd",
},
],
feature_flags: [
{
key: "sales_channels",
value: false,
},
],
default_currency_code: "usd",
created_at: expect.any(String),
updated_at: expect.any(String),