-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a81e0d
commit c68cef4
Showing
8 changed files
with
64 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,6 @@ export const FeatureFlagsSchema = z.object({ | |
// please contact us for more information: [email protected] | ||
commercial_hide_github: z.boolean().optional(), | ||
commercial_hide_docs: z.boolean().optional(), | ||
commercial_hide_changelog: z.boolean().optional(), | ||
}); | ||
|
||
export type IFeatureFlags = z.infer<typeof FeatureFlagsSchema>; | ||
|
@@ -79,7 +78,6 @@ export const DEFAULT_FEATURE_FLAGS: IFeatureFlags = { | |
// please contact us for more information: [email protected] | ||
commercial_hide_github: false, | ||
commercial_hide_docs: false, | ||
commercial_hide_changelog: false, | ||
}; | ||
|
||
export const mapFeatureFlagsEnvToState = (config: IFeatureFlags) => { | ||
|
@@ -112,6 +110,5 @@ export const mapFeatureFlagsEnvToState = (config: IFeatureFlags) => { | |
|
||
hideGitHub: config.commercial_hide_github, | ||
hideDocs: config.commercial_hide_docs, | ||
hideChangelog: config.commercial_hide_changelog, | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters