Skip to content

Commit

Permalink
feat: project mode flag (#3336)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Mar 16, 2023
1 parent ee1c93b commit 0797e28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/__snapshots__/create-config.test.ts.snap
Expand Up @@ -82,6 +82,7 @@ exports[`should create default config 1`] = `
"newProjectOverview": false,
"notifications": false,
"proPlanAutoCharge": false,
"projectMode": false,
"projectScopedSegments": false,
"projectScopedStickiness": false,
"projectStatusApi": false,
Expand All @@ -107,6 +108,7 @@ exports[`should create default config 1`] = `
"newProjectOverview": false,
"notifications": false,
"proPlanAutoCharge": false,
"projectMode": false,
"projectScopedSegments": false,
"projectScopedStickiness": false,
"projectStatusApi": false,
Expand Down
1 change: 1 addition & 0 deletions src/lib/types/experimental.ts
Expand Up @@ -72,6 +72,7 @@ const flags = {
process.env.PROJECT_SCOPED_STICKINESS,
false,
),
projectMode: parseEnvVarBoolean(process.env.PROJECT_MODE, false),
cleanClientApi: parseEnvVarBoolean(process.env.CLEAN_CLIENT_API, false),
};

Expand Down

0 comments on commit 0797e28

Please sign in to comment.